/* ═══════════════════════════════════════════
   DESIGN TOKENS
   Brand: indigo + coral + gold (existing identity)
   Added: warm paper ground + lagoon teal — a nod to
   Batticaloa's lagoon, used as the site's quiet signature
═══════════════════════════════════════════ */
:root {
    --ink: #2b2422;
    --paper: #FBF7EF;
    --indigo: #490D59;
    --indigo-light: #5c1a70;
    --coral: #E8063C;
    --gold: #FFD600;
    --lagoon: #0E7C86;
    --lagoon-light: #E4F2F1;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Jost', sans-serif;
    color: #444;
    background: var(--paper);
    line-height: 1.5;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #000;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: #FFD600; color: #490D59; font-weight: 700;
    padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 10000;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #FFD600; outline-offset: 2px; }

/* ═══════════════════════════════════════════
   LOADER – LOGO
═══════════════════════════════════════════ */
#loader-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #490D59 0%, #E8063C 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader-wrapper.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    width: 150px;
    background: #fff;
    border-radius: 28px;
    padding: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.25);
    animation: logoPulse 1.6s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.loader-bar {
    width: 160px; height: 6px; border-radius: 6px;
    background: rgba(255,255,255,0.25);
    margin-top: 24px; overflow: hidden;
}
.loader-bar span {
    display: block; height: 100%; width: 40%;
    background: #FFD600; border-radius: 6px;
    animation: loaderTrack 1.3s ease-in-out infinite;
}
@keyframes loaderTrack {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}
.loader-caption {
    margin-top: 16px;
    font-family: 'Fredoka', sans-serif;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-children>* { opacity: 0; transform: translateY(34px) scale(0.97); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.stagger-children.visible>*:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible>*:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible>*:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible>*:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible>*:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible>*:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible>*:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.visible>*:nth-child(8) { transition-delay: 0.54s; }
.stagger-children.visible>*:nth-child(9) { transition-delay: 0.61s; }
.stagger-children.visible>*:nth-child(10) { transition-delay: 0.68s; }
.stagger-children.visible>* { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- SCROLL PROGRESS BAR ---------- */
#scrollProgress { position: fixed; top: 0; left: 0; height: 4px; width: 0%; background: linear-gradient(90deg, var(--gold), var(--coral)); z-index: 10000; transition: width 0.1s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .stagger-children>* { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-swiper .slide-bg, .page-hero { background-attachment: scroll !important; }
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
    display: inline-block; background: #E8063C; color: #fff;
    padding: 12px 30px; border-radius: 50px; text-decoration: none;
    font-weight: 600; border: none; cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    position: relative; overflow: hidden; z-index: 1;
}
.btn::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #490D59, #E8063C);
    opacity: 0; transition: opacity 0.4s ease; z-index: -1; border-radius: 50px;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 30px rgba(232,6,60,0.35); color: #fff; }
.btn:active { transform: scale(0.96); }
.btn-outline { background: transparent; border: 2px solid #E8063C; color: #E8063C; }
.btn-outline::after { background: linear-gradient(135deg, #E8063C, #490D59); }
.btn-outline:hover { color: #fff !important; border-color: #490D59; }
.btn-block { width: 100%; text-align: center; }

/* ═══════════════════════════════════════════
   IMAGE HOVER
═══════════════════════════════════════════ */
.img-hover { position: relative; overflow: hidden; border-radius: 20px; cursor: pointer; }
.img-hover img { width: 100%; display: block; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease; }
.img-hover .img-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(73,13,89,0); border-radius: 20px; transition: background 0.5s ease;
    display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.img-hover .img-overlay i { font-size: 3rem; color: #FFD600; opacity: 0; transform: scale(0.5) rotate(-20deg); transition: opacity 0.5s ease, transform 0.5s ease; }
.img-hover:hover img { transform: scale(1.08); filter: brightness(0.7) saturate(1.1); }
.img-hover:hover .img-overlay { background: rgba(73,13,89,0.55); }
.img-hover:hover .img-overlay i { opacity: 1; transform: scale(1) rotate(0deg); }

.placeholder-tile {
    width: 100%; height: 200px; border-radius: 20px 20px 0 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: #fff;
}
.placeholder-tile.tile-1 { background: linear-gradient(135deg, #FFD600, #E8063C); }
.placeholder-tile.tile-2 { background: linear-gradient(135deg, #25D366, #1da851); }
.placeholder-tile.tile-3 { background: linear-gradient(135deg, #E8063C, #490D59); }
.hero-swiper .placeholder-tile { height: 100%; border-radius: 0; font-size: 5rem; }

/* ═══════════════════════════════════════════
   ICON HOVER VARIANTS
═══════════════════════════════════════════ */
.icon-rotate { display: inline-block; transition: transform 0.5s ease, color 0.3s ease; }
.icon-rotate:hover { transform: rotate(360deg) scale(1.1); }
.icon-bounce { display: inline-block; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), color 0.3s ease; }
.icon-bounce:hover { transform: scale(1.2) translateY(-4px); }
.icon-color { transition: color 0.3s ease, transform 0.3s ease; }
.icon-color:hover { color: #FFD600 !important; transform: scale(1.1); }
.icon-lift { display: inline-block; transition: transform 0.3s ease, color 0.3s ease; }
.icon-lift:hover { transform: translateY(-3px) scale(1.08); }

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.top-bar { background: #490D59; color: #fff; padding: 8px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.top-bar a { color: #FFD600; text-decoration: none; margin-left: 8px; transition: color 0.3s ease; }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: 6px; transition: transform 0.3s ease, color 0.3s ease; }
.top-bar i:hover { transform: rotate(8deg) scale(1.1); color: #FFD600; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.main-header { padding: 14px 0; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.logo img { max-height: 60px; display: block; }
.nav-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-weight: 500; color: #222; transition: color 0.3s ease, transform 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2.5px; background: #E8063C; transition: width 0.3s ease; }
.nav-links a:hover { color: #E8063C; transform: translateY(-1px); }
.nav-links a:hover::after { width: 100%; }
.mobile-menu { display: none; font-size: 28px; cursor: pointer; background: none; border: none; color: #222; transition: transform 0.3s ease, color 0.3s ease; }
.mobile-menu:hover { transform: rotate(90deg); color: #E8063C; }

/* ═══════════════════════════════════════════
   HERO SWIPER
═══════════════════════════════════════════ */
.hero-swiper { width: 100%; height: 85vh; min-height: 550px; position: relative; }
.hero-swiper .swiper-slide { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.hero-swiper .swiper-slide::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(73,13,89,0.7), rgba(73,13,89,0.85)); z-index: 1; }
.hero-swiper .swiper-slide-active .slide-bg { animation: kenBurnsZoom 14s ease-in-out infinite alternate; }
.slide-bg { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; transform: scale(1); transition: transform 8s ease; }
@keyframes kenBurnsZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; color: white; top: 50%; transform: translateY(-50%); padding: 0 20px; }
.hero-content h1 { font-size: 3.5rem; color: white; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }
.swiper-button-next, .swiper-button-prev { color: #FFD600; background: rgba(0,0,0,0.3); width: 45px; height: 45px; border-radius: 50%; transition: 0.3s; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: #E8063C; color: white; transform: scale(1.1); }
.swiper-pagination-bullet { background: #fff; opacity: 0.7; transition: transform 0.3s ease, background 0.3s ease; }
.swiper-pagination-bullet:hover { transform: scale(1.3); background: #FFD600; }
.swiper-pagination-bullet-active { background: #FFD600; transform: scale(1.2); }

/* ═══════════════════════════════════════════
   SPOTLIGHT — Today at Smart Kids + Countdown
═══════════════════════════════════════════ */
.spotlight { background: #F0F6FA; padding: 50px 0; }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.spotlight-card {
    background: #fff; border-radius: 24px; padding: 30px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    border-top: 5px solid #FFD600;
}
.spotlight-card.spotlight-countdown { border-top-color: #E8063C; }
.spotlight-tag {
    display: inline-block; background: #490D59; color: #FFD600;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.spotlight-card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.spotlight-tip { margin-top: 14px; font-size: 0.92rem; color: #6a5d52; background: #FFF8E1; padding: 10px 14px; border-radius: 12px; }
.spotlight-tip i { color: #E8063C; margin-right: 6px; }
.countdown { display: flex; gap: 18px; margin-top: 10px; }
.countdown div { display: flex; flex-direction: column; align-items: center; }
.countdown strong { font-family: 'Fredoka', sans-serif; font-size: 1.8rem; color: #490D59; }
.countdown span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #888; }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1); }
.features { display: flex; gap: 30px; margin-top: 25px; }
.feature-item { background: #F0F6FA; padding: 20px; border-radius: 20px; text-align: center; flex: 1; transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease; }
.feature-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 12px 25px rgba(0,0,0,0.08); background: #fff; }
.feature-item i { font-size: 40px; color: #FFD600; background: #490D59; padding: 12px; border-radius: 50%; transition: transform 0.5s ease, background 0.3s ease, color 0.3s ease; }
.feature-item:hover i { transform: rotate(12deg) scale(1.08); background: #E8063C; color: #fff; }

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services { background: #F9F9F9; padding: 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.service-card { background: #fff; padding: 30px 20px; text-align: center; border-radius: 24px; transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-10px) scale(1.01); box-shadow: 0 20px 40px rgba(232,6,60,0.12); background: #fff; }
.service-card i { font-size: 50px; color: #E8063C; margin-bottom: 20px; transition: transform 0.5s ease, color 0.3s ease; }
.service-card:hover i { transform: rotate(12deg) scale(1.1); color: #490D59; }

/* ═══════════════════════════════════════════
   ACTIVITIES
═══════════════════════════════════════════ */
.activities { padding: 80px 0; }
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.activity-card { background: #490D59; color: white; padding: 30px 20px; border-radius: 30px; text-align: center; transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease; }
.activity-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 16px 40px rgba(73,13,89,0.3); background: #5c1a70; }
.activity-card i { font-size: 2.5rem; margin-bottom: 15px; color: #FFD600; transition: transform 0.5s ease, color 0.3s ease; }
.activity-card:hover i { transform: rotate(20deg) scale(1.15); color: #fff; }
.activity-card h4 { color: #FFD600; margin: 10px 0; font-size: 1.2rem; transition: color 0.3s ease; }
.activity-card:hover h4 { color: #fff; }

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog { background: #F0F6FA; padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.blog-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card .content { padding: 20px; }

/* ═══════════════════════════════════════════
   CLASSES
═══════════════════════════════════════════ */
.classes { padding: 80px 0; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.class-item { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.class-item:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 20px 40px rgba(232,6,60,0.13); }
.class-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s ease; }
.class-item:hover img { transform: scale(1.04); }
.class-info { padding: 20px; }
.price { color: #E8063C; font-weight: bold; font-size: 1.3rem; transition: color 0.3s ease; }
.class-item:hover .price { color: #490D59; }

/* ═══════════════════════════════════════════
   A DAY HERE — timeline
═══════════════════════════════════════════ */
.day { padding: 90px 0; background: var(--paper); }
.timeline { max-width: 760px; margin: 48px auto 0; position: relative; border-left: 3px solid #490D59; padding-left: 30px; list-style: none; }
.timeline li { display: flex; gap: 22px; margin-bottom: 30px; position: relative; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -39px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #E8063C; border: 3px solid #fff; box-shadow: 0 0 0 2px #490D59; }
.timeline time { font-family: 'Fredoka', sans-serif; font-weight: 600; color: #490D59; font-size: 1.05rem; flex: 0 0 64px; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 0.2em; }
.timeline p { margin: 0; color: #5b4f43; font-size: 0.95rem; }

/* ═══════════════════════════════════════════
   SESSION TIMES
═══════════════════════════════════════════ */
.session-card { max-width: 600px; margin: auto; background: white; border-radius: 30px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.session-row { display: flex; justify-content: space-between; padding: 15px 25px; border-bottom: 1px solid #eee; transition: background 0.3s ease, transform 0.3s ease; }
.session-row:last-child { border-bottom: none; }
.session-row:hover { background: #f9f9f9; transform: translateX(4px); }

/* ═══════════════════════════════════════════
   TESTIMONIALS — Notes from the pickup line
═══════════════════════════════════════════ */
.testimonials { background: var(--indigo); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.t-slider { overflow: hidden; max-width: 720px; margin: 40px auto 24px; }
.t-track { display: flex; transition: transform 0.45s ease; }
.t-card { flex: 0 0 100%; background: rgba(255,255,255,0.08); border-radius: 28px; padding: 40px; margin: 0; text-align: center; backdrop-filter: blur(2px); }
.t-card i.fa-quote-left { font-size: 2.2rem; color: #FFD600; margin-bottom: 14px; }
.t-card p { font-family: 'Fredoka', sans-serif; font-size: 1.15rem; line-height: 1.55; color: #f6ead8; font-weight: 400; }
.t-stars { margin: 16px 0 10px; }
.t-stars i { color: #FFD600; margin: 0 2px; }
.t-card cite { font-style: normal; font-weight: 700; color: #FFD600; }
.t-dots { display: flex; justify-content: center; gap: 10px; }
.t-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; padding: 0; cursor: pointer; }
.t-dots button.active { background: #FFD600; }

/* ═══════════════════════════════════════════
   VISIT US — Request a visit
═══════════════════════════════════════════ */
.visit { padding: 90px 0; background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.eyebrow { display: block; color: #E8063C; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 10px; }
.contact-list { margin-top: 1.6em; display: flex; flex-direction: column; gap: 1em; list-style: none; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #E8063C; font-weight: 800; }
.contact-list span { font-size: 1.02rem; }
.contact-list a { color: #444; text-decoration: none; }
.contact-list a:hover { color: #E8063C; }

.visit-form { background: #F0F6FA; border-radius: 28px; padding: 36px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.visit-form h3 { margin-bottom: 1em; }
.field { margin-bottom: 1.1em; display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4em; color: #490D59; }
.field input, .field select, .field textarea {
    border: 2px solid #E2D9CE; border-radius: 12px; padding: 0.7em 0.9em;
    font-family: inherit; font-size: 0.96rem; background: #fff;
    transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #490D59; }
.field.invalid input, .field.invalid select { border-color: #E8063C; }
.error { font-size: 0.78rem; color: #E8063C; font-weight: 700; min-height: 1.1em; margin-top: 0.2em; }
.form-success { display: none; margin-top: 1em; font-weight: 700; color: #1c7a5e; background: #e3f6ee; border-radius: 12px; padding: 0.8em 1em; }
.form-success.show { display: block; }
.form-note { margin-top: 1em; font-size: 0.8rem; color: #888; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: #111; color: #ccc; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-grid h3 { color: white; margin-bottom: 20px; }
.footer-grid a { color: #ccc; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; }
.footer-grid a:hover { color: #FFD600; transform: translateX(4px); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-block; transition: transform 0.3s ease, color 0.3s ease; }
.footer-links a:hover { transform: translateX(6px); color: #FFD600; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 30px; margin-top: 20px; font-size: 14px; }
.social-icons a { margin-right: 15px; font-size: 24px; display: inline-block; }

/* ═══════════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════════ */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    border-radius: 50px; padding: 12px 20px; text-decoration: none; font-weight: bold;
    z-index: 99; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, background 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-4px); box-shadow: 0 12px 30px rgba(37,211,102,0.4); background: #1da851; color: #fff; }
.whatsapp-float i { transition: transform 0.4s ease; }
.whatsapp-float:hover i { transform: rotate(8deg) scale(1.1); }

.back-to-top {
    position: fixed; bottom: 30px; left: 30px; width: 46px; height: 46px;
    background: #490D59; color: #FFD600; border: none; border-radius: 50%;
    font-size: 18px; cursor: pointer; z-index: 99; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #E8063C; color: #fff; }

/* ═══════════════════════════════════════════
   SECTION TITLE
═══════════════════════════════════════════ */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title span { color: #E8063C; font-weight: 500; letter-spacing: 1px; display: block; font-size: 1rem; }
.section-title h2 { font-size: 2.5rem; margin-top: 10px; }

/* ═══════════════════════════════════════════
   FAQ / DETAILS
═══════════════════════════════════════════ */
details { transition: background 0.3s ease, transform 0.3s ease; margin-bottom: 15px; background: #f5f5f5; padding: 15px; border-radius: 16px; }
details:last-child { margin-bottom: 0; }
details:hover { background: #eee; transform: translateX(4px); }
details summary { transition: color 0.3s ease; font-weight: bold; cursor: pointer; }
details:hover summary { color: #E8063C; }

/* ═══════════════════════════════════════════
   WAVE SEAM — signature divider between sections,
   a quiet nod to the Batticaloa lagoon
═══════════════════════════════════════════ */
.wave-seam { position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; line-height: 0; pointer-events: none; z-index: 2; }
.wave-seam svg { width: 100%; height: 100%; display: block; }
.wave-seam path { fill: currentColor; }

.lagoon-chip { color: var(--lagoon); }
.lagoon-bg { background: var(--lagoon-light); }

/* ═══════════════════════════════════════════
   PAGE HERO — used on About / Contact / Daycare / Events / Montessori
═══════════════════════════════════════════ */
.page-hero {
    --hero-img: url('https://smartkids.org.lk/wp-content/uploads/2025/05/sd.jpg');
    background: linear-gradient(rgba(73,13,89,0.85), rgba(73,13,89,0.92)), var(--hero-img) center/cover no-repeat;
    padding: 100px 0 70px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: 3rem; color: #fff; margin-bottom: 15px; }
.page-hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto; color: #f1e6f4; }
.page-hero .btn { margin-top: 25px; }
.breadcrumb { margin-top: 18px; font-size: 0.85rem; color: #e7cdee; }
.breadcrumb a { color: #fff; text-decoration: none; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* ═══════════════════════════════════════════
   GENERIC GRIDS & CARDS — reused across subpages
═══════════════════════════════════════════ */
.grid-3, .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }

.value-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); padding: 30px 20px; border-radius: 26px; text-align: center; color: #fff; transition: transform 0.3s ease, background 0.3s ease; }
.value-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.14); }
.value-card i { font-size: 46px; color: var(--gold); margin-bottom: 18px; display: block; }
.value-card h3 { color: var(--gold); margin-bottom: 12px; }

.teacher-card { background: #fff; border-radius: 24px; overflow: hidden; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.1); }
.teacher-card img { width: 100%; height: 260px; object-fit: cover; }
.teacher-card.round img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 20px auto 12px; }
.teacher-card h3, .teacher-card h4 { margin: 14px 0 4px; }
.teacher-card p { color: var(--coral); font-weight: 500; margin-bottom: 16px; }

.history-grid, .gallery-grid, .events-grid, .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.history-item { background: var(--lagoon-light); padding: 26px; border-radius: 24px; text-align: center; }
.history-year { background: var(--indigo); color: var(--gold); display: inline-block; padding: 5px 16px; border-radius: 40px; font-weight: 700; margin-bottom: 14px; font-size: 0.9rem; }

.gallery-item { border-radius: 20px; overflow: hidden; box-shadow: 0 8px 18px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }

.info-card { background: var(--lagoon-light); padding: 30px 20px; text-align: center; border-radius: 24px; transition: transform 0.3s ease; }
.info-card:hover { transform: translateY(-5px); }
.info-card i { font-size: 46px; color: var(--coral); background: #fff; padding: 18px; border-radius: 60px; margin-bottom: 18px; box-shadow: 0 8px 15px rgba(0,0,0,0.06); }
.info-card h3 { margin-bottom: 12px; }

.event-card { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 14px 28px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.event-card:hover { transform: translateY(-8px); box-shadow: 0 20px 38px rgba(0,0,0,0.12); }
.event-img { height: 210px; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .event-img img { transform: scale(1.06); }
.event-card .event-content { padding: 24px; }
.event-card.compact { background: var(--lagoon-light); padding: 22px; box-shadow: none; }
.event-date { background: var(--coral); color: #fff; display: inline-block; padding: 5px 16px; border-radius: 40px; font-size: 0.78rem; font-weight: 600; margin-bottom: 14px; }
.event-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.event-card p { color: #5b4f43; margin-bottom: 16px; }
.event-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.82rem; color: #777; border-top: 1px solid #eee; padding-top: 14px; margin-top: 8px; }
.event-meta i { margin-right: 5px; color: var(--coral); }

.class-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.08); transition: transform 0.3s ease; }
.class-card:hover { transform: translateY(-6px); }
.class-card img { width: 100%; height: 190px; object-fit: cover; }
.class-card .class-info { padding: 20px; }

/* ═══════════════════════════════════════════
   ACCORDION — About / Montessori programs
═══════════════════════════════════════════ */
.accordion-item { background: #f9f6f1; margin-bottom: 14px; border-radius: 18px; overflow: hidden; transition: box-shadow 0.3s ease; }
.accordion-item.active { box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.accordion-header { background: #fff; padding: 18px 24px; font-weight: 600; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; gap: 14px; }
.accordion-header i { transition: transform 0.3s ease; color: var(--coral); flex-shrink: 0; }
.accordion-content { padding: 0 24px 22px; display: none; background: #fff; }
.accordion-item.active .accordion-content { display: block; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }

/* ═══════════════════════════════════════════
   DAYCARE — routine list & checklist cards
═══════════════════════════════════════════ */
.daily-routine { max-width: 720px; margin: 0 auto; }
.routine-item { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid #eee; transition: padding-left 0.2s ease; }
.routine-item:hover { padding-left: 6px; }
.routine-item i { width: 36px; color: var(--coral); font-size: 1.2rem; text-align: center; }
.checklist-card { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 8px 18px rgba(0,0,0,0.05); }
.checklist-card h3 i { color: var(--coral); margin-right: 8px; }
.checklist-card ul { margin-top: 14px; list-style: none; }
.checklist-card li { padding: 4px 0; }

/* ═══════════════════════════════════════════
   CONTACT — info boxes, form, emergency table, map
═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; color: var(--indigo); }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.7em 1em; border: 2px solid #E2D9CE; border-radius: 14px;
    font-family: inherit; font-size: 0.96rem; background: #fff; transition: border-color 0.15s ease;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--indigo); }
.form-group textarea { border-radius: 18px; resize: vertical; }

.emergency-table { background: #fff; border-radius: 26px; overflow-x: auto; box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
.emergency-table table { width: 100%; border-collapse: collapse; }
.emergency-table th, .emergency-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.emergency-table th { background: var(--indigo); color: #fff; }
.emergency-table tr:last-child td { border-bottom: none; }

.map-container { border-radius: 26px; overflow: hidden; box-shadow: 0 10px 22px rgba(0,0,0,0.1); }
.map-container iframe { width: 100%; height: 380px; border: 0; display: block; }

/* nav active state shared across all pages */
.nav-links a.active { color: var(--coral); }
.nav-links a.active::after { width: 100%; }

/* simple top nav strip for utility pages like the meal planner */
.utility-topnav { background: var(--indigo); color: #fff; padding: 12px 0; font-size: 0.9rem; }
.utility-topnav .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.utility-topnav a { color: var(--gold); text-decoration: none; font-weight: 600; }
.utility-topnav a:hover { color: #fff; }
.utility-topnav .crumbs a { color: #fff; opacity: 0.85; font-weight: 400; }
.utility-topnav .crumbs a:hover { opacity: 1; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 992px) {
    .class-grid { grid-template-columns: repeat(2, 1fr); }
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .spotlight-grid { grid-template-columns: 1fr; }
    .visit-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0; padding: 10px 20px 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    .mobile-menu { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .hero-swiper { height: 70vh; min-height: 450px; }
    .section-title h2 { font-size: 1.8rem; }
    .class-grid { grid-template-columns: 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .timeline time { flex: 0 0 50px; font-size: 0.92rem; }
    .loader-logo { width: 110px; }
    .back-to-top { left: 16px; bottom: 16px; }
    .whatsapp-float { right: 16px; bottom: 16px; }
    .page-hero h1 { font-size: 2.1rem; }
    .page-hero { padding: 90px 0 60px; }
}
