/* ════════════════════════════════════════════════════════════
   ABOUT.CSS — About Us Page
   Page-specific sections only.
   Requires: variables.css, common.css loaded first.
   ════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════
   ABOUT HERO — Full-bleed background with centered content
   ════════════════════════════════════════════════════════════ */
#about-hero {
  position:        relative;
  min-height:      100vh;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         140px 64px 100px;   /* extra top space clears fixed nav */
  overflow:        hidden;
  isolation:       isolate;
}

/* Background image — uses ::before so the section background stays in flow */
#about-hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: url('../images/about-hero.png') center / cover no-repeat;
  z-index:    -2;
}

/* Dark navy overlay for text contrast */
#about-hero::after {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(180deg,
                rgba(15, 27, 61, 0.80) 0%,
                rgba(15, 27, 61, 0.72) 50%,
                rgba(15, 27, 61, 0.85) 100%);
  z-index:    -1;
}

.about-hero-content {
  max-width:  1100px;
  width:      100%;
  text-align: center;
  color:      var(--white);
  z-index: 1;
}

/* Eyebrow label — inherits .section-label from common.css */
.about-hero-content .section-label { justify-content: center; }

/* Main headline */
.about-hero-title {
  font-family:   var(--font-display);
  font-size:     clamp(2.4rem, 6vw, 5.4rem);
  font-weight:   900;
  line-height:   1.05;
  color:         var(--white);
  margin:        18px 0 32px;
  letter-spacing: -0.01em;
}

/* Subhead paragraph */
.about-hero-sub {
  font-size:    clamp(15px, 1.4vw, 18px);
  color:        rgba(255, 255, 255, 0.82);
  line-height:  1.75;
  max-width:    760px;
  margin:       0 auto 64px;
}

/* Stats row */
.about-hero-stats {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   32px;
  max-width:             900px;
  margin:                0 auto;
}

.ah-stat        { text-align: center; }

.ah-stat-num {
  font-family:   var(--font-display);
  font-size:     clamp(2.4rem, 4vw, 3.4rem);
  font-weight:   900;
  color:         var(--sun);
  line-height:   1;
  margin-bottom: 10px;
}

.ah-stat-label {
  font-size:   14px;
  font-weight: 500;
  color:       rgba(255, 255, 255, 0.88);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #about-hero        { padding: 120px 32px 80px; }
  .about-hero-stats  { gap: 24px; }
}

@media (max-width: 768px) {
  #about-hero { padding: 110px 24px 60px; }

  /* Allow heading to wrap naturally on small screens */
  .about-hero-title br { display: none; }
  .about-hero-title    { margin: 16px 0 22px; }

  .about-hero-sub      { margin-bottom: 48px; }

  /* 2×2 stat grid */
  .about-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap:                   36px 20px;
    max-width:             480px;
  }
}

@media (max-width: 420px) {
  .about-hero-title { font-size: 2.2rem; }
  .ah-stat-num      { font-size: 2.1rem; }
  .ah-stat-label    { font-size: 13px; }
}


/* ════════════════════════════════════════════════════════════
   WHO WE ARE — Mission & Vision two-column section
   ════════════════════════════════════════════════════════════ */
#who-we-are {
  background: var(--white);
  padding:    100px 64px;
}

.wwa-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           start;
  max-width:             1300px;
  margin:                0 auto;
}


/* ── Left column ── */
.wwa-left {
  display:        flex;
  flex-direction: column;
  gap:            40px;
}

.wwa-left .section-sub {
  margin-top: 16px;
  max-width:  none;
}

.wwa-image {
  border-radius: 24px;
  overflow:      hidden;
  border:        3px solid var(--sun);
  box-shadow:    0 30px 80px rgba(15, 27, 61, 0.15);
}
.wwa-image img {
  display:      block;
  width:        100%;
  height:       auto;
  aspect-ratio: 4 / 3;
  object-fit:   cover;
}


