body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color:#fff
}

.welcome h1 {
    font-size: 48px;
}

.welcome p {
    font-size: 20px;
}

.section { 
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 4px;
    margin-top: 0; /* Remove initial margin to stick at absolute top; adjust if needed */
    z-index: 1000; /* Ensure it's above other content */
}

.navbar ul li a:hover {
    color: maroon;
}

.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;
}

.about-and-testimonials {
    background: url('IMG-20220122-WA0001.jpg') no-repeat center center/cover;
    padding: 50px 20px;
    color: #fff;
    background-color: #000000c5; /* Fallback for transparency */
    position: relative;
}

.welcome {
    text-align: justify;
    margin-bottom: 150px; 
}

.testimonials {
    text-align: center;
    margin-top: -10px;
    overflow: hidden;
    padding: 50px 20px;
    color: #000;
    background-color: transparent; 
}

.testimonial-belt {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    animation: slide 30s linear infinite;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent for glass base */
    backdrop-filter: blur(10px); /* Frosted glass blur */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle glass border */
    color: #333;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft depth */
    max-width: 350px;
    min-width: 350px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2); /* Slightly darker on hover */
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: white;
}

.testimonial-card h3 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: white; 
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

#academics {
    padding: 20px;
    background-color: maroon;
}

#academics h2 {
    color: white;
}

#academics h3 {
    text-align: center;
    margin-bottom: 20px;
}

#academics p {
    text-align: center;
    margin-bottom: 20px;
}

.cardsB {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cardB {
    background: white;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left;
}

.cardB img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cardB h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cardB p {
    font-size: 16px;
}


/* Mission & Vision Layout */
.mv-section {
    background: #ffffff; /* Solid white */
}

.mv-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.mv-image img {
    width: 380px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mv-text {
    max-width: 500px;
}

.mv-text h2 {
    margin-bottom: 20px;
    text-align: left;
    font-size: 2rem;
}

.mv-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.leadership-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: maroon;
    padding: 60px 10%;
}

.leadership-text {
    width: 55%;
}

.leadership-text h2 {
    font-size: 32px;
    margin-bottom: 90px;
    font-weight: bold;
}

.leadership-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white; /* red nice highlight */
}

.leadership-text p {
    color: white; /* red nice highlight */
}

.leadership-card {
    background: white;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left;
}

.leadership-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.leadership-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.leadership-card p {
    font-size: 16px;
    font-weight: 500;
    color: #444;
}



.why-us {
    background: #ffffff;
    padding: 60px 10%;
    text-align: center;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.icon-box {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.10);
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-8px);
}

.icon-box i {
    font-size: 40px;
    color: #d32f2f;
    margin-bottom: 15px;
}

.icon-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.icon-box p {
    font-size: 15px;
    color: #555;
}

/* Main footer styling */
.footer {
    background-color: #001F3F;
    color: white;
    padding: 40px 20px 0 20px;
    margin-top: 0px;
}

/* Columns layout */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.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 {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.social-icons i {
    font-size: 24px;
    margin-right: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    transform: scale(1.2);
}


.footer-bottom {
    width: 100%;
    text-align: center !important;
    padding: 10px 0;
    margin: 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;         /* removes extra space under the text */
    padding: 0;
}

.footer-left .social-icons {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-left .social-icons a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: transform 0.3s ease-in-out, color 0.3s;
}

.footer-left .social-icons a:hover {
    color: #fff;
    transform: scale(1.1);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin: 6px 0;
    font-size: 16px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }
    .testimonial-belt {
        flex-wrap: nowrap;
        overflow-x: scroll;
        animation: none; /* Disable infinite animation on mobile for better UX; use scroll instead */
    }
    .testimonial-card {
        min-width: 90%;
        max-width: 90%;
    }
    .cardsB {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px; 
    }
}



@media (max-width: 768px) {

 
    /* Hero */
    .about-and-testimonials {
        padding: 36px 18px;
    }
 
    .welcome {
        text-align: center;
        margin-bottom: 40px;
    }
 
    .welcome h1 {
        font-size: 28px;
        margin-bottom: 14px;
    }
 
    .welcome p {
        font-size: 15px;
        line-height: 1.7;
    }
 
    /* Testimonials */
    .testimonials h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }
 
    .testimonial-belt {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        animation: none;
        gap: 12px;
        padding-bottom: 12px;
    }
 
    .testimonial-card {
        scroll-snap-align: start;
        min-width: 82vw;
        max-width: 82vw;
        padding: 18px;
    }
 
    .testimonial-card p {
        font-size: 14px;
    }
 
    .testimonial-card h3 {
        font-size: 14px;
    }
 
    /* Mission & Vision */
    .mv-section {
        padding: 40px 20px;
    }
 
    .mv-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
 
    .mv-image img {
        width: 100%;
        max-width: 100%;
    }
 
    .mv-text {
        max-width: 100%;
    }
 
    .mv-text h2 {
        text-align: center;
        font-size: 26px;
    }
 
    .mv-text p {
        font-size: 15px;
        text-align: left;
    }
 
    /* Leadership */
    .leadership-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 30px;
    }
 
    .leadership-text {
        width: 100%;
    }
 
    .leadership-text h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
 
    .leadership-text p {
        font-size: 14px;
    }
 
    .leadership-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
 
    /* Why Us */
    .why-us {
        padding: 40px 16px;
    }
 
    .why-us h2 {
        font-size: 24px;
    }
 
    .icon-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 24px;
    }
 
    .icon-box {
        padding: 18px 14px;
    }
 
    .icon-box i {
        font-size: 28px;
    }
 
    .icon-box h3 {
        font-size: 15px;
    }
 
    .icon-box p {
        font-size: 13px;
    }
 
    /* Team */
    #academics {
        padding: 30px 16px;
    }
 
    #academics h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
 
    .cardsB {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
 
    .cardB {
        width: 90%;
        max-width: 320px;
    }
 
    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 24px;
    }
 
    .footer-col {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
 
    .social-icons {
        justify-content: center;
    }
}
 
@media (max-width: 480px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        background-color: #d32f2f;
        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;
        padding: 0;
        margin: 0;
        z-index: 999;
        list-style: none;
        border-top: 1px solid #b72b27;
    }

    .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; /* no 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; 
    }

    .search-container {
        order: 2; /* keep search bar on right */
        width: auto;
    }

    
}

.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)}