/* ==========================================================================
   FUN FINITYS PLAY SCHOOL - Main Stylesheet
   Color Palette: Sky Blue, Sunshine Yellow, Coral, Soft Pink, Mint, Purple
   Typography: Fredoka (Headings) & Outfit (Body)
   ========================================================================== */

/* 1. CSS Custom Variables & Root Design System */
:root {
    /* Brand Primary Colors */
    --primary-sky: #38bdf8;
    --primary-sky-dark: #0284c7;
    --primary-yellow: #facc15;
    --primary-yellow-dark: #eab308;
    --primary-coral: #fb923c;
    --primary-coral-dark: #f97316;
    --primary-pink: #f472b6;
    --primary-pink-dark: #ec4899;
    --primary-mint: #34d399;
    --primary-mint-dark: #10b981;
    --primary-purple: #a78bfa;
    --primary-purple-dark: #8b5cf6;

    /* Light Pastels */
    --bg-pink-light: #fdf2f8;
    --bg-yellow-light: #fefce8;
    --bg-blue-light: #f0f9ff;
    --bg-coral-light: #fff7ed;
    --bg-mint-light: #ecfdf5;
    --bg-purple-light: #f5f3ff;

    /* Backgrounds & Text */
    --bg-body: #fafaf9;
    --bg-warm: #fffdf7;
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Font Families */
    --font-heading: 'Fredoka', 'Comic Neue', cursive, sans-serif;
    --font-body: 'Outfit', 'Poppins', system-ui, sans-serif;

    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 0 8px 15px -4px rgba(0, 0, 0, 0.04);
    --shadow-pop: 0 14px 30px rgba(251, 146, 60, 0.25);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 2. Global Resets & Base Styles */
*, *::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(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Section Header */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Colors Classes */
.bg-pink-light { background-color: var(--bg-pink-light); color: var(--primary-pink-dark); }
.bg-yellow-light { background-color: var(--bg-yellow-light); color: #d97706; }
.bg-blue-light { background-color: var(--bg-blue-light); color: var(--primary-sky-dark); }
.bg-coral-light { background-color: var(--bg-coral-light); color: var(--primary-coral-dark); }
.bg-mint-light { background-color: var(--bg-mint-light); color: var(--primary-mint-dark); }
.bg-purple-light { background-color: var(--bg-purple-light); color: var(--primary-purple-dark); }

.bg-pink { background-color: var(--primary-pink); color: white; }
.bg-yellow { background-color: var(--primary-yellow); color: var(--text-dark); }
.bg-blue { background-color: var(--primary-sky); color: white; }
.bg-coral { background-color: var(--primary-coral); color: white; }
.bg-mint { background-color: var(--primary-mint); color: white; }
.bg-purple { background-color: var(--primary-purple); color: white; }

.text-pink { color: var(--primary-pink-dark); }
.text-yellow { color: #d97706; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-coral), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-coral), #f97316);
    color: white;
    box-shadow: 0 8px 20px rgba(251, 146, 60, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(251, 146, 60, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-sky), var(--primary-sky-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.45);
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
}

.btn-yellow:hover {
    transform: translateY(-3px) scale(1.02);
    background-color: #fde047;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-coral);
    color: var(--primary-coral-dark);
}

.btn-outline:hover {
    background-color: var(--primary-coral);
    color: white;
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-coral-dark);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

/* Top Announcement Bar */
.top-bar {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #cbd5e1;
    font-size: 0.88rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--primary-yellow);
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

/* 1. Header / Navigation */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 0.2rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-wrap {
    width: 46px;
    height: 46px;
    transition: var(--transition-bounce);
}

.logo:hover .logo-icon-wrap {
    transform: rotate(10deg) scale(1.1);
}

.logo-svg {
    width: 100%;
    height: 100%;
}

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

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-title .highlight {
    color: var(--primary-coral-dark);
}

.logo-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-sky-dark);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-coral-dark);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-coral), var(--primary-pink));
    border-radius: var(--radius-full);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* 2. Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0 6rem;
    background: linear-gradient(180deg, #fffdf5 0%, #f0f9ff 100%);
    overflow: hidden;
}

