/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-hero {
  position: relative;
  min-height: calc(88vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(246, 248, 251, 0.98) 0%,
      rgba(246, 248, 251, 0.95) 46%,
      rgba(234, 242, 255, 0.82) 72%,
      rgba(246, 248, 251, 0.66) 100%
    ),
    url("https://images.unsplash.com/photo-1551836022-4c4c79ecde51?auto=format&fit=crop&w=1800&q=80")
      center right / cover;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 27, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 58, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, black, transparent 80%);
  pointer-events: none;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 248, 251, 0.34));
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.about-hero__content {
  max-width: 760px;
  padding: 86px 0;
}

.about-hero h1 {
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.085em;
  margin-bottom: 24px;
}

.about-hero__content > p {
  max-width: 650px;
  color: #475569;
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  margin-bottom: 30px;
}

.about-hero__panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 34px;
  background: rgba(7, 27, 58, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.about-hero__panel-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.about-hero__panel-card span {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.about-hero__panel-card strong {
  display: block;
  color: white;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* Shared section shape */

.about-section {
  position: relative;
  padding: 92px 0;
}

.about-section--raised {
  margin-top: -58px;
  padding-top: 0;
  z-index: 3;
}

.about-section--white {
  background: white;
}

.about-section--soft {
  background:
    linear-gradient(135deg, rgba(234, 242, 255, 0.72), rgba(246, 248, 251, 1) 54%),
    var(--bg);
}

.about-section--dark {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 1), rgba(18, 56, 110, 0.96));
}

.about-section--final {
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.97), rgba(18, 56, 110, 0.94)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

/* Same heading badge everywhere */

.about-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.about-section-tag span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
  font-size: 0.85rem;
}

.about-section-tag p {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.about-section-tag--hero span {
  background: var(--navy);
  color: white;
}

.about-section-tag--dark span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--teal);
}

.about-section-tag--dark p {
  color: var(--teal);
}

/* Shaped section containers */

.about-shaped-box {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.about-shaped-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.34), transparent);
  pointer-events: none;
}

.about-shaped-box--white {
  background: white;
  border: 1px solid rgba(219, 227, 239, 0.95);
}

.about-shaped-box--grid {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 242, 255, 0.72));
  border: 1px solid rgba(219, 227, 239, 0.95);
}

.about-shaped-box--dark {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(16px);
}

.about-shaped-box--dark::after {
  background: linear-gradient(90deg, transparent, rgba(18, 165, 148, 0.38), transparent);
}

.about-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.about-split h2,
.about-section-head h2,
.about-commitment-box h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.about-shaped-box--dark h2,
.about-commitment-box h2 {
  color: white;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: #475569;
  font-size: 1.05rem;
}

.about-copy p {
  max-width: 780px;
}

.about-copy--dark {
  color: rgba(255, 255, 255, 0.76);
}

.about-copy--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.about-intro-card {
  padding: 30px;
  border-radius: 26px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-soft);
}

.about-intro-card h2 {
  color: white;
  margin-bottom: 16px;
}

.about-intro-card p {
  color: rgba(255, 255, 255, 0.74);
}

.about-callout {
  padding: 26px 28px;
  border-radius: 24px;
  background: white;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 850;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.about-section-head > p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-top: 14px;
}

/* Pillars */

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.about-pillar-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  padding: 26px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, white, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-pillar-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
}

.about-pillar-card__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.about-pillar-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.about-pillar-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Commitment */

.about-commitment-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 52px;
  border-radius: 34px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.about-commitment-box p {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.75);
  margin: 18px 0;
}

.about-commitment-box strong {
  display: block;
  color: white;
  font-size: 1.08rem;
}

.about-commitment-box .btn {
  background: white;
  color: var(--navy);
}

/* =========================================================
   ABOUT PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-hero__content {
    padding: 64px 0 20px;
  }

  .about-hero__panel {
    margin-bottom: 56px;
  }

  .about-section {
    padding: 72px 0;
  }

  .about-section--raised {
    margin-top: 0;
    padding-top: 72px;
  }

  .about-split,
  .about-commitment-box {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-shaped-box,
  .about-commitment-box {
    padding: 38px;
  }
}

@media (max-width: 640px) {
  .about-hero__content {
    padding: 48px 0 18px;
  }

  .about-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.75rem);
    letter-spacing: -0.075em;
  }

  .about-hero__panel {
    padding: 16px;
    border-radius: 26px;
  }

  .about-hero__panel-card {
    padding: 18px;
  }

  .about-section {
    padding: 56px 0;
  }

  .about-section--raised {
    padding-top: 56px;
  }

  .about-shaped-box,
  .about-commitment-box {
    padding: 24px;
    border-radius: 26px;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar-card {
    min-height: auto;
    padding: 22px;
  }

  .about-section-tag {
    align-items: flex-start;
  }

  .about-section-tag p {
    line-height: 1.35;
  }
}
