/* ============================================
   SUNSHINE PRESCHOOL – MAIN STYLESHEET
   ============================================ */

/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
    /* Brand Colors */
    --yellow:      #FFD93D;
    --yellow-dark: #F4C100;
    --yellow-light:#FFF5C0;
    --blue:        #4D96FF;
    --blue-dark:   #1A6FD4;
    --blue-light:  #D6EAFF;
    --green:       #6BCB77;
    --green-dark:  #3BA847;
    --green-light: #D4F5D7;
    --pink:        #FF6B9D;
    --pink-dark:   #D94080;
    --pink-light:  #FFD6E8;
    --orange:      #FF8C42;
    --purple:      #9B59B6;
    --purple-light:#EDE0F7;

    /* Neutrals */
    --white:       #FFFFFF;
    --off-white:   #FAFBFF;
    --gray-50:     #F8F9FA;
    --gray-100:    #F1F3F5;
    --gray-200:    #E9ECEF;
    --gray-400:    #ADB5BD;
    --gray-600:    #6C757D;
    --gray-800:    #343A40;
    --dark:        #1A1D23;

    /* Semantic */
    --primary:     var(--blue);
    --accent:      var(--yellow);
    --success:     var(--green);
    --danger:      #E74C3C;

    /* Typography */
    --font-body:   'Nunito', sans-serif;
    --font-display:'Fredoka One', cursive;

    /* Spacing */
    --section-py:  80px;

    /* Radius */
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   40px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg:   0 16px 48px rgba(0,0,0,0.16);
    --shadow-colored: 0 8px 32px rgba(77,150,255,0.3);

    /* Transitions */
    --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--dark);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow-light);
    color: var(--gray-800);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--blue);
    position: relative;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto 48px;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(77,150,255,0.4);
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(77,150,255,0.5);
}

.btn-accent {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255,217,61,0.5);
}
.btn-accent:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,217,61,0.6);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-yellow { background: var(--yellow-light); color: #9A6F00; }
.badge-blue   { background: var(--blue-light);   color: var(--blue-dark); }
.badge-green  { background: var(--green-light);  color: var(--green-dark); }
.badge-pink   { background: var(--pink-light);   color: var(--pink-dark); }
.badge-purple { background: var(--purple-light); color: var(--purple); }

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
    color: var(--white);
    font-size: 0.82rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-left span { opacity: 0.9; }
.top-bar-left i, .top-bar-right i { margin-right: 4px; }

.top-bar-right a {
    color: var(--white);
    opacity: 0.85;
    transition: var(--transition);
}
.top-bar-right a:hover { opacity: 1; }

.btn-topbar {
    background: var(--yellow);
    color: var(--dark) !important;
    opacity: 1 !important;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
}
.btn-topbar:hover { background: var(--yellow-dark) !important; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon svg { width: 48px; height: 48px; }

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

.logo-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--blue-dark);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    background: var(--blue-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a.nav-cta {
    background: var(--yellow);
    color: var(--dark) !important;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255,217,61,0.4);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,217,61,0.5);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float,
.callback-float {
    position: fixed;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow: hidden;
    max-width: 56px;
}

.whatsapp-float {
    bottom: 100px;
    right: 20px;
    background: #25D366;
    color: var(--white);
}

.callback-float {
    bottom: 36px;
    right: 20px;
    background: var(--blue);
    color: var(--white);
}

.whatsapp-float:hover,
.callback-float:hover {
    max-width: 220px;
    transform: scale(1.05);
}

.whatsapp-float i,
.callback-float i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.float-label {
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .float-label,
.callback-float:hover .float-label {
    opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 92vh;
    background: linear-gradient(135deg, #EAF4FF 0%, #FFF9E0 50%, #F0FFF3 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 120px;
    height: 120px;
    background: var(--yellow);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 80px;
    height: 80px;
    background: var(--pink);
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.hero-shapes .shape-3 {
    width: 60px;
    height: 60px;
    background: var(--green);
    top: 20%;
    left: 3%;
    animation-delay: 3s;
}

.hero-shapes .shape-4 {
    width: 100px;
    height: 100px;
    background: var(--blue-light);
    bottom: 10%;
    left: 8%;
    animation-delay: 1s;
}

.hero-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-emoji {
    position: absolute;
    font-size: 2rem;
    animation: float 5s ease-in-out infinite;
}

.hero-emoji:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-emoji:nth-child(2) { top: 70%; left: 5%;  animation-delay: 2s; }
.hero-emoji:nth-child(3) { top: 30%; right: 8%; animation-delay: 1s; }
.hero-emoji:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 3s; }
.hero-emoji:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--yellow);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 20px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,217,61,0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(255,217,61,0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-title .highlight {
    color: var(--blue);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--yellow);
    border-radius: 3px;
    z-index: -1;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--blue-dark);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 600;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--yellow), var(--blue), var(--green), var(--pink), var(--yellow));
    animation: spin 8s linear infinite;
    z-index: -1;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 28px;
}

