/* ══════════════════════════════════════════════════════════
   about.css  —  All About page section styles
   1. Hero Banner
   2. Who We Are        (hex image + quote badge)
   3. Mission · Vision · Values
   4. History & Formation   (navy, large bottom-padding)
   5. Governance Structure  (red card, overlaps history)
   6. Affiliations & Recognition
══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   KEYFRAMES  (ab- prefix avoids collisions)
─────────────────────────────────────────── */

@keyframes ab-fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ab-slideRight {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ab-slideLeft {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ──────────────────────────────────────────
   1. HERO BANNER
─────────────────────────────────────────── */
.about-hero {
  background: #0d1b3e;
  padding: 68px 0 64px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e63946 0%, transparent 60%);
  z-index: 2;
}

.about-hero::after {
  content: '';
  position: absolute; inset: 0;
  /* background: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(255,255,255,.025) 40px, rgba(255,255,255,.025) 41px
  ); */
  pointer-events: none;
}

.about-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-hero-left {
  opacity: 0;
  animation: ab-slideRight .7s cubic-bezier(.4, 0, .2, 1) .1s forwards;
}

.about-hero-eyebrow {
  font-family: var(--font-family-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e63946;
  margin-bottom: 16px;
}

.about-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #e63946;
  border-radius: 2px;
  flex-shrink: 0;
}

.about-hero-title {
  font-family: var(--font-family-secondary);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.about-hero-title span {
  color: #e63946;
  display: block;
}

.about-hero-right {
  opacity: 0;
  animation: ab-slideLeft .7s cubic-bezier(.4, 0, .2, 1) .3s forwards;
}

.about-hero-desc {
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  max-width: 440px;
}

/* ──────────────────────────────────────────
   2. WHO WE ARE
─────────────────────────────────────────── */
.who-section {
  background: #fff;
  padding: 90px 0 0;
}

.who-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

/* Left text */
.who-left h2 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(24px);
  animation: ab-fadeUp .7s ease forwards .1s;
}

.who-left p {
  text-align: justify;
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: #777;
  line-height: 1.85;
  margin-bottom: 16px;
  /* opacity: 0; */
  transform: translateY(20px);
}

.who-left p:nth-child(2) {
  animation: ab-fadeUp .7s ease forwards .25s;
}

.who-left p:nth-child(3) {
  animation: ab-fadeUp .7s ease forwards .40s;
}

.who-left p:nth-child(4) {
  animation: ab-fadeUp .7s ease forwards .55s;
}

/* Right — hexagon image */
.who-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 100px; /* ✅ Add this - adjust value as needed */
  align-self: flex-start; /* ✅ Add this if parent is flexbox */
  height: fit-content; /* ✅ Helps with sticky behavior */
  opacity: 0;
  transform: translateY(30px);
  animation: ab-fadeUp .8s ease forwards .3s;
}

.hex-wrap {
  position: relative;
  width: 320px;
  height: 320px;
}

.hex-img {
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
  /* background: linear-gradient(135deg, #c0c8d8, #8090a8); */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hex-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Dark quote badge — top-right */
.quote-badge {
  position: absolute;
  top: -23px;
  right: 125px;
  width: 52px;
  height: 52px;
  background: #0d1b3e;
  border-radius: 12px;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(13, 27, 62, .3);
}

.quote-badge svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* ──────────────────────────────────────────
   3. MISSION · VISION · VALUES
─────────────────────────────────────────── */
.mvv-section {
  background: #fff;
  padding: 60px 0 100px;
}

.mvv-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.mvv-title {
  font-family: var(--font-family-secondary);
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(24px);
}

.mvv-title.ab-visible {
  animation: ab-fadeUp .7s ease forwards;
}

.mvv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.mvv-card {
  /* width: 351px;
  height: 481px; */
  background: #f0f3f8;
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform .35s cubic-bezier(.4, 0, .2, 1),
    box-shadow .35s ease,
    background .35s ease;
}

.mvv-card.ab-visible {
  animation: ab-fadeUp .6s ease forwards;
}

.mvv-card:nth-child(1).ab-visible {
  animation-delay: .10s;
}

.mvv-card:nth-child(2).ab-visible {
  animation-delay: .25s;
}

.mvv-card:nth-child(3).ab-visible {
  animation-delay: .40s;
}

.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(13, 27, 62, .25);
  background: #0d1b3e;
}

