/* ==========================================================================
   CRELLO ABOUT PAGE SPECIFIC STYLESheet
   ========================================================================== */

/* Active link indicator in nav */
.nav__link--active,
.nav-drawer__link--active {
  font-weight: 600 !important;
  color: var(--grad-green) !important;
}

/* ─── HERO SECTION ───────────────────────────────────────────────────────── */
.about-hero {
  background: var(--white);
  padding-top: 176px;
  padding-bottom: 80px;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.about-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1096px;
  text-align: center;
}

.about-hero__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 64px;
  line-height: 72px;
  color: var(--text-dark);
}

.about-hero__desc {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
  max-width: 959px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1336px;
  margin-top: 52px;
  margin-bottom: 158px;
}

.about-hero__img-card {
  width: 100%;
  aspect-ratio: 316 / 499;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #d9d9d9;
}

.about-hero__img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Offset coordinates using percentages of card height */
.about-hero__img-card--1 {
  transform: translateY(0);
}

.about-hero__img-card--2 {
  transform: translateY(25.45%);
}

.about-hero__img-card--3 {
  transform: translateY(5.81%);
}

.about-hero__img-card--4 {
  transform: translateY(31.66%);
}

/* ─── STATS SECTION ──────────────────────────────────────────────────────── */
.about-stats {
  background: var(--bg-dark);
  padding: 40px 0;
  width: 100%;
}

.about-stats__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 164px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-stat__number {
  font-family: var(--font);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  text-transform: uppercase;
}

.about-stat__label {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
  text-transform: uppercase;
}

/* ─── MISSION & VISION SECTION ────────────────────────────────────────────── */
.about-mission {
  background: var(--white);
  padding: 80px 0;
}

.about-mission__heading {
  text-align: center;
  max-width: 896px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-mission__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  color: var(--text-dark);
}

.about-mission__desc {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
  max-width: 794px;
  margin: 0 auto;
}

.about-mission__row {
  display: flex;
  gap: 32px;
  width: 100%;
}

.about-mission-card {
  flex: 1;
  position: relative;
  border-radius: 20px;
  padding: 32px;
  height: auto;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.about-mission-card--blue {
  background-color: rgba(54, 155, 255, 0.12);
}

.about-mission-card--green {
  background-color: rgba(34, 214, 107, 0.12);
}

.about-mission-card__bg-svg {
  position: absolute;
  bottom: -26.86px;
  left: 26px;
  width: 600px;
  height: 392.857px;
  pointer-events: none;
  z-index: 1;
}

.about-mission-card__bg-svg img {
  width: 100%;
  height: 100%;
}

.about-mission-card__texts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  text-align: left;
}

.about-mission-card__texts h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: var(--text-dark);
}

.about-mission-card__texts p {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
}

.about-mission-card__icon {
  position: relative;
  z-index: 2;
  width: 204px;
  height: 204px;
  flex-shrink: 0;
}

.about-mission-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── WHY CHOOSE SECTION ─────────────────────────────────────────────────── */
.about-why {
  background: var(--bg-light-gray);
  padding: 80px 0;
}

.about-why__heading {
  text-align: center;
  max-width: 1111px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-why__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  color: var(--text-dark);
}

.about-why__desc {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
  max-width: 828px;
  margin: 0 auto;
}

.about-why__reasons {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.about-why-card {
  width: 429px;
  height: 592px;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-why-card--blue {
  background-color: rgba(54, 155, 255, 0.08);
}

.about-why-card--amber {
  background-color: rgba(247, 144, 9, 0.08);
}

.about-why-card--green {
  background-color: rgba(19, 142, 68, 0.08);
}

.about-why-card__texts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.about-why-card__texts h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: var(--text-dark);
}

.about-why-card__texts p {
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-muted-dark);
}

.about-why-card__bg-svg {
  position: absolute;
  left: -89px;
  top: 233px;
  width: 600px;
  height: 392.857px;
  pointer-events: none;
  z-index: 1;
}

.about-why-card__bg-svg img {
  width: 100%;
  height: 100%;
}

.about-why-card__icon {
  position: absolute;
  z-index: 2;
  width: 167px;
  height: 167px;
  pointer-events: none;
}

.about-why-card--blue .about-why-card__icon {
  left: 130.5px;
  top: 345.13px;
}