/* ── Right column ── */
.wwa-right {
  display:        flex;
  flex-direction: column;
  gap:            24px;
}


/* ── Cards (shared) ── */
.wwa-card {
  border-radius: 22px;
  padding:       36px 40px;
}

.wwa-card-title {
  font-family:   var(--font-heading);
  font-size:     clamp(2rem, 3vw, 2.6rem);
  font-weight:   800;
  line-height:   1.1;
  display:       flex;
  align-items:   center;
  gap:           14px;
  margin-bottom: 18px;
}

.wwa-card-icon {
  font-size:    1.8rem;
  line-height:  1;
  flex-shrink:  0;
}

.wwa-card-text {
  font-family: var(--font-body);
  font-size:   16px;
  line-height: 1.75;
  font-style:  italic;
}

.wwa-card-list {
  list-style: none;
  padding:    0;
  margin:     0;
  display:    flex;
  flex-direction: column;
  gap:        14px;
}

.wwa-card-list li {
  font-family: var(--font-body);
  font-size:   16px;
  line-height: 1.55;
  color:       var(--navy);
  padding-left: 22px;
  position:    relative;
}

.wwa-card-list li::before {
  content:       '';
  position:      absolute;
  left:          0;
  top:           9px;
  width:         8px;
  height:        8px;
  background:    var(--coral);
  border-radius: 50%;
}


/* ── Vision card (navy fill, sun heading, white italic) ── */
.wwa-card--vision { background: var(--navy); }
.wwa-card--vision .wwa-card-title { color: var(--sun); }
.wwa-card--vision .wwa-card-text  { color: rgba(255, 255, 255, 0.85); }


/* ── Mission card (sun-pale fill + sun border, navy text) ── */
.wwa-card--mission {
  background: var(--sun-pale);
  border:     3px solid var(--sun);
}
.wwa-card--mission .wwa-card-title { color: var(--navy); }


/* ════════════════════════════════════════════════════════════
   WHO WE ARE — Responsive
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #who-we-are { padding: 80px 32px; }
  .wwa-grid {
    grid-template-columns: 1fr;
    gap:                   48px;
  }
}

@media (max-width: 768px) {
  #who-we-are { padding: 60px 24px; }
  .wwa-card   { padding: 28px 24px; }
  .wwa-card-title { font-size: 1.7rem; gap: 12px; }
  .wwa-card-icon  { font-size: 1.5rem; }
}


/* ════════════════════════════════════════════════════════════
   OUR MANAGEMENT — Leadership team grid on sun background
   ════════════════════════════════════════════════════════════ */
#management {
  background: var(--sun);
  padding:    100px 64px;
}


/* ── Head block ── */
.mgmt-head {
  text-align: center;
  max-width:  760px;
  margin:     0 auto 60px;
}

/* Override .section-label colour (default is coral) — navy here */
.mgmt-head .section-label {
  justify-content: center;
  color:           var(--navy);
}
.mgmt-head .section-label::before,
.mgmt-head .section-label::after {
  background: var(--navy);
}

.mgmt-title {
  font-family:    var(--font-display);
  font-size:      clamp(2.4rem, 5vw, 3.74rem);  /* 59.84px at peak */
  font-weight:    900;
  line-height:    1.05;
  color:          var(--navy);
  margin:         14px 0 20px;
  letter-spacing: -0.01em;
}

.mgmt-sub {
  font-family: var(--font-body);
  font-size:   17px;
  line-height: 1.7;
  color:       var(--text-soft);
  text-align:  center;
}


/* ── Grid ── */
.mgmt-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   24px;
  max-width:             1300px;
  margin:                0 auto;
}


/* ── Card ── */
.mgmt-card {
  background:     var(--white);
  border-radius:  22px;
  padding:        12px 12px 0;
  display:        flex;
  flex-direction: column;
  box-shadow:     0 10px 30px rgba(15, 27, 61, 0.08);
  transition:     transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.mgmt-card:hover {
  transform:  translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 27, 61, 0.15);
}

