/* Variables & Theme */
:root {
    --primary-yellow: #FFD700;
    --primary-pink: #E91E63;
    --primary-blue: #1976D2;
    --primary-orange: #FF9800;
    --primary-green: #4CAF50;
    --text-dark: #333333;
    --text-muted: #777777;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, .brand-text {
    font-family: 'Fredoka One', cursive;
}
.brand-text{font-size: 30px;}
/* Utilities */
.text-white { color: white; }
.text-pink { color: var(--primary-pink); }
.text-orange { color: var(--primary-orange); }
.text-blue { color: var(--primary-blue); }
.bg-pink { background-color: var(--primary-pink); }
.bg-blue { background-color: var(--primary-blue); }
.bg-orange { background-color: var(--primary-orange); }
.sticky-top{background-color: #fff;}
.bg-primary{background-color: rgb(233 30 99) !important;}
.fw-bold {font-weight: normal !important;}
.text-border-black {
    color: white;                 /* inner text color */
    -webkit-text-stroke: 1px #000; /* border thickness + color */
    font-weight: 800;
}
.display-3{font-size: 3rem;}
/* Navigation */
/* Default navbar (transparent on top) */
.main-nav {
    background: transparent;
    transition: all 0.3s ease;
}

/* Navbar after scroll */
.main-nav.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Change link color after scroll */
.main-nav.scrolled .nav-link {
    color: #333 !important;
}

.main-nav.scrolled .brand-text {
    color: #333;
}

/* On top (hero section) */
.main-nav .nav-link,
.main-nav .brand-text {
    color: #020202;
}
.nav-link {
    font-weight: 700;
    color: #ffd113 !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-pink) !important;
}
.logo img{width:100%; height: auto;}
/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #ffe8e8 0%, #E3F2FD 100%); */
    padding-top: 80px;
    background: url("../images/home_header_1.jpg") no-repeat center center;
    background-size: cover;
    margin-top: -140px;
}
.bg1-section {
   
    padding:80px 0;
    background: url("../images/bg-fb.png") no-repeat center center;
    background-size: cover;
    margin-top:0px;
}
.bg2-section {
    
    padding:80px 0;
    background: url("../images/bg-courses.png") no-repeat center center;
    background-size: cover;
    margin-top:0px;
}
.bg3-section {
    padding:80px 0;
    background: url("../images/bg-register.png") no-repeat center center;
    background-size: cover;
    margin-top:0px;
}

.bg4-section {
    padding:80px 0;
    background: url("../images/footer-pattern.png") no-repeat center center;
    background-size: cover;
    margin-top:0px;
}
.rounded-blob {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobMorph 10s ease-in-out infinite;
    object-fit: cover;
    width: 70%;
    max-width: 500px;
}

@keyframes blobMorph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 40% 60% / 60% 40% 60% 40%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.floating-icons i {
    position: absolute;
    opacity: 0.2;
    animation: drift 15s linear infinite;
}

.icon-1 { color: #f7b733; top: 10%; left: 5%; font-size: 3rem; }
.icon-2 { color: #ff5e62; top: 20%; right: 10%; font-size: 2rem; }
.icon-3 { color: #1a73e8; bottom: 30%; left: 15%; font-size: 4rem; }
.icon-4 { color: #43a047; bottom: 15%; right: 5%; font-size: 2.5rem; }

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 30px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Animations */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 1s ease-out;
}

.fade-in-left.active, .fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

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

/* Program Cards */
.program-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    transition: 0.4s;
    border: 3px solid transparent;
    border-bottom: 6px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    background-color: #fafafa;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.program-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

/* Buttons */
.btn-enroll {
    background-color: var(--primary-orange);
    color: white !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 152, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

.btn-primary {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
}

.btn-primary:hover {
    background-color: #d81b60;
    border-color: #d81b60;
}

/* Features */
.feature-icon-small {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.border-primary-thick {
    border: 10px solid #fff;
    border-radius: 20px !important;
}

/* Forms */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
    border-color: var(--primary-pink);
}

.enquiry-container {
    border-radius: 40px !important;
}

/* Footer */
.footer-section {
    background-color: #c10f4b;
    color: white;
}

.footer-brand {
    text-decoration: none;
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: white;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-pink);
    transform: translateY(-5px);
}
/* ================================
   WHO WE ARE IMAGE – ANIMATED BLOB
================================ */

.who-we-are-image {
    position: relative;
    width:100%;          /* adjust as needed */
    height:auto;         /* adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated layers */
.who-we-are-image::before,
.who-we-are-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.5s ease;
}

/* Layer 1 */
.who-we-are-image::before {
    background-color: #ea512e;
    animation: border-transform-default 10s linear infinite alternate;
}

/* Layer 2 */
.who-we-are-image::after {
    background-color: #f5890d;
    animation: border-transform-default 50s linear infinite alternate;
    opacity: 0.9;
}

/* Image stays above animation */
.who-we-are-image img {
    position: relative;
    z-index: 2;
    width: 85%;
    height: auto;
    border-radius: 50%;
}

/* ================================
   KEYFRAMES (MAIN FIX)
================================ */

@keyframes border-transform-default {
    0% {
        border-radius: 50% 50% 50% 50%;
        transform: rotate(0deg) scale(1);
    }
    33% {
        border-radius: 60% 40% 55% 45%;
        transform: rotate(120deg) scale(1.03);
    }
    66% {
        border-radius: 45% 55% 35% 65%;
        transform: rotate(240deg) scale(1.05);
    }
    100% {
        border-radius: 55% 45% 65% 35%;
        transform: rotate(360deg) scale(1);
    }
}

/* ================================
   OPTIONAL HOVER EFFECT
================================ */

.who-we-are-image:hover::before,
.who-we-are-image:hover::after {
    transform: scale(1.08);
}

/* ================================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 576px) {
    .who-we-are-image {
        width: 260px;
        height: 260px;
    }
}

/* ================================
   DAYCARE – SOFT FLOATING BLOB
================================ */

.DayCare {
    position: relative;
    width:100%;
    height:auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated blob background */
.DayCare::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #ff9a9e,
        #fad0c4,
        #fbc2eb,
        #a1c4fd
    );
    background-size: 300% 300%;
    animation:
        daycare-morph 14s ease-in-out infinite,
        daycare-float 6s ease-in-out infinite,
        daycare-gradient 10s ease-in-out infinite;
}

/* Keep image above animation */
.DayCare img {
    position: relative;
    z-index: 2;
    width: 82%;
    border-radius: 50%;
}

/* ================================
   ANIMATIONS
================================ */

/* Shape morph */
@keyframes daycare-morph {
    0% {
        border-radius: 50% 50% 50% 50%;
    }
    33% {
        border-radius: 60% 40% 55% 45%;
    }
    66% {
        border-radius: 45% 60% 40% 65%;
    }
    100% {
        border-radius: 50% 50% 50% 50%;
    }
}

/* Gentle floating */
@keyframes daycare-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Gradient movement */
@keyframes daycare-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ================================
   HOVER INTERACTION (FUN!)
================================ */

.DayCare:hover::before {
    filter: brightness(1.08);
    transform: scale(1.04);
}

/* ================================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 576px) {
    .DayCare {
        width: 260px;
        height: 260px;
    }
}