.hero-image-card .badge-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.badge-float.top-left {
    top: 24px;
    left: 24px;
}

.badge-float.bottom-right {
    bottom: 24px;
    right: 24px;
}

.badge-float-icon { font-size: 1.5rem; }

/* Hero illustration (SVG) */
.hero-illustration {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--yellow-light) 50%, var(--green-light) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-illustration::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(255,255,255,0.5) 100%);
}

/* ===== SECTION DIVIDERS ===== */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
}

/* ===== HIGHLIGHTS / WHY US ===== */
.highlights {
    padding: var(--section-py) 0;
    background: var(--white);
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.highlight-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 2px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition);
}

.highlight-card.yellow::before  { background: linear-gradient(135deg, var(--yellow-light), transparent); }
.highlight-card.blue::before    { background: linear-gradient(135deg, var(--blue-light),   transparent); }
.highlight-card.green::before   { background: linear-gradient(135deg, var(--green-light),  transparent); }
.highlight-card.pink::before    { background: linear-gradient(135deg, var(--pink-light),   transparent); }
.highlight-card.purple::before  { background: linear-gradient(135deg, var(--purple-light), transparent); }
.highlight-card.orange::before  { background: linear-gradient(135deg, #FBEEE5, transparent); }

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.highlight-card:hover::before { opacity: 1; }

.highlight-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.highlight-card.yellow .highlight-icon { background: var(--yellow-light);  color: #9A6F00; }
.highlight-card.blue   .highlight-icon { background: var(--blue-light);    color: var(--blue-dark); }
.highlight-card.green  .highlight-icon { background: var(--green-light);   color: var(--green-dark); }
.highlight-card.pink   .highlight-icon { background: var(--pink-light);    color: var(--pink-dark); }
.highlight-card.purple .highlight-icon { background: var(--purple-light);  color: var(--purple); }
.highlight-card.orange .highlight-icon { background: #FBEEE5;              color: var(--orange); }

.highlight-card:hover .highlight-icon { transform: scale(1.1) rotate(-5deg); }

.highlight-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.highlight-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== PROGRAMS PREVIEW ===== */
.programs-section {
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--blue-light) 100%);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '🧩';
    position: absolute;
    font-size: 8rem;
    right: -2%;
    top: 5%;
    opacity: 0.07;
}

.programs-section::after {
    content: '🎨';
    position: absolute;
    font-size: 8rem;
    left: -2%;
    bottom: 5%;
    opacity: 0.07;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-card-header {
    padding: 28px 28px 0;
    position: relative;
}

.program-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.program-card.yellow .program-icon-wrap { background: var(--yellow-light); }
.program-card.blue   .program-icon-wrap { background: var(--blue-light); }
.program-card.green  .program-icon-wrap { background: var(--green-light); }
.program-card.pink   .program-icon-wrap { background: var(--pink-light); }

.program-card-top-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--yellow);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.program-age {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: 12px;
}

.program-age i { color: var(--blue); margin-right: 4px; }

.program-card-body {
    padding: 0 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    flex: 1;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.program-feature-tag {
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-800);
}

.program-card-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== COLOURFUL BANNER ===== */
.colour-banner {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.colour-banner::before,
.colour-banner::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.15;
}

.colour-banner::before {
    width: 400px;
    height: 400px;
    background: var(--white);
    top: -150px;
    right: -100px;
}

.colour-banner::after {
    width: 200px;
    height: 200px;
    background: var(--yellow);
    bottom: -80px;
    left: -50px;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.banner-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 12px;
}

.banner-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: var(--section-py) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--gray-100);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    font-family: var(--font-display);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.stars { color: var(--yellow-dark); font-size: 0.85rem; }

/* ===== GALLERY PREVIEW ===== */
.gallery-section {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--blue-light), var(--green-light));
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== ENQUIRY SECTION (Home) ===== */
.enquiry-home {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, #FFFBEA 0%, #EAF4FF 100%);
}