.mvv-card:hover .mvv-card-title,
.mvv-card:hover .mvv-card-text {
  color: #fff;
}

.mvv-card:hover .mvv-icon {
  background: #e63946;
  transform: scale(1.08);
}

.mvv-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0d1b3e;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background .35s, transform .35s;
}

.mvv-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mvv-card-title {
  font-family: var(--font-family-secondary);
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 14px;
  transition: color .35s;
}

.mvv-card-text {
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: #777;
  line-height: 1.8;
  transition: color .35s;
}
.mvv-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch; 
}

.mvv-card {
    flex: 1 1 300px; 
    display: flex;
    flex-direction: column;
    min-height: 100%; 
}

.mvv-card-text {
    flex-grow: 1; 
}

/* ──────────────────────────────────────────
   4. HISTORY & FORMATION  (navy + overlap space)
─────────────────────────────────────────── */
.sections-wrap {
  position: relative;
}

.history-section {
  background: #0d1b3e;
  padding: 80px 0 180px;
  /* large bottom = room for red card */
  position: relative;
  z-index: 1;
}

.history-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: flex-start;
}

.history-left h2 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: ab-fadeUp .7s ease forwards .1s;
}

.history-left p {
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.85;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(18px);
}

.history-left p:nth-of-type(1) {
  animation: ab-fadeUp .7s ease forwards .25s;
}

.history-left p:nth-of-type(2) {
  animation: ab-fadeUp .7s ease forwards .40s;
}

.history-left p:nth-of-type(3) {
  animation: ab-fadeUp .7s ease forwards .55s;
}

.history-right {
  opacity: 0;
  transform: translateY(28px);
  animation: ab-fadeUp .8s ease forwards .3s;
}

.img-box {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  position: relative;
}

.img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.img-ph-blue {
  background: linear-gradient(145deg, #8aaac8 0%, #5a80a8 50%, #3a5a7a 100%);
}

.img-ph-red-warm {
  background: linear-gradient(145deg, #c0a0a8 0%, #907080 50%, #6a5060 100%);
}

.img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .18) 100%);
}

.img-icon {
  position: relative;
  z-index: 1;
  opacity: .5;
}

/* actual photo variants */
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ──────────────────────────────────────────
   5. GOVERNANCE STRUCTURE  (red card, overlaps navy)
─────────────────────────────────────────── */
.governance-section {
  position: relative;
  z-index: 2;
  margin-top: -120px;
  /* pulls up over history */
  padding: 0 60px 80px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.gov-card {
  background: #e63946;
  border-radius: 20px;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(40px);
}

.gov-card.ab-visible {
  animation: ab-fadeUp .8s ease forwards;
}

.gov-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  position: relative;
}

.gov-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gov-text h2 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
}

.gov-text h2.ab-visible {
  animation: ab-fadeUp .7s ease forwards .2s;
}

.gov-text p {
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.85;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
}

.gov-text p:nth-of-type(1).ab-visible {
  animation: ab-fadeUp .7s ease forwards .35s;
}

.gov-text p:nth-of-type(2).ab-visible {
  animation: ab-fadeUp .7s ease forwards .50s;
}

/* ──────────────────────────────────────────
   6. AFFILIATIONS & RECOGNITION
─────────────────────────────────────────── */
.affiliations-section {
  padding: 90px 0 80px;
  background: #fff;
}

.affiliations-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

.affiliations-section h2 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #0d1b3e;
  text-align: center;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(24px);
}

.affiliations-section h2.ab-visible {
  animation: ab-fadeUp .7s ease forwards;
}

.affiliations-desc {
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: #888;
  line-height: 1.75;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
  opacity: 0;
  transform: translateY(18px);
}

.affiliations-desc.ab-visible {
  animation: ab-fadeUp .7s ease forwards .15s;
}

