/* Animation */
@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawMainLine {
  to {
    transform: scaleX(1);
  }
}
@keyframes revealText {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

:root {
  --font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  --primary-color: #3871c1;
  --secondary-color: #fff;

  --border-color: #000;

  --text-color: #545454;
  --red: #ff1313;
  --blue: #1f64d7;
  --gray: #a6a6a6;
  --green: #00bf63;
  --light-azure: #9ed8ff;
}

html,
body {
  font-family: var(--font-family);
  background: var(--secondary-color);
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.5;
  color: var(--text-color);
}

h1 {
  font-size: 35px;
}

h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: normal;
}

.faq h2,
.compares h2 {
  color: var(--primary-color);
}

a {
  color: var(--text-color);
}

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.bold {
  font-weight: 700;
}

.four-columns-icons,
.case-study {
  background: var(--primary-color);
}

/* section container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header .container,
.footer-container,
.hero-container,
.four-columns-container,
.problem-container,
.faq-container,
.case-content,
.problem-content {
  display: flex;
  justify-content: space-between;
}

.problem-container,
.faq-container,
.footer-container,
.case-content,
.problem-content {
  align-items: flex-start;
  gap: 40px;
}

.site-header .container,
.four-columns-container,
.hero-container {
  align-items: center;
  gap: 40px;
}

/* flex */
.case-col,
.hero-left,
.step-item,
.faq-left,
.footer-left {
  flex: 1;
}
/* divider */
.divider {
  height: 1px;
  width: 60px;
  background: var(--gray);
}

.faq-divider,
.problem-divider {
  width: 1px;
  background: var(--border-color);
  height: 300px;
}

.case-divider {
  width: 1px;
  background: var(--secondary-color);
  height: 330px;
}

/*** Header ***/
.site-header {
  width: 100%;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.site-header .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  font-weight: 600;
  color: var(--primary-color);
}

.logo img {
  height: 70px;
  width: auto;
}

.logo .rx {
  color: var(--primary-color);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  font-size: 13px;
}

.nav a:hover {
  color: var(--primary-color);
}

.cta-btn {
  background: var(--primary-color);
  color: var(--secondary-color) !important;
  padding: 5px;
  padding-right: 10px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
}

button:focus,
a:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

.hamburger {
  display: none;
}

/*** Footer ***/
.site-footer {
  padding: 40px 0;
  font-family: var(--font-family);
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* LEFT SIDE */
.footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.footer-logo .rx {
  color: var(--primary-color);
}

.copyright {
  font-size: 11px;
}

.footer-nav {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-nav .first-nav-row,
.footer-nav .second-nav-row {
  display: flex;
  gap: 40px;
}

.footer-nav .first-nav-row {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 13px;
}

.footer-social a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--primary-color);
}

/*** HERO SECTION ***/
.hero-left h1 {
  margin-bottom: 16px;
}

.subtitle {
  font-size: 17px;
  color: #444;
  margin-bottom: 24px;
}

.subtitle a {
  color: var(--primary-color);
  text-decoration: none;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}

/* CTA BUTTONS */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  max-width: 250px;
  padding-right: 5px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
}

.hero-btn.primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  cursor: pointer;
}

.hero-btn.secondary {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.managed-text {
  font-size: 13px;
}

.image-container {
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: auto;
  height: auto;
}

.step-bars {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 40px;
  flex-wrap: wrap;
}

.step-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-group {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 24px;
}

.number {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.hero-divider {
  width: 65px;
  height: 1px;
  background: var(--gray);
  margin-top: 15px;
}

.step-label {
  text-align: center;
  margin-top: 10px;
}

.red {
  color: var(--red);
}
.blue {
  color: var(--blue);
}
.gray {
  color: var(--gray);
}
.green {
  color: var(--green);
}

/*** FOUR COLUMNS ICONS SECTION ***/
.individual-icon {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.individual-icon a {
  text-align: center;
}

.individual-icon span {
  color: var(--secondary-color);
  text-align: center;
}

/*** PROBLEM SECTION ***/
.problem-container {
  padding-bottom: 80px;
}

.problem-content {
  margin-top: 40px;
}

.problem-content .case-col p {
  margin-bottom: 20px;
}

.problem-content .case-col ul li {
  font-size: 16px;
}

.problem-title h2 span {
  color: var(--primary-color);
}

.case-col img {
  width: 100%;
  height: 300px;
  border-radius: 4px;
  display: block;
}

/*** DID YOU KNOW BANNER ***/
.did-you-know-banner {
  padding: 40px 0;
  border: 1px solid var(--primary-color);
  border-left: none;
  border-right: none;
}

.did-you-know-banner p span {
  text-transform: uppercase;
}
.did-you-know-banner p {
  font-size: 22px;
}
#dyk-fact {
  margin-left: 10px;
  color: var(--primary-color);
}

/*** RECORDS SECTION ***/
.record-container {
  padding-top: 60px;
}

.record-container h2 {
  margin-bottom: 20px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
  margin-top: 20px;
}

.record-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 350px;
}

.record-item-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.record-item img {
  width: 100px;
  margin-bottom: 12px;
}

.record-item h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.record-item p {
  font-size: 14px;
  color: var(--text-color);
}

/*** COMPARES SECTION ***/
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  vertical-align: top;
  text-align: left;
}

.comparison-table thead th {
  font-weight: 700;
  border-bottom: 2px solid var(--gray);
  border-right: 2px solid var(--gray);
}