.enquiry-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.enquiry-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.enquiry-info-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0;
}

.enquiry-info-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.enquiry-info-point-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--blue-dark);
}

.enquiry-info-point h4 { font-size: 0.95rem; margin-bottom: 2px; }
.enquiry-info-point p  { font-size: 0.83rem; color: var(--gray-600); }

/* ===== FORMS ===== */
.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group label .required { color: var(--pink-dark); }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(77,150,255,0.15);
}

.form-control::placeholder { color: var(--gray-400); }

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-error.show { display: block; }

/* Success/Error alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: var(--green-light);
    color: var(--green-dark);
    border: 2px solid var(--green);
}

.alert-danger  {
    background: #FFEAEA;
    color: var(--danger);
    border: 2px solid #F5B8B8;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--purple) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 60%),
                      radial-gradient(circle at 80% 20%, rgba(255,217,61,0.15) 0%, transparent 50%);
}

.page-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-hero-shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.12;
    background: var(--white);
}

.page-hero-shape:nth-child(1) { width: 200px; height: 200px; top: -80px; left: -80px; }
.page-hero-shape:nth-child(2) { width: 150px; height: 150px; bottom: -60px; right: -60px; }
.page-hero-shape:nth-child(3) { width: 80px;  height: 80px;  top: 20%;    right: 15%;   }

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-emoji {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}

.breadcrumb a { color: var(--yellow); }
.breadcrumb i  { font-size: 0.7rem; }

/* ===== ABOUT PAGE ===== */
.about-story {
    padding: var(--section-py) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: var(--radius-xl);
    /* placeholder gradient */
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--yellow-light) 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--yellow);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-img-badge .num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--dark);
}

.about-img-badge .lbl {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-800);
}

.about-text-content ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.about-text-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.about-text-content ul li i {
    color: var(--green);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Vision & Mission */
.vm-section {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--purple-light) 100%);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--blue-dark);
}

.vm-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.team-card:hover {
    border-color: var(--blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    margin: 0 auto 16px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 4px solid var(--yellow);
}

.team-name { font-size: 1.1rem; margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 12px; }

/* ===== PROGRAMS PAGE ===== */
.programs-full {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.program-full-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.program-full-card:nth-child(even) {
    direction: rtl;
}

.program-full-card:nth-child(even) > * {
    direction: ltr;
}

.program-side {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.program-full-card.yellow .program-side { background: var(--yellow-light); }
.program-full-card.blue   .program-side { background: var(--blue-light); }
.program-full-card.green  .program-side { background: var(--green-light); }
.program-full-card.pink   .program-side { background: var(--pink-light); }

.program-full-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.program-side h3 { font-size: 1.6rem; margin-bottom: 8px; }
.program-side .age { font-size: 0.9rem; color: var(--gray-600); font-weight: 700; }

.program-detail {
    padding: 40px;
}

.program-detail h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 12px;
    margin-top: 20px;
}

.program-detail h4:first-child { margin-top: 0; }

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.activity-tag {
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-tag i { color: var(--blue); }

/* ===== DAYCARE PAGE ===== */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue), var(--green), var(--yellow), var(--pink));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-time {
    flex: 1;
    text-align: right;
    padding-top: 16px;
}

.timeline-item:nth-child(even) .timeline-time {
    text-align: left;
}

.timeline-time-inner {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
}

.timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 4px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-card {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.timeline-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-card p  { font-size: 0.88rem; color: var(--gray-600); }

/* ===== GALLERY PAGE ===== */
.gallery-full {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.gallery-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 2px solid var(--gray-200);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-800);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.gallery-masonry {
    columns: 3;
    column-gap: 16px;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-masonry .gallery-item img {
    width: 100%;
    transition: var(--transition);
}

.gallery-masonry .gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BLOG PAGE ===== */
.blog-section {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--blue-light), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.blog-meta i { color: var(--blue); }

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover h3 { color: var(--blue); }

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--gray-600);
    flex: 1;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more:hover { gap: 10px; text-decoration: underline; }

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--blue-dark);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-info-text a:hover { color: var(--blue); }

.map-embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 24px;
}

