/* =====================================================================
   Albany Hall Public School Stylesheet
   Brand: Navy #1F3864 · Gold #C79A2E
   ===================================================================== */

:root {
  --navy: #1f3864;
  --navy-2: #2e4a7d;
  --navy-dark: #152744;
  --gold: #c79a2e;
  --gold-soft: #e7c766;
  --ink: #1f2733;
  --muted: #5b6675;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-soft-2: #eef3fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(24, 45, 86, 0.08);
  --shadow-lg: 0 20px 50px rgba(24, 45, 86, 0.15);
  --maxw: 1180px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: clip;
  max-width: 100%;
}
/* Icons */
.ic {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.date .ic,
.exp .ic {
  vertical-align: -3px;
}
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 70px 0;
}
.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8871f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(199, 154, 46, 0.35);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-2);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Section heading */
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.sec-head .eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-family: "Poppins";
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 10px;
}
.sec-head h2 {
  font-size: 2.1rem;
}
.sec-head p {
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #c7d2e8;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.tb-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.tb-left a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c7d2e8;
  transition: color 0.2s;
}
.tb-left a:hover {
  color: var(--gold-soft);
}
.tb-left a .ic {
  color: var(--gold-soft);
}
.tb-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(199, 154, 46, 0.18);
  color: var(--gold-soft);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.76rem;
}
.tb-estd {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.tb-estd .ic {
  color: var(--gold-soft);
}
.tb-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.tb-social:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.tb-social.s-facebook:hover {
  background: #1877f2;
  color: #fff;
}
.tb-social.s-youtube:hover {
  background: #ff0000;
  color: #fff;
}
.tb-social.s-instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}
.tb-social.s-linkedin:hover {
  background: #0a66c2;
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, height 0.3s;
}
.nav-drawer-foot {
  display: none;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(24, 45, 86, 0.09);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  transition: height 0.3s;
}
.site-header.scrolled .header-inner {
  height: 64px;
}
.site-header.scrolled .brand-logo {
  height: 44px;
}
.brand-logo {
  height: 54px;
  width: auto;
  transition: height 0.3s;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}
