/* =========================================================
   ZADO ABOUT PAGE
   Page-specific styles only
========================================================= */

/* ACTIVE NAVIGATION */

.nav-menu a.active {
  position: relative;
  color: var(--purple);
  font-weight: 700;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  width: 24px;
  height: 2px;
  margin: auto;
  border-radius: 20px;
  background: var(--purple);
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
  padding: 72px 0 82px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(91, 63, 217, 0.07),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfbff 100%
    );
}


/* PAGE HEADING */

.about-page-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.about-page-heading h1 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
}

.about-page-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}


/* =========================================================
   MISSION, VISION AND VALUES
========================================================= */

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-principle-card {
  min-height: 285px;
  padding: 32px 29px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.about-principle-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 63, 217, 0.28);
  box-shadow: 0 23px 46px rgba(91, 63, 217, 0.11);
}

.about-principle-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(91, 63, 217, 0.17);
  border-radius: 50%;
  background: #f5f1ff;
  color: var(--purple);
  font-size: 25px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.about-principle-card:hover .about-principle-icon {
  transform: translateY(-3px) scale(1.05);
  background: #eee8ff;
}

.about-principle-card h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.about-principle-card p {
  max-width: 310px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}


/* =========================================================
   COMPANY STATISTICS
========================================================= */

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 13px 32px rgba(15, 23, 42, 0.045);
}

.about-stat-item {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  text-align: center;
}

.about-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  width: 1px;
  height: calc(100% - 48px);
  background: var(--border);
}

.about-stat-item h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.about-stat-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}


/* =========================================================
   ABOUT CTA
========================================================= */

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 31px 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(91, 63, 217, 0.05),
      #ffffff 64%
    );
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.045);
}

.about-cta-content {
  max-width: 670px;
}

.about-cta-content h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}

.about-cta-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.about-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  flex-wrap: wrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .about-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-principle-card:last-child {
    grid-column: 1 / -1;
  }

  .about-principle-card:last-child p {
    max-width: 520px;
  }

}


@media (max-width: 900px) {

  .about-page {
    padding-top: 58px;
  }

  .about-page-heading h1 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .about-page {
    padding: 48px 0 62px;
  }

  .about-page-heading {
    margin-bottom: 34px;
  }

  .about-page-heading h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .about-page-heading p {
    font-size: 15px;
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-principle-card,
  .about-principle-card:last-child {
    grid-column: auto;
    min-height: auto;
    padding: 25px 21px;
  }

  .about-principle-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    font-size: 22px;
  }

  .about-principle-card h2 {
    font-size: 18px;
  }

  .about-principle-card p {
    font-size: 13px;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stat-item:nth-child(2)::after {
    display: none;
  }

  .about-stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .about-stat-item {
    min-height: 112px;
  }

  .about-stat-item h3 {
    font-size: 27px;
  }

  .about-cta {
    align-items: center;
    padding: 26px 21px;
    text-align: center;
  }

  .about-cta-actions {
    width: 100%;
    justify-content: center;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .about-page-heading h1 {
    font-size: 30px;
  }

  .about-page-heading p {
    font-size: 14px;
  }

  .about-principle-card {
    padding: 22px 18px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stat-item {
    min-height: 100px;
    border-bottom: 1px solid var(--border);
  }

  .about-stat-item:last-child {
    border-bottom: 0;
  }

  .about-stat-item::after {
    display: none;
  }

  .about-cta-actions {
    flex-direction: column;
  }

  .about-cta-actions .btn {
    width: 100%;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .about-principle-card,
  .about-principle-icon {
    transition: none;
  }

  .about-principle-card:hover,
  .about-principle-card:hover .about-principle-icon {
    transform: none;
  }

}