
        :root {
            --primary: #273472;
            --secondary: #007b4b;
            --accent: #a6ce39;
            --gold: #e2c044;
            --text: #333;
            --white: #fff;
        }

        body {
            margin: 0;
            font-family: 'Poppins', sans-serif;
            background: var(--white);
            color: var(--text);
        }

        .top-bar {
            background: var(--primary);
            color: var(--white);
            font-size: 14px;
            padding: 5px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-bar a {
            color: var(--white);
            text-decoration: none;
            word-break: break-word;
        }
                @media (max-width: 576px) {
                    .top-bar {
                        flex-direction: column;
                        text-align: center;
                        gap: 5px;
                    }
        
                    .top-bar div {
                        width: 100%;
                    }
                }

        header {
            background: var(--primary);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1px 5px;
        }

        .navbar img {
            height: 0px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 28px;
        }

        nav ul li {
            position: relative;
        }

        nav a {
            color: var(--white);
            text-decoration: none;
            font-weight: 600;
        }

        nav ul li:hover>ul {
            display: block;
        }

        nav ul ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--secondary);
            min-width: 160px;
            z-index: 1000;
        }

        nav ul ul li {
            padding: 5px;
        }

        nav ul ul a {
            color: var(--white);
            font-weight: 400;
        }

        /* ✅ Toggler hidden by default */
.navbar-toggler {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--white); /* adjust if needed */
  cursor: pointer;
  margin-left: auto;
  z-index: 1001;
}

/* ✅ Mobile view only */
@media (max-width: 768px) {
  .navbar {
    position: relative;
    flex-wrap: wrap;
  }

  .navbar nav {
    display: none;
    width: 100%;
    background-color: var(--secondary); /* or your background */
    padding: 10px 0;
  }

  .navbar nav.show {
    display: block;
  }

  .navbar-toggler {
    display: block;
    position: absolute;
    right: 15px;
    top: 10px;
  }

  .navbar nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .navbar nav ul ul {
    position: relative;
    background: transparent;
    display: none;
  }

  .navbar nav ul li:hover > ul {
    display: block;
  }
}



        .hero {
    position: relative;
    background: url('assets/images/cvis2building.jpeg') no-repeat center center/cover;
    height: 80vh;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 52, 114, 0.6); /* dark blue overlay with 60% opacity */
    z-index: -1;
}

        

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        }

        .hero button {
            padding: 12px 25px;
            font-size: 16px;
            border: none;
            background: var(--secondary);
            color: var(--white);
            cursor: pointer;
            border-radius: 5px;
            transition: background 0.3s ease;
        }

        .hero button:hover {
            background: var(--accent);
            color: var(--primary);
        }

        @media (max-width: 768px) {
            nav ul {
                flex-direction: column;
                gap: 10px;
                background: var(--primary);
            }
        }

        .school-branding {
            background-color: #ffffff;
            padding: 1px 1px;
            text-align: center;
            color: var(--primary);
            font-family: 'Poppins', serif;
        }

        .school-logo {
            height: 100px;
            margin-bottom: 1px;
        }

        .school-name {
            margin: 0;
            margin-top: -20px;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .school-info {
            color: var(--text);
            font-size: 12px;
            margin-top: -5px;
            font-weight: 600;
        }

        /* 222222222222 */

           /* Marquee container */
           .admission-marquee {
               width: 100%;
               background-color: #004080;
               /* Deep school blue */
               border-top: 2px solid #ffc107;
               border-bottom: 2px solid #ffc107;
               overflow: hidden;
               padding: 10px 0;
               position: relative;
           }
    
           /* Scrolling track */
           .marquee-track {
               display: flex;
               width: fit-content;
               animation: scroll-marquee 25s linear infinite;
           }
    
           /* Repeating text */
           .marquee-content {
               flex-shrink: 0;
               white-space: nowrap;
               color: white;
               font-size: 16px;
               font-weight: 600;
               font-family: 'Segoe UI', sans-serif;
               padding-right: 100px;
           }
    
           /* Scroll animation */
           @keyframes scroll-marquee {
               0% {
                   transform: translateX(0%);
               }
    
               100% {
                   transform: translateX(-50%);
               }
           }
    
           /* NEW badge style */
           .new-badge {
               background-color: #ff3b3b;
               color: white;
               font-size: 10px;
               padding: 2px 6px;
               border-radius: 10px;
               margin-right: 10px;
               vertical-align: middle;
               font-weight: bold;
               letter-spacing: 0.5px;
           }

           /* 333333333333 */
:root {
    --primary: #273472;
    --secondary: #007b4b;
    --accent: #a6ce39;
    --gold: #e2c044;
    --text: #333;
    --white: #fff;
}

.read-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #143a63;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0f2e4d;
}