.main-nav a:not(.nav-cta):hover:after,
.main-nav a.active:after {
  width: 100%;
}
.main-nav a.active {
  color: var(--navy);
  font-weight: 600;
}
.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 50px;
  font-weight: 600;
}
.nav-cta:hover {
  background: #b8871f;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 52px;
  height: 52px;
  z-index: 1200;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  box-shadow: 0 8px 22px rgba(31, 56, 100, 0.3);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav-toggle:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.65, -0.35, 0.3, 1.4),
    opacity 0.25s ease, background 0.3s;
}
.nav-toggle.open {
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(199, 154, 46, 0.55),
    0 8px 22px rgba(31, 56, 100, 0.3);
}
.nav-toggle.open span {
  background: #fff;
}
/* single/any social icons in the drawer stay as neat squares, never full-width bars */
.main-nav .drawer-social a {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border-bottom: none !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
/* STORY HERO — alternating photo + text rows (direction flips each row) */
.story {
  padding: 0;
}
.story-row {
  display: grid;
  grid-template-columns: 30% 1fr;
  min-height: 0;
  overflow: hidden;
}
.story-row.reverse {
  grid-template-columns: 1fr 30%;
}
.story-media {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 280px;
  background-color: var(--navy-dark);
}
/* entrance animation when a row scrolls into view */
.story-media.reveal {
  opacity: 0;
  transform: translateX(-46px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-row.reverse .story-media.reveal {
  transform: translateX(46px);
}
.story-inner.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease 0.12s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.story-media.reveal.in,
.story-inner.reveal.in,
.story-row.reverse .story-media.reveal.in {
  opacity: 1;
  transform: none;
}
.story-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 10px 26px rgba(10, 20, 40, 0.28);
}
.story-badge .ic {
  color: var(--gold);
}
.story-panel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.story-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0;
  padding: 40px 6%;
}
.story-row.reverse .story-inner {
  margin-left: auto;
}
/* flip the row: text left, photo right */
.story-row.reverse .story-media {
  order: 2;
}
.story-row.reverse .story-panel {
  order: 1;
}
/* navy panels */
.panel-navy {
  background: linear-gradient(
    135deg,
    var(--navy-dark),
    var(--navy) 62%,
    var(--navy-2)
  );
  color: #fff;
}
.panel-navy:before {
  content: "";
  position: absolute;
  top: -130px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(199, 154, 46, 0.2), transparent 70%);
  border-radius: 50%;
}
.panel-navy h1,
.panel-navy h2 {
  color: #fff;
}
.panel-navy .g {
  color: var(--gold-soft);
}
.panel-navy p {
  color: #d7e0f2;
}
/* light panel */
.panel-light {
  background: var(--bg-soft);
}
.panel-light .eyebrow {
  color: var(--gold);
  font-family: "Poppins";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
}
.panel-light h2 {
  color: var(--navy);
}
.panel-light p {
  color: var(--muted);
}
/* shared type for story panels */
.story-panel h1 {
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.1px;
  margin: 12px 0 0;
}
.story-panel h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 10px 0 0;
}
.story-panel p {
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 14px 0 24px;
}
.story .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(231, 199, 102, 0.5);
  color: #fff;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.story .pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 0 rgba(231, 199, 102, 0.7);
  animation: pdot 1.8s infinite;
}
/* Hero image slider (auto scroll right to left) */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  animation: heroZoom 6s ease forwards;
}
.hero-slide.prev {
  opacity: 1;
  transform: translateX(-100%);
}
@keyframes heroZoom {
  from {
    transform: translateX(0) scale(1);
  }
  to {
    transform: translateX(0) scale(1.08);
  }
}
/* Lighter, directional overlay so photos show clearly while text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(13, 25, 48, 0.94) 0%,
    rgba(16, 30, 56, 0.82) 40%,
    rgba(31, 56, 100, 0.38) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-left: 26px;
  border-left: 5px solid var(--gold);
}
.hero h1,
.hero p {
  text-shadow: 0 2px 24px rgba(8, 16, 34, 0.5);
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(231, 199, 102, 0.5);
  color: #fff;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero .pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 0 rgba(231, 199, 102, 0.7);
  animation: pdot 1.8s infinite;
}
@keyframes pdot {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 199, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(231, 199, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 199, 102, 0);
  }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin: 0;
}
.hero h1 .g {
  color: var(--gold-soft);
}
.hero p {
  font-size: 1.2rem;
  color: #d7e0f2;
  margin: 24px 0 36px;
  max-width: 600px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #1a1205;
  font-family: "Poppins";
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(199, 154, 46, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-hero-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(199, 154, 46, 0.55);
  background: var(--gold-soft);
}
.btn-hero-gold .ic {
  stroke-width: 2.6;
}
.hero-trust {
  display: flex;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbe4f5;
  font-size: 0.98rem;
  font-weight: 500;
}
.hero-trust .ic {
  color: var(--gold-soft);
}

/* ALUMNI CORNER */
.alumni-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 38px;
  align-items: start;
  margin-top: 40px;
}
.count-pill {
  display: inline-block;
  background: var(--gold);
  color: #1a1205;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-left: 6px;
  vertical-align: middle;
}
.alumni-wall {
  display: grid;
  gap: 16px;
  max-height: 720px;
  overflow-y: auto;
  padding-right: 4px;
}
.alum-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.alum-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.alum-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.alum-ava {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins";
  font-weight: 700;
  font-size: 1.2rem;
}
.alum-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alum-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.alum-id strong {
  font-family: "Poppins";
  font-size: 1.02rem;
  color: var(--navy);
}
.alum-batch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
}
.alum-batch .ic {
  color: var(--gold);
}
.alum-prof {
  color: var(--muted);
  font-size: 0.84rem;
}
.alum-msg {
  position: relative;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.65;
  padding-left: 30px;
}
.alum-quote {
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--bg-soft-2);
}
.alum-quote .ic {
  color: #cdd8ec;
}
.alum-empty {
  background: var(--bg-soft);
  border: 2px dashed var(--line);
  border-radius: 18px;
  padding: 48px 28px;
  text-align: center;
  color: var(--muted);
}
.alum-empty .ic {
  color: var(--gold);
  margin-bottom: 10px;
}
.alum-empty p {
  max-width: 360px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .alumni-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .alumni-wall {
    max-height: none;
  }
}

