/* [1] General Css Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fcfaff;
    color: #2f2b45;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* top bar */
.top-bar {
    background: #5f559b;
    /* background: #b3dd50; */
    color: white;
    padding: 0.6rem 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: transform 0.3s ease, opacity 0.2s;
}

.top-bar.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-contact a {
    color: white;
    text-decoration: none;
    margin-right: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-social a {
    color: white;
    margin-left: 1.2rem;
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

.top-social a:hover {
    opacity: 0.8;
}

/* main navigation */
.navbar {
    background: white;
    padding: 0.6rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #4b4278;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #9b8ad5;
}

.nav-menu {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    color: #3a345f;
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.nav-menu li a:hover {
    background: #f0eaff;
    color: #4f4591;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 18px 28px -8px #b9abd8;
    border-radius: 24px;
    padding: 0.8rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    padding: 0.7rem 1.5rem;
    border-radius: 0;
    background: none;
    width: 100%;
}

.dropdown-menu li a:hover {
    background: #f5f0ff;
    width: 100%;
}

/* mobile header */
.mobile-header {
    display: none;
    background: white;
    padding: 0.7rem 5%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 12px -8px rgba(0, 0, 0, 0.1);
}

.mobile-logo a {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #4b4278;
    text-decoration: none;
}

.hamburger {
    font-size: 2.2rem;
    color: #4b4278;
    cursor: pointer;
}

/* side menu with logo at top */
.side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s;
    overflow-y: auto;
    border-radius: 0 36px 36px 0;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    left: 0;
}

.side-menu-logo {
    padding: 30px 20px 10px;
    border-bottom: 1px solid #f0e5ff;
    margin-bottom: 10px;
}

.side-menu-logo a {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #4b4278;
    text-decoration: none;
}

.side-menu-logo span {
    color: #9b8ad5;
}

.side-menu ul {
    list-style: none;
    padding: 0 15px;
    flex: 1;
}

.side-menu ul li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: #f8f5ff;
    margin: 12px 0;
    border-radius: 40px;
    text-decoration: none;
    color: #3f3b60;
    font-weight: 500;
}

.side-menu ul li a i {
    color: #7e75c2;
    width: 28px;
}

/* mobile submenu fixed */
.dropdown-mobile {
    position: relative;
}

.dropdown-mobile>a .fa-chevron-down {
    margin-left: auto;
    transition: transform 0.2s;
}

.sub-menu {
    display: none;
    padding-left: 25px;
    margin-top: -8px;
    margin-bottom: 8px;
}

.sub-menu li a {
    background: #efeaff;
    margin: 8px 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width:1000px) {

    .top-bar,
    .navbar {
        display: none;
    }

    .mobile-header {
        display: flex;
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 5% 50px;
}

/* CTA */
.cta-block {
    /* background: #f1ebff; */
    background: #ffef87;
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-block h2 {
    font-size: 2.8rem;
    /* color: #2d2850; */
    color: #bba723;
}

.cta-block p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.cta-block .btn {
    background: #a99617;
}

.footer {
    background: white;
    border-radius: 50px 50px 0 0;
    background: linear-gradient(90deg, #3a345f2c, #3a345f23);
    padding: 3rem 3rem 0;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: #453e70;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 0.6rem 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: #554d81;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a i {
    width: 22px;
    color: #7b6eb0;
}

.footer .copyright {
    grid-column: span 4;
    text-align: center;
    margin-top: 2rem;
    font-weight: bold;
    color: #6a6193;
    border-top: 1px solid #e2d6ff;
    padding: 1.5rem 0;
}

/* mobile footer: 1 column */
@media (max-width:700px) {
    .footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer .copyright {
        grid-column: span 1;
    }
}

.banner-hero {
    /* background: linear-gradient(rgba(85, 70, 145, 0.7), rgba(60, 45, 120, 0.8)), url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); */
    background: linear-gradient(225deg, rgb(85 70 145 / 0%), rgb(60 45 120)), url(https://images.unsplash.com/photo-1580582932707-520aed937b7b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80);
    background-size: cover;
    background-position: center 30%;
    border-radius: 0 0 20px 20px;
    margin: -20px -5% 30px -5%;
    /* expand to full width */
    padding: 5rem 5% 4rem 5%;
    color: white;
    position: relative;
    box-shadow: 0 25px 30px -15px #423d7a48;
}

.banner-hero h1 {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.banner-hero .breadcrumb {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.8rem 2rem;
    border-radius: 60px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-hero .breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.2s;
}

.banner-hero .breadcrumb a:hover {
    opacity: 1;
}

.banner-hero .breadcrumb i {
    font-size: 1rem;
    color: #ffd966;
}

/* [1] End */


/* [2] Index Page Css Code */

/* hero + about spacing improved */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0 5rem;
    background: linear-gradient(222deg, #59efef38, transparent);
    padding: 20px;
    border-radius: 20px;
}

.hero-left {
    flex: 1 1 350px;
}

.hero-left h1 {
    font-size: 3.1rem;
    line-height: 1.2;
    color: #312d53;
}

.hero-left h1 span {
    background: linear-gradient(130deg, #6d62b5, #b49fe7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 1.2rem;
    margin: 1.5rem 0 2rem;
    text-align: justify;
    color: #4d4872;
    max-width: 500px;
}

.btn {
    background: #8d80c9;
    border: none;
    border-radius: 60px;
    padding: 1rem 2.8rem;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px -8px #a28ed6;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.btn:hover {
    background: #7366b5;
    transform: scale(1.02);
}

.hero-right {
    flex: 1 1 350px;
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
}

.float-img {
    position: absolute;
    width: 160px;
    filter: drop-shadow(0 20px 20px rgba(148, 127, 196, 0.2));
    animation: floatMove 6s infinite ease-in-out;
}

.img1 {
    top: 0;
    left: 5%;
    width: 170px;
}

.img2 {
    bottom: 5%;
    right: 0;
    width: 190px;
    animation-delay: -2s;
}

.img3 {
    top: 20%;
    right: 10%;
    width: 140px;
    animation-delay: -4s;
}

.img4 {
    bottom: 10%;
    left: 10%;
    width: 150px;
    animation-delay: -1s;
}

@keyframes floatMove {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* about section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 5rem 0 5rem;
    align-items: center;
    background: linear-gradient(222deg, rgb(255 168 2 / 22%), transparent);
    padding: 20px;
    border-radius: 20px;
}

.about-left {
    flex: 1 1 300px;
    text-align: center;
}

.about-left img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    /* box-shadow: 0 25px 30px -15px #cabde0; */
    animation: floatMove 6s infinite ease-in-out;
}

.about-right {
    flex: 1 1 350px;
}

.about-right h2 {
    font-size: 2.8rem;
    color: #36315b;
}

.about-right p {
    margin: 1.3rem 0;
    color: #4e4775;
    text-align: justify;
}

/* program cards */
.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0 3rem;
}

.program-card {
    background: white;
    border-radius: 38px;
    box-shadow: 0 18px 28px -12px #cbbde2;
    flex: 1 1 220px;
    min-width: 220px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 170px;
    background-size: cover;
    background-position: center;
}

.card-icon {
    margin: -30px auto 0;
    background: #efe9ff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #7d70bb;
    border: 4px solid white;
    box-shadow: 0 5px 12px #d9caf0;
}

.card-content {
    padding: 1.2rem 1.2rem 2rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.9rem;
    margin-bottom: 0.2rem;
}

.card-content p {
    color: #5b4f88;
    margin-bottom: 1.2rem;
}

.card-btn {
    background: #e3d9ff;
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    color: #4d4080;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.card-btn:hover {
    background: #cdbef5;
}

/* celebration card */
.celeb-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 18px 28px -12px #ccbfe2;
    min-width: 260px;
    flex-shrink: 0;
    overflow: hidden;
}

.celeb-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.celeb-card h4,
.celeb-card p {
    padding: 0.2rem 1.2rem 0.2rem;
}

.celeb-card h4 {
    margin-top: 0.8rem;
}

.celeb-card p {
    padding-bottom: 1.2rem;
}

/* slider */
.slider-container {
    position: relative;
    margin: 2rem 0 3rem;
}

.slider-row {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-row::-webkit-scrollbar {
    display: none;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 0.5rem;
}

.slider-controls button {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    font-size: 1.8rem;
    color: #6d60aa;
    box-shadow: 0 8px 12px #d6c9f0;
    cursor: pointer;
    transition: 0.2s;
}

.slider-controls button:hover {
    background: #e2d8ff;
}

/* testimonials old version */
.testi-card {
    background: white;
    border-radius: 38px;
    padding: 2rem;
    min-width: 200px;
    max-width: 400px;
    flex-shrink: 0;
    box-shadow: 0 18px 28px -12px #ccbfe2;
}

@media (max-width:400px) {
    .testi-card {
        max-width: 175px;
    }
}

.testi-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testi-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #f0e6ff;
}

.testi-top i {
    font-size: 2rem;
    color: #b6a3e6;
    opacity: 0.6;
}

.testi-card p {
    font-style: italic;
    margin: 0.8rem 0 0.5rem;
    padding-left: 0.5rem;
}

.testi-card h4 {
    text-align: right;
    color: #4f4580;
}

/* [2] End */

/******************************** [3] Event Page Css  */
/* section titles */
.section-title {
    font-size: 2.6rem;
    color: #35305a;
    margin: 3rem 0 2rem;
    border-bottom: 4px solid #e2d6ff;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* slider container & cards */
.slider-container {
    position: relative;
    margin: 2rem 0 3rem;
}

.slider-row {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 3rem 0.5rem 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-row::-webkit-scrollbar {
    display: none;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 0.2rem;
}

.slider-controls button {
    background: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    color: #6d60aa;
    box-shadow: 0 8px 15px #d6c9f0;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background: #e2d8ff;
    transform: scale(1.05);
}

.event-card {
    background: white;
    border-radius: 48px;
    padding: 1.8rem 1.5rem 2rem;
    min-width: 280px;
    max-width: 350px;
    flex-shrink: 0;
    box-shadow: 0 20px 30px -12px #ccbde6;
    /* border: 2px solid rgba(255, 255, 255, 0.8); */
    border: 2px solid #9b8ad53b;
    text-align: center;
}

.event-img {
    width: 100%;
    height: 170px;
    border-radius: 35px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.2rem;
    border: 3px solid white;
    margin-top: -60px;
    /* box-shadow: 0 10px 18px #d6c2f0; */
}

.event-card h3 {
    font-size: 1.5rem;
    color: #35305a;
    margin-bottom: 0.3rem;
}

.event-card .caption {
    color: #7e6fb6;
    font-size: 1.1rem;
    font-weight: 500;
}

/* learning purpose section (left content + right image) */
.learning-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
    /* background: #f9f4ff; */
    background: linear-gradient(222deg, #59efef38, transparent);
    border-radius: 70px;
    padding: 2.5rem 3rem;
}

.learning-content {
    flex: 1 1 400px;
}

.learning-content h2 {
    font-size: 2.6rem;
    color: #312d53;
    margin-bottom: 1.5rem;
}

.learning-content p {
    text-align: justify !important;
    font-size: 1.2rem;
    color: #4d4577;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.learning-points {
    list-style: none;
}

.learning-points li {
    margin: 1rem 0;
    display: block;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #4a4273;
    /* new */
    border: 2px dotted #3c8d99;
    padding: 10px;
    border-radius: 10px;
    /* outline-color: 2px red; */
    /* outline: 2px solid #8d7ac9; */
    /* outline-offset: 5px; */
    /* text-align: center; */
}

.learning-points li i {
    color: #8d7ac9;
    width: 30px;
    font-size: 1.5rem;
}

.learning-image {
    flex: 1 1 400px;
    text-align: center;
}

.learning-image img {
    max-width: 100%;
    border-radius: 60px;
    animation: floatMove 6s infinite ease-in-out;
    /* box-shadow: 0 25px 35px -15px #cabde0; */
    /* border: 4px solid white; */
}

@media (max-width:700px) {
    .learning-section {
        padding: 2rem 1.5rem;
    }
}

/* [3] End */

/* ****************************** [4] Classes Page Css */
/* class section styling */
.class-section {
    margin: 5rem 0;
}

.class-heading {
    font-size: 2.8rem;
    color: #35305a;
    margin-bottom: 2rem;
    border-bottom: 4px solid #e2d6ff;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.class-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.class-content {
    flex: 1 1 400px;
}

.class-content p {
    font-size: 1.2rem;
    color: #4d4577;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.class-points {
    list-style: none;
}

.class-points li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #4a4273;
}

.class-points li i {
    color: #8d7ac9;
    width: 30px;
    font-size: 1.5rem;
}

.class-image {
    flex: 1 1 400px;
    text-align: center;
}

.class-image img {
    max-width: 100%;
    border-radius: 60px;
    box-shadow: 0 25px 35px -15px #cabde0;
    border: 4px solid white;
}

/* alternating order: for even sections (nursery, UKG) we reverse row direction */
.class-row.reverse {
    flex-direction: row-reverse;
}

@media (max-width:700px) {
    .class-heading {
        font-size: 2.2rem;
    }
}

/* [4] End */