.about-section-new {
    background-color: var(--white);
    position: relative;
}

.about-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    background-color: #f4f9ff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(39, 52, 114, 0.08);
}

.about-text {
    padding-right: 20px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.about-text h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.8;
    text-align: justify;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        padding: 30px;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text p {
        text-align: justify;
    }
}


/* ROOT THEME */
:root {
    --primary: #273472;
    --secondary: #007b4b;
    --accent: #a6ce39;
    --gold: #e2c044;
    --text: #333;
    --white: #fff;
    --bg-light: #f4f9ff;
}

section {
    padding: 60px 20px;
}

h2.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 40px;
   
        margin-top: 10px;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 4px;
}

/* WHY CHOOSE US */
.why-choose-us {
    background: var(--bg-light);
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; */
    text-align: center;
    padding: 30px 0;
}

.why-choose-box {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.why-choose-box:hover {
    transform: translateY(-10px);
}

.why-choose-box img {
    width: 80px;
    margin-bottom: 20px;
}

/* FOUNDERS */
.founders {
    background: #fffef7;
    text-align: center;
}

.founders .people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.founder {
    max-width: 250px;
}

.founder img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.founder h4 {
    margin-top: 15px;
    color: var(--primary);
}

/* STUDENT CORNER */
.student-corner {
    background: var(--bg-light);
}

.student-works {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.student-work {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    max-width: 300px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* 444444444444 */

.founder-subtitle {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase, lowercase;
    letter-spacing: 0.5px;
}

/* Founder Section Styles */
.founder-section {
    background: white;
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    /* stack cards vertically */
    align-items: center;
}

.founder-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #011d47;
    border-radius: 20px;
    max-width: 1500px;
    color: white;
    overflow: hidden;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    /* 20px gap between cards */
    gap: 20px;
}

.founder-image img {
    width: 250px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.founder-content {
    flex: 1;
    padding-left: 40px;
}

.founder-message {
    font-size: 17px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.founder-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.founder-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffe8e8;
}

/* Responsive */
@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
    }

    .founder-content {
        padding-left: 0;
        margin-top: 25px;
    }

    .founder-image img {
        width: 180px;
    }
}
/* 55555555555 */
.why-choose-us {
    background: var(--bg-light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    color: #333;
    margin-top: -60px;
    /* Increased from -20px to -60px */
    margin-bottom: 20px;
    background: var(--bg-light);
}


.why-choose-box {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.why-choose-box:hover {
    transform: translateY(-10px);
}

.why-choose-box img {
    width: 300px;
    margin-bottom: 10px;
}

.why-choose-box h4 {
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}
@media (max-width: 768px) {
    .why-choose-us {
        grid-template-columns: 1fr;
        padding: 30px 15px;
    }

    .why-choose-box img {
        width: 100%;
        max-width: 250px;
        margin: 0 auto 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-top: -40px;
    }
}

@media (max-width: 480px) {
    .why-choose-box {
        padding: 15px;
    }

    .why-choose-box h4 {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-top: -30px;
    }
}

/* 66666 */

.student-corner .section-title {
    text-align: center;
    font-size: 36px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #273472;
    margin-bottom: 30px;
    margin-top: -20px;
    font-weight: bold;
    letter-spacing: 1px;
}


.student-corner {
    width: 100%;
    height: 85vh;
    background-color: #273472;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 95%;
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.slide {
    display: flex;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
    position: absolute;
    width: 100%;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.slide-image img {
    width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.slide-content {
    max-width: 600px;
}

.student-corner h5 {
    letter-spacing: 2px;
    font-size: 14px;
    color: #c0c0c0;

}

.slide-content h2 {
    font-size: 28px;
    margin: 0;
    color: #a6ce39;
}

.slide-content h3 {
    font-size: 22px;
    color: #a6ce39;
    margin-top: 15px;
}

.slide-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
    color: #e0e0e0;
    text-align: justify;
}

.dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #aaa;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #ffffff;
}
/* 77777 */

.gallery-section {
    background-color: #f7f9fc;
    padding: 60px 20px;
    width: 100%;
    text-align: center;
}

/* .gallery-section .section-title {
    font-size: 32px;
    margin-bottom: 40px;
    margin-top: 10px;
    color: #0a1d3b;
    font-weight: 600;
} */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 90%px;
    margin: auto;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* LIGHTBOX STYLES */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: zoomIn 0.5s;
    border-radius: 10px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* 888888888888888 */
 