/* LIFE AT ALBANY HALL — bento photo gallery */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 16px;
  margin-top: 40px;
}
.g-tile {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-dark);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.g-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 40, 0.72), transparent 55%);
  transition: opacity 0.4s ease;
}
.g-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: inherit;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.g-tile figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-family: "Poppins";
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.g-tile:hover:before {
  transform: scale(1.09);
}
.g-tile:hover figcaption {
  transform: translateY(-4px);
}
.g-tile:hover:after {
  background: linear-gradient(
    to top,
    rgba(31, 56, 100, 0.78),
    rgba(31, 56, 100, 0.12) 70%
  );
}
/* bento layout: first tile is the large feature */
.g1 {
  grid-column: span 2;
  grid-row: span 2;
}
/* the ::before carries the zoomable image via inherited background-image */
@media (max-width: 900px) {
  .gallery-bento {
    grid-auto-rows: 180px;
  }
}
@media (max-width: 600px) {
  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 12px;
  }
  .g1 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .g-tile {
    border-radius: 14px;
  }
  .g-tile figcaption {
    font-size: 0.92rem;
    left: 14px;
    bottom: 12px;
  }
}

/* WHY PARENTS CHOOSE US — bold stats band */
.why-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 76px 0;
  position: relative;
}
.why-band:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.why-head {
  text-align: center;
  margin-bottom: 52px;
}
.why-head .eyebrow-light {
  color: var(--gold-soft);
  font-family: "Poppins";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}
.why-head h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: -0.5px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.why-stat {
  text-align: center;
  padding: 14px 20px;
  position: relative;
}
.why-stat + .why-stat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  height: 72%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.why-stat b {
  font-family: "Poppins";
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  color: var(--gold-soft);
  display: block;
  line-height: 1;
}
.why-stat b i {
  font-style: normal;
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 2px;
}
.why-stat span {
  display: block;
  margin-top: 12px;
  color: #c7d2e8;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card .ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--bg-soft-2), #dbe6f8);
  margin-bottom: 20px;
}
.card .ico .ic {
  width: 26px;
  height: 26px;
}
.card:hover .ico {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  transition: background 0.25s, color 0.25s;
}
/* Admission step cards */
.step-card {
  position: relative;
}
.step-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: "Poppins";
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--bg-soft-2);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* bg helpers */
.bg-soft {
  background: var(--bg-soft);
}

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split .media {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.split .media.has-photo {
  min-height: 380px;
}
.split .media img {
  width: 70%;
  opacity: 0.96;
  filter: brightness(0) invert(1);
}
.split .media .badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: "Poppins";
  font-weight: 700;
  font-size: 0.9rem;
}
.split h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.split p {
  color: var(--muted);
  margin-bottom: 14px;
}
.checklist {
  list-style: none;
  margin-top: 18px;
}
.checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--ink);
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- News / cards grid ---------- */
.news-grid,
.gallery-grid,
.people-grid,
.fame-grid {
  display: grid;
  gap: 24px;
}
.news-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.news-card .thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--bg-soft-2), #d4e0f4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: "Poppins";
  font-weight: 700;
  font-size: 1.1rem;
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card .body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tag {
  align-self: flex-start;
  background: var(--bg-soft-2);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.news-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.news-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.news-card .date {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow);
  position: relative;
  background: linear-gradient(135deg, var(--bg-soft-2), #d4e0f4);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(21, 39, 68, 0.85));
  color: #fff;
  padding: 20px 14px 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- People (teachers) ---------- */
.people-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.person:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.person .avatar {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Poppins";
  font-size: 3rem;
  font-weight: 700;
}
.person .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person .info {
  padding: 20px 16px;
}
.person .info h3 {
  font-size: 1.08rem;
}
.person .info .role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 4px 0 10px;
}
.person .info .exp {
  color: var(--muted);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.person .info .exp .ic {
  color: var(--gold);
}
.person .info .qual {
  display: inline-block;
  margin-top: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ---------- Hall of Fame ---------- */
.fame-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.fame-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.fame-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.fame-card:before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--bg-soft-2), transparent 70%);
  border-radius: 50%;
}
.fame-card .medal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.fame-card h3 {
  font-size: 1.15rem;
  position: relative;
  z-index: 2;
}
.fame-card .ach {
  color: var(--muted);
  margin: 8px 0;
  position: relative;
  z-index: 2;
}
.fame-card .yr {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--navy);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(46, 74, 125, 0.12);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success {
  background: #e7f7ec;
  color: #1c7a3e;
  border: 1px solid #b6e6c4;
}
.alert-error {
  background: #fdeaea;
  color: #b02a2a;
  border: 1px solid #f3c2c2;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .plus {
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}
.faq-item.open .faq-a {
  max-height: 300px;
}
.faq-a p {
  padding: 0 22px 20px;
}

