/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Delay Utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Homepage Hero Video Styling */
.hero-video {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-video {
        height: 250px;
    }
}

/* Brands Video Background Styling */
.brands-video-background {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    z-index: 0;
    overflow: hidden;
    margin-top: 80px;
}

.brands-video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #f8f9fa;
}

/* Ensure Brands page content is visible over video */
.affiliated-page main {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
}

/* Mobile fixes for Our Brands page */
@media (max-width: 768px) {
    .brands-video-background {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
        z-index: 0;
        overflow: hidden;
        margin-top: 80px;
    }

    .brands-video-background video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        object-fit: contain;
        background-color: #f8f9fa;
        display: block;
        transform: none;
    }

    .affiliated-page main {
        padding-bottom: 2rem;
        min-height: auto;
    }

    .affiliated-page .container {
        padding: 0 1rem;
        text-align: center;
    }

    .affiliated-page h1,
    .affiliated-page h2,
    .affiliated-page h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .bumblebee-logo-small {
        max-width: 100px;
        height: auto;
        margin: 0 auto 1rem;
    }
}

.affiliated-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.affiliated-page section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin: 0 0 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    clear: both;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure the page header stays blue and text stays white */
.affiliated-page .page-header {
    background: #22457F !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    padding: 60px 0 !important;
    margin: 105px 0 0 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.affiliated-page .page-header .page-title,
.affiliated-page .page-header .page-subtitle {
    color: white !important;
}

.affiliated-page .main-affiliation {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin: 0 0 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Text styling for readability over video */
.affiliated-page .page-title,
.affiliated-page .page-subtitle,
.affiliated-page .section-title,
.affiliated-page h1,
.affiliated-page h2,
.affiliated-page h3,
.affiliated-page h4,
.affiliated-page p,
.affiliated-page li,
.affiliated-page span {
    color: #2c3e50;
    text-shadow: none;
    font-weight: 500;
}

.affiliated-page .page-title,
.affiliated-page .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: none;
}

.affiliated-page .page-title {
    text-shadow: none;
}

.affiliated-page .btn-primary {
    background: #22457F;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.affiliated-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 69, 127, 0.4);
}









.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: #22457F;
    /* Brand blue-pink gradient */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    /* Padding to create the floating effect */
}

.navbar {
    padding: 0;
}

.nav-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
    /* Leaves 4% space on left and right on smaller screens */
    padding: 6px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo h2 {
    color: #22457F;
    /* Brand yellow/orange base */
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
}

.logo-img {
    height: 65px;
    /* Increased to fit completely in the navbar */
    width: auto;
    object-fit: contain;
    background-color: transparent;
    padding: 0;
    mix-blend-mode: multiply;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    /* Remove gap so borders handle spacing */
    align-items: center;
}

.nav-item+.nav-item {
    border-left: 1px solid #22457F;
    margin-left: 15px;
    padding-left: 15px;
}

.nav-link {
    color: #22457F;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.2rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E0A800;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #22457F;
    transform: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding: 160px 0 100px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 70%), url('images/homepage.png') no-repeat center right/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    max-width: 100% !important;
    width: 100%;
    padding-left: 2% !important;
    /* Anchor cleanly to the left edge of the screen */
    margin-left: 0 !important;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.hero-image {
    display: none;
}

.hero-text {
    max-width: 600px;
    text-align: left;
    z-index: 2;
    margin-bottom: 80px;
    margin-left: 0;
    /* Remove hacky negative margin since container is now full width */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #E0A800;
    /* Bright bumblebee yellow/orange */
    font-weight: 600;
    margin-bottom: 1.5rem;
    max-width: 350px;
    /* Force subtitle into 2 lines */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.1rem;
    color: #f8f9fa;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 450px;
    /* Force text to wrap into more lines */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: #22457F;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.admissions-banner {
    background: #22457F;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.3);
    position: relative;
    overflow: hidden;
}

.admissions-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bhramara-name h3 {
    color: #22457F;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 0 1.5rem 0;
    position: relative;
}

.bhramara-name h3::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #22457F;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.programs-list .program-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #22457F;
}

.programs-list .program-item:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.programs-list .program-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.admission-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: none;
}

.admissions-open {
    background: #22457F;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(34, 69, 127, 0.3);
}

.admissions-open .container {
    position: relative;
    z-index: 2;
}

.floating-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Above background color */
    overflow: hidden;
}

.f-icon {
    position: absolute;
    font-size: 6rem; 
    animation: floatAround 20s linear infinite;
    opacity: 0;
    top: -15%;
}

@keyframes floatAround {
    0% {
        top: -15%;
        transform: rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 115%;
        transform: rotate(360deg) translateX(50px);
        opacity: 0;
    }
}

/* Individual icon variations - Increased speed */
.f-icon-1 { left: 8%; animation-duration: 18s; animation-delay: 0s; font-size: 8rem; color: rgba(0, 0, 0, 0.4); } /* Black Graduation Cap */
.f-icon-2 { left: 15%; animation-duration: 12s; animation-delay: 5s; font-size: 6rem; color: rgba(78, 205, 196, 0.3); } /* Cyan */
.f-icon-3 { left: 25%; animation-duration: 15s; animation-delay: 2s; font-size: 5.5rem; color: rgba(255, 230, 109, 0.3); } /* Gold */
.f-icon-4 { left: 35%; animation-duration: 20s; animation-delay: 8s; font-size: 7rem; color: rgba(162, 155, 254, 0.3); } /* Soft Purple */
.f-icon-5 { left: 45%; animation-duration: 14s; animation-delay: 1s; font-size: 9rem; color: rgba(85, 239, 196, 0.3); } /* Mint Green */
.f-icon-6 { left: 55%; animation-duration: 19s; animation-delay: 10s; font-size: 6.5rem; color: rgba(250, 177, 160, 0.3); } /* Peach */
.f-icon-7 { left: 65%; animation-duration: 17s; animation-delay: 3s; font-size: 5.8rem; color: rgba(129, 236, 236, 0.3); } /* Sky Blue */
.f-icon-8 { left: 75%; animation-duration: 13s; animation-delay: 7s; font-size: 7.5rem; color: rgba(255, 121, 121, 0.3); } /* Soft Red */
.f-icon-9 { left: 85%; animation-duration: 18s; animation-delay: 4s; font-size: 8.5rem; color: rgba(116, 185, 255, 0.3); } /* Baby Blue */
.f-icon-10 { left: 78%; animation-duration: 20s; animation-delay: 10s; font-size: 8rem; color: rgba(123, 237, 159, 0.3); } /* Light Green Book */

/* .admissions-open::before {
    content: 'ðŸŒ¸';
    position: absolute;
    top: -10px;
    left: 10%;
    font-size: 2rem;
    opacity: 0.6;
    transform: rotate(-15deg);
}

.admissions-open::after {
    content: 'ðŸŒ¸';
    position: absolute;
    top: -10px;
    right: 10%;
    font-size: 2rem;
    opacity: 0.6;
    transform: rotate(15deg);
} */

.lotus-petals {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
}

/* .lotus-petals::before,
.lotus-petals::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #22457F;
    border-radius: 50% 50% 50% 0;
    transform-origin: 0 0;
    opacity: 0.3;
}

.lotus-petals::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.lotus-petals::after {
    transform: translate(-50%, -50%) rotate(45deg);
} */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: none;
    }
}

.admissions-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    background: #22457F;
    border-radius: 50px;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.badge-text {
    background: #22457F;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(34, 69, 127, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bhramara-highlight {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.bhramara-highlight h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.highlight-line {
    width: 80%;
    height: 4px;
    background: #22457F;
    margin: 0.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(34, 69, 127, 0.3);
    position: relative;
    z-index: 1;
}

.highlight-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #22457F;
    border-radius: 3px;
    z-index: -1;
    opacity: 0.6;
}

.admissions-info {
    margin-bottom: 2rem;
}

.admissions-year {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.year-badge {
    background: #22457F;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    box-shadow: 0 5px 15px rgba(34, 69, 127, 0.3);
}

.admissions-year h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
    font-weight: bold;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #22457F;
}

.program-card:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.program-details h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.program-details p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.admissions-btn {
    background: #22457F;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(34, 69, 127, 0.4);
}

.admissions-btn:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(34, 69, 127, 0.5);
}

.hero-building.about-img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-building-img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: translateY(-100px);
}

.hero-building-img:hover {
    transform: translateY(-100px) scale(1.02);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #22457F;
    color: white;
}

.btn-primary:hover {
    background: #1a3664;
    color: #E0A800;
}

.btn-outline {
    background: transparent;
    border: 2px solid #22457F;
    color: #22457F;
}

.btn-outline:hover {
    background: #22457F;
    color: white;
}

.btn-primary {
    background: #22457F;
    color: white;
}



.btn-secondary {
    background: #e67e22;
    color: white;
}

.btn-secondary:hover {
    background: #d35400;
}



/* Admissions Open Section */
.admissions-open {
    padding: 60px 0;
    /* Normal mobile padding */
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: auto;
    /* Reset height for mobile */
    background-color: #ffffff !important;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .admissions-open {
        padding: 100px 0;
        position: relative;
        overflow: visible;
        width: 100%;
        min-height: 600px;
    }

    .admissions-open::after {
        display: none;
    }
}

.admissions-open .container {
    text-align: left;
}

.admissions-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.admissions-image {
    max-width: 350px;
}

.admissions-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* IMPORTANT */
    border-radius: 15px;
}

.admissions-image img:hover {
    transform: translateY(-5px);
}

.admissions-card-big {
    min-width: 300px;
    max-width: 500px;
}

.admissions-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.admissions-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.admissions-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(34, 69, 127, 0.2);
    transition: transform 0.3s ease;
}