.affiliations-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.affiliation-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(13, 27, 62, .1);
  border-radius: 10px;
  background: #f8f9fc;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: border-color .22s, box-shadow .22s, transform .25s;
}

.affiliation-logo.ab-visible {
  animation: ab-fadeUp .55s ease forwards;
}

.affiliation-logo:hover {
  border-color: rgba(13, 27, 62, .22);
  box-shadow: 0 6px 20px rgba(13, 27, 62, .1);
  transform: translateY(-4px) !important;
}

.aff-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #0d1b3e;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.aff-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background: #e63946;
}

.aff-icon::after {
  content: 'F';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

.aff-text {
  display: flex;
  flex-direction: column;
}

.aff-name {
  font-size: .78rem;
  font-weight: 800;
  color: #0d1b3e;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.aff-name em {
  font-style: normal;
  color: #e63946;
}

.aff-sub {
  font-size: .46rem;
  color: #7a8694;
  line-height: 1.3;
  max-width: 140px;
}

/* ──────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 32px;
  }

  .about-hero-desc {
    max-width: 100%;
  }

  .about-hero {
    padding: 48px 0 40px;
  }

  .who-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .who-right {
    justify-content: flex-start;
  }

  .hex-wrap {
    width: 280px;
    height: 280px;
  }

  .mvv-cards {
    grid-template-columns: 1fr 1fr;
  }

  .mvv-cards .mvv-card:last-child {
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto;
  }

  .history-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 36px;
  }

  .history-section {
    padding-bottom: 140px;
  }

  .governance-section {
    margin-top: -100px;
    padding: 0 36px 60px;
  }

  .gov-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .gov-img {
    max-width: 420px;
  }

  .affiliations-inner {
    padding: 0 32px;
  }
}

@media (max-width: 700px) {
  .mvv-cards {
    grid-template-columns: 1fr;
  }

  .mvv-cards .mvv-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .about-hero-inner {
    padding: 0 20px;
  }

  .about-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .who-section {
    padding: 56px 0 48px;
  }

  .who-inner {
    padding: 0 20px;
    gap: 36px;
  }

  .hex-wrap {
    width: 240px;
    height: 240px;
  }

  .mvv-section {
    padding: 40px 0 64px;
  }

  .mvv-inner {
    padding: 0 20px;
  }

  .history-section {
    padding: 56px 0 120px;
  }

  .history-inner {
    padding: 0 20px;
    gap: 28px;
  }

  .governance-section {
    margin-top: -80px;
    padding: 0 16px 48px;
  }

  .gov-card {
    padding: 28px 22px;
    gap: 24px;
    border-radius: 16px;
  }

  .affiliations-section {
    padding: 64px 0;
  }

  .affiliations-inner {
    padding: 0 20px;
  }

  .affiliations-desc {
    margin-bottom: 36px;
  }
}
.affiliations-section {
    padding: 60px 0 80px;
    background: #fff;
    text-align: center;
}

.affiliations-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.affiliations-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.affiliations-desc {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 48px;
}

/* ── Scrollable track ───────────────────────────── */
.affiliations-track-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: auto;
    overflow-y: hidden;
    background: #f5f5f5;
    padding: 28px 40px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.affiliations-track-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.affiliations-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

/* ── Logo card ──────────────────────────────────── */
.affiliation-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-width: 220px;
}

.affiliation-logo:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-color: #bbb;
}

/* ── Icon ───────────────────────────────────────── */
.aff-icon {
    width: 44px;
    height: 44px;
    background: #111;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 4px;
}

.aff-grid span {
    width: 14px;
    height: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: 800;
    color: #111;
    border-radius: 2px;
}

/* ── Text ───────────────────────────────────────── */
.aff-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.aff-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.02em;
}

.aff-name em {
    font-style: normal;
    font-weight: 400;
}

.aff-sub {
    font-size: 0.62rem;
    color: #888;
    line-height: 1.4;
    white-space: normal;
    max-width: 140px;
}
.affiliations-track-wrapper {
    /* existing styles... */
    cursor: grab;
}