/* ==============================================
           Global Variables & Reset
        =============================================== */
:root {
    /* Theme Colors - More Vibrant for Kids */
    --bg-yellow: #FFFDE7;
    --primary-orange: #FF9F43;
    --secondary-blue: #54A0FF;
    --accent-pink: #FF6B6B;
    --accent-green: #1DD1A1;

    --text-dark: #2d3436;
    --text-muted: #636e72;

    /* Gradients */
    --grad-orange: linear-gradient(135deg, #FF9F43 0%, #FF6B6B 100%);
    --grad-blue: linear-gradient(135deg, #54A0FF 0%, #00D2D3 100%);

    /* Effects */
    --box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --card-radius: 25px;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    /* APPLIED BODY IMAGE HERE */
    background-color: var(--bg-yellow);
    background-image: url('images/children-s-day-banner-with-girl-boy-holding-cookies-butterfly_889497-152.avif');
    /* Abstract Colorful Background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: soft-light;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Fredoka', sans-serif;
    letter-spacing: 0.5px;
}

/* Loading Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==============================================
           Utility Classes & Animations
        =============================================== */
.hover-zoom {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.section-padding {
    padding: 10px 0;
}

/* Making sections look like floating cards on the background */
.section-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    padding: 60px 20px;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.section-header span {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-pink);
    font-size: 0.9rem;
    background: #fff0f0;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: var(--text-dark);
}

.pulse-btn {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 159, 67, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 159, 67, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 159, 67, 0);
    }
}

/* ==============================================
           Navbar
        =============================================== */
.navbar {
    background: #f5f2e5;
    box-shadow: 0 4px 20px rgba(188, 188, 188, 0.378);
    padding: 15px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange) !important;
    text-shadow: 2px 2px 0px #fff0e6;
}

.nav-link {
    font-weight: 700;
    color: #555 !important;
    margin: 0 10px;
    position: relative;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

.btn-cta {
    background: var(--grad-orange);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    transition: transform 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    color: white;
}

/* ==============================================
           Hero Section
        =============================================== */
#hero {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    /* Transparent hero to show body image */
    background: linear-gradient(180deg, rgba(255, 253, 231, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 3px 3px 0px rgba(255, 255, 255, 0.5);
}

.highlight-text {
    color: var(--accent-pink);
    position: relative;
    z-index: 1;
    background: url('https://s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=ffeeee') no-repeat bottom center;
    background-size: 100% 40%;
}

/* Scroller */
.scroller-container {
    position: relative;
    z-index: 2;
}

.media-scroller {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 10px 40px 10px;
    scroll-behavior: smooth;
    cursor: grab;
}

.media-scroller::-webkit-scrollbar {
    display: none;
}

.media-card {
    flex: 0 0 300px;
    height: 420px;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    border: 6px solid white;
    background: #fff;
}

.media-card:nth-child(even) {
    transform: rotate(3deg);
    margin-top: 20px;
}

.media-card:nth-child(odd) {
    transform: rotate(-3deg);
}

.media-card:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    z-index: 10;
}

.media-card video,
.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================================
           Stats Section
        =============================================== */
#stats {
    position: relative;
    margin-top: -30px;
    z-index: 10;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 6px solid var(--primary-orange);
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Fredoka', sans-serif;
}

/* ==============================================
           About Section
        =============================================== */
.about-frame {
    position: relative;
    padding: 15px;
    border: 4px dashed var(--primary-orange);
    border-radius: 40px 10px 40px 40px;
    background: white;
    transform: rotate(-2deg);
}

.about-img {
    border-radius: 30px 5px 30px 30px;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff3e0;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 15px;
    border: 2px solid white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* ==============================================
           Gallery Section
        =============================================== */
.gallery-item {
    border-radius: 25px;
    overflow: hidden;
    height: 260px;
    position: relative;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    border: 6px solid white;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 159, 67, 0.4);
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==============================================
           Facilities Section
        =============================================== */
/* Note: Removed generic bg-white, using card style instead */
.facility-card {
    background: white;
    padding: 30px;
    border-radius: 30px;
    border: 2px solid #ffeaa7;
    transition: 0.3s;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.facility-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* ==============================================
           Programs Cards
        =============================================== */
.premium-card {
    background: white;
    border-radius: 35px;
    padding: 35px 25px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
    transform: translateY(-15px);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--grad-orange);
}

/* Specific colors for specific cards to make it colorful */
.card-blue::before {
    background: var(--secondary-blue);
}

.card-green::before {
    background: var(--accent-green);
}

.card-pink::before {
    background: var(--accent-pink);
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #fff5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #ff6b6b;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* ==============================================
           Team & FAQ
        =============================================== */
.team-img-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    font-weight: 700;
    color: var(--text-dark);
    background: white;
    border-radius: 20px !important;
    padding: 20px;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-orange);
    background-color: #fff3e0;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-orange);
}

/* ==============================================
           Footer & Floating Elements
        =============================================== */
footer {
    background: #2d3436;
    color: #b0bec5;
    padding-top: 80px;
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: 50px;
}

footer h4 {
    color: white;
    font-family: 'Fredoka', sans-serif;
}

.float-wa {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse-green 2s infinite;
    border: 3px solid white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .media-card {
        height: 350px;
        flex: 0 0 250px;
    }

    #stats {
        margin-top: 30px;
    }

    .stat-box {
        margin-bottom: 15px;
    }
}