.hero-bg-shapes .floating-shape {
    position: absolute;
    font-size: 2.2rem;
    user-select: none;
    z-index: 1;
    opacity: 0.85;
    animation: floatSlow 6s ease-in-out infinite alternate;
}

.hero-bg-shapes .balloon-1 { animation: floatBounce 5s ease-in-out infinite; }
.hero-bg-shapes .cloud-1 { animation: floatSlow 8s ease-in-out infinite alternate; font-size: 3rem; }
.hero-bg-shapes .star-1 { animation: floatSpin 10s linear infinite; }
.hero-bg-shapes .pencil-1 { animation: floatBounce 6s ease-in-out infinite 1s; }
.hero-bg-shapes .butterfly-1 { animation: floatSlow 4s ease-in-out infinite alternate; }

@keyframes floatSlow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(6deg); }
}

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

@keyframes floatSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background-color: white;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.4rem;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid white;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-coral-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 3px;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-color);
}

.hero-media {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
    background-color: white;
}

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover .hero-img {
    transform: scale(1.04);
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    border: 1px solid white;
}

.card-top {
    top: 20px;
    right: 20px;
    animation: floatBounce 4s ease-in-out infinite;
}

.card-bottom {
    bottom: 20px;
    left: 20px;
    animation: floatBounce 5s ease-in-out infinite 1s;
}

.hero-floating-card .card-icon {
    font-size: 1.8rem;
}

.hero-floating-card .card-info {
    display: flex;
    flex-direction: column;
}

.hero-floating-card .card-info strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hero-floating-card .card-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* 3. About Section */
.about-section {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--bg-yellow-light);
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-coral), #f97316);
    color: white;
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-pop);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 240px;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-heading {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.focus-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-body);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.focus-card.color-blue:hover { background-color: var(--bg-blue-light); }
.focus-card.color-yellow:hover { background-color: var(--bg-yellow-light); }
.focus-card.color-coral:hover { background-color: var(--bg-coral-light); }
.focus-card.color-pink:hover { background-color: var(--bg-pink-light); }
.focus-card.color-mint:hover { background-color: var(--bg-mint-light); }
.focus-card.color-purple:hover { background-color: var(--bg-purple-light); }

.focus-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.focus-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.focus-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* 4. Programs Section */
.programs-section {
    background-color: #fafdfb;
}

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

.program-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

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

.card-playgroup { border-color: var(--primary-sky); }
.card-nursery { border-color: var(--primary-pink); }
.card-lkg { border-color: var(--primary-yellow); }
.card-ukg { border-color: var(--primary-coral); }
.card-activity { border-color: var(--primary-purple); }

.featured-card {
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.program-icon {
    font-size: 2.5rem;
}

.age-badge {
    background-color: var(--bg-body);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.program-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.program-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.program-features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.program-features li {
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-body);
}

.program-features .check {
    color: var(--primary-mint-dark);
    font-weight: bold;
}

.program-btn {
    margin-top: auto;
    width: 100%;
}

/* 5. Why Us Section */
.why-section {
    background-color: white;
}

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

.benefit-card {
    background-color: var(--bg-body);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: white;
    border-color: transparent;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(8deg);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.benefit-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* 6. Facilities Section */
.facilities-section {
    background-color: #f8fafc;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.facility-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.facility-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-img {
    transform: scale(1.08);
}

.facility-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.facility-body {
    padding: 1.5rem;
}

.facility-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.facility-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 7. Activities Section */
.activities-section {
    background-color: white;
}

.activity-filters, .gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn, .g-filter-btn {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .g-filter-btn:hover,
.filter-btn.active, .g-filter-btn.active {
    background-color: var(--primary-coral);
    color: white;
    border-color: var(--primary-coral);
    box-shadow: var(--shadow-sm);
}

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

.activity-card {
    background-color: var(--bg-body);
    padding: 1.8rem 1.4rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: white;
}

.act-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.activity-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 8. Gallery Section */
.gallery-section {
    background-color: #fffdf7;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 240px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(15, 23, 42, 0.85) 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-bottom: 0;
}

/* 9. Parent Testimonials Slider */
.testimonials-section {
    background-color: white;
}

.testimonial-slider-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto 2rem;

}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.testimonial-card {
    background-color: var(--bg-yellow-light);
    border: 2px solid rgba(250, 204, 21, 0.4);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-md);
}

.quote-mark {
    position: absolute;
    top: 10px;
    right: 25px;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(250, 204, 21, 0.3);
    line-height: 1;
    user-select: none;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.8rem;
    line-height: 1.6;

}

.parent-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.parent-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.parent-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

.parent-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-bounce);
    color: var(--text-dark);
}

