:root {
    --royal-blue: #2e5bc7;
    --sunshine-yellow: #ffcc00;
    --soft-red: #ff5e57;
    --fresh-green: #4cd137;
    --sky-blue-light: #e3f2fd;
    --white: #ffffff;
    --off-white: #f9fbfd;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --font-heading: 'Baloo 2', 'Hind Siliguri', cursive;
    --font-body: 'Poppins', 'Hind Siliguri', sans-serif;
    --font-ui: 'Nunito', 'Hind Siliguri', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 15px 35px rgba(46, 91, 199, 0.08);
}

/* Utility class for explicitly setting Bengali text */
.bn-text {
    font-family: 'Hind Siliguri', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* --- Top Bar --- */
.top-bar {
    background-color: var(--royal-blue);
    color: var(--white);
    padding: 10px 0;
    font-family: var(--font-ui);
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--sunshine-yellow);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.admission-badge {
    background-color: var(--soft-red);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 94, 87, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 94, 87, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 94, 87, 0);
    }
}

/* --- Main Header --- */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: padding 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 90px;
    height: 90px;
}

.logo-text h1 {
    font-size: 20px;
    color: var(--royal-blue);
    line-height: 1;
}

.logo-text h1 span {
    color: var(--soft-red);
    font-size: 22px;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 2px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu ul li a {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--sunshine-yellow);
    transition: var(--transition);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a.active {
    color: var(--royal-blue);
}

.btn-contact-nav {
    background-color: var(--royal-blue);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}

.btn-contact-nav:hover {
    background-color: var(--text-dark);
    transform: translateY(-3px);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 120px 0 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-blue-light) 0%, #ffffff 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.badge-new {
    display: inline-block;
    background-color: rgba(46, 91, 199, 0.1);
    color: var(--royal-blue);
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 91, 199, 0.2);
}

.hero-title {
    font-size: 64px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: rgba(255, 204, 0, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--royal-blue);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(46, 91, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 91, 199, 0.4);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 18px;
}

.btn-secondary i {
    font-size: 40px;
    color: var(--soft-red);
}

.btn-secondary:hover {
    color: var(--royal-blue);
}

/* Floating Cards in Hero */
.hero-floating-cards {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 10;
}

.f-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    width: 250px;
    animation: float 4s ease-in-out infinite;
}