.admissions-img:hover {
    transform: translateY(-5px);
}


.admissions-card-big {
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    background: #22457F;

    /* INITIAL STATE: Slide from Left */
    opacity: 0;
    transform: translateX(-150px) rotate(-2deg);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, opacity;
}

.admissions-card-big:hover {
    transform: rotate(0deg) scale(1.02) !important;
}

.admissions-card-big.active {
    opacity: 1 !important;
    transform: translateX(0) rotate(-2deg) !important;
}

.admissions-card-big::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: #22457F;
    z-index: -1;
}

/* Staggered Internal Elements - Sped up delays */
.admissions-card-big .home-admissions-logo,
.admissions-card-big .admissions-title,
.admissions-card-big .admissions-subtitle,
.admissions-card-big .highlight-item,
.admissions-card-big .admissions-buttons {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease-out;
}

.admissions-card-big.active .home-admissions-logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.admissions-card-big.active .admissions-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.admissions-card-big.active .admissions-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.admissions-card-big.active .highlight-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.admissions-card-big.active .admissions-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.admissions-card-big::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #22457F, #667eea, #22457F);
    z-index: -1;
    opacity: 0.3;
}

.home-admissions-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    mix-blend-mode: screen;
}

@media (max-width: 768px) {
    .home-admissions-logo {
        width: 120px;
        height: 120px;
    }
}

.admissions-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.admissions-subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.admissions-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: white;
    justify-content: center;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: white;
    color: #22457F;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.admissions-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.admissions-card-big {
    transform: rotate(-2deg);
}