.slider-arrow:hover {
    background-color: var(--primary-coral);
    color: white;
    border-color: var(--primary-coral);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow { left: -60px; }
.next-arrow { right: -60px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--primary-coral);
    width: 30px;
    border-radius: var(--radius-full);
}

/* 10. Call to Action Banner */
.cta-banner-section {
    padding: 3rem 0;
    background-color: white;
}

.cta-card {
    background: linear-gradient(135deg, #fb923c, #f472b6, #38bdf8);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-pop);
}

.cta-floating-icons .c-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.3;
    animation: floatBounce 4s infinite alternate;
}

.c-1 { top: 20px; left: 30px; }
.c-2 { top: 30px; right: 40px; }
.c-3 { bottom: 20px; left: 50px; }
.c-4 { bottom: 30px; right: 60px; }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.cta-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.cta-content h2 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* 11. Contact Section */
.contact-section {
    background-color: #fafaf9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
}

.contact-info-card, .contact-form-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.c-info-title, .c-form-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.c-info-desc, .c-form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-details strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.2rem;
}

.info-details p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Form Controls */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background-color: var(--bg-body);
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-coral);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}

.form-group.error input,
.form-group.error select {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.error-msg {
    font-size: 0.78rem;
    color: #ef4444;
    display: none;
    margin-top: 2px;
}

.form-group.error .error-msg {
    display: block;
}

/* 12. Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-about {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
}

.social-btn:hover {
    background-color: var(--primary-coral);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-yellow);
    border-radius: var(--radius-full);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.92rem;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.88rem;
}

/* Modals System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background-color: white;
    width: 100%;
    max-width: 540px;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transform: scale(0.85);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-dialog {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--bg-body);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.6rem;
}

.modal-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.p-lead-text {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 1.2rem;
}

.modal-feature-list {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-feature-list li {
    font-size: 0.92rem;
    padding-left: 1.2rem;
    position: relative;
}

.modal-feature-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;
}

.modal-action-row {
    display: flex;
    justify-content: flex-end;
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.lightbox-caption {
    color: white;
}

.lightbox-caption h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.lightbox-caption p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.lightbox-counter {
    font-size: 0.8rem;
    color: var(--primary-yellow);
}

.lightbox-close, .lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: var(--transition-bounce);
}

.lightbox-close { top: 30px; right: 30px; width: 44px; height: 44px; font-size: 2rem; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 2.2rem; }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 2.2rem; }

.lightbox-close:hover, .lightbox-nav:hover {
    background-color: var(--primary-coral);
    transform: scale(1.1);
}

.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

/* Success Icon Animation */
.success-icon-animated {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: floatBounce 1s ease-in-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-coral);
    color: white;
    border: none;
    font-size: 1.4rem;
    box-shadow: var(--shadow-pop);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 900;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-coral-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-divider { display: none; }

    .mobile-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .form-row { grid-template-columns: 1fr; }
    .focus-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .mobile-toggle.active .bar-1 { transform: translateY(9px) rotate(45deg); }
    .mobile-toggle.active .bar-2 { opacity: 0; }
    .mobile-toggle.active .bar-3 { transform: translateY(-9px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