.about-why-card--amber .about-why-card__icon,
.about-why-card--green .about-why-card__icon {
  left: 131px;
  top: 348px;
}

.about-why-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────── */
.about-faq {
  background: var(--white);
  padding: 80px 0;
}

.about-faq__heading {
  text-align: center;
  max-width: 828px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-faq__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  color: var(--text-dark);
}

.about-faq__desc {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted-dark);
}

.about-faq__list {
  max-width: 1336px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ─── ENTRANCE ANIMATION STAGGER DELAYS ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: title then description */
  .about-hero__desc { transition-delay: 0.18s; }

  /* Hero image cards: transition from straight line → staggered offsets */
  .about-hero__img-card {
    transition: opacity 0.85s ease, transform 0.85s ease;
  }

  /* Reset state: all cards flat on the same line, invisible */
  .about-hero__grid--reset .about-hero__img-card {
    opacity: 0;
    transform: translateY(0) !important;
  }

  /* Stagger so they cascade left-to-right into position */
  .about-hero__img-card--2 { transition-delay: 0.12s; }
  .about-hero__img-card--3 { transition-delay: 0.24s; }
  .about-hero__img-card--4 { transition-delay: 0.36s; }

  /* Stats stagger */
  .about-stats__inner > .about-stat:nth-child(2) { transition-delay: 0.15s; }
  .about-stats__inner > .about-stat:nth-child(3) { transition-delay: 0.3s; }

  /* Mission / Vision cards */
  .about-mission__row > .about-mission-card:nth-child(2) { transition-delay: 0.18s; }

  /* Why Choose cards */
  .about-why__reasons > .about-why-card:nth-child(2) { transition-delay: 0.15s; }
  .about-why__reasons > .about-why-card:nth-child(3) { transition-delay: 0.3s; }
}

/* ─── RESPONSIVE STYLES (MEDIA QUERIES) ──────────────────────────────────── */

@media (max-width: 1400px) {
  .about-hero__grid {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    height: auto;
    gap: 16px;
  }
  .about-hero__img-card {
    width: 100%;
    height: auto;
  }

  .about-stats__inner {
    gap: 80px;
  }
  .about-why__reasons {
    flex-wrap: wrap;
    gap: 32px;
  }
  .about-why-card {
    width: calc(50% - 16px);
  }
}

@media (max-width: 991px) {
  .about-hero {
    padding-top: 140px;
  }
  .about-hero__title {
    font-size: 48px;
    line-height: 56px;
  }
  .about-stats__inner {
    flex-direction: column;
    gap: 40px;
  }
  .about-mission__row {
    flex-direction: column;
    gap: 40px;
  }
  .about-mission-card {
    min-height: auto;
  }
}