.map-embed iframe {
    width: 100%;
    height: 280px;
    border: none;
    display: block;
}

/* ===== ENQUIRY PAGE ===== */
.enquiry-section {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--yellow-light) 50%, var(--green-light) 100%);
}

.enquiry-form-wrap {
    max-width: 780px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: #1A2332;
    color: rgba(255,255,255,0.85);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-shapes div {
    position: absolute;
    font-size: 2rem;
    opacity: 0.06;
}

.footer-shapes .shape-star    { top: 20px; left: 5%; }
.footer-shapes .shape-cloud   { top: 40px; left: 20%; }
.footer-shapes .shape-balloon { top: 10px; right: 20%; }
.footer-shapes .shape-heart   { top: 50px; right: 5%; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon  { font-size: 2rem; }
.footer-logo-name  { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.75;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--blue);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    opacity: 0.75;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--yellow);
    padding-left: 4px;
}

.footer-col ul li a i { font-size: 0.75rem; color: var(--blue); }

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-contact li i {
    color: var(--yellow);
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 16px;
    transition: var(--transition);
}

.btn-footer-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    opacity: 0.7;
}

.footer-bottom a {
    opacity: 0.9;
    transition: var(--transition);
}

.footer-bottom a:hover {
    opacity: 1;
    color: var(--yellow);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-16px) rotate(5deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50%       { transform: rotate(5deg); }
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* ===== UTILITY CLASSES ===== */
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.flex  { display: flex; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content          { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrapper    { display: none; }
    .footer-grid           { grid-template-columns: 1fr 1fr; }
    .program-full-card     { grid-template-columns: 1fr; }
    .program-full-card:nth-child(even) { direction: ltr; }
    .gallery-masonry       { columns: 2; }
    .about-grid            { grid-template-columns: 1fr; }
    .enquiry-home-grid     { grid-template-columns: 1fr; }
    .contact-grid          { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 56px; }

    .top-bar-right .btn-topbar ~ a { display: none; }
    
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .nav-overlay.open { display: block; }

    .hero-title { font-size: 2rem; }
    .hero-btns  { flex-direction: column; }

    .highlights-grid { grid-template-columns: 1fr 1fr; }
    .programs-grid   { grid-template-columns: 1fr; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }
    .gallery-item.wide  { grid-column: span 1; }
    .gallery-item.tall  { grid-row: span 1; }

    .gallery-masonry { columns: 2; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column; gap: 16px; }
    .timeline-item:nth-child(even) { flex-direction: column; }
    .timeline-time { text-align: left; padding-top: 0; }
    .timeline-item:nth-child(even) .timeline-time { text-align: left; }
    .timeline-dot { position: absolute; left: 0; }
    .timeline-item { padding-left: 56px; position: relative; }

    .top-bar-left span:last-child { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .highlights-grid { grid-template-columns: 1fr; }
    .gallery-masonry { columns: 1; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .form-card { padding: 24px; }
}