.comparison-table tbody td {
  border-right: 2px solid var(--gray);
}

.comparison-table thead th:last-child,
.comparison-table tbody td:last-child {
  border-right: none;
}

.comparison-table tbody td:nth-child(n + 2):hover,
.comparison-table thead th:nth-child(n + 2):hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transition: 0.25s ease;
}

.comparison-table td,
.comparison-table th {
  position: relative;
}

.comparison-table td:hover::before,
.comparison-table th:hover::before {
  content: "";
  position: absolute;
  left: -9999px;
  right: -9999px;
  top: 0;
  bottom: 0;
  background: var(--primary-color);
  z-index: -1;
}

.compares .note {
  font-size: 12px;
  margin-top: 10px;
}

/*** CASE STUDY SECTION ***/
.case-study {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.case-title {
  margin-bottom: 20px;
}

.case-title span,
.problem-left h2 span {
  color: var(--light-azure);
}

.case-col h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.case-col ul {
  list-style: disc;
  margin-left: 20px;
}

.case-col li {
  margin-bottom: 14px;
}

.case-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  opacity: 0.9;
}

/*** INDUSTIRES SECTION ***/
.four-image-column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.image-card {
  position: relative;
  width: 260px;
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: auto;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.5);
  color: var(--secondary-color);
  text-align: center;
}

.overlay h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.overlay p {
  font-size: 10px;
}

/*** PROCESS SECTION ***/
.process-step {
  padding: 60px 0;
}

.steps-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: 30px;
}

.steps-wrapper::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(65px / 2);
  width: calc(100% - 65px * 3);
  height: 2px;
  background: var(--gray);
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawMainLine 10.5s linear forwards;
  animation-delay: 0.4s;
}

.step-item {
  text-align: left;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--secondary-color);
  color: var(--light-azure);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 14px;
}

.step-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 12px;
}

.step-circle {
  width: 60px;
  height: 60px;
  position: relative;
}

.step-circle svg {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}

.circle-outline {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawCircle 1s ease forwards;
}

.step-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--light-azure);
  font-weight: 600;
}

.step-item:nth-child(1) .circle-outline {
  animation-delay: 0s;
}
.step-item:nth-child(2) .circle-outline {
  animation-delay: 2.8s;
}
.step-item:nth-child(3) .circle-outline {
  animation-delay: 4.6s;
}
.step-item:nth-child(4) .circle-outline {
  animation-delay: 6.4s;
}
.step-item:nth-child(5) .circle-outline {
  animation-delay: 9.2s;
}
.step-item:nth-child(6) .circle-outline {
  animation-delay: 10s;
}

.step-item:nth-child(1) .step-content {
  animation-delay: 1s;
}
.step-item:nth-child(2) .step-content {
  animation-delay: 2.8s;
}
.step-item:nth-child(3) .step-content {
  animation-delay: 4.6s;
}
.step-item:nth-child(4) .step-content {
  animation-delay: 6.4s;
}
.step-item:nth-child(5) .step-content {
  animation-delay: 8.2s;
}
.step-item:nth-child(6) .step-content {
  animation-delay: 10s;
}

.step-content {
  opacity: 0;
  transform: translateX(-12px);
  animation: revealText 0.5s ease forwards;
}

/*** FAQ SECTION ***/
.faq {
  padding: 60px 0;
  font-family: var(--font-family);
}

.faq p {
  margin: 20px 0;
}

.faq-left .bold {
  font-weight: 800;
  display: block;
  margin: 12px 0 4px;
}

.faq-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--primary-color);
  background: var(--secondary-color);
  border-radius: 4px;
  font-size: 19px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 20px;
}

.faq-item .plus {
  font-size: 20px;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  padding: 2px;
}

/*** READY TO MOVE ***/
.ready-to-move {
  background: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 60px 0;
}
.ready-to-move h2 {
  margin-bottom: 0;
}
.ready-to-move p {
  font-size: 12px;
  padding: 10px 0;
}

.ready-to-move .rtm-btn {
  padding: 5px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 16px;
  }

  p,
  td,
  li {
    font-size: 14px;
  }
  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .nav {
    gap: 10px;
  }

  .hero-container,
  .faq-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .record-container {
    padding-top: 40px;
  }
  .problem-container {
    padding-bottom: 0px;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    align-items: center;
  }

  .hero-right img,
  .problem-container .case-col img,
  .faq-divider,
  .problem-divider,
  .case-divider {
    display: none;
  }

  .step-bars {
    padding-top: 0;
  }

  .four-columns-container,
  .four-image-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .steps-wrapper,
  .problem-content,
  .case-content {
    flex-direction: column;
    align-items: center;
  }

  .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .steps-wrapper::before {
    display: none;
  }

  .image-card {
    width: 100%;
  }
  .record-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    text-align: center;
    padding: 20px 0;
    display: block;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 1000;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-nav .nav-row {
    gap: 16px;
  }
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .comparison-table::-webkit-scrollbar {
    height: 6px;
  }
  .comparison-table::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 3px;
  }
}

@media (max-width: 480px) {
  .step-bars {
    flex-direction: column;
  }

  .hero-divider {
    width: 30px;
    margin: 15px 20px 15px;
    transform: rotate(90deg);
  }
  .four-columns-container,
  .four-image-column,
  .record-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .footer-nav .first-nav-row,
  .footer-nav .second-nav-row {
    gap: 25px;
  }
}