.f-card:nth-child(2) {
    animation-delay: 2s;
    margin-left: -40px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.f-card .icon {
    width: 50px;
    height: 50px;
    background-color: var(--sky-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--royal-blue);
}

.f-card h4 {
    font-size: 18px;
    margin-bottom: 2px;
}

.f-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.sub-title {
    color: var(--soft-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.section-header h2 {
    font-size: 48px;
    margin-top: 10px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--off-white);
    padding: 40px 30px;
    border-radius: 25px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    background-color: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.f-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin-bottom: 25px;
}

.f-icon.blue {
    background-color: var(--royal-blue);
}

.f-icon.yellow {
    background-color: var(--sunshine-yellow);
}

.f-icon.green {
    background-color: var(--fresh-green);
}

.f-icon.red {
    background-color: var(--soft-red);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* --- About Section --- */
.about-section {
    padding: 150px 0 100px;
    background-color: var(--off-white);
    position: relative;
}

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

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

.wave-top .shape-fill {
    fill: var(--white);
}

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

.about-img {
    position: relative;
}

.img-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-img {
    width: 85%;
}

.sub-img {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
    border: 10px solid var(--white);
}

.experience-badge {
    position: absolute;
    top: 40px;
    right: 10%;
    background-color: var(--sunshine-yellow);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
    animation: pulse 3s infinite;
}

.experience-badge strong {
    font-size: 32px;
    display: block;
    line-height: 1;
}

.experience-badge span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.about-content h2 span {
    color: var(--royal-blue);
}

.principal-message {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    border-left: 5px solid var(--royal-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.quote-icon {
    font-size: 30px;
    color: var(--sky-blue-light);
    margin-bottom: 10px;
}

.principal-message p {
    font-style: italic;
    font-weight: 500;
    margin-bottom: 15px;
}

.principal-info strong {
    display: block;
    color: var(--royal-blue);
}

.principal-info span {
    font-size: 14px;
    color: var(--text-gray);
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-list li {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list li i {
    color: var(--fresh-green);
}

/* --- Programs Section --- */
.programs-section {
    padding: 100px 0;
    background-color: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.program-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    height: 100%;
}

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

.p-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.program-card:hover .p-img img {
    transform: scale(1.1);
}

.p-decor {
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.p-decor.yellow {
    background-color: var(--sunshine-yellow);
}

.p-decor.red {
    background-color: var(--soft-red);
}

.p-decor.blue {
    background-color: var(--royal-blue);
}

.p-decor.green {
    background-color: var(--fresh-green);
}

.p-content {
    padding: 30px;
}

.p-icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.program-card:nth-child(1) .p-icon {
    color: var(--sunshine-yellow);
}

.program-card:nth-child(2) .p-icon {
    color: var(--soft-red);
}

.program-card:nth-child(3) .p-icon {
    color: var(--royal-blue);
}

.program-card:nth-child(4) .p-icon {
    color: var(--fresh-green);
}

.program-card h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.age {
    display: block;
    font-weight: 700;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
}

.btn-learn:hover {
    color: var(--royal-blue);
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

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

.gallery-item.large {
    grid-column: span 2;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(46, 91, 199, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-heading);
}

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

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

/* --- Testimonials --- */
.testimonial-section {
    padding: 100px 0;
}

.testimonial-container {
    background: linear-gradient(135deg, var(--royal-blue) 0%, #1a3a8a 100%);
    border-radius: 50px;
    padding: 80px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
    /* Changed to visible to ensure shadows/images aren't clipped */
    min-height: 450px;
}

.hero-inner-content {
    flex: 1;
    max-width: 55%;
    /* Slightly reduced to give more space to the image */
    z-index: 2;
}

.inner-title {
    font-size: 44px;
    /* Slightly adjusted size */
    margin: 15px 0 25px;
    color: var(--white);
    line-height: 1.2;
}

.inner-title span {
    color: var(--sunshine-yellow);
}

.inner-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
}

.inner-btns {
    display: flex;
    gap: 20px;
}

.btn-yellow {
    background-color: var(--sunshine-yellow);
    color: var(--royal-blue);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--royal-blue);
}

.inner-graphic {
    flex: 0 0 40%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.inner-graphic img {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    border-radius: 20px;
    object-fit: cover;
}

.testimonial-container .section-header {
    margin-bottom: 0;
    color: var(--white);
}

.testimonial-container .section-header h2 {
    color: var(--white);
}

.t-card {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.t-content i {
    font-size: 40px;
    color: var(--sky-blue-light);
    margin-bottom: 20px;
}

.t-content p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
}

.t-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.t-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--sunshine-yellow);
}

.t-user strong {
    display: block;
    font-size: 18px;
}

.t-user span {
    font-size: 14px;
    color: var(--text-gray);
}

/* --- Admission CTA --- */
.admission-cta {
    padding: 80px 0;
}

.cta-banner {
    background: linear-gradient(135deg, var(--soft-red) 0%, #e84118 100%);
    border-radius: 40px;
    padding: 60px 80px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h2 {
    font-size: 52px;
    margin-bottom: 15px;
}

.cta-text h2 span {
    color: var(--sunshine-yellow);
}

.cta-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.cta-img {
    flex: 0 0 40%;
}

.cta-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background-color: var(--white);
    color: var(--soft-red);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


/* --- Footer --- */
.main-footer {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.footer-landscape {
    height: 300px;
    position: relative;
    background: linear-gradient(to bottom, var(--white) 0%, #e3f2fd 100%);
}

.sky-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle at center bottom, rgba(255, 204, 0, 0.2), transparent 70%);
}

.landscape-grass {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

.grass-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat-x;
}

.layer-1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 C150,90 200,60 400,80 C600,100 800,60 1000,80 C1100,90 1200,100 1200,100 L0,100 Z' fill='%234cd137'/%3E%3C/svg%3E");
    z-index: 10;
}

.layer-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 C100,80 300,90 500,70 C700,50 900,90 1100,70 C1200,60 1200,100 1200,100 L0,100 Z' fill='%2344bd32' opacity='0.6'/%3E%3C/svg%3E");
    z-index: 5;
    bottom: 10px;
    animation: sway 10s ease-in-out infinite;
}

@keyframes sway {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-20px);
    }
}

.flowers-decor {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 15;
}

.flower {
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.flower:nth-child(even) {
    background-color: var(--sunshine-yellow);
}

.landscape-trees {
    position: absolute;
    bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 100px;
    z-index: 2;
}

.tree-sil {
    width: 100px;
    height: 150px;
    background-color: var(--fresh-green);
    opacity: 0.3;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 50% 50% 0 0;
}

.birds span {
    position: absolute;
    width: 15px;
    height: 5px;
    border-bottom: 2px solid var(--text-gray);
    border-radius: 50%;
    animation: fly 20s linear infinite;
}

@keyframes fly {
    from {
        left: -50px;
        top: 50px;
    }

    to {
        left: 110%;
        top: 20px;
    }
}

.footer-content {
    background-color: var(--royal-blue);
    color: var(--white);
    padding: 40px 0 20px;
    position: relative;
    z-index: 20;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo h2 {
    font-size: 24px;
    color: var(--white);
}

.footer-logo span {
    color: var(--sunshine-yellow);
    font-weight: 700;
    letter-spacing: 2px;
}

.f-about p {
    margin: 20px 0;
    opacity: 0.8;
    font-size: 15px;
}

.f-social {
    display: flex;
    gap: 15px;
}

.f-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.f-social a:hover {
    background-color: var(--sunshine-yellow);
    color: var(--royal-blue);
}

.footer-grid h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--sunshine-yellow);
}

.f-links ul li {
    margin-bottom: 12px;
}

.f-links ul li a {
    color: var(--white);
    opacity: 0.8;
    font-size: 15px;
}

.f-links ul li a:hover {
    opacity: 1;
    padding-left: 10px;
    color: var(--sunshine-yellow);
}

.c-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.c-item i {
    color: var(--sunshine-yellow);
    font-size: 18px;
    margin-top: 5px;
}

.c-item p {
    font-size: 15px;
    opacity: 0.8;
}

.map-placeholder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 150px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.map-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 91, 199, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.6;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    background-color: var(--white);
}

.h-sub {
    font-size: 18px;
    font-style: italic;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.4;
}

.text-red {
    color: var(--soft-red);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.jcb {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    background-color: #f9fbfd;
    border: 1px solid rgba(46, 91, 199, 0.1);
    border-radius: 25px;
}

.jcb:hover {
    transform: translateY(-10px);
}

.cir-b {
    width: 120px;
    height: 120px;
    border: 3px solid var(--royal-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background-color: var(--off-white);
    transition: var(--transition);
}

.jcb:hover .cir-b {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.songs {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--royal-blue);
    margin-bottom: 15px;
}

.jean {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    padding: 10px;
}

@media (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 1024px) {

    .features-grid,
    .programs-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-floating-cards {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        z-index: 2000;
        padding: 80px 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        gap: 20px;
        align-items: flex-start;
    }

    .nav-menu ul.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 2001;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(46, 91, 199, 0.3);
        backdrop-filter: blur(5px);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

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

    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

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

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

/* --- Scroll Reveal Animations --- */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.fade-up {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

/* Staggered delays for grids */
.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Clouds Decoration --- */
.clouds-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.cloud {
    position: absolute;
    width: 200px;
    height: 60px;
    background: #fff;
    border-radius: 200px;
    opacity: 0.5;
    animation: moveClouds 30s linear infinite;
}

.cloud::after,
.cloud::before {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 100px;
}

.cloud::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 20px;
}

.cloud::before {
    width: 120px;
    height: 120px;
    top: -70px;
    right: 20px;
}

.cloud:nth-child(1) {
    top: 10%;
    left: 10%;
    transform: scale(0.6);
    animation-duration: 40s;
}

.cloud:nth-child(2) {
    top: 20%;
    right: 10%;
    transform: scale(0.8);
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes moveClouds {
    from { transform: translateX(-100px); }
    to { transform: translateX(window.innerWidth + 100px); }
}

/* Fix for moveClouds animation */
@keyframes moveClouds {
    0% { transform: translateX(-200px); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateX(100vw); opacity: 0; }
}

@media (max-width: 768px) {

    .testimonial-container {
        flex-direction: column;
        padding: 40px;
        gap: 40px;
    }

    .cta-text h2 {
        font-size: 36px;
    }
}

/* --- Admission Page Styles --- */
.text-blue { color: var(--royal-blue); }
.text-red { color: var(--soft-red); }
.bg-yellow { background-color: var(--sunshine-yellow); }

.admission-hero {
    background: linear-gradient(135deg, var(--royal-blue) 0%, #1a3a8a 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.admission-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

.admission-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.admission-intro h2 {
    font-size: 48px;
    margin-bottom: 25px;
}

.admission-intro p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.info-box {
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.info-box h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.contact-quick {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.phone-link {
    font-size: 24px;
    font-weight: 800;
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.admission-form-card {
    background: var(--white);
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.admission-form h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.admission-form p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 700;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #edf2f7;
    border-radius: 15px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
    background-color: var(--off-white);
}

.btn-red {
    background-color: var(--soft-red);
    color: var(--white);
}

.btn-red:hover {
    background-color: #e84118;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(232, 65, 24, 0.3);
}

.btn-block {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .admission-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .admission-form-card {
        padding: 40px 25px;
    }
}