.mgmt-photo {
  border-radius: 16px;
  overflow:      hidden;
  aspect-ratio:  1 / 1;
  background:    var(--cream);
}
.mgmt-photo img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.mgmt-card:hover .mgmt-photo img { transform: scale(1.04); }

.mgmt-info {
  padding: 20px 12px 24px;
}

.mgmt-name {
  font-family:   var(--font-heading);
  font-size:     17px;
  font-weight:   800;
  color:         var(--navy);
  margin-bottom: 10px;
  line-height:   1.2;
}

.mgmt-role {
  display:        inline-block;
  background:     var(--navy);
  color:          var(--sun);
  font-family:    var(--font-heading);
  font-size:      10px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding:        5px 12px;
  border-radius:  50px;
  margin-bottom:  14px;
}

.mgmt-bio {
  font-family: var(--font-body);
  font-size:   13.5px;
  font-weight: 400;
  line-height: 1.55;
  color:       var(--text-soft);
}


/* ════════════════════════════════════════════════════════════
   OUR MANAGEMENT — Responsive
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .mgmt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap:                   20px;
    max-width:             720px;
  }
}

@media (max-width: 768px) {
  #management { padding: 70px 24px; }
  .mgmt-head  { margin-bottom: 44px; }
}

@media (max-width: 560px) {
  .mgmt-grid {
    grid-template-columns: 1fr;
    max-width:             360px;
  }
}


/* ════════════════════════════════════════════════════════════
   OUR STORY — Horizontal milestone timeline on navy gradient
   ════════════════════════════════════════════════════════════ */
#our-story {
  background: linear-gradient(180deg,
                #0F1B3D  0%,
                #111D41  11.11%,
                #121F44  22.22%,
                #142148  33.33%,
                #16244B  44.44%,
                #17264F  55.56%,
                #192853  66.67%,
                #1B2A56  77.78%,
                #1C2D5A  88.89%,
                #1E2F5E  100%);
  padding: 100px 64px;
}


/* ── Head block — reuses Management head pattern, but recoloured for navy bg ── */
.story-head {
  text-align: center;
  max-width:  760px;
  margin:     0 auto 70px;
}

.story-head .section-label {
  justify-content: center;
  color:           var(--sun);
}
.story-head .section-label::before,
.story-head .section-label::after {
  background: var(--sun);
}

.story-title {
  font-family:    var(--font-display);
  font-size:      clamp(2.4rem, 5vw, 3.74rem);
  font-weight:    900;
  line-height:    1.05;
  color:          var(--sun);
  margin:         14px 0 18px;
  letter-spacing: -0.01em;
}

.story-sub {
  font-family: var(--font-body);
  font-size:   17px;
  line-height: 1.7;
  color:       rgba(255, 255, 255, 0.78);
  text-align:  center;
}


/* ── Timeline ── */
.timeline {
  position:              relative;
  display:               grid;
  grid-template-columns: repeat(7, 1fr);
  gap:                   8px;
  max-width:             1280px;
  margin:                0 auto;
}

/* Connecting horizontal line — spans from first badge centre to last */
.timeline::before {
  content:    '';
  position:   absolute;
  top:        32px;             /* matches badge mid-height (64px / 2) */
  left:       calc(100% / 14);  /* centre of first column */
  right:      calc(100% / 14);  /* centre of last column */
  height:     1px;
  background: rgba(255, 255, 255, 0.18);
  z-index:    0;
}

.mile {
  text-align: center;
  padding:    0 6px;
  position:   relative;
  z-index:    1;                /* sits above the line */
}


/* ── Badge ── */
.mile-badge {
  width:           64px;
  height:          64px;
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin:          0 auto 22px;
  font-size:       26px;
  line-height:     1;
  transition:      transform 0.35s var(--ease-bounce),
                   box-shadow 0.35s var(--ease-out);
  position:        relative;
}