/* ─── iPAD AIR (820px) ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hero grid: 4 narrow cols at 820px → 2×2 staggered layout */
  .about-hero__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    height: auto;
  }

  .about-hero__img-card {
    height: auto;
  }

  .about-hero__img-card--1 { transform: translateY(0); }
  .about-hero__img-card--2 { transform: translateY(12%); }
  .about-hero__img-card--3 { transform: translateY(0); }
  .about-hero__img-card--4 { transform: translateY(12%); }

  /* Why cards: single column — avoids orphaned 3rd card in 2-col wrap */
  .about-why__reasons {
    flex-direction: column;
    align-items: center;
  }

  .about-why-card {
    width: 100%;
    max-width: none;
    height: 520px;
  }

  .about-why-card__bg-svg {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-why-card__icon {
    left: 50% !important;
    transform: translateX(-50%);
  }

  /* Section headings — still 48px from 991px block, scale down */
  .about-why__title,
  .about-faq__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 120px;
    padding-bottom: 56px;
  }
  .about-hero__content {
    gap: 48px;
  }
  .about-hero__cta {
    gap: 28px;
    max-width: 100%;
  }
  .about-hero__title {
    font-size: 30px;
    line-height: 38px;
  }
  .about-hero__desc {
    font-size: 18px;
    line-height: 28px;
    max-width: 373px;
  }

  /* Exact absolute mobile image layout grid */
  .about-hero__grid {
    position: relative;
    width: 100%;
    max-width: 382px;
    aspect-ratio: 382 / 414;
    height: auto;
    margin: 48px auto 0;
    display: block;
  }
  .about-hero__img-card {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
  }
  .about-hero__img-card--1 {
    width: 47.9%;
    height: 67.1%;
    left: 0;
    top: 0;
    transform: none;
  }
  .about-hero__img-card--2 {
    width: 47.9%;
    height: 100%;
    left: 52.1%;
    top: 0;
    transform: none;
  }
  .about-hero__img-card--3 {
    width: 22%;
    height: 29.5%;
    left: 0;
    top: 70.5%;
    transform: none;
  }
  .about-hero__img-card--4 {
    width: 21.7%;
    height: 29.5%;
    left: 26.2%;
    top: 70.5%;
    transform: none;
  }

  /* Stats Section Mobile */
  .about-stats {
    padding: 40px 0;
  }
  .about-stats__inner {
    flex-direction: column;
    gap: 52px;
  }
  .about-stat {
    gap: 20px;
  }
  .about-stat__number {
    font-size: 40px;
    line-height: 48px;
  }
  .about-stat__label {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  /* Mission & Vision Section Mobile */
  .about-mission {
    padding: 48px 0;
  }
  .about-mission__heading {
    gap: 16px;
    margin-bottom: 48px;
  }
  .about-mission__title {
    font-size: 28px;
    line-height: 36px;
  }
  .about-mission__desc {
    font-size: 18px;
    line-height: 28px;
    max-width: 376px;
  }
  .about-mission__row {
    flex-direction: column;
    gap: 32px;
  }
  .about-mission-card {
    padding: 32px;
    border-radius: 20px;
    gap: 48px;
    min-height: auto;
    width: 100%;
  }
  .about-mission-card__bg-svg {
    left: 50%;
    transform: translateX(-50%);
    bottom: -73.86px;
  }
  .about-mission-card__texts {
    gap: 24px;
  }
  .about-mission-card__texts h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .about-mission-card__texts p {
    font-size: 16px;
    line-height: 24px;
  }
  .about-mission-card__icon {
    width: 140px;
    height: 140px;
  }

  /* Why Choose Section Mobile */
  .about-why {
    padding: 48px 0;
  }
  .about-why__heading {
    gap: 16px;
    margin-bottom: 48px;
  }
  .about-why__title {
    font-size: 28px;
    line-height: 36px;
  }
  .about-why__desc {
    font-size: 18px;
    line-height: 28px;
    max-width: 388px;
  }
  .about-why__reasons {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .about-why-card {
    width: 100%;
    max-width: 382px;
    height: 480px;
    padding: 28px;
    border-radius: 12px;
  }
  .about-why-card__texts {
    gap: 20px;
  }
  .about-why-card__texts h3 {
    font-size: 26px;
    line-height: 32px;
  }
  .about-why-card__texts p {
    font-size: 16px;
    line-height: 24px;
  }
  .about-why-card__bg-svg {
    left: 50%;
    transform: translateX(-50%);
    bottom: -32px;
    top: auto;
    width: 532px;
    height: 348px;
  }
  .about-why-card__icon {
    width: 148.7px;
    height: 148.7px;
    top: 263.45px;
    left: 50% !important;
    transform: translateX(-50%);
  }
  .about-why-card--blue .about-why-card__icon {
    top: 265.45px;
  }

  /* FAQ Section Mobile */
  .about-faq {
    padding: 48px 0;
  }
  .about-faq__heading {
    gap: 16px;
    margin-bottom: 48px;
  }
  .about-faq__title {
    font-size: 28px;
    line-height: 36px;
  }
  .about-faq__desc {
    font-size: 18px;
    line-height: 28px;
  }
  .about-faq__list {
    gap: 20px;
  }
  .faq__item {
    gap: 20px;
    padding-bottom: 20px;
  }
  .faq__question {
    font-size: 16px;
    line-height: 24px;
  }
  .faq__answer p {
    font-size: 14px;
    line-height: 20px;
  }

  /* Footer Section Mobile */
  .footer__top {
    flex-direction: column;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer__about p {
    font-size: 14px;
    line-height: 20px;
  }
  .footer__col h5 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 24px;
  }
  .footer__col nav {
    gap: 20px;
  }
  .footer__col nav a {
    font-size: 16px;
    line-height: 24px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer__bottom p {
    font-size: 14px;
    line-height: 20px;
  }
  .footer__socials {
    gap: 26.6px;
  }
  .footer__socials a {
    width: 20px;
    height: 20px;
  }
}

