body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #0264c7a2;
}


.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism base */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 10px 20px;
    z-index: 1000; 
    border: 0.5px solid rgb(233, 233, 233);
    transition: background 0.3s; 
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.2); /* Slight opacity change on hover */
}

.navbar .logo {
    display: flex;
    align-items: center;
    color: #003366;
    font-size: 24px;
}

.navbar .logo img.logo-img {
    height: 50px; 
    width: auto;
    margin-right: 10px;
}

.navbar ul.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar ul.nav-links li a {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    position: relative;
    font-size: 18px;
}

.navbar ul.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #003366;
    transition: 0.3s;
}

.navbar ul.nav-links li a:hover::after {
    width: 100%;
}



.search-container {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #003087;
    font-size: 16px;
    width: 200px;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #d32f2f;
    outline: none;
}

.search-button {
    background-color: #003087;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 20px;
    margin-left: 5px;
    transition: background-color 0.3s;
}

.search-button:hover,
.search-button:focus {
    background-color: #d32f2f;
    outline: none;
}

.menu-toggle {
    display: none; /* hide on desktop */
    font-size: 28px;
    cursor: pointer;
    color: #003366;
}

.events-section {
    padding: 40px 20px;
    background-color: #970a0a;
    text-align: center;
    position: relative;
}

.events-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.event-belt {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.scroll-btn {
    background-color: rgba(255, 255, 255, 0.8); 
    border: 2px solid #970a0a; 
    border-radius: 50%; 
    font-size: 24px; 
    cursor: pointer; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    z-index: 2; 
    width: 40px; 
    height: 40px; 
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-btn:hover {
    background-color:white; 
    transform: translateY(-50%) scale(1.1); 
}


.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.event-cards-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 80%;
    padding: 20px 0;
}

.event-card {
    min-width: 235px; 
    height: 330px; 
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s;
}


.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}



.high-school-fees-section {
    padding: 40px 20px;
    background-color: #f5f5f5;
    color: #333;
    text-align: left;
}

.high-school-fees-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.high-school-fees-section h3 {
    font-size: 28px;
    margin: 20px 0 10px;
}

.high-school-fees-section p,
.high-school-fees-section ul {
    font-size: 18px;
    margin-bottom: 15px;
}

.high-school-fees-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.high-school-fees-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.high-school-fees-section table,
.high-school-fees-section th,
.high-school-fees-section td {
    border: 1px solid #ddd;
}

.high-school-fees-section th,
.high-school-fees-section td {
    padding: 10px;
    text-align: left;
}

.high-school-fees-section th {
    background-color: #003366; 
    color: white;
}

.high-school-fees-section a {
    color: #003366;
    text-decoration: underline;
}

.payment-options-section {
    padding: 40px 20px;
    background-color: #f5f5f5;
    color: #333;
    text-align: left;
}

.payment-options-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-options-section h3 {
    font-size: 28px;
    margin: 20px 0 10px;
}

.payment-options-section p,
.payment-options-section ul {
    font-size: 18px;
    margin-bottom: 15px;
}

.payment-options-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.payment-options-section a {
    color: #003366; 
    text-decoration: underline;
}


.blue-rectangle {
    width: 100%; 
    height: 50px; 
    background-color: #970a0a; 
    position: relative; 
    top: -20px; 
    z-index: 1; 
}

.whatsapp-float{position:fixed;bottom:22px;right:22px;background:#25D366;color:white;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;z-index:999;box-shadow:0 4px 14px rgba(0,0,0,0.25);text-decoration:none;transition:transform 0.3s}
.whatsapp-float:hover{transform:scale(1.1)}

.footer {
    background-color: #001F3F;
    color: #fff;
    padding: 40px 20px 0 20px;
    border-top: 3px solid black;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover,
.footer a:hover {
    text-decoration: underline;
}

.footer p {
    font-size: 14px;
    opacity: 0.9;
    margin: 4px 0;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.designer {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    margin-top: 10px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.9;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        background-color: #d32f2f; /* solid mobile navbar */
        padding: 10px 20px;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .navbar .logo {
        display: none; /* hide logo on mobile */
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #fff;
    }

    .navbar ul.nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #d32f2f; /* solid red background */
        padding: 0;
        margin: 0;
        z-index: 999;
        list-style: none;
        border-top: 1px solid #b72b27; /* slightly darker top border */
    }

    .navbar ul.nav-links.active {
        display: flex;
    }

    .navbar ul.nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
        border-bottom: 1px solid #b72b27; /* lines between items */
    }

    .navbar ul.nav-links li:last-child {
        border-bottom: none; /* remove last line */
    }

    .navbar ul.nav-links li a {
        display: block;
        padding: 15px 0;
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
    }

    .navbar ul.nav-links li a:hover {
        background-color: #b72b27; /* darker hover */
    }

    .search-container {
        order: 2; /* keep search bar on right */
        width: auto;
    }

    
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


#admissions {
    padding: 60px 10%;
    background-color: #f5f5f5;
    text-align: center;
}

#admissions h1 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 20px;
}

#admissions p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #333;
}

.admission-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.step-icon {
    background-color: #d32f2f;
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text h2 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #003366;
}

.step-text p, .step-text ul {
    font-size: 16px;
    color: #333;
}

.step-text ul {
    list-style: disc;
    margin-left: 20px;
}

.join-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #d32f2f;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.join-button:hover {
    background-color: #003366;
}



@media (max-width: 768px) {
    .event-cards-wrapper {
        width: 100%;
        padding: 10px;
        gap: 12px;
    }
    .scroll-btn {
        display: none;
    }
    .event-card {
        min-width: 78vw;
        height: auto;
    }
}

@media (max-width: 768px) {
    .high-school-fees-section {
        padding: 24px 14px;
    }
    .high-school-fees-section table {
        font-size: 14px;
    }
    .high-school-fees-section h2 {
        font-size: 22px;
    }
    .high-school-fees-section h3 {
        font-size: 18px;
    }
    .payment-options-section {
        padding: 24px 14px;
    }
    .payment-options-section h3 {
        font-size: 20px;
    }
    .payment-options-section ul {
        font-size: 15px;
    }
}


/* ===== EVENTS SECTION MOBILE ===== */
@media (max-width: 768px) {

    .events-section {
        padding: 30px 0 30px 0;
    }

    .events-section h2 {
        font-size: 24px;
        margin-bottom: 16px;
        padding: 0 16px;
    }

    /* Hide arrow buttons on mobile — swipe is more natural */
    .scroll-btn {
        display: none;
    }

    .event-belt {
        justify-content: flex-start;
    }

    .event-cards-wrapper {
        width: 100%;
        padding: 10px 16px 20px 16px;
        gap: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar but keep scrolling */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .event-cards-wrapper::-webkit-scrollbar {
        display: none;
    }

    .event-card {
        scroll-snap-align: start;
        min-width: 62vw;
        max-width: 62vw;
        height: auto;
        min-height: 240px;
        flex-shrink: 0;
    }

    .event-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .event-card p {
        font-size: 13px;
        color: #555;
    }

    .event-date {
        font-size: 13px;
    }
    
}