.mile-badge--sun {
  /* background: var(--sun); */
  box-shadow: 0 6px 20px rgba(245, 200, 0, 0.35);
}

.mile-badge--dark {
  background: rgba(255, 255, 255, 0.08);
  border:     1px solid rgba(255, 255, 255, 0.15);
  filter:     grayscale(0.4) opacity(0.85);
}


/* ── Year ── */
.mile-year {
  font-family:   var(--font-display);
  font-size:     clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight:   900;
  color:         var(--sun);
  line-height:   1;
  margin-bottom: 10px;
  transition:    color 0.3s ease;
}


/* ── Title ── */
.mile-title {
  font-family:   var(--font-body);
  font-weight:   800;
  font-size:     14px;
  color:         var(--white);
  text-align:    center;
  margin-bottom: 8px;
  line-height:   1.3;
}


/* ── Strapline ── */
.mile-bio {
  font-family: var(--font-body);
  font-weight: 400;
  font-size:   12px;
  line-height: 1.5;
  color:       rgba(255, 255, 255, 0.55);   /* matches #FFFFFF8C */
  text-align:  center;
  max-width:   170px;
  margin:      0 auto;
}


/* ── Hover lift on each milestone ── */
.mile:hover .mile-badge {
  transform: translateY(-6px) scale(1.08);
}
.mile:hover .mile-badge--sun  { box-shadow: 0 12px 28px rgba(245, 200, 0, 0.5); }
.mile:hover .mile-badge--dark { filter: grayscale(0) opacity(1); }
.mile:hover .mile-year        { color: var(--white); }


/* ════════════════════════════════════════════════════════════
   OUR STORY — Responsive
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Convert to a horizontal scrolling row */
  .timeline {
    grid-template-columns: repeat(7, 200px);
    gap:                   16px;
    overflow-x:            auto;
    padding-bottom:        20px;
    scroll-snap-type:      x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .timeline::before { display: none; }
  .mile             { scroll-snap-align: center; }
}

@media (max-width: 768px) {
  #our-story   { padding: 70px 24px; }
  .story-head  { margin-bottom: 50px; }
}

@media (max-width: 560px) {
  .timeline {
    grid-template-columns: repeat(7, 170px);
    gap:                   12px;
  }
  .mile-bio { max-width: 150px; }
}


/* ════════════════════════════════════════════════════════════
   OUR TEAM — 5-column grid of 10 narrower cards on sun bg
   ════════════════════════════════════════════════════════════ */
#our-team {
  background: #F5C800; /* As requested: section description bg color */
  padding: 100px 64px;
}

/* ── Head block ── */
.team-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

/* Reusing your section-label framework */
.team-head .section-label {
  justify-content: center;
  color: #0F1B3D; /* Title, head color */
}
.team-head .section-label::before,
.team-head .section-label::after {
  background: #0F1B3D;
}

.team-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.74rem);
  font-weight: 900;
  line-height: 1.1;
  color: #0F1B3D; /* As requested */
  margin: 14px 0 20px;
  letter-spacing: -0.01em;
}

.team-sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: #4A5578; /* Strapline color as requested */
  text-align: center;
}

/* ── 5-Column Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5-column grid layout */
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ── Card Styling ── */
.team-card {
  background: var(--white);
  border-radius: 24px; /* Matches screenshot curved styling */
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 27, 61, 0.15);
}

.team-photo {
  border-radius: 18px; /* Inner photo rounded corners */
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream);
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

/* Centered content design matching image layout */
.team-info {
  padding: 16px 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #0F1B3D;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Role pill badge design */
.team-role {
  display: inline-block;
  background: #0F1B3D;
  color: #F5C800;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 50px;
}

/* ════════════════════════════════════════════════════════════
   OUR TEAM — Responsive Media Queries
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr); /* Step down elegantly to 4 cols */
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for tablet portrait landscape */
  }
}

@media (max-width: 768px) {
  #our-team {
    padding: 70px 24px;
  }
  .team-head {
    margin-bottom: 44px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr; /* Clean single column stack on mobile */
    max-width: 320px;
  }
}


