/* ============================================================
   NEW MOTHER'S CARE — PLAYWAY AND DAYCARE
   Shared stylesheet — used by every page
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  --navy: #17255a;
  --navy-2: #223a82;
  --navy-deep: #0e1838;
  --red: #e2231a;
  --red-dark: #b81811;
  --yellow: #ffc72c;
  --yellow-dark: #f2a900;
  --green: #2e9e46;
  --green-dark: #227635;
  --cream: #fffaf0;
  --paper: #ffffff;
  --ink: #20263b;
  --muted: #5c6280;
  --line: #ece6d8;
  --shadow-sm: 0 2px 10px rgba(23,37,90,.08);
  --shadow-md: 0 10px 30px rgba(23,37,90,.14);
  --shadow-lg: 0 20px 50px rgba(23,37,90,.20);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-h: 98px;
  --ff-head: 'Baloo 2', 'Poppins', system-ui, sans-serif;
  --ff-body: 'Poppins', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:var(--ff-body); line-height:1.6; font-size:16px;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--ff-head); color:var(--navy); margin:0 0 .5em; line-height:1.2; font-weight:700; }
p{ margin:0 0 1em; }
.container{ width:100%; max-width:1220px; margin:0 auto; padding:0 20px; }
section{ position:relative; z-index:0; }
::selection{ background:var(--yellow); color:var(--navy-deep); }

/* Decorative preschool-themed background dots, used behind sections */
.bg-dots{
  background-image:
    radial-gradient(currentColor 2px, transparent 2.5px);
  background-size:26px 26px;
  color:var(--navy);
  opacity:.06;
  position:absolute; inset:0; pointer-events:none;
}
.bg-blob{
  position:absolute; border-radius:50%; filter:blur(0px); opacity:.12; pointer-events:none;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px) scale(.98); }