/* Responsive for Admissions Section */
@media (max-width: 768px) {
    .admissions-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .admissions-image {
        max-width: 90%;
    }

    .admissions-card-big {
        max-width: 90%;
        padding: 2rem 1.5rem;
        /* Slide in from left initial state */
        opacity: 0;
        transform: translateX(-100px) rotate(0deg);
        transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .admissions-card-big.active {
        opacity: 1 !important;
        transform: translateX(0) rotate(0deg) !important;
    }

    /* Admissions Section - Clean Minimalist Style */
    .admissions-open {
        position: relative;
        background: #ffffff;
        padding: 100px 0;
    }

    .admissions-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .admissions-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .admissions-highlights {
        margin-bottom: 1.5rem;
        gap: 0.8rem;
        align-items: flex-start;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .highlight-item {
        justify-content: flex-start;
        text-align: left;
    }

    .admissions-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .admissions-buttons .btn {
        width: auto;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        max-width: none;
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #22457F;
    border-radius: 2px;
}

.scroll-hint-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: #22457F;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: -1rem;
    margin-bottom: 2.5rem;
}

.scroll-hint-center i {
    animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

/* Mission Section */
.mission {
    background: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22457F;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: #22457F;
    color: white;
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 10px;
}

.mission-grid {
    display: flex;
    gap: 2rem;
    padding: 1rem 0.5rem 20px;
    /* added 20px bottom padding */
    margin-bottom: 0;
    /* removed negative margin to fix white gap */
    scroll-snap-type: x mandatory;
    scroll-padding: 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

/* iPhone mission cards white gap fix */
@media (max-width: 768px) {
    .mission-grid {
        padding: 1rem 0.5rem 10px !important;
        margin-bottom: 0 !important;
        gap: 1.5rem !important;
    }

    /* Activity gallery mobile fix */
    .photo-grid {
        padding: 1rem !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    .photo-item {
        flex: 1 1 auto !important;
        min-width: 200px !important;
        max-width: none !important;
        height: auto !important;
        overflow: visible !important;
        margin: 0.5rem !important;
    }

    .activity-photo {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        overflow: visible !important;
        max-height: none !important;
        min-height: none !important;
    }
}

.mission-grid::-webkit-scrollbar {
    display: none;
}

/* 3D Flip Card Styles */
.mission-card-flip {
    flex: 0 0 320px;
    /* Prevent shrinking and enforce width for scrolling */
    background-color: transparent;
    height: 320px;
    perspective: 1000px;
    cursor: pointer;
    scroll-snap-align: start;
}

.mission-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
}

.mission-card-flip:hover .mission-card-inner,
.mission-card-flip.forced-flip .mission-card-inner {
    transform: rotateY(180deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.mission-card-front,
.mission-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mission-card-front {
    background-color: white;
    border: 2px solid #22457F;
    /* Blue border */
}

.mission-card-front h3 {
    font-size: 1.6rem;
    color: #22457F;
    font-weight: 700;
    margin-top: 1.5rem;
}

.mission-card-front .mission-icon {
    width: 90px;
    height: 90px;
    background: transparent;
    border: 3px solid #22457F;
    border-radius: 20px;
    /* Squarish rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3.5rem;
}

.mission-card-back {
    background-color: #e31837;
    /* Red background */
    color: white;
    transform: rotateY(180deg);
    border: 2px solid #e31837;
}

.mission-card-back p {
    color: white;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
}


/* Affiliation Section */
.affiliation {
    background: #f8f9fa;
}

.affiliation-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.affiliation-logo {
    width: 150px;
    height: 150px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto;
}

.bumblebee-logo-small {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 50%;
}

.affiliation-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.affiliation-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Stats Section */
.stats {
    background: #22457F;
    color: white;
}

/* History Timeline */
.history {
    padding: 80px 0;
    background: white;
    position: relative;
}

.journey-photo {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 300px;
    height: auto;
    overflow: visible;
}

/* Mobile Journey Photos Fix */
@media (max-width: 768px) {
    .journey-photo {
        width: 100% !important;
        max-width: none !important;
        height: 200px !important;
        margin-bottom: 2rem !important;
        overflow: visible !important;
    }

    .journey-photo img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: contain !important;
    }
}

.journey-img {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Programs Section Flip Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card-flip {
    background-color: transparent;
    height: 420px;
    perspective: 1000px;
    cursor: pointer;
}

.program-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-card-flip:hover .program-card-inner,
.program-card-flip.forced-flip .program-card-inner {
    transform: rotateY(180deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.program-card-front,
.program-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.program-card-front {
    background-color: white;
    border: 2px solid #22457F;
}

.program-card-front .program-age {
    background: #E8F1F8;
    color: #22457F;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.program-card-front h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.program-card-front p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22457F;
    font-weight: bold;
}

.program-card-back {
    background-color: #ffffff;
    transform: rotateY(180deg);
    padding: 0;
    /* No padding so image covers fully */
    overflow: hidden;
    border: 2px solid #22457F;
}

.program-back-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ffffff;
    border-radius: 18px;
    /* Slightly less than container to fit inside border */
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid #22457F;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(34, 69, 127, 0.2);
    border-color: #E0A800;
}

.gallery-item:active,
.gallery-item:focus {
    outline: none;
    border: none;
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.3);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #fff;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Remove any default purple focus styles */
.gallery-item:focus-visible {
    outline: 2px solid #22457F;
    outline-offset: 2px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(34, 69, 127, 0.9) 0%, rgba(34, 69, 127, 0.9) 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.stats .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Inquiry Form Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-header {
    background: #22457F;
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.popup-close:hover {
    transform: scale(1.1);
}

.popup-content {
    padding: 30px;
}

.inquiry-form .form-group {
    margin-bottom: 20px;
}

.inquiry-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: #22457F;
    box-shadow: 0 0 0 3px rgba(34, 69, 127, 0.1);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: #22457F;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #1a3a6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 69, 127, 0.3);
}

/* Mobile Responsive Popup */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        margin: 20px;
    }

    .popup-header {
        padding: 15px;
    }

    .popup-header h3 {
        font-size: 1.3rem;
    }

    .popup-content {
        padding: 20px;
    }

    .inquiry-form input,
    .inquiry-form select,
    .inquiry-form textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-intro {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.policy-intro p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    color: #22457F;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E0A800;
}

.policy-section h3 {
    color: #22457F;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #22457F;
}

.contact-info p {
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-info p:first-child {
    color: #22457F;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Responsive Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 40px 0;
    }

    .policy-content {
        padding: 25px;
        margin: 0 15px;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }

    .contact-info {
        padding: 15px;
    }
}

/* Footer */
.footer {
    background: #E0A800;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.footer-brand h3 {
    margin-bottom: 0 !important;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.2rem;
    color: #22457F;
    /* Headings in brand blue */
    font-weight: 600;
    /* Make footer headings bold */
}

.contact-heading {
    display: block;
}

.footer-section i {
    color: #22457F;
    /* Icons in brand blue */
    width: 20px;
    /* Ensure icons align nicely */
    height: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 4px;
    margin-top: 3px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22457F;
}

.footer-section p,
.footer-contact li {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    line-height: 1.6;
    margin-top: 0;
}

@media (max-width: 768px) {
    .footer-contact li {
        margin-bottom: 0.4rem !important;
        /* Reduced gap between mobile number and email */
    }
}


@media (min-width: 769px) {
    .contact-heading {
        margin-left: -80px; /* Shifted more left for desktop only */
    }
}

.footer-contact {
    list-style: none;
    padding: 0 0 0 60px !important; /* Larger shift to the right for desktop */
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-contact li:nth-child(3) {
    gap: 10px !important;
}



.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: #22457F;
    margin: 0;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #22457F;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #22457F;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
}

.mobile-hero-image {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        /* Adjust for taller header */
        flex-direction: column;
        background: #22457F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-item+.nav-item {
        border-left: none;
        /* Remove vertical separators on mobile */
        margin-left: 0;
        padding-left: 0;
        margin-top: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        height: 4px !important;
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        width: 120px !important;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-hero-image {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 80px;
        /* Offset for fixed header */
    }

    .hero {
        background: #22457F !important;
        padding: 0 0 30px 0 !important;
        /* Remove top padding since image is handling it */
        min-height: auto !important;
        display: block !important;
        /* Stack image and text naturally */
    }

    .hero-text {
        margin-bottom: 20px !important;
    }

    .hero-content {
        padding-top: 2rem;
        /* Spacing between image and text */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-placeholder {
        height: 300px;
    }

    .affiliation-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        width: 100%;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        flex: 0 1 auto;
        min-width: 140px;
        max-width: calc(50% - 0.5rem);
        text-align: center;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-buttons .btn:nth-child(3) {
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 0.5rem;
    }

    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    .gallery-overlay {
        transform: translateY(0) !important;
    }

    /* Prevent activity images from cutting on mobile */
    .gallery-item img {
        object-fit: contain !important;
        background-color: #f8f9fa;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile contact page fixes */

    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .contact-details {
        order: 1 !important;
    }

    .contact-form-section {
        order: 2 !important;
        width: 100% !important;
        padding: 1rem !important;
        margin-top: 2rem !important;
        display: block !important;
        clear: both !important;
        float: none !important;
    }

    .contact-info {
        order: 1 !important;
        width: 100% !important;
    }

    .contact-form-section {
        margin-top: 3rem !important;
        border-top: 2px solid #eee !important;
        padding-top: 2rem !important;
    }

    .contact-form {
        padding: 1.5rem !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    .faq-item {
        margin-bottom: 1rem !important;
    }

    .map-container iframe {
        height: 300px !important;
    }

    /* Ensure contact form is below on all mobile sizes */
    .contact-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .contact-details {
        order: 1 !important;
        width: 100% !important;
        flex: none !important;
        text-align: center !important;
    }

    .contact-form-section {
        order: 2 !important;
        width: 100% !important;
        flex: none !important;
        margin-top: 2rem !important;
        padding: 1rem !important;
        border-top: 1px solid #eee !important;
    }
}

@media (max-width: 480px) {

    /* Phone-specific contact form fixes */
    .contact-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .contact-details {
        order: 1 !important;
        width: 100% !important;
        flex: none !important;
        text-align: center !important;
    }

    .contact-form-section {
        order: 2 !important;
        width: 100% !important;
        flex: none !important;
        margin-top: 2rem !important;
        padding: 1rem !important;
        border-top: 1px solid #eee !important;
    }
}

/* Page Header Styles */
.page-header {
    margin-top: 105px;
    /* Increased to clear the taller floating navbar */
    padding: 60px 0;
    background: #22457F;
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-hero {
    background: white;
    width: 100%;
}

.about-content {
    padding: 120px 0;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.philosophy-list {
    list-style: none;
    margin: 1.5rem 0;
}

.philosophy-list li {
    color: #666;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
}

.philosophy-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #22457F;
    font-weight: bold;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #22457F;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: none;
}

/* Values Section */
.values {
    background: #f8f9fa;
    padding: 40px 0;
    position: relative;
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.12);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: #E0A800;
    color: #22457F;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.value-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.8;
}

/* Admissions Open Section */
.admissions-open {
    background: white;
    padding: 80px 0;
    position: relative;
}

.admissions-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.admissions-logo {
    margin-bottom: 2rem;
}

.admissions-logo-img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    background-color: transparent;
    padding: 15px;
    border-radius: 20px;
    mix-blend-mode: multiply;
}

.admissions-text {
    margin-bottom: 2rem;
}

.admissions-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.admissions-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.admissions-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    background: #22457F;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 69, 127, 0.15);
}

.info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    color: #666;
    margin: 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #22457F;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 69, 127, 0.15);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #22457F;
}

.hero-features {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 650px;
    left: 5%;
    gap: 20px;
}

.feature-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(34, 69, 127, 0.1);
    border: 2px solid #22457F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-circle:hover {
    background: rgba(34, 69, 127, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.feature-circle:nth-child(2) {
    z-index: 3;
}

.feature-circle:nth-child(3) {
    z-index: 2;
}

.feature-circle-emoji {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.feature-circle-text {
    color: #22457F;
    font-weight: 500;
    font-size: 0.6rem;
    line-height: 1.1;
}

/* Hide hero features on mobile and tablet */
@media (max-width: 1024px) {
    .hero-features {
        display: none;
    }
}

.admissions-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.admissions-buttons .btn {
    background: white;
    color: #22457F;
    padding: 0.5rem 1.5rem;
    border: 2px solid #22457F;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admissions-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 69, 127, 0.4);
    background: #22457F;
    color: white;
    border: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #22457F;
    transform: translateX(-50%);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #22457F;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin: 2rem 0;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-marker {
    position: absolute;
    right: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    margin-left: 50%;
}

.timeline-item:nth-child(even) .timeline-marker {
    position: absolute;
    left: -15px;
    right: auto;
    transform: none;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: #22457F;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.12);
}

.team-member:hover .member-photo {
    transform: scale(1.05);
}

.member-photo {
    width: 180px;
    height: 180px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    overflow: hidden;
}

.team-member h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-position {
    color: #22457F;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.8;
}

/* Affiliation Page Styles */
.main-affiliation {
    padding: 80px 0;
    background: white;
}

.affiliation-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive for Affiliation Hero */
@media (max-width: 768px) {
    .affiliation-hero {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        max-width: 100%;
        padding: 0 1rem;
    }

    .affiliation-logo-large {
        order: -1;
        margin-bottom: 1rem;
    }

    .affiliation-details {
        text-align: center;
    }
}

.affiliation-logo-large {
    width: 200px;
    height: 200px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bumblebee-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
}

.affiliation-details h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.affiliation-tagline {
    font-size: 1.2rem;
    color: #22457F;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.affiliation-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.affiliation-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.affiliation-highlights .highlight-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    color: #4a5568;
    font-weight: 500;
}

.affiliation-highlights .highlight-item i {
    color: #22457F;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.affiliation-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.partnership {
    background: #f8f9fa;
    padding: 80px 0;
}

.partnership .container {
    text-align: center;
}

.partnership .section-title {
    margin-bottom: 1.5rem;
}

.partnership .container>p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive for Partnership Grid */
@media (max-width: 768px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.partnership-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.12);
}

.partnership-card:hover .partnership-icon {
    transform: scale(1.1);
    background: #E0A800;
    color: #22457F;
}

.partnership-icon {
    width: 60px;
    height: 60px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.programs {
    background: white;
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Responsive for Programs Grid */
@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.program-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: auto;
}

.program-card:hover {
    border-color: #22457F;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: none;
}

.program-age {
    background: #22457F;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.program-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.program-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
}

.program-features li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.program-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #22457F;
    font-weight: bold;
}

/* Contact Affiliation Section */
.contact-affiliation {
    background: #f8f9fa;
    padding: 80px 0;
}

/* FINAL CONTACT FIX */
/* FINAL CLEAN CONTACT CSS */

.contact-info {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

@media (max-width: 767px) {
    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        order: 2;
    }

    .contact-details h2 {
        margin-bottom: 0.8rem;
        text-align: left;
        white-space: nowrap;
    }

    .contact-details p {
        margin-bottom: 0.8rem;
        text-align: left;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 0.5rem;
    }

    .contact-item .contact-icon {
        width: 50px;
        height: 50px;
        background: #22457F;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
        font-size: 24px;
    }
}

.contact-form-section {
    flex: 1;
    min-width: 0;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #22457F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
    min-width: 0;
}

.contact-text h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.contact-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.contact-form-section {
    grid-column: 2;
    align-self: start;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-text {
    flex: 1;
}

.contact-item i {
    color: #22457F;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22457F;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #22457F;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.testimonial-video {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: contain;
    background: #f5f5f5;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    filter: contrast(1.1) brightness(1.05);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.12);
    border-color: #E0A800;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Administration Page Styles */
.leadership {
    background: white;
    padding: 80px 0;
}

.leadership-grid {
    display: grid;
    gap: 3rem;
}

.affiliation-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(34, 69, 127, 0.05);
}

.affiliation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 69, 127, 0.12);
}

.leadership-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 180px;
    height: 180px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin: 0 auto;
}

.member-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-position {
    color: #22457F;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-education,
.member-experience {
    color: #666;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: #666;
    line-height: 1.8;
    margin: 1rem 0;
}

.member-contact {
    color: #22457F;
    font-size: 0.9rem;
}

.departments {
    background: #f8f9fa;
    padding: 80px 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.department-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.department-icon {
    width: 80px;
    height: 80px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.department-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.department-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.department-functions {
    list-style: none;
    margin-bottom: 1.5rem;
}

.department-functions li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.department-functions li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #22457F;
    font-weight: bold;
}

.department-head {
    color: #22457F;
    font-weight: 500;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.faculty {
    background: white;
    padding: 80px 0;
}

.faculty-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faculty-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faculty-category h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.faculty-list {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.faculty-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.faculty-item:last-child {
    border-bottom: none;
}

.faculty-item i {
    width: 40px;
    height: 40px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.faculty-details h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.faculty-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.policies {
    background: #f8f9fa;
    padding: 80px 0;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.policy-card {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 69, 127, 0.15);
}

.policy-icon {
    width: 80px;
    height: 80px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.policy-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.policy-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-admin {
    background: white;
    padding: 80px 0;
}

/* Contact Affiliation Section */
.contact-affiliation {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-affiliation .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Responsive for Contact Affiliation Section */
@media (max-width: 768px) {
    .contact-affiliation .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .contact-affiliation .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Ensure contact info comes first, then form */
    .contact-affiliation .contact-info {
        order: 1;
    }

    /* Move Bumblebee Preschool title more to right in mobile */
    .contact-affiliation .contact-info h3 {
        margin-left: 35px !important;
    }

    .contact-affiliation .contact-form {
        order: 2;
        width: 100%;
    }

    /* Ensure form takes full width on mobile */
    .contact-affiliation .contact-form form {
        width: 100%;
    }

    .contact-affiliation .contact-form .form-group {
        width: 100%;
    }

    .contact-affiliation .contact-form input,
    .contact-affiliation .contact-form select,
    .contact-affiliation .contact-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-affiliation .contact-form button {
        width: 100%;
        max-width: 100%;
    }
}

/* Contact Item Styles for Affiliated Page */
.contact-affiliation .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 15px;
    margin-bottom: 8px;
}

.contact-affiliation .contact-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    text-align: center;
    color: #22457F;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-affiliation .contact-item div {
    flex: 1;
    min-width: 0;
}

.contact-affiliation .contact-item h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.contact-affiliation .contact-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* Move Bumblebee Preschool title more to right */
.contact-affiliation .contact-info h3 {
    margin-left: 0;
    margin-bottom: 15px;
    color: #22457F;
}

/* Make contact info a clean white card for visibility */
.contact-affiliation .contact-info {
    margin-bottom: 0;
    background: white !important;
    padding: 2rem !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.contact-affiliation .contact-item i {
    color: #22457F !important;
}

.contact-affiliation .contact-info h4,
.contact-affiliation .contact-info p {
    color: #2c3e50 !important;
}

.contact-affiliation .contact-info p {
    margin-bottom: 5px;
}

/* Registration Section */
/* .admissions-open {
background: white;
padding: 80px 0;
} */

.admissions-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.registration-form h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions button {
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.registration-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.registration-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-option {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-option .contact-icon {
    margin: 0 auto 1.5rem auto;
}

.contact-option h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-option p {
    color: #666;
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-info {
    padding: 80px 0;
    background: white;
    position: relative;
}


.contact-details .contact-item {
    width: 100%;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-details h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-details p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-text h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #666;
    line-height: 1.8;
}

.map-container {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.address-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}


.map-link {
    margin-top: 0.5rem;
    text-align: center;
}

.map-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 6px 12px;
    background: #22457F;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.map-link .btn:hover {
    transform: none;
}

.contact-form-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 0;
}

.map-container {
    margin-bottom: 3rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #22457F;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.directions h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.direction-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .direction-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.direction-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.direction-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(34, 69, 127, 0.1);
}

.direction-item i {
    color: #22457F;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.direction-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.direction-item p {
    color: #666;
    line-height: 1.6;
}

.faq {
    background: white;
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e8eaf6;
    padding-left: 2rem;
}

.faq-question:hover h3 {
    color: #22457F;
}

.faq-question h3 {
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #22457F;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: none;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1rem 1.5rem;
    display: block;
}

.emergency {
    background: #f8f9fa;
    padding: 80px 0;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.emergency-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #22457F;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: #22457F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.emergency-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.emergency-number {
    font-size: 1.8rem;
    color: #22457F;
    font-weight: 700;
    margin-bottom: 1rem;
}

.emergency-card p {
    color: #666;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #22457F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        height: 4px !important;
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        width: 120px !important;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-placeholder {
        height: 300px;
    }

    .affiliation-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 15px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-marker {
        left: 15px;
    }

    .affiliation-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leadership-member {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .member-photo {
        margin: 0 auto;
    }

    .faculty-categories {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Desktop Registration Grid Styles */
.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

.registration-form,
.registration-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .registration-grid {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .registration-form {
        width: 100% !important;
        margin-bottom: 2rem !important;
    }

    .registration-info {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .registration-grid {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .registration-form {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }

    .registration-info {
        width: 100% !important;
    }

    .hero {
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    .hero-buttons .btn {
        display: inline-block !important;
        flex: 0 1 auto !important;
        min-width: 120px !important;
        max-width: calc(50% - 0.375rem) !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero-buttons .btn:nth-child(3) {
        max-width: 100% !important;
        flex-basis: 100% !important;
        margin-top: 0.5rem !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image {
        order: 1;
    }

    .about-img {
        max-width: 100%;
        height: auto;
    }

    .affiliation-details h2 {
        font-size: 2rem;
    }

    .affiliation-highlights {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .affiliation-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
        /* Added side padding so text doesn't touch edges */
    }

    .affiliation-details {
        padding: 0 10px;
    }

    .affiliation-description {
        text-align: justify;
    }

    .affiliation-actions {
        justify-content: center;
    }

    .affiliation-logo-large {
        order: -1;
    }

    .bumblebee-logo {
        max-width: 150px;
        height: auto;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-card {
        text-align: center;
        margin: 0;
        /* Removed extra side margins to increase width */
    }

    .contact-affiliation .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leadership-member {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    /* Ensure registration form comes first, then info */
    .registration-form {
        order: 1;
        width: 100%;
    }

    .registration-info {
        order: 2;
        width: 100%;
    }

    /* Ensure form takes full width on mobile */
    .registration-form form {
        width: 100%;
    }

    .registration-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .registration-form .form-group {
        width: 100%;
    }

    .registration-form input,
    .registration-form select,
    .registration-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .registration-form .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .registration-form .form-actions button {
        width: 100%;
        max-width: 100%;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-details {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .direction-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .contact-details h2,
    .contact-form-section h2 {
        font-size: 1.5rem;
    }

    .contact-info {
        padding: 1rem !important;
    }

    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .contact-details {
        text-align: center !important;
    }

    .contact-form-section {
        width: 100% !important;
        padding: 0.5rem !important;
        margin-top: 2rem !important;






    }

    .contact-form {
        padding: 1rem !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form form {
        width: 100% !important;
    }

    .form-group {
        margin-bottom: 1rem !important;
        width: 100% !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form button {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    .contact-icon {
        margin-bottom: 0.5rem !important;
    }

    .faq-item {
        margin-bottom: 1rem !important;
    }

    .faq-question h3 {
        font-size: 1rem !important;
    }

    .faq-answer p {
        font-size: 0.9rem !important;
    }

    .map-section {
        padding: 2rem 0 !important;
    }

    .map-container iframe {
        height: 250px !important;
    }

    /* Add proper spacing for Find Us section */
}

/* Kids Activities Section */
.kids-activities {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(34, 69, 127, 0.05) 0%, rgba(34, 69, 127, 0.05) 100%);
}

.kids-activities .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #666;
    font-size: 1.1rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.video-gallery h3,
.photo-gallery h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #22457F;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 1.5rem 30px 0;
    margin-bottom: -20px;
}

.video-grid::-webkit-scrollbar {
    display: none;
}

.video-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 300px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: 0 10px 30px rgba(34, 69, 127, 0.2);
    border: 2px solid #22457F;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 69, 127, 0.3);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
}

.activity-video {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #000;
    border-radius: 15px 15px 0 0;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 1rem;
    padding-top: 2rem;
    background: linear-gradient(135deg, rgba(34, 69, 127, 0.2) 0%, rgba(34, 69, 127, 0.3) 100%);
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.play-button-overlay:hover {
    background: linear-gradient(135deg, rgba(34, 69, 127, 0.4) 0%, rgba(34, 69, 127, 0.5) 100%);
}

.play-button-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.play-button-overlay.playing {
    opacity: 0.6;
    pointer-events: auto;
}

.play-button-overlay i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    transform: scale(1);
}

.play-button-overlay:hover i {
    transform: scale(1.1);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.play-button-overlay.playing i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.video-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
}

.menu-dots {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.menu-dots:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    border-color: white;
}

.menu-dots i {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.menu-dropdown {
    position: absolute;
    top: 2rem;
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    max-height: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: visible;
}

.menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: rgba(34, 69, 127, 0.1);
}

.menu-item:first-child:hover {
    border-radius: 0.5rem 0.5rem 0 0;
}

.menu-item:last-child:hover {
    border-radius: 0 0 0.5rem 0.5rem;
}

.menu-item i {
    color: #22457F;
    font-size: 0.9rem;
    width: 1rem;
}

.menu-item span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    cursor: pointer;
    z-index: 3;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 4;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.control-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.control-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.play-pause-btn {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.play-pause-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.play-pause-btn i {
    color: white;
    font-size: 0.8rem;
}

.video-progress {
    flex: 1;
    max-width: 200px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-filled {
    height: auto;
    background: #22457F;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.video-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    min-width: 80px;
}

.current-time {
    color: white;
}

.total-time {
    color: rgba(255, 255, 255, 0.8);
}

.divider {
    color: rgba(255, 255, 255, 0.6);
}

.volume-control {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.volume-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.volume-control i {
    color: white;
    font-size: 0.8rem;
}

.fullscreen-control {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.fullscreen-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.fullscreen-control i {
    color: white;
    font-size: 0.8rem;
}

.video-menu {
    position: relative;
}

.video-caption {
    display: none;
}

/* Base Three Dots Styling for Desktop */
.three-dots {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.three-dots:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    border-color: white;
}

.three-dots i {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* Video Dropdown Menu Styling */
.video-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.video-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(34, 69, 127, 0.08) 0%, rgba(34, 69, 127, 0.08) 100%);
    transform: translateX(4px);
}

.dropdown-item:first-child:hover {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child:hover {
    border-radius: 0 0 12px 12px;
}

.dropdown-item:active {
    transform: translateX(2px) scale(0.98);
}

.dropdown-item i {
    color: #22457F;
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dropdown-item:hover i {
    color: #F57F17;
    transform: scale(1.1);
}

.dropdown-item span {
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    flex: 1;
}

.dropdown-item:hover span {
    color: #1a202c;
}

.photo-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 1.5rem 30px 0;
    margin-bottom: -20px;
}

.photo-grid::-webkit-scrollbar {
    display: none;
}

.photo-item {
    flex: 1 1 auto;
    /* Allow natural sizing */
    min-width: 280px;
    /* Larger width for face visibility */
    max-width: none;
    /* Remove max width constraint */
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: visible;
    border: 2px solid #22457F;
    box-shadow: 0 10px 30px rgba(34, 69, 127, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0.5rem;
    /* Add margin for spacing */
    padding: 1rem;
    /* Add padding for face visibility */
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 69, 127, 0.3);
}

.activity-photo {
    width: 100%;
    height: 220px;
    /* larger height to prevent excessive cropping */
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.photo-caption {
    background: #22457F;
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    position: relative;
    width: 100%;
}

.activities-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(34, 69, 127, 0.1);
    line-height: 1.8;
    color: #555;
}

/* Responsive for Kids Activities */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        width: 100%;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    .activity-photo {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        object-fit: contain !important;
        object-position: center !important;
        background-color: #f8f9fa !important;
        padding: 15px !important; /* Internal padding to prevent cutting balls/content */
        box-sizing: border-box !important;
    }

    .photo-item {
        width: 100%;
        margin: 0;
    }

    .activity-video {
        height: 200px;
    }


    .video-caption,
    .photo-caption {
        font-size: 0.8rem;
        padding: 1rem 0.8rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .photo-item {
        width: 100%;
        margin: 0;
    }


    .activities-description {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Comprehensive Responsive Design for All Screen Sizes */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }

    /* Show hamburger on tablets for better UX */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #22457F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }
}

/* Responsive for Gallery Section */
@media (max-width: 768px) {
    .gallery {
        padding: 0 !important;
        margin-top: -80px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 1rem !important;
        margin-top: 0 !important;
    }

    .gallery-item {
        position: relative !important;
        width: 100% !important;
        height: 250px !important;
        margin: 0 !important;
        display: block !important;
        background: #22457F !important;
        border-radius: 15px !important;
        padding: 0 !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden !important;
    }

    .gallery-img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 15px !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden !important;
    }

    .gallery-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 1rem !important;
        background: #22457F !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: left !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 15px !important;
        border-bottom-right-radius: 15px !important;
    }

    .gallery-overlay h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
        color: white !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .gallery-overlay p {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }

}


/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 100%;
        margin: 2rem auto 0;
        text-align: center;
    }

    .hero-img {
        max-width: 100%;
        height: auto;
    }

    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
        margin: 2rem auto 0;
    }

    .hero-buttons {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    .hero-buttons .btn {
        display: inline-block !important;
        flex: 0 1 auto !important;
        min-width: 130px !important;
        max-width: calc(50% - 0.5rem) !important;
        text-align: center !important;
        font-size: 0.9rem !important;
        padding: 0.8rem 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-logo img {
        width: 40px;
        height: 40px;
    }

    .nav-logo h2 {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-control {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Large Mobile Phones */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-control {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .nav-logo img {
        width: 35px;
        height: 35px;
    }

    .nav-logo h2 {
        font-size: 0.9rem;
    }

    /* Button responsiveness for tablets */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.6rem 1.2rem;
    }

    .btn-secondary {
        padding: 0.6rem 1.2rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 100%;
        margin: 2rem auto 0;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
        margin: 2rem auto 0;
    }

    .hero-buttons {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    .hero-buttons .btn {
        display: inline-block !important;
        flex: 0 1 auto !important;
        min-width: 120px !important;
        max-width: calc(50% - 0.375rem) !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        margin: 0.5rem;
        display: inline-block;
    }

    .section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-form {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 1rem;
        width: 100%;
    }

    .form-control {
        padding: 0.6rem;
        font-size: 0.8rem;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-logo {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 0.5rem !important;
    }

    .logo-img {
        height: 30px !important;
    }

    .nav-logo h2 {
        font-size: 0.75rem !important;
    }

    .footer-content {
        padding: 2rem 0;
    }

    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.8rem;
        text-align: center;
    }

    /* Fix mobile alignment issues */
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    /* Previous mobile hero rules removed */

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    /* Fix grid layouts on mobile */
    .features-grid,
    .testimonials-grid,
    .video-grid,
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .feature-card,
    .testimonial-card,
    .video-item,
    .photo-item {
        width: 100%;
        margin: 0;
    }

    /* Fix navigation on mobile */
    .header {
        padding: 6px 0 !important;
    }

    .navbar {
        padding: 0 !important;
    }

    .nav-container {
        padding: 5px 12px !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .bar {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.5rem;
    }

    /* Fix sections on mobile */
    .section-content {
        padding: 1rem;
        text-align: center;
    }

    .section-description {
        text-align: center;
        margin-bottom: 2rem;
    }

    /* Fix cards on mobile */
    .card,
    .info-card,
    .activity-card {
        width: 100%;
        margin: 0 0 1rem 0;
        text-align: center;
    }

    /* Fix forms on mobile */
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-col {
        width: 100%;
    }

    /* Fix images on mobile */
    img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    /* Fix text alignment on mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        text-align: center;
        margin-bottom: 1rem;
    }

    p {
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Card responsiveness improvements */
    .card {
        margin: 0.5rem 0;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .activities-card {
        margin: 0.5rem 0;
        padding: 1rem;
        width: 100%;
    }

    .admissions-card {
        margin: 0.5rem 0;
        padding: 1rem;
        width: 100%;
    }

    .contact-card {
        margin: 0.5rem 0;
        padding: 1rem;
        width: 100%;
    }

    .emergency-card {
        margin: 0.5rem 0;
        padding: 1rem;
        width: 100%;
    }

    /* Grid responsiveness improvements */
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Fix lists on mobile */
    ul,
    ol {
        text-align: left;
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

    li {
        margin-bottom: 0.5rem;
        text-align: left;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .container {
        padding: 0 0.5rem;
    }

    .contact-form {
        padding: 0.8rem;
    }

    .form-control {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .nav-logo h2 {
        font-size: 0.7rem;
    }

    .activities-description {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .nav-logo h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 2.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Grid improvements for large screens */
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Card improvements for large screens */
    .card {
        padding: 2rem;
    }

    .activities-card {
        padding: 2rem;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
}


/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
    }

    .section {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* Responsive Design for Video Components */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .video-wrapper {
        height: 250px;
    }

    .video-controls {
        padding: 0.8rem;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 2rem;
        height: 2rem;
    }

    .progress-bar {
        height: 4px;
    }

    .video-time {
        font-size: 0.8rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .video-wrapper {
        height: 200px;
        width: 100%;
        max-width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    .video-wrapper video {
        width: 100%;
        height: auto;
        object-fit: contain;
        background-color: #f8f9fa;
        display: block;
    }

    .video-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.6rem;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 0 0 8px 8px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 1.8rem;
        height: 1.8rem;
    }

    .progress-bar {
        height: 3px;
    }

    .video-time {
        font-size: 0.7rem;
    }

    .video-caption {
        font-size: 0.9rem;
        padding: 1rem 0.8rem 0.8rem;
    }

    /* Three Dots Styling for Tablets */
    .three-dots {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .three-dots:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: white;
    }

    .three-dots i {
        color: white;
        font-size: 16px;
        font-weight: bold;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    }

    /* Enhanced Dropdown Styling for Tablets */
    .video-dropdown {
        position: absolute;
        top: 52px;
        right: 0;
        background: white;
        border-radius: 11px;
        box-shadow: 0 7px 28px rgba(0, 0, 0, 0.12);
        min-width: 170px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
        border: 1px solid rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(10px);
    }

    .video-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .dropdown-item {
        padding: 7px 11px;
        display: flex;
        align-items: center;
        gap: 9px;
        cursor: pointer;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        position: relative;
        overflow: hidden;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(34, 69, 127, 0.08) 0%, rgba(34, 69, 127, 0.08) 100%);
        transform: translateX(3px);
    }

    .dropdown-item:first-child:hover {
        border-radius: 11px 11px 0 0;
    }

    .dropdown-item:last-child:hover {
        border-radius: 0 0 11px 11px;
    }

    .dropdown-item:active {
        transform: translateX(1.5px) scale(0.98);
    }

    .dropdown-item i {
        color: #22457F;
        font-size: 15px;
        width: 19px;
        text-align: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .dropdown-item:hover i {
        color: #F57F17;
        transform: scale(1.1);
    }

    .dropdown-item span {
        color: #2d3748;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.15px;
        transition: all 0.2s ease;
        flex: 1;
    }

    .dropdown-item:hover span {
        color: #1a202c;
    }
}

/* Large Mobile Phones */
@media (max-width: 600px) {
    .video-wrapper {
        height: 180px;
    }

    .video-controls {
        padding: 0.5rem;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 1.6rem;
        height: 1.6rem;
    }

    .progress-bar {
        height: 2px;
    }

    .video-time {
        font-size: 0.65rem;
    }

    .video-caption {
        font-size: 0.8rem;
        padding: 0.8rem 0.6rem 0.6rem;
    }

    .control-left,
    .control-right {
        gap: 0.5rem;
    }

    /* Enhanced Dropdown Styling for Large Mobile */
    .three-dots {
        position: absolute;
        top: 9px;
        right: 9px;
        width: 33px;
        height: 33px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .three-dots:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: white;
    }

    .three-dots i {
        color: white;
        font-size: 13px;
        font-weight: bold;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    }

    .video-dropdown {
        position: absolute;
        top: 42px;
        right: 0;
        background: white;
        border-radius: 10px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
        min-width: 155px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
        border: 1px solid rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(10px);
    }

    .video-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .dropdown-item {
        padding: 6px 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        position: relative;
        overflow: hidden;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(34, 69, 127, 0.08) 0%, rgba(34, 69, 127, 0.08) 100%);
        transform: translateX(2px);
    }

    .dropdown-item:first-child:hover {
        border-radius: 10px 10px 0 0;
    }

    .dropdown-item:last-child:hover {
        border-radius: 0 0 10px 10px;
    }

    .dropdown-item:active {
        transform: translateX(1px) scale(0.98);
    }

    .dropdown-item i {
        color: #22457F;
        font-size: 14px;
        width: 17px;
        text-align: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .dropdown-item:hover i {
        color: #F57F17;
        transform: scale(1.1);
    }

    .dropdown-item span {
        color: #2d3748;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.1px;
        transition: all 0.2s ease;
        flex: 1;
    }

    .dropdown-item:hover span {
        color: #1a202c;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .video-wrapper {
        height: 180px;
        width: 100%;
        max-width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    .video-wrapper video {
        width: 100%;
        height: auto;
        object-fit: contain;
        background-color: #f8f9fa;
        display: block;
    }

    .video-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.6rem;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 0 0 8px 8px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .play-pause-btn:hover,
    .volume-control:hover,
    .fullscreen-control:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .play-pause-btn i,
    .volume-control i,
    .fullscreen-control i {
        font-size: 0.9rem;
        color: white;
    }

    .progress-bar {
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .progress-filled {
        height: auto;
        background: #22457F;
        border-radius: 2px;
        transition: width 0.3s ease;
    }

    .video-time {
        font-size: 0.7rem;
        color: white;
        font-weight: 500;
        white-space: nowrap;
    }

    .video-caption {
        font-size: 0.8rem;
        padding: 0.8rem 0.6rem 0.6rem;
        text-align: center;
        background: white;
        border-radius: 0 0 8px 8px;
    }

    .control-left {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex: 1;
    }

    /* New Three Dots Styling */
    .three-dots {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .three-dots:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: white;
    }

    .three-dots i {
        color: white;
        font-size: 14px;
        font-weight: bold;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    }

    .control-right {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .video-progress {
        flex: 1;
        max-width: 120px;
    }

    .video-time-display {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.65rem;
        color: white;
        white-space: nowrap;
    }

    /* 3-Dot Menu Styles for Mobile */
    .video-menu {
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
        z-index: 10;
    }

    .menu-dots {
        width: 2rem;
        height: 2rem;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
    }

    .menu-dots:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: white;
    }

    .menu-dots i {
        color: white;
        font-size: 0.9rem;
        font-weight: bold;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    }

    .menu-dropdown {
        position: absolute;
        top: 2.5rem;
        right: 0;
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        min-width: 150px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
    }

    .menu-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-item {
        padding: 0.8rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background: rgba(34, 69, 127, 0.1);
    }

    .menu-item:first-child:hover {
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .menu-item:last-child:hover {
        border-radius: 0 0 0.5rem 0.5rem;
    }

    .menu-item i {
        color: #22457F;
        font-size: 0.9rem;
        width: 1rem;
        text-align: center;
    }

    .menu-item span {
        color: #333;
        font-size: 0.85rem;
        font-weight: 500;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    .video-wrapper {
        height: 160px;
        width: 100%;
        max-width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 6px;
    }

    .video-wrapper video {
        width: 100%;
        height: auto;
        object-fit: contain;
        background-color: #f8f9fa;
        display: block;
    }

    .video-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 0 0 6px 6px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .play-pause-btn:hover,
    .volume-control:hover,
    .fullscreen-control:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .play-pause-btn i,
    .volume-control i,
    .fullscreen-control i {
        font-size: 0.8rem;
        color: white;
    }

    .progress-bar {
        height: 3px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 1.5px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .progress-filled {
        height: auto;
        background: #22457F;
        border-radius: 1.5px;
        transition: width 0.3s ease;
    }

    .video-time {
        font-size: 0.6rem;
        color: white;
        font-weight: 500;
        white-space: nowrap;
    }

    .video-caption {
        font-size: 0.7rem;
        padding: 0.6rem 0.5rem 0.5rem;
        text-align: center;
        background: white;
        border-radius: 0 0 6px 6px;
    }

    .control-left {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        flex: 1;
    }

    /* Three Dots Styling for Small Mobile */
    .three-dots {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .three-dots:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: white;
    }

    .three-dots i {
        color: white;
        font-size: 12px;
        font-weight: bold;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    }

    /* Enhanced Dropdown Styling for Small Mobile */
    .video-dropdown {
        position: absolute;
        top: 40px;
        right: 0;
        background: white;
        border-radius: 10px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
        min-width: 150px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
        border: 1px solid rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(10px);
    }

    .video-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .dropdown-item {
        padding: 5px 9px;
        display: flex;
        align-items: center;
        gap: 7px;
        cursor: pointer;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        position: relative;
        overflow: hidden;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(34, 69, 127, 0.08) 0%, rgba(34, 69, 127, 0.08) 100%);
        transform: translateX(2px);
    }

    .dropdown-item:first-child:hover {
        border-radius: 10px 10px 0 0;
    }

    .dropdown-item:last-child:hover {
        border-radius: 0 0 10px 10px;
    }

    .dropdown-item:active {
        transform: translateX(1px) scale(0.98);
    }

    .dropdown-item i {
        color: #22457F;
        font-size: 14px;
        width: 18px;
        text-align: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .dropdown-item:hover i {
        color: #F57F17;
        transform: scale(1.1);
    }

    .dropdown-item span {
        color: #2d3748;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.1px;
        transition: all 0.2s ease;
        flex: 1;
    }

    .dropdown-item:hover span {
        color: #1a202c;
    }

    .control-right {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .video-progress {
        flex: 1;
        max-width: 100px;
    }

    .video-time-display {
        display: flex;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.55rem;
        color: white;
        white-space: nowrap;
    }

    /* 3-Dot Menu Styles for Small Mobile */
    .video-menu {
        position: absolute;
        top: 0.6rem;
        right: 0.6rem;
        z-index: 10;
    }

    .menu-dots {
        width: 1.8rem;
        height: 1.8rem;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
    }

    .menu-dots:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: white;
    }

    .menu-dots i {
        color: white;
        font-size: 0.8rem;
        font-weight: bold;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    }

    .menu-dropdown {
        position: absolute;
        top: 2.2rem;
        right: 0;
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        min-width: 140px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
    }

    .menu-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-item {
        padding: 0.7rem 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background: rgba(34, 69, 127, 0.1);
    }

    .menu-item:first-child:hover {
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .menu-item:last-child:hover {
        border-radius: 0 0 0.5rem 0.5rem;
    }

    .menu-item i {
        color: #22457F;
        font-size: 0.8rem;
        width: 0.9rem;
        text-align: center;
    }

    .menu-item span {
        color: #333;
        font-size: 0.8rem;
        font-weight: 500;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .video-wrapper {
        height: 350px;
    }

    .video-controls {
        padding: 1rem;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 2.5rem;
        height: 2.5rem;
    }

    .progress-bar {
        height: 6px;
    }

    .video-time {
        font-size: 0.9rem;
    }

    .video-caption {
        font-size: 1.1rem;
        padding: 1.2rem 1rem 1rem;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .video-wrapper {
        height: 400px;
    }

    .video-controls {
        padding: 1.2rem;
    }

    .play-pause-btn,
    .volume-control,
    .fullscreen-control {
        width: 3rem;
        height: 3rem;
    }

    .progress-bar {
        height: 8px;
    }

    .video-time {
        font-size: 1rem;
    }

    .video-caption {
        font-size: 1.2rem;
        padding: 1.5rem 1.2rem 1.2rem;
    }
}

.map-container {
    margin-top: 3rem !important;
    margin-bottom: 2rem !important;
}

/* Ensure Find Us title doesn't overlap */
.map-container h2 {
    margin-bottom: 1.5rem !important;
    margin-top: 3rem !important;
}

.map-container {
    margin-top: 2rem !important;
}

.direction-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
}

.emergency-card {
    @media (max-width: 768px) {
        .registration-grid {
            display: flex !important;
            flex-direction: column !important;
            grid-template-columns: 1fr !important;
            gap: 2rem !important;
        }

        .registration-form {
            order: 1 !important;
            width: 100% !important;
        }

        .registration-info {
            order: 2 !important;
            width: 100% !important;
        }

        .registration-form form {
            width: 100% !important;
        }

        .registration-form .form-row {
            flex-direction: column !important;
            gap: 1rem !important;
        }

        .registration-form .form-group {
            width: 100% !important;
        }

        .registration-form input,
        .registration-form select,
        .registration-form textarea {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        .registration-form .form-actions {
            flex-direction: column !important;
            gap: 1rem !important;
        }

        .registration-form .form-actions button {
            width: 100% !important;
            max-width: 100% !important;
        }

        .section-title {
            margin-top: 25px;
        }
    }
}

/* Activity Videos & Photos Styling */
.activities-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #22457F;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.scroll-btn:hover {
    background: #e67e22;
    opacity: 1;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.scroll-btn.left {
    left: -15px;
}

.scroll-btn.right {
    right: -15px;
}

.video-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #22457F #f4f7f6;
}

.video-grid::-webkit-scrollbar,
.photo-grid::-webkit-scrollbar {
    height: 8px;
}

.video-grid::-webkit-scrollbar-track,
.photo-grid::-webkit-scrollbar-track {
    background: #f4f7f6;
    border-radius: 4px;
}

.video-grid::-webkit-scrollbar-thumb,
.photo-grid::-webkit-scrollbar-thumb {
    background-color: #22457F;
    border-radius: 4px;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(85% - 1.5rem);
    scroll-snap-align: center;
    max-width: 400px;
}

@media (min-width: 768px) {
    .video-item {
        flex: 0 0 calc((100% - 3rem) / 3);
        max-width: none;
        scroll-snap-align: start;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: auto;
    overflow: hidden;
    background: transparent;
}

.activity-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #f8f9fa;
}

.video-caption {
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    color: white;
    background: #22457F;
}

/* Three dots and dropdowns styling for video player */
.three-dots {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
}

.video-dropdown {
    display: none;
    position: absolute;
    top: 30px;
    right: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
    min-width: 150px;
}

.video-dropdown.show {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 5;
    cursor: pointer;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.control-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin-right: 10px;
}

.control-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-pause-btn,
.volume-control,
.fullscreen-control {
    cursor: pointer;
}

.video-progress {
    flex: 1;
    min-width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    background: #22457F;
    border-radius: 2px;
    width: 0%;
}

.video-time {
    font-size: 0.8rem;
}

/* Photo Gallery Styling */
.photo-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #22457F #f4f7f6;
}

.photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(85% - 1.5rem);
    scroll-snap-align: center;
    max-width: 400px;
}

@media (min-width: 768px) {
    .photo-item {
        flex: 0 0 calc(33.333% - 1.5rem);
        scroll-snap-align: start;
    }
}

.activity-photo {
    width: 100%;
    flex: 1;
    min-height: auto;
    object-fit: contain;
    background-color: #f8f9fa;
    display: block;
}

.photo-caption {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
    position: static;
    background: white;
}

/* Responsive Navbar to prevent text wrapping on tablets and smaller desktop screens */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-logo h2 {
        white-space: nowrap;
        font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    }

    .nav-link {
        white-space: nowrap;
        padding: 0.5rem clamp(0.3rem, 1vw, 1rem);
    }

    .nav-menu {
        gap: clamp(0.5rem, 1.5vw, 2rem);
    }
}

/* Comprehensive Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Navigation Bar */
    .nav-menu {
        background: #ffffff !important;
        top: 80px !important;
        padding: 1.5rem 0 !important;
    }

    .nav-link {
        color: #2c3e50 !important;
        font-size: 1rem !important;
        padding: 0.8rem 0 !important;
    }

    .nav-link.active {
        color: #22457F !important;
    }

    /* Container and Layout */
    .container {
        padding: 0 1rem !important;
    }

    /* Hero Sections */
    .hero {
        min-height: 60vh !important;
        padding: 4rem 0 !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }

    /* Gallery and Activities */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .gallery-item {
        width: 100% !important;
    }

    .gallery-img {
        height: 200px !important;
    }

    /* Video Sections */
    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .video-wrapper {
        height: 200px !important;
    }

    .testimonial-video {
        height: 180px !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1rem !important;
    }

    .form-control {
        font-size: 1rem !important;
        padding: 0.8rem !important;
    }

    .btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }

    .footer-section {
        margin-bottom: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-contact li {
        margin-bottom: 0.5rem !important;
        /* Reduced gap between mobile/email */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    /* Cards and Sections */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }

    .card {
        margin-bottom: 2rem !important;
    }

    /* Text Readability */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Spacing Adjustments */
    .section {
        padding: 3rem 0 !important;
    }

    /* Touch Targets */
    button,
    a,
    input,
    textarea,
    select {
        min-height: 44px !important;
    }

    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {

    /* Navigation */
    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem 0.8rem !important;
    }

    .nav-logo h2 {
        font-size: 1.2rem !important;
    }

    /* Hero Sections */
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.3rem !important;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    /* Videos */
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .testimonial-video {
        height: 220px !important;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Forms */
    .btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Container */
    .container {
        padding: 0 2rem !important;
    }
}

.nav-link:hover,
.nav-link.active {
    color: #22457F !important;
    font-weight: 700;
}

.nav-logo h2 {
    white-space: normal;
    font-size: 0.95rem !important;
    line-height: 1.2;
}

.logo-img {
    height: 50px !important;
    width: auto !important;
}

.admissions-logo-img {
    width: 200px !important;
    height: 200px !important;
}

.hero {
    padding: 120px 0 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 70%), url('images/homepage.png') no-repeat top right/cover !important;
    align-items: flex-start;
}

.hero-text {
    text-align: center;
    padding-bottom: 250px;
}

.footer-section,
.footer-content {
    text-align: center !important;
}

.footer-section ul {
    padding: 0;
    margin: 0;
    text-align: center !important;
}

.footer-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
}

.footer-brand h3 {
    text-align: left !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
}

.footer-section ul li {
    text-align: center !important;
}

/* Fix excessive heights and spacing for forms & info cards on mobile */
.registration-form,
.contact-form {
    padding: 1.5rem !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.registration-info,
.contact-info {
    padding: 1.5rem !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.info-grid {
    gap: 1rem !important;
}

.info-item,
.contact-item {
    margin-bottom: 1rem !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
}

.info-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}

.info-text h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.info-text p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.registration-info {
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.registration-info h3 {
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
}

.form-group {
    margin-bottom: 1rem !important;
}

.form-group label {
    margin-bottom: 0.3rem !important;
    font-size: 0.9rem !important;
}

.form-group input,
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    padding: 0.6rem !important;
    font-size: 0.95rem !important;
}

.registration-grid,
.contact-grid {
    gap: 1rem !important;
}
}

 

/* Explore Bumblebee Pill Button */
.explore-bee-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 25px 8px 10px;
    margin-top: 15px;
    border-radius: 50px;
    background: transparent;
    color: #22457F;
    border: 2px solid #22457F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.explore-bee-pill:hover,
.explore-bee-pill:active {
    background: #22457F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 69, 127, 0.3);
}

.explore-bee-pill img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #f8f9fa;
    border: 2px solid #22457F;
    background: white;
    transition: all 0.3s ease;
    padding: 2px;
}

.explore-bee-pill:hover img,
.explore-bee-pill:active img {
    border-color: white;
}







/* Match screenshot exact height */
.video-wrapper {
    height: 450px !important;
    min-height: 450px !important;
    background: transparent !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
}

.video-wrapper video,
.activity-video {
    object-fit: cover !important;
    height: 100% !important;
    width: 100% !important;
}

/* Global Carousel & Scroll Button Styles */
.carousel-container {
    position: relative;
}

.scroll-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    font-size: 0.95rem !important;
    line-height: 1.2;
}

.logo-img {
    height: 50px !important;
    width: auto !important;
}

.admissions-logo-img {
    width: 200px !important;
    height: 200px !important;
}

.hero {
    padding: 120px 0 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 70%), url('images/homepage.png') no-repeat top right/cover !important;
    align-items: flex-start;
}

.hero-text {
    text-align: center;
    padding-bottom: 250px;
}

.footer-section,
.footer-content {
    text-align: center !important;
}

.footer-section ul {
    padding: 0;
    margin: 0;
    text-align: center !important;
}

.footer-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
}

.footer-brand h3 {
    text-align: left !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
}

.footer-section ul li {
    text-align: center !important;
}

/* Fix excessive heights and spacing for forms & info cards on mobile */
.registration-form,
.contact-form {
    padding: 1.5rem !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.registration-info,
.contact-info {
    padding: 1.5rem !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.info-grid {
    gap: 1rem !important;
}

.info-item,
.contact-item {
    margin-bottom: 1rem !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
}

.info-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}

.info-text h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.info-text p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.registration-info {
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.registration-info h3 {
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
}

.form-group {
    margin-bottom: 1rem !important;
}

.form-group label {
    margin-bottom: 0.3rem !important;
    font-size: 0.9rem !important;
}

.form-group input,
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    padding: 0.6rem !important;
    font-size: 0.95rem !important;
}

.registration-grid,
.contact-grid {
    gap: 1rem !important;
}
}

/* Explore Bumblebee Pill Button */
.explore-bee-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 25px 8px 10px;
    margin-top: 15px;
    border-radius: 50px;
    background: transparent;
    color: #22457F;
    border: 2px solid #22457F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.explore-bee-pill:hover,
.explore-bee-pill:active {
    background: #22457F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 69, 127, 0.3);
}

.explore-bee-pill img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #f8f9fa;
    border: 2px solid #22457F;
    background: white;
    transition: all 0.3s ease;
    padding: 2px;
}

.explore-bee-pill:hover img,
.explore-bee-pill:active img {
    border-color: white;
}







/* Match screenshot exact height */
.video-wrapper {
    height: 450px !important;
    min-height: 450px !important;
    background: transparent !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
}

.video-wrapper video,
.activity-video {
    object-fit: cover !important;
    height: 100% !important;
    width: 100% !important;
}

/* Global Carousel & Scroll Button Styles */
.carousel-container {
    position: relative;
}

.scroll-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    color: #22457F;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: #22457F;
    color: #ffffff;
    border-color: #22457F;
    box-shadow: 0 6px 20px rgba(34, 69, 127, 0.3);
}

.scroll-btn.left {
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.scroll-btn.right {
    right: 10px;
}

.video-grid,
.photo-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    /* Firefox */
    gap: 20px !important;
    padding: 20px 5px !important;
}

.video-grid::-webkit-scrollbar,
.photo-grid::-webkit-scrollbar {
    display: none !important;
    /* Chrome/Safari */
}

.video-grid>*,
.photo-grid>* {
    flex: 0 0 calc(33.333% - 14px) !important;
    min-width: 300px !important;
}

@media (max-width: 768px) {
    .scroll-btn.left {
        left: 0;
        opacity: 0;
        pointer-events: none;
    }

    .scroll-btn.right {
        right: 5px;
    }

    .scroll-btn {
        width: 40px;
        height: 40px;
    }

    .video-grid>*,
    .photo-grid>* {
        flex: 0 0 calc(100% - 10px) !important;
        min-width: 260px !important;
    }
}

/* Bumblebee DayCare Section Styles */
.daycare-section {
    padding: 1rem 0 3rem 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.daycare-banner {
    background: #22457F;
    /* Theme Brand Blue */
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(94, 31, 140, 0.3);
    min-height: 450px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.daycare-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.daycare-shape-wave {
    position: absolute;
    right: -5%;
    top: -10%;
    height: 120%;
    width: 55%;
    background: #FFB300;
    /* Bumblebee Yellow */
    border-radius: 50% 0 0 50%;
    opacity: 0.95;
}

.daycare-circle-1 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #FFEA00;
    border-radius: 50%;
    top: 15%;
    left: 42%;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.daycare-circle-2 {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #FFEA00;
    border-radius: 50%;
    top: 35%;
    left: 50%;
    animation: float 3s ease-in-out infinite reverse;
}

.daycare-cross {
    position: absolute;
    color: #FFEA00;
    font-size: 2rem;
    font-weight: bold;
    top: 60%;
    left: 3%;
    animation: pulse 2s infinite;
}

.daycare-content {
    flex: 1 1 50%;
    position: relative;
    z-index: 2;
    color: white;
    padding-right: 3rem;
}

.daycare-title {
    color: #FFEA00 !important;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.daycare-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FFEA00 !important;
    /* Yellow text for DayCare subtitle - forced */
    letter-spacing: 0.5px;
}

.daycare-info-box {
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.daycare-info-box h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFEA00;
}

.daycare-info-box p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    /* White text for visibility on blue background */
}

.daycare-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    text-align: left;
    color: #ffffff !important;
    /* White text for visibility on blue background */
}

.daycare-image-wrapper {
    flex: 1 1 40%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.daycare-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 6px solid white;
    object-fit: cover;
}

/* Condensed version for index.html */
.daycare-section.condensed .daycare-banner {
    min-height: 350px;
    padding: 2.5rem;
}

.daycare-section.condensed .daycare-title {
    font-size: 2.8rem;
}

.daycare-section.condensed .daycare-description {
    display: none;
    /* Hide large description on home page */
}

.daycare-section.condensed .daycare-image {
    transform: scale(1.0);
}

@media (max-width: 992px) {
    .daycare-banner {
        flex-direction: column !important;
        padding: 2.5rem 1.5rem !important;
        text-align: center !important;
        min-height: auto !important;
    }

    .daycare-shape-wave {
        width: 150% !important;
        height: 40% !important;
        top: auto !important;
        bottom: -5% !important;
        right: -25% !important;
        border-radius: 50% 50% 0 0 !important;
        opacity: 0.9 !important;
        z-index: 1 !important;
    }

    /* Hide distracting circles on mobile that cover text */
    .daycare-circle-1,
    .daycare-circle-2 {
        display: none !important;
    }

    .daycare-cross {
        top: 85% !important;
        left: 5% !important;
        font-size: 1.5rem !important;
        z-index: 2 !important;
    }

    .daycare-info-box {
        width: 95% !important;
        max-width: none !important;
        margin: 1.5rem auto !important;
        padding: 1.5rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .daycare-content {
        flex: 1 1 100% !important;
        padding-right: 0 !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .daycare-title {
        font-size: 2.5rem !important;
    }

    .daycare-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }

    .daycare-info-box {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto 1.5rem auto !important;
    }

    .daycare-description {
        text-align: center !important;
        font-size: 0.95rem !important;
    }

    .daycare-image-wrapper {
        width: 100% !important;
        margin-top: 1rem !important;
    }

    .daycare-image {
        max-width: 100% !important;
        transform: scale(1) !important;
        border-width: 4px !important;
    }

    .contact-item {
        display: flex !important;
        flex-direction: column !important;
        /* Stacked icon on top */
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 1.5rem !important;
    }

    .contact-item>div:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .contact-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50%;
        margin-bottom: 5px !important;
    }

    .contact-item h3 {
        margin: 0 0 10px 0 !important;
        font-size: 1.4rem !important;
        text-align: center !important;
    }

    .contact-item p {
        text-align: center !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Fix Admissions Card cutting on mobile */
    .admissions-banner {
        padding: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .admissions-header h2 {
        font-size: 1.5rem !important;
    }

    .bhramara-name h3 {
        font-size: 1.8rem !important;
    }

    .program-card {
        padding: 0.8rem !important;
        gap: 0.8rem !important;
    }

    .program-icon {
        min-width: 30px !important;
    }
}

/* Contact Page Desktop Enhancements - Balanced Layout */
@media (min-width: 993px) {
    .contact-grid {
        display: flex !important;
        align-items: stretch !important;
        gap: 4rem !important;
    }

    .contact-details {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        flex: 1 !important;
        padding-bottom: 20px !important;
    }

    .contact-form-section {
        background: #ffffff !important;
        padding: 3rem !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
        flex: 1.2 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 25px !important;
        margin-bottom: 0 !important;
        padding: 15px 0 !important;
    }

    .contact-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        background: linear-gradient(135deg, #22457F 0%, #1a3663 100%) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 8px 20px rgba(34, 69, 127, 0.15) !important;
    }

    .contact-icon svg,
    .contact-icon i {
        width: 26px !important;
        height: 26px !important;
        fill: white !important;
        color: white !important;
    }

    .contact-item h3 {
        margin-top: 2px !important;
        margin-bottom: 6px !important;
        font-size: 1.4rem !important;
        color: #22457F !important;
        font-weight: 700 !important;
    }

    .contact-item p {
        margin-bottom: 0 !important;
        color: #555 !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

/* --- Global Scroll Reveal Animations --- */
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
    transform: translateX(-100px);
}

.reveal-right {
    transform: translateX(100px);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.bee-mascot-wrapper {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    z-index: 10;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
    animation: mascotFloat 4s ease-in-out infinite;
}

.bee-mascot {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes mascotFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    50% {
        transform: translate(0, -25px) rotate(0deg);
    }

    75% {
        transform: translate(-10px, -15px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .bee-mascot-wrapper {
        width: 120px;
        bottom: -20px;
        right: -10px;
    }
}

/* ========================================
   FULL RESPONSIVE STYLES - ALL SCREENS
   ======================================== */

/* LARGE SCREENS 1400px+ */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .nav-container {
        max-width: 1380px;
    }

    .nav-logo h2 {
        font-size: 1.55rem;
    }

    .nav-link {
        font-size: 1.02rem;
    }

    .logo-img {
        height: 78px;
    }

    .hero-title {
        font-size: 3.8rem;
    }

    .hero-subtitle {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 1.2rem;
        max-width: 550px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .admissions-title {
        font-size: 2.8rem;
    }
}

/* MEDIUM-LARGE 1200px - 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1200px;
    }

    .nav-container {
        max-width: 1180px;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }
}

/* SMALL LAPTOP 1025px - 1199px */
@media (min-width: 1025px) and (max-width: 1199px) {
    .container {
        max-width: 1000px;
        padding: 0 20px;
    }

    .nav-container {
        width: 95%;
        padding: 6px 18px;
    }

    .nav-item+.nav-item {
        margin-left: 10px;
        padding-left: 10px;
    }

    .nav-link {
        font-size: 0.88rem;
    }

    .logo-img {
        height: 58px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* TABLET LANDSCAPE 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        width: 96%;
        padding: 5px 15px;
    }

    .nav-item+.nav-item {
        margin-left: 8px;
        padding-left: 8px;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .logo-img {
        height: 52px;
    }

    .nav-logo h2 {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .admissions-card-big {
        max-width: 420px;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-card-flip {
        flex: 0 0 calc(50% - 10px);
        min-width: 260px;
    }

    .partnership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE max 768px */
@media (max-width: 768px) {
    .nav-container {
        width: 95%;
        padding: 5px 15px;
    }

    .logo-img {
        height: 50px;
    }

    .nav-logo h2 {
        font-size: 1rem;
    }

    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-text {
        margin-bottom: 40px;
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-card-flip {
        height: 400px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .admissions-open {
        padding: 60px 0;
        min-height: auto;
    }

    .admissions-card-big {
        transform: none !important;
        max-width: 100%;
        padding: 2rem 1.2rem;
    }

    .admissions-title {
        font-size: 1.8rem;
    }

    .admissions-subtitle {
        font-size: 1rem;
    }

    .partnership-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 40px 0 !important;
        margin-top: 80px !important;
    }

    .page-title {
        font-size: 2rem !important;
    }

    .page-subtitle {
        font-size: 1rem !important;
    }

    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .footer-contact li:first-child {
        margin-top: 35px !important; /* Pushed down from heading */
    }

    .footer-contact li {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important; /* Center the icon and text together as one unit */
        gap: 10px !important;
        margin: 0 0 1rem 0 !important;
        width: 100% !important;
        color: white !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        line-height: 1.4 !important;
        white-space: nowrap !important; /* Keep them on the same line */
    }

    .footer-contact li i {
        color: #22457F !important; /* Blue icons */
        font-size: 1.2rem !important;
        margin: 0 !important;
        min-width: auto !important; /* Remove fixed width for better centering */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-brand {
        justify-content: center;
    }

    .affiliation-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* SMALL MOBILE max 480px */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-logo h2 {
        display: block;
        font-size: 0.85rem;
    }

    .logo-img {
        height: 44px;
    }

    .admissions-title {
        font-size: 1.5rem;
    }

    .admissions-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.88rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .program-card-flip {
        height: 380px;
    }

    .mission-card-flip {
        flex: 0 0 280px;
        height: 280px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .affiliation-card {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 5px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #FFF !important;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 5px;
        font-size: 25px;
    }
}

/* Form Input Error Styles */
input.error, select.error, textarea.error {
    border: 2px solid #ff6b6b !important;
    background-color: #fff5f5 !important;
}