/* ════════════════════════════════════════════════════════════
   GALLERY SECTION — 3-Column dynamic grid layout on white bg
   ════════════════════════════════════════════════════════════ */
#about-gallery {
  background: #FFFFFF; /* Section background color white */
  padding: 100px 64px;
}

/* ── Head block ── */
.ag-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

/* Section label color: #FF6B4A */
.ag-head .section-label {
  justify-content: center;
  color: #FF6B4A;
}
.ag-head .section-label::before,
.ag-head .section-label::after {
  background: #FF6B4A;
}

/* Head color: #0F1B3D */
.ag-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.74rem);
  font-weight: 900;
  line-height: 1.1;
  color: #0F1B3D;
  margin: 14px 0 20px;
  letter-spacing: -0.01em;
}

/* Strapline color: #4A5578 */
.ag-sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: #4A5578;
  text-align: center;
}

/* ── Asymmetric 3-Column Grid ── */
.ag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px; /* Tailored vertical and horizontal gap matching screenshot */
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Gallery Card Item ── */
.ag-item {  
  overflow: hidden;
  /* box-shadow: 0 8px 24px rgba(15, 27, 61, 0.05); */
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), opacity 0.4s ease;
  opacity: 1;
}

/* Logic to toggle hidden items */
.ag-item.is-hidden {
  display: none;
  opacity: 0;
}

.ag-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15, 27, 61, 0.12);
}

.ag-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px; /* Curved image layout style */
}

/* Recreating the Figma aspect ratios row-by-row */
/* Outer columns: landscape format */
.ag-item:nth-child(3n+1) img,
.ag-item:nth-child(3n) img {
  aspect-ratio: 4 / 2.7;
}

/* Center column: tall portrait format for masonry effect */
.ag-item:nth-child(3n+2) img {
  aspect-ratio: 4 / 4.4;
}

/* ── View More Button Container ── */
.ag-cta {
  text-align: center;
  margin-top: 56px;
}

.ag-view-more {
  background: #0F1B3D; /* Navy color button */
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: 50px; /* Fully rounded button pill */
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 27, 61, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ag-view-more:hover {
  background: #FF6B4A; /* Shifting to theme accent color on hover */
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 74, 0.25);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  #about-gallery {
    padding: 80px 32px;
  }
  .ag-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #about-gallery {
    padding: 60px 24px;
  }
  
  /* Fallback to standard uniform grids on compact tablet screens */
  .ag-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .ag-item img,
  .ag-item:nth-child(3n+2) img {
    aspect-ratio: 4 / 3; /* Uniform clean layout on smaller devices */
  }
}

@media (max-width: 480px) {
  .ag-grid {
    grid-template-columns: 1fr; /* Clean single column mobile view */
    gap: 20px;
  }
}
/* ════════════════════════════════════════════════════════════
   GALLERY POPUP SLIDER (LIGHTBOX)
   ════════════════════════════════════════════════════════════ */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 2000;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 27, 61, 0.94);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 75%; /* Lowered slightly to make crisp room for desktop side arrows */
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out);
  object-fit: contain;
  user-select: none;
}

.lightbox.is-active .lightbox-content {
  transform: scale(1);
}

/* Close icon button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #FFFFFF;
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
  z-index: 2010;
}

.lightbox-close:hover {
  color: #FF6B4A;
  transform: scale(1.1);
}

/* Slider Arrow Controls */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2005;
  user-select: none;
}

.lightbox-arrow:hover {
  background: #FF6B4A;
  color: #FFFFFF;
  border-color: #FF6B4A;
  transform: translateY(-50%) scale(1.05);
}

.arrow-left { left: 40px; }
.arrow-right { right: 40px; }