.btn-primary{ background:var(--red); color:#fff; box-shadow:0 10px 24px rgba(226,35,26,.32); }
.btn-primary:hover{ background:var(--red-dark); box-shadow:0 14px 28px rgba(226,35,26,.4); transform:translateY(-2px); }
.btn-yellow{ background:var(--yellow); color:var(--navy-deep); box-shadow:0 10px 24px rgba(255,199,44,.35); }
.btn-yellow:hover{ background:var(--yellow-dark); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:#fff; color:#fff; }
.btn-outline:hover{ background:#fff; color:var(--navy); transform:translateY(-2px); }
.btn-navy{ background:var(--navy); color:#fff; box-shadow:0 10px 24px rgba(23,37,90,.3); }
.btn-navy:hover{ background:var(--navy-2); transform:translateY(-2px); }
.btn-sm{ padding:10px 18px; font-size:13.5px; }
.btn-block{ width:100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:1000; background:#fff;
  box-shadow:0 2px 14px rgba(23,37,90,.08);
  height:var(--header-h);
}
.navbar{
  height:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1400px;
}
.brand{ display:flex; align-items:center; gap:0; min-width:0; }
.brand img{ height:86px; width:auto; object-fit:contain; flex-shrink:0; transition:height .2s ease; }
@media (max-width:640px){ .brand img{ height:64px; } }

.nav-links{ display:flex; align-items:center; gap:4px; flex-shrink:0; margin-left:auto; }
.nav-links a{
  padding:10px 14px; font-weight:650; font-size:16.5px; color:var(--navy); border-radius:999px;
  transition:background .2s ease, color .2s ease, transform .15s ease; position:relative; white-space:nowrap;
  letter-spacing:-0.01em;
}
.nav-links a:hover{ background:rgba(255,199,44,.28); color:var(--navy-deep); }
.nav-links a.active{ background:var(--navy); color:#fff; }

.header-actions{ display:flex; align-items:center; gap:12px; margin-left:12px; }
.header-actions .btn{ font-size:16px; padding:13px 26px; }
.hamburger{
  display:none; flex-direction:column; justify-content:center; align-items:center;
  width:44px; height:44px; border-radius:12px; border:2px solid var(--line); background:#fff; gap:5px;
}
.hamburger span{ width:22px; height:2.5px; background:var(--navy); border-radius:2px; transition:.25s; }
.hamburger.open span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

.mobile-panel{
  display:none; position:fixed; inset:var(--header-h) 0 0 0; background:#fff; z-index:999;
  padding:18px 20px 40px; overflow-y:auto; transform:translateY(-8px); opacity:0;
  transition:transform .25s ease, opacity .25s ease; pointer-events:none;
}
.mobile-panel.show{ display:block; transform:translateY(0); opacity:1; pointer-events:auto; }
.mobile-panel a{
  display:block; padding:14px 6px; font-weight:700; font-size:17px; color:var(--navy);
  border-bottom:1px solid var(--line);
}
.mobile-panel .btn{ margin-top:18px; }

@media (max-width:1260px){
  .nav-links{ display:none; }
  .header-actions .btn-primary.desktop-only{ display:none; }
  .hamburger{ display:flex; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb-bar{ background:rgba(23,37,90,.05); border-bottom:1px solid var(--line); }
.breadcrumb{ display:flex; align-items:center; gap:8px; padding:13px 0; font-size:13.5px; color:var(--muted); font-weight:600; flex-wrap:wrap; }
.breadcrumb a{ color:var(--navy); }
.breadcrumb a:hover{ color:var(--red); }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color:var(--red); }

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero{
  background:linear-gradient(120deg,var(--navy) 0%,var(--navy-2) 60%,var(--navy) 100%);
  color:#fff; padding:56px 0; text-align:center; position:relative; overflow:hidden;
}
.page-hero h1{ color:#fff; font-size:clamp(28px,4vw,44px); margin-bottom:.3em; }
.page-hero p{ color:rgba(255,255,255,.85); max-width:640px; margin:0 auto; font-size:16px; }
.page-hero .deco-circle{ position:absolute; border-radius:50%; }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero{
  position:relative; padding:44px 0 70px; overflow:hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,199,44,.18), transparent 40%),
    radial-gradient(circle at 95% 10%, rgba(226,35,26,.12), transparent 38%),
    radial-gradient(circle at 85% 90%, rgba(46,158,70,.14), transparent 40%),
    var(--cream);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:48px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:#fff; border:2px solid var(--yellow);
  padding:7px 16px; border-radius:999px; font-weight:700; font-size:12.5px; color:var(--navy);
  text-transform:uppercase; letter-spacing:1px; margin-bottom:18px;
}
.hero h1{ font-size:clamp(32px,4.6vw,54px); margin-bottom:.35em; }
.hero h1 .hl{ color:var(--red); }
.hero p.lead{ font-size:17.5px; color:var(--muted); max-width:520px; margin-bottom:28px; }
.hero-btns{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px; }
.hero-trust{ display:flex; gap:26px; flex-wrap:wrap; }
.hero-trust div{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:13.5px; color:var(--navy); }
.hero-trust span.dot{ width:9px; height:9px; border-radius:50%; background:var(--green); flex-shrink:0; }

.hero-media{ position:relative; }
.hero-media .frame{
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg);
  border:8px solid #fff; aspect-ratio:4/3.1;
}
.hero-media .frame img{ width:100%; height:100%; object-fit:cover; }
.hero-media .badge{
  position:absolute; bottom:-22px; left:-18px; background:#fff; border-radius:var(--radius-md);
  padding:14px 18px; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:12px; max-width:230px;
}
.hero-media .badge .ic{ font-size:26px; }
.hero-media .badge b{ display:block; font-family:var(--ff-head); color:var(--navy); font-size:15px; }
.hero-media .badge span{ font-size:12px; color:var(--muted); }
.hero-media .sticker{
  position:absolute; top:-16px; right:14px; background:var(--yellow); color:var(--navy-deep);
  font-family:var(--ff-head); font-weight:800; font-size:13px; padding:10px 16px; border-radius:50%;
  width:88px; height:88px; display:flex; align-items:center; justify-content:center; text-align:center;
  box-shadow:var(--shadow-md); transform:rotate(-9deg); line-height:1.15;
}

@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ order:-1; }
  .hero-media .badge{ left:10px; }
}

/* ---------- Home carousel (auto) ---------- */
.home-carousel{ padding:70px 0 20px; }
.carousel-wrap{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.carousel-track{ display:flex; transition:transform .6s cubic-bezier(.65,.05,.36,1); }
.carousel-slide{ min-width:100%; position:relative; aspect-ratio:16/7.2; background:#000; }
.carousel-slide img{ width:100%; height:100%; object-fit:cover; }
.carousel-slide .cap{
  position:absolute; left:0; right:0; bottom:0; padding:26px 32px;
  background:linear-gradient(0deg, rgba(14,24,56,.82), transparent);
  color:#fff; font-family:var(--ff-head); font-weight:700; font-size:18px;
}
.carousel-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.9); border:none; display:flex; align-items:center; justify-content:center;
  font-size:20px; color:var(--navy); box-shadow:var(--shadow-sm); z-index:5; transition:.2s;
}
.carousel-nav:hover{ background:#fff; transform:translateY(-50%) scale(1.08); }
.carousel-nav.prev{ left:16px; } .carousel-nav.next{ right:16px; }
.carousel-dots{ display:flex; justify-content:center; gap:8px; padding-top:16px; }
.carousel-dots button{ width:9px; height:9px; border-radius:50%; background:var(--line); border:none; }
.carousel-dots button.active{ background:var(--red); width:22px; border-radius:6px; }
@media (max-width:640px){ .carousel-slide{ aspect-ratio:4/3.6; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section{ padding:80px 0; }
.section.tight{ padding:56px 0; }
.section-head{ text-align:center; max-width:680px; margin:0 auto 46px; }
.eyebrow{
  display:inline-block; font-weight:800; font-size:12.5px; letter-spacing:1.6px; text-transform:uppercase;
  color:var(--red); background:rgba(226,35,26,.09); padding:6px 16px; border-radius:999px; margin-bottom:14px;
}
.section-head h2{ font-size:clamp(26px,3.4vw,38px); }
.section-head p{ color:var(--muted); font-size:16px; }
.alt-bg{ background:#fff; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-media{ position:relative; }
.about-media .stack{ display:grid; grid-template-columns:1.2fr .9fr; gap:14px; }
.about-media img{ border-radius:var(--radius-md); box-shadow:var(--shadow-md); object-fit:cover; width:100%; height:100%; }
.about-media .tall{ aspect-ratio:3/4; }
.about-media .short{ aspect-ratio:3/4; margin-top:34px; }
.about-list{ display:grid; gap:14px; margin:22px 0 28px; }
.about-list li{ display:flex; gap:12px; align-items:flex-start; font-weight:600; color:var(--navy); font-size:15px; }
.about-list .ic{
  flex-shrink:0; width:32px; height:32px; border-radius:50%; background:var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:15px; box-shadow:0 6px 14px rgba(46,158,70,.35);
}
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; } .about-media{ order:-1; } }

/* ============================================================
   CARDS — programs / why-us / activities
   ============================================================ */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.grid-6{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:960px){ .grid-3,.grid-4,.grid-6{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-3,.grid-4,.grid-6{ grid-template-columns:1fr; } }

.card{
  background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow-sm); overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease; border:1px solid var(--line);
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }

.program-card .thumb{ aspect-ratio:4/3; overflow:hidden; position:relative; }
.program-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.program-card:hover .thumb img{ transform:scale(1.07); }
.program-card .thumb .ic-badge{
  position:absolute; bottom:-22px; left:20px; width:52px; height:52px; border-radius:16px;
  background:var(--yellow); display:flex; align-items:center; justify-content:center; font-size:24px;
  box-shadow:var(--shadow-sm);
}
.program-card .body{ padding:34px 22px 22px; }
.program-card h3{ font-size:19px; margin-bottom:8px; }
.program-card p{ color:var(--muted); font-size:14.5px; margin-bottom:16px; }
.program-card .age{ display:inline-block; font-size:12px; font-weight:700; color:var(--green-dark); background:rgba(46,158,70,.1); padding:4px 12px; border-radius:999px; margin-bottom:12px; }

.why-card{ padding:30px 24px; text-align:center; }
.why-card .ic{ font-size:38px; margin-bottom:14px; display:block; }
.why-card h3{ font-size:17px; margin-bottom:8px; }
.why-card p{ color:var(--muted); font-size:14px; margin:0; }
.why-card:nth-child(6n+1){ border-top:4px solid var(--red); }
.why-card:nth-child(6n+2){ border-top:4px solid var(--yellow); }
.why-card:nth-child(6n+3){ border-top:4px solid var(--green); }
.why-card:nth-child(6n+4){ border-top:4px solid var(--navy); }
.why-card:nth-child(6n+5){ border-top:4px solid var(--red); }
.why-card:nth-child(6n+6){ border-top:4px solid var(--green); }

.activity-card{ position:relative; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); aspect-ratio:4/4.6; }
.activity-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.activity-card:hover img{ transform:scale(1.08); }
.activity-card .ov{
  position:absolute; inset:0; background:linear-gradient(0deg, rgba(14,24,56,.88) 0%, rgba(14,24,56,.15) 55%, transparent 75%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:20px; color:#fff;
}
.activity-card .ov h3{ color:#fff; font-size:17px; margin-bottom:4px; }
.activity-card .ov p{ color:rgba(255,255,255,.85); font-size:13px; margin:0; }

/* ============================================================
   GALLERY (masonry via CSS columns)
   ============================================================ */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:34px; }
.gallery-filters button{
  padding:9px 20px; border-radius:999px; border:2px solid var(--line); background:#fff; font-weight:700;
  font-size:13.5px; color:var(--navy); transition:.2s;
}
.gallery-filters button:hover{ border-color:var(--yellow); }
.gallery-filters button.active{ background:var(--navy); border-color:var(--navy); color:#fff; }

.masonry{ column-count:4; column-gap:16px; }
.masonry .g-item{ break-inside:avoid; margin-bottom:16px; border-radius:var(--radius-sm); overflow:hidden; box-shadow:var(--shadow-sm); position:relative; cursor:zoom-in; display:block; }
.masonry .g-item img{ width:100%; height:auto; display:block; transition:transform .4s ease; }
.masonry .g-item:hover img{ transform:scale(1.045); }
.masonry .g-item .zoom-ic{
  position:absolute; top:10px; right:10px; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.9);
  display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--navy); opacity:0; transition:.2s;
}
.masonry .g-item:hover .zoom-ic{ opacity:1; }
.masonry .g-item .tag{
  position:absolute; left:10px; bottom:10px; background:rgba(14,24,56,.75); color:#fff; font-size:11px;
  font-weight:700; padding:4px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px;
}
@media (max-width:1000px){ .masonry{ column-count:3; } }
@media (max-width:700px){ .masonry{ column-count:2; column-gap:10px; } .masonry .g-item{ margin-bottom:10px; } }
@media (max-width:420px){ .masonry{ column-count:2; } }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(14,17,32,.94); z-index:2000; display:none;
  align-items:center; justify-content:center; padding:20px;
}
.lightbox.open{ display:flex; }
.lightbox figure{ margin:0; max-width:min(900px,92vw); max-height:86vh; text-align:center; }
.lightbox img{ max-width:100%; max-height:76vh; border-radius:14px; margin:0 auto; box-shadow:0 20px 60px rgba(0,0,0,.5); object-fit:contain; }
.lightbox figcaption{ color:#fff; margin-top:14px; font-weight:600; font-size:14px; opacity:.85; }
.lightbox .lb-close{ position:absolute; top:22px; right:24px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; border:none; font-size:20px; }
.lightbox .lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; border:none; font-size:22px; }
.lightbox .lb-nav.prev{ left:18px; } .lightbox .lb-nav.next{ right:18px; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover{ background:rgba(255,255,255,.26); }

/* ============================================================
   EVENTS CAROUSEL
   ============================================================ */
.events-section{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.events-section .section-head h2{ color:#fff; }
.events-section .section-head p{ color:rgba(255,255,255,.75); }
.events-track-wrap{ overflow:hidden; }
.events-track{ display:flex; gap:22px; width:max-content; animation:scrollEvents 34s linear infinite; }
.events-track:hover{ animation-play-state:paused; }
@keyframes scrollEvents{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.event-card{
  width:300px; flex-shrink:0; background:#fff; color:var(--ink); border-radius:var(--radius-md);
  overflow:hidden; box-shadow:var(--shadow-md);
}
.event-card .thumb{ aspect-ratio:4/3; overflow:hidden; }
.event-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.event-card .body{ padding:18px 20px 22px; }
.event-card .date{ display:inline-block; font-size:12px; font-weight:800; color:var(--red); background:rgba(226,35,26,.09); padding:4px 12px; border-radius:999px; margin-bottom:10px; }
.event-card h3{ font-size:16.5px; margin-bottom:6px; }
.event-card p{ font-size:13.5px; color:var(--muted); margin:0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-wrap{ max-width:760px; margin:0 auto; position:relative; }
.testi-slide{ display:none; background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:40px; text-align:center; }
.testi-slide.active{ display:block; animation:fadeIn .5s ease; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }
.testi-slide .stars{ color:var(--yellow-dark); font-size:18px; margin-bottom:14px; letter-spacing:2px; }
.testi-slide p.quote{ font-size:17px; color:var(--navy); font-style:italic; margin-bottom:20px; }
.testi-slide .who{ display:flex; align-items:center; justify-content:center; gap:12px; }
.testi-slide .avatar{
  width:46px; height:46px; border-radius:50%; background:var(--yellow); color:var(--navy-deep);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-family:var(--ff-head);
}
.testi-slide .who b{ display:block; color:var(--navy); font-size:14.5px; }
.testi-slide .who span{ font-size:12.5px; color:var(--muted); }
.testi-dots{ display:flex; justify-content:center; gap:8px; margin-top:22px; }
.testi-dots button{ width:9px; height:9px; border-radius:50%; background:var(--line); border:none; }
.testi-dots button.active{ background:var(--red); width:22px; border-radius:6px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card{ background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:38px; border:1px solid var(--line); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:700; font-size:13.5px; color:var(--navy); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border-radius:12px; border:2px solid var(--line); font-family:inherit;
  font-size:14.5px; color:var(--ink); background:#fdfcf9; transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--yellow); box-shadow:0 0 0 4px rgba(255,199,44,.18); background:#fff;
}
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:12.5px; color:var(--muted); margin-top:14px; }
.form-success{ display:none; background:rgba(46,158,70,.1); border:2px solid var(--green); color:var(--green-dark); font-weight:700; padding:14px 18px; border-radius:12px; margin-bottom:18px; }
.form-success.show{ display:block; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } .form-card{ padding:26px; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info-list{ display:grid; gap:18px; margin-bottom:26px; }
.contact-info-list .row{ display:flex; gap:14px; align-items:flex-start; background:#fff; padding:16px 18px; border-radius:14px; box-shadow:var(--shadow-sm); }
.contact-info-list .ic{ width:40px; height:40px; border-radius:12px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.contact-info-list b{ display:block; color:var(--navy); font-size:14.5px; }
.contact-info-list span{ font-size:13.5px; color:var(--muted); }
.map-frame{ border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--line); }
.map-frame iframe{ width:100%; height:340px; border:0; display:block; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-frame{
  position:relative; width:100%; max-width:920px; margin:0 auto; aspect-ratio:16/9;
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:8px solid #fff; background:var(--navy-deep);
}
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
@media (max-width:640px){ .video-frame{ border-width:5px; border-radius:var(--radius-md); } }

/* ---- Video gallery cards ---- */
.video-card{
  position:relative; display:block; width:100%; border:none; padding:0; margin:0; cursor:pointer;
  border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); aspect-ratio:16/9; background:#000;
  font-family:inherit; text-align:left; transition:box-shadow .25s ease, transform .25s ease;
}
.video-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); }
.video-card img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease, filter .35s ease; }
.video-card:hover img{ transform:scale(1.08); filter:brightness(.7); }
.video-card::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(0deg, rgba(14,24,56,.82) 0%, rgba(14,24,56,.08) 55%, transparent 75%);
}
.video-card .play-ic{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:58px; height:58px; border-radius:50%;
  background:rgba(255,255,255,.92); color:var(--red); display:flex; align-items:center; justify-content:center; font-size:20px;
  box-shadow:var(--shadow-md); transition:transform .25s ease, background .25s ease; z-index:2; padding-left:4px;
}
.video-card:hover .play-ic{ transform:translate(-50%,-50%) scale(1.12); background:#fff; }
.video-card .vc-title{
  position:absolute; left:16px; bottom:13px; right:16px; color:#fff; font-family:var(--ff-head); font-weight:700;
  font-size:15px; z-index:2; text-align:left;
}

/* ---- Video modal (lightbox for video playback) ---- */
.video-modal{
  position:fixed; inset:0; background:rgba(14,17,32,.94); z-index:2000; display:none;
  align-items:center; justify-content:center; padding:20px;
}
.video-modal.open{ display:flex; }
.video-modal-frame{
  position:relative; width:100%; max-width:920px; aspect-ratio:16/9; border-radius:14px; overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.5); background:#000;
}
.video-modal-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-modal .lb-close{ position:absolute; top:22px; right:24px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; border:none; font-size:20px; z-index:5; }
.video-modal .lb-close:hover{ background:rgba(255,255,255,.26); }

/* ============================================================
   ADMISSIONS process steps
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step; }
.step{ background:#fff; border-radius:var(--radius-md); padding:28px 22px; box-shadow:var(--shadow-sm); position:relative; }
.step::before{
  counter-increment:step; content:counter(step); position:absolute; top:-16px; left:22px; width:36px; height:36px;
  border-radius:50%; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-head); font-weight:800; box-shadow:0 8px 18px rgba(226,35,26,.35);
}
.step h3{ font-size:16px; margin:10px 0 8px; }
.step p{ font-size:13.5px; color:var(--muted); margin:0; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band{
  background:linear-gradient(120deg,var(--red) 0%, #ff5b47 100%); color:#fff; border-radius:var(--radius-lg);
  padding:46px; display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap;
  box-shadow:var(--shadow-lg);
}
.cta-band h2{ color:#fff; margin-bottom:6px; font-size:26px; }
.cta-band p{ color:rgba(255,255,255,.9); margin:0; }
.cta-band .btn-yellow{ box-shadow:0 10px 24px rgba(0,0,0,.2); }

/* ============================================================
   TIMINGS / INFO STRIP
   ============================================================ */
.info-strip{ background:var(--navy); color:#fff; }
.info-strip .row{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; flex-wrap:wrap; gap:8px; font-size:13px; }
.info-strip .row span{ display:flex; align-items:center; gap:7px; opacity:.9; }
.info-strip a{ opacity:.9; }
.info-strip a:hover{ opacity:1; text-decoration:underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--navy-deep); color:#cdd3ea; padding:64px 0 0; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:48px; width:auto; background:#fff; border-radius:10px; padding:5px; }
.footer-brand b{ display:block; color:#fff; font-family:var(--ff-head); font-size:15px; }
.footer-brand span{ font-size:11.5px; color:var(--yellow); text-transform:uppercase; letter-spacing:1px; font-weight:700; }
.site-footer p{ font-size:13.5px; color:#a9b1d1; max-width:320px; }
.site-footer h4{ color:#fff; font-size:15px; margin-bottom:16px; font-family:var(--ff-head); }
.footer-links li{ margin-bottom:10px; }
.footer-links a{ font-size:13.5px; color:#a9b1d1; transition:.2s; }
.footer-links a:hover{ color:var(--yellow); padding-left:4px; }
.footer-contact li{ display:flex; gap:10px; margin-bottom:14px; font-size:13.5px; color:#a9b1d1; align-items:flex-start; }
.footer-contact .ic{ color:var(--yellow); flex-shrink:0; }
.social-icons{ display:flex; gap:10px; margin-top:16px; }
.social-icons a{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center;
  justify-content:center; color:#fff; font-size:15px; transition:.2s;
}
.social-icons a:hover{ background:var(--red); transform:translateY(-3px); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:20px 0; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:12.5px; color:#8b92b3; }
.footer-bottom a{ color:#8b92b3; } .footer-bottom a:hover{ color:var(--yellow); }
.footer-bottom .legal{ display:flex; gap:16px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* WhatsApp floating button */
.wa-fab{
  position:fixed; right:22px; bottom:22px; width:58px; height:58px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:28px; box-shadow:0 10px 26px rgba(37,211,102,.5);
  z-index:900; transition:transform .2s ease;
}
.wa-fab:hover{ transform:scale(1.08); }

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

/* ============================================================
   Misc page-specific
   ============================================================ */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; } }
.img-round{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); width:100%; height:100%; object-fit:cover; }
.tick-list{ display:grid; gap:14px; margin:18px 0; }
.tick-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--navy); font-weight:600; }
.tick-list .ic{ flex-shrink:0; width:28px; height:28px; border-radius:50%; background:var(--yellow); color:var(--navy-deep); display:flex; align-items:center; justify-content:center; font-size:13px; }
.note-box{ background:rgba(23,37,90,.06); border-left:4px solid var(--navy); border-radius:12px; padding:16px 20px; font-size:13.5px; color:var(--muted); }

.facility-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .facility-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .facility-grid{ grid-template-columns:1fr; } }
.facility-card{ background:#fff; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); }
.facility-card img{ aspect-ratio:4/3; width:100%; object-fit:cover; }
.facility-card .body{ padding:18px 20px 22px; }
.facility-card h3{ font-size:16.5px; margin-bottom:6px; }
.facility-card p{ font-size:13.5px; color:var(--muted); margin:0; }

.legal-page .container{ max-width:840px; }
.legal-page h2{ margin-top:38px; font-size:20px; }
.legal-page p, .legal-page li{ color:var(--muted); font-size:14.5px; }
.legal-page li{ margin-bottom:8px; }
.legal-page ul{ list-style:disc; padding-left:22px; }

@media (max-width:640px){
  .section{ padding:56px 0; }
  .cta-band{ padding:30px; text-align:center; justify-content:center; }
}

/* ============================================================
   SITE-WIDE ANIMATION LAYER
   ============================================================ */

/* ---- Page load ---- */
@keyframes bodyFadeIn{ from{ opacity:0; } to{ opacity:1; } }
body{ animation:bodyFadeIn .45s ease both; }

@keyframes headerDrop{
  from{ transform:translateY(-100%); opacity:0; }
  to{ transform:translateY(0); opacity:1; }
}
.site-header{ animation:headerDrop .65s cubic-bezier(.2,.7,.3,1) both; }

@keyframes heroFadeUp{
  from{ opacity:0; transform:translateY(26px); }
  to{ opacity:1; transform:translateY(0); }
}
.hero-grid > *:nth-child(1){ animation:heroFadeUp .8s ease .15s both; }
.hero-grid > *:nth-child(2){ animation:heroFadeUp .8s ease .32s both; }
.page-hero > .container > *{ animation:heroFadeUp .7s ease both; }
.page-hero > .container > *:nth-child(2){ animation-delay:.12s; }

/* ---- Stagger reveal for card grids ---- */
.grid-3>.reveal:nth-child(1),.grid-4>.reveal:nth-child(1),.grid-6>.reveal:nth-child(1),
.facility-grid>.reveal:nth-child(1),.steps>.reveal:nth-child(1){ transition-delay:.03s; }
.grid-3>.reveal:nth-child(2),.grid-4>.reveal:nth-child(2),.grid-6>.reveal:nth-child(2),
.facility-grid>.reveal:nth-child(2),.steps>.reveal:nth-child(2){ transition-delay:.1s; }
.grid-3>.reveal:nth-child(3),.grid-4>.reveal:nth-child(3),.grid-6>.reveal:nth-child(3),
.facility-grid>.reveal:nth-child(3),.steps>.reveal:nth-child(3){ transition-delay:.17s; }
.grid-3>.reveal:nth-child(4),.grid-4>.reveal:nth-child(4),.grid-6>.reveal:nth-child(4),
.facility-grid>.reveal:nth-child(4),.steps>.reveal:nth-child(4){ transition-delay:.24s; }
.grid-3>.reveal:nth-child(5),.grid-4>.reveal:nth-child(5),.grid-6>.reveal:nth-child(5){ transition-delay:.31s; }
.grid-3>.reveal:nth-child(6),.grid-4>.reveal:nth-child(6),.grid-6>.reveal:nth-child(6){ transition-delay:.38s; }

/* ---- Micro-interactions ---- */
@keyframes floatY{
  0%,100%{ transform:translateY(0) rotate(-9deg); }
  50%{ transform:translateY(-10px) rotate(-9deg); }
}
.hero-media .sticker{ animation:floatY 3.6s ease-in-out infinite; }

@keyframes badgePop{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-6px); }
}
.hero-media .badge{ animation:badgePop 4s ease-in-out infinite; }

.why-card .ic{ transition:transform .35s cubic-bezier(.34,1.56,.64,1); display:inline-block; }
.why-card:hover .ic{ transform:scale(1.22) rotate(-6deg); }

.program-card .thumb .ic-badge{ transition:transform .3s ease; }
.program-card:hover .ic-badge{ transform:translateY(-4px) rotate(-8deg) scale(1.08); }

.nav-links a{ overflow:hidden; }
.nav-links a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:5px; height:2px; background:var(--red);
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.nav-links a:hover::after{ transform:scaleX(1); }
.nav-links a.active::after{ display:none; }

.brand img{ transition:transform .3s ease; }
.brand:hover img{ transform:scale(1.06) rotate(-2deg); }

@keyframes waPulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.55); }
  70%{ box-shadow:0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}
.wa-fab{ animation:waPulse 2.6s ease-out infinite; }

.btn-primary.desktop-only{ animation:btnGlow 3.2s ease-in-out infinite; }
@keyframes btnGlow{
  0%,100%{ box-shadow:0 10px 24px rgba(226,35,26,.32); }
  50%{ box-shadow:0 10px 30px rgba(226,35,26,.55); }
}

.carousel-slide img{ transition:transform 6s ease; }
.carousel-slide{ overflow:hidden; }

.activity-card, .facility-card img, .g-item img{ will-change:transform; }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top{
  position:fixed; left:22px; bottom:22px; width:50px; height:50px; border-radius:50%;
  background:var(--navy); color:#fff; border:none; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); z-index:900; cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--red); transform:translateY(-4px); }
.back-to-top svg{ animation:bttArrow 1.8s ease-in-out infinite; }
@keyframes bttArrow{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-3px); }
}
@media (max-width:640px){ .back-to-top{ left:16px; bottom:16px; width:44px; height:44px; } }

/* ============================================================
   DECORATIVE FLOATING BALLOONS — subtle background animation
   on every <section> across the site
   ============================================================ */
section::before{
  content:"";
  position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden;
  background-repeat:no-repeat;
  background-image:
    radial-gradient(circle, rgba(226,35,26,.24), transparent 70%),
    radial-gradient(circle, rgba(255,199,44,.28), transparent 70%),
    radial-gradient(circle, rgba(46,158,70,.22), transparent 70%),
    radial-gradient(circle, rgba(23,37,90,.16), transparent 70%),
    radial-gradient(circle, rgba(226,35,26,.16), transparent 70%),
    radial-gradient(circle, rgba(255,199,44,.18), transparent 70%);
  background-size:34px 34px, 26px 26px, 42px 42px, 22px 22px, 28px 28px, 18px 18px;
  background-position:
    6% 118%, 24% 130%, 46% 122%, 66% 136%, 84% 114%, 94% 132%;
  animation:balloonRise 30s linear infinite;
}
@keyframes balloonRise{
  0%{
    background-position:
      6% 122%, 24% 136%, 46% 126%, 66% 142%, 84% 118%, 94% 138%;
  }
  100%{
    background-position:
      6% -30%, 24% -36%, 46% -28%, 66% -40%, 84% -26%, 94% -34%;
  }
}
@media (max-width:640px){
  section::before{
    background-size:22px 22px, 18px 18px, 28px 28px, 16px 16px, 20px 20px, 14px 14px;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  body{ opacity:1; }
}