/* ---------- Page banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-2));
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner:before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(199, 154, 46, 0.22),
    transparent 70%
  );
  border-radius: 50%;
}
.page-banner h1 {
  color: #fff;
  font-size: 2.4rem;
  position: relative;
  z-index: 2;
}
.page-banner p {
  color: #cfd9ee;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  color: #aebbd6;
  font-size: 0.85rem;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}
.breadcrumb a {
  color: var(--gold-soft);
}

/* ---------- Info strip ---------- */
.info-strip {
  background: var(--gold);
  color: #fff;
}
.info-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
  padding: 26px 20px;
}
.info-strip .item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.info-strip .item .n {
  display: inline-flex;
  align-items: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 30px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-band p {
  color: #d3ddf1;
  max-width: 520px;
  margin: 0 auto 26px;
}

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.contact-info .ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info .ci-item .ci-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft-2);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info .ci-item h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.contact-info .ci-item p {
  color: var(--muted);
  font-size: 0.92rem;
}
.map-embed {
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* ---------- Floating widgets ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

.chatbot {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
}
.chatbot-toggle {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(31, 56, 100, 0.4);
  transition: transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-toggle:hover {
  transform: scale(1.07);
}
.chatbot-toggle .cb-ic-open {
  display: flex;
  width: 30px;
  height: 30px;
}
.chatbot-toggle .cb-ic-open svg {
  width: 30px;
  height: 30px;
}
.chatbot-toggle .cb-ic-close {
  display: none;
  font-size: 1.7rem;
  line-height: 1;
}
.chatbot.open .chatbot-toggle .cb-ic-open {
  display: none;
}
.chatbot.open .chatbot-toggle .cb-ic-close {
  display: block;
}
.cb-ping {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #25d366;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pdot 1.8s infinite;
}
.chatbot-box {
  position: absolute;
  bottom: 76px;
  left: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(10, 20, 40, 0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid var(--line);
}
.chatbot.open .chatbot-box {
  display: flex;
  animation: pop 0.28s ease;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.chatbot-head {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cb-id {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(231, 199, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  flex-shrink: 0;
}
.cb-avatar svg {
  width: 24px;
  height: 24px;
}
.cb-id-txt strong {
  display: block;
  font-family: "Poppins";
  font-size: 1rem;
  line-height: 1.2;
}
.cb-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #c3cee4;
  margin-top: 2px;
}
.cb-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pdot 1.8s infinite;
}
.chatbot-head button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
}
.chatbot-head button:hover {
  opacity: 1;
}
.chatbot-body {
  padding: 16px;
  height: 330px;
  max-height: 52vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
}
.bot-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 88%;
}
.cb-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cb-mini svg {
  width: 17px;
  height: 17px;
}
.bot-msg,
.user-msg {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.bot-msg {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.bot-msg a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}
.user-msg {
  background: var(--navy);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  max-width: 85%;
}
.cb-typing {
  display: flex;
  gap: 4px;
  align-items: center;
}
.cb-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fb0cc;
  animation: cbtype 1s infinite;
}
.cb-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.cb-typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes cbtype {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 12px 4px;
  max-height: 98px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.chatbot-quick button {
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.chatbot-quick button:hover {
  background: var(--navy);
  color: #fff;
}
.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chatbot-input input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  padding: 11px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.chatbot-input input:focus {
  border-color: var(--navy);
}
.chatbot-input button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1205;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.chatbot-input button:hover {
  background: var(--gold-soft);
  transform: scale(1.06);
}

/* ---------- Popup ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 39, 68, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.popup-overlay.show {
  display: flex;
  animation: fade 0.3s ease;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.popup-box {
  background: #fff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 34px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: pop 0.35s ease;
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
}
.popup-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.popup-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.popup-box p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #c7d2e8;
  padding-top: 56px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-logo {
  height: 56px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  width: fit-content;
}
.footer-estd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(199, 154, 46, 0.16);
  color: var(--gold-soft);
  border: 1px solid rgba(199, 154, 46, 0.35);
  padding: 7px 15px;
  border-radius: 50px;
  font-family: "Poppins";
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.footer-estd .ic {
  color: var(--gold-soft);
}
.footer-tag {
  font-size: 0.9rem;
  color: #a9b6d1;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #b3c0da;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold-soft);
}
.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #a9b6d1;
}
.footer-col .fc-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-col .fc-ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  margin-top: 1px;
}
.footer-col a.ql {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col a.ql .ic {
  color: var(--gold-soft);
  transition: transform 0.2s;
}
.footer-col a.ql:hover .ic {
  transform: translateX(3px);
}
.social-row {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.social-btn:hover {
  transform: translateY(-3px);
}
/* perfectly centre the Font Awesome glyph inside each button */
.social-btn .ic,
.tb-social .ic,
.main-nav .drawer-social a .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
/* brand-colour hovers */
.social-btn.s-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}
.social-btn.s-youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}
.social-btn.s-instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
}
.social-btn.s-linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8fa0c0;
}
.footer-bottom a {
  color: var(--gold-soft);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .container {
    padding: 0 22px;
  }
  .tb-email {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  /* Bulletproof fixed header on mobile */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  body {
    padding-top: 64px;
  }
  .header-inner {
    height: 64px;
  }
  .brand-logo {
    height: 44px;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    right: 0;
    width: min(440px, 100vw);
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: #fff;
    z-index: 1050;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 26px 26px;
    gap: 0;
    box-shadow: -14px 0 40px rgba(10, 20, 40, 0.18);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  /* staggered link reveal + chevron arrows (reference-style, refined) */
  .main-nav a:not(.nav-cta):not(.drawer-call):not(.drawer-wa) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.12rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: var(--navy);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s, padding-left 0.25s;
  }
  .main-nav a:not(.nav-cta):not(.drawer-call):not(.drawer-wa)::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2.5px solid #b8c3d8;
    border-top: 2.5px solid #b8c3d8;
    transform: rotate(45deg);
    transition: border-color 0.2s, transform 0.2s;
  }
  .main-nav a.active:not(.nav-cta) {
    color: var(--gold);
  }
  .main-nav a:not(.nav-cta):not(.drawer-call):not(.drawer-wa):hover {
    color: var(--gold);
    padding-left: 10px;
  }
  .main-nav a:not(.nav-cta):not(.drawer-call):not(.drawer-wa):hover::after {
    border-color: var(--gold);
  }
  .main-nav.open a:not(.nav-cta):not(.drawer-call):not(.drawer-wa) {
    opacity: 1;
    transform: translateX(0);
  }
  .main-nav.open a:nth-child(1) {
    transition-delay: 0.08s;
  }
  .main-nav.open a:nth-child(2) {
    transition-delay: 0.13s;
  }
  .main-nav.open a:nth-child(3) {
    transition-delay: 0.18s;
  }
  .main-nav.open a:nth-child(4) {
    transition-delay: 0.23s;
  }
  .main-nav.open a:nth-child(5) {
    transition-delay: 0.28s;
  }
  .main-nav.open a:nth-child(6) {
    transition-delay: 0.33s;
  }
  .main-nav.open a:nth-child(7) {
    transition-delay: 0.38s;
  }
  .main-nav.open a:nth-child(8) {
    transition-delay: 0.43s;
  }
  .main-nav a:not(.nav-cta):after {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  /* in-drawer contact footer (WhatsApp-first, reference-inspired) */
  .nav-drawer-foot {
    display: block;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .drawer-wa {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    padding: 16px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.04rem;
    border-bottom: none !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .drawer-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  }
  .drawer-wa .ic {
    color: #fff;
  }
  .drawer-call {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--navy);
    color: #fff !important;
    padding: 15px !important;
    border-radius: 50px;
    font-weight: 600;
    border-bottom: none !important;
    margin-top: 12px;
  }
  .drawer-call .ic {
    color: var(--gold-soft);
  }
  .drawer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
  }
  .drawer-social a {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--bg-soft-2);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .drawer-social a:hover {
    background: var(--navy);
    color: #fff;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(12, 24, 46, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 900;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
  body.nav-open {
    overflow: hidden;
  }
  /* hide floating buttons while the menu is open so nothing shows over it */
  body.nav-open .whatsapp-float,
  body.nav-open .chatbot {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .story-media {
    min-height: 230px;
  }
  .story-row .story-media,
  .story-row.reverse .story-media {
    order: 0;
  }
  .story-row .story-panel,
  .story-row.reverse .story-panel {
    order: 1;
  }
  .story-inner {
    padding: 34px 22px;
    max-width: none;
  }
  /* keep the entrance animation gentle (vertical) on mobile */
  .story-media.reveal,
  .story-row.reverse .story-media.reveal {
    transform: translateY(24px);
  }
  .story-badge {
    left: 18px;
    bottom: 18px;
    font-size: 0.8rem;
    padding: 9px 15px;
  }
  .hero-trust {
    gap: 14px 22px;
    margin-top: 30px;
  }
  .why-band {
    padding: 56px 0;
  }
  .why-head {
    margin-bottom: 36px;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .why-stat:nth-child(odd):before {
    display: none;
  }
  .why-stat:nth-child(3):after,
  .why-stat:nth-child(4):after {
    content: "";
    position: absolute;
    top: -18px;
    left: 16%;
    width: 68%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
  }
  .sec-head h2 {
    font-size: 1.7rem;
  }
  .split {
    gap: 34px;
  }
  section {
    padding: 52px 0;
  }
}
@media (max-width: 420px) {
  .header-inner {
    height: 64px;
  }
  .brand-logo {
    height: 42px;
  }
  .main-nav {
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
  }
  .nav-backdrop {
    top: 64px;
  }
  .story-media {
    min-height: 200px;
  }
  .story-inner {
    padding: 30px 18px;
  }
  .story .pill {
    font-size: 0.72rem;
    padding: 8px 16px;
  }
  .story-panel p {
    font-size: 1.02rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .sec-head h2 {
    font-size: 1.5rem;
  }
  .cta-band {
    padding: 40px 22px;
  }
  .info-strip .container {
    gap: 16px 26px;
  }
  .popup-box {
    padding: 30px 22px;
    border-radius: 16px;
  }
  .popup-box h3 {
    font-size: 1.2rem;
  }
  .popup-box p {
    font-size: 0.92rem;
  }
  .popup-badge {
    font-size: 0.72rem;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