/* Responsive Adjustments */
@media (max-width: 912px) {
  .lightbox-content {
    max-width: 85%;
  }
  .lightbox-arrow {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
  .arrow-left { left: 16px; }
  .arrow-right { right: 16px; }
}

@media (max-width: 576px) {
  .lightbox-content {
    max-width: 90%;
    max-height: 65vh;
  }
  .lightbox-close {
    top: 20px;
    right: 25px;
    font-size: 36px;
  }
  /* Shift arrows to bottom bar on small mobile layouts to keep viewport image clean */
  .lightbox-arrow {
    top: auto;
    bottom: 30px;
    transform: none;
  }
  .lightbox-arrow:hover {
    transform: scale(1.05);
  }
  .arrow-left { left: calc(50% - 60px); }
  .arrow-right { right: calc(50% - 60px); }
}


/* ════════════════════════════════════════════════════════════
   ABOUT ADMISSIONS CTA SECTION
   ════════════════════════════════════════════════════════════ */
#about-admissions {
  background-color: #F5C800; /* As requested */
  padding: 120px 64px 100px;
  position: relative;
  overflow: hidden;
}

.adm-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Strapline Label (Top eyebrow text) */
.adm-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #FF6B4A; /* As requested */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Optional decorative label dashes matching prior section-label patterns */
.adm-label::before,
.adm-label::after {
  content: '';
  width: 14px;
  height: 1px;
  background-color: #FF6B4A;
}

/* Heading Typography */
.adm-title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 72px); /* Clamp keeps large 72px fluids */
  color: #0F1B3D; /* As requested */
  line-height: 1.05;
  margin: 0 auto 24px;
  max-width: 820px;
  letter-spacing: -0.01em;
}

/* Strapline Paragraph */
.adm-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #2D4080; /* As requested */
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 42px;
}

/* ── Form Container Bar ── */
.adm-form {
  background: #FFFFFF;
  border: 2px solid #0F1B3D;
  border-radius: 50px; /* Outer capsule matching input style */
  padding: 6px;
  width: 100%;
  max-width: 540px; /* Matches exact "540 x 58" blueprint badge in screenshot */
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(15, 27, 61, 0.12);
  margin-bottom: 24px;
  box-sizing: border-box;
}

.adm-input {
  border: none;
  background: transparent;
  outline: none;
  padding: 0 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #0F1B3D;
  width: 100%;
}

.adm-input::placeholder {
  color: #9AA4BF; /* Subtle color match for child placeholder */
}

/* ── Docked Pill Button ── */
.adm-btn {
  width: 165px; /* Exact spec layout dimensions */
  height: 46px; /* Dynamically structured inside the 58px form container */
  background-color: #0F1B3D; /* As requested */
  color: #F5C800;
  border: none;
  border-radius: 50px; /* Pill style */
  padding: 14px 24px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.adm-btn:hover {
  background-color: #FF6B4A; /* Dynamic hover color shift */
  box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
  color:#fff;
}

/* ── Content Part Footer ── */
.adm-contact {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: #2D4080; /* As requested */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.adm-link {
  color: #2D4080;
  text-decoration: none;
  transition: color 0.2s ease;
}

.adm-link:hover {
  color: #0F1B3D;
  text-decoration: underline;
}

.adm-separator {
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE LAYOUT
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #about-admissions {
    padding: 80px 24px 60px;
  }
  
  .adm-sub {
    font-size: 16px;
    margin-bottom: 32px;
  }
}

@media (max-width: 560px) {
  /* Restructures form input cleanly into stacked layout on ultra-small viewports */
  .adm-form {
    background: transparent;
    border: none;
    height: auto;
    flex-direction: column;
    gap: 12px;
    box-shadow: none;
  }
  
  .adm-input {
    background: #FFFFFF;
    border: 2px solid #0F1B3D;
    border-radius: 50px;
    height: 52px;
    text-align: center;
  }
  
  .adm-btn {
    width: 100%;
    height: 51px; /* Resets to requested default exact height when unconstrained */
  }

  .adm-contact {
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .adm-separator {
    display: none;
  }
}