* {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0c6018;

}

ol,
ul,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
}

/* Main Navbar */

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.35s ease;
    background: rgba(255, 255, 255, 0);
    /* transparent glass */
    backdrop-filter: blur(30px);
    /* main blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
}

.nav-container {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 50px;
}

/* Navigation Links */

/* Reset */
.nav-links,
.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Main menu */
.nav-links {
    display: flex;
    gap: 0px;
}

.nav-links li {
    position: relative;
}

/* Links */
.nav-links a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #1e1e1e;
    font-weight: 600;
    white-space: nowrap;
    transition: all .5s ease-in-out;

}

/* =======================
   FIRST DROPDOWN
======================= */

header {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .30s ease;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.nav-links li:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =======================
   SUB DROPDOWN (RIGHT SIDE)
======================= */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 220px;

    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all .35s ease;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.sub-dropdown.open {
    left: 0;
}

/* show sub menu */
.dropdown li:hover>.sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Hover styles */
.nav-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* Optional arrow indicator */
.dropdown li>a::after {
    content: "▸";
    float: right;
    font-size: 12px;
}

.dropdown li:not(:has(.sub-dropdown))>a::after {
    content: "";
}

/* Hide mobile menu by default */
/* MOBILE MENU BASE */
.mobile-menu {
    display: none;
    background: #fff;
    width: 100%;
}




@media(max-width:1550px) {
    .nav-container {
        gap: 10px;
    }

    .nav-links {
        gap: 0px;
    }

    .nav-links a {
        padding: 8px 8px;
        font-size: 14px;
    }
}

@media(max-width:1399px) {
    .nav-links a {
        padding: 8px 8px;
        font-size: 14px;
    }

    .button-group a {
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media(max-width:1299px) {
    .nav-links a {
        text-decoration: none;
        padding: 10px 10px;
    }

    .button-group a {
        text-decoration: none;
        padding: 10px 10px;
    }
}


@media(max-width:991px) {

    .mobile-menu {
        display: block;
    }

    .mobile-nav-link {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-link li {
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .mobile-nav-link a {
        display: block;
        padding: 14px 18px;
        text-decoration: none;
        color: #000;
        font-weight: 600;
    }

    /* Hide dropdowns */
    .mobile-nav-link ul {
        display: none;
        background: #f7f7f7;
    }

    /* Show when open */
    .mobile-nav-link ul.open {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        top: -15px;
        box-shadow: unset;
    }

    /* indentation */
    .mobile-nav-link ul a {
        padding-left: 30px;
        font-weight: 500;
    }

    .mobile-nav-link ul ul a {
        padding-left: 0;
        font-size: 14px;
    }

    /* Arrow indicator */
    .mobile-nav-link li>a::after {
        content: "▸";
        float: right;
        transition: .3s;
    }

    .mobile-nav-link li>a.active::after {
        transform: rotate(90deg);
    }

    /* remove arrow if no submenu */
    .mobile-nav-link li:not(:has(ul))>a::after {
        content: "";
    }

    .sub-dropdown.open {
        top: 0 !important;
    }

}

/* Logo Area */
.logo-area {
    text-align: center;
}

.logo-area img {
    width: 65px;
}

.logo-area h1 {
    margin: 5px 0 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}


/* Hamburger */
.hamburger {
    width: 28px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 5px;
    transition: .3s;
}

/* Hamburger Active Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
    border-top: 1px solid #e3e3e3;
}

.mobile-menu a {
    color: black;
    font-size: 17px;
    text-decoration: none;
    padding: 10px 0;
}


.slider-section {
    margin-top: 105px;
}

.carousel-item img {
    height: 850px;
}


.welcome-section {
    padding: 80px 8px 140px 8px;
    background-image: url(images/school-building/Untitled-design.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.816);
    background-attachment: fixed;
}

.welcome-content h2 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 50px;
}

.welcome-content h3 {
    font-family: "Pacifico", cursive;
    color: var(--primary-color);
    margin-top: 20px;
}

.welcome-content h5 {
    color: var(--primary-color);
    margin-top: 20px;
}


.main-video {
    padding: 0px 150px;
    width: 100%;
    height: 350px;
    margin-top: -100px;

}

.tour-video {
    width: 100%;
    height: 100%;
}

.tour-video video {
    border-radius: 10px;
}

.tour-video-section {
    height: 550px;
    background-image: url(images/school-building/building1.png);
    background-attachment: fixed;
    background-size: 100% 100%;
    background-blend-mode: overlay;
    background-color: #003e099c;

}


.slick-track {
    margin-top: 80px;

}

.slick-slider .element {
    width: 300px;
    height: 335px;
    border: 1px solid green;
    color: #191919;

    display: inline-block;
    margin: 0px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 20px;
    padding: 55px 20px 20px 20px;
    position: relative;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.slick-slider .element:hover {
    margin-top: -20px;
    box-shadow: 0px 0px 10px green;
}

.slick-slider .slick-prev {
    content: "hello";
    margin-left: 43%;
    border: none;
    padding: 10px 20px;
    background-color: green;
    color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.slick-slider .slick-prev:hover {
    background-color: rgb(255, 204, 36);
    color: rgb(37, 37, 37);
}

.slick-next:hover {
    background-color: rgb(255, 204, 36);
    color: rgb(37, 37, 37);
}


.slick-next {
    border: none;
    margin-left: 20px;
    padding: 10px 20px;
    background-color: green;
    color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;

}



.testimonial-img {
    content: "";
    top: -55px;
    left: 38%;
    position: absolute;
}

.testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border: 1px solid green;
}

.testimonials {
    padding: 50px 8px;
    background: radial-gradient(#419b4317, #ffc6c657);
}





@media(max-width:767px) {
    .slick-slider .slick-prev {
        padding: 4px 14px;
        font-size: 12px;
    }

    .slick-next {
        padding: 4px 14px;
        font-size: 12px;
    }

    .slick-slider .slick-prev {
        margin-left: 32%;
    }

    .slick-slider .element {
        margin: 47px 10px 0;
        padding: 40px 20px 20px 20px;
    }

    .testimonial-img img {
        width: 80px;
        height: 80px;
    }

    .carousel-item img {
        height: 250px;
    }
}

@media(max-width:375px) {
    .testimonial-img img {
        width: 60px;
        height: 60px;
    }
}



.life-at-emerald {
    padding: 50px 8px;
    background: #ff95f124;
}

.life-at-emerald .slick-track {
    margin-top: 0px !important;
}

.elements-top {
    margin-top: 20px;
}

.emerald-card {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;

}

.emerald-card img {
    transition: all 0.3s ease-in-out;

}

.emerald-card img:hover {
    transform: scaleY(1.1);

}

.emerald-card img:hover {
    transform: scale(1.1);

}

.curriculum-section {
    text-align: center;
    padding: 50px 8px;
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: #1b5e20;
}

.description {
    margin-bottom: 30px;
}

.curriculum-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.curriculum-box {
    width: 300px;
    height: 345px;
    border: 2px solid #8b3c2a;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 10px;
}

.curriculum-box img {
    max-width: 100%;
    max-height: 100%;
    transition: all 0.3s ease-in-out;
}

.curriculum-box:hover img {
    transform: scale(1.2);
}

@media(max-width:475px) {
    .emerald-card {
        height: auto;
    }
}

/* Ribbon Design */
.ribbon {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 60px;
    background: url(images/school-building/shape.png);
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.ribbon span {
    margin-top: 12px;
}

.curriculum-box .curriculum-content {
    width: 100%;
    height: 100%;
    position: absolute;
    background-blend-mode: overlay;
    background-color: #090909c9;
    display: flex;
    justify-content: center;
    align-items: start;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 7px;
    padding: 20px 10px 10px 10px;
}

.curriculum-box:hover .curriculum-content {
    opacity: 1;
}

.curriculum-box .curriculum-content ul {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    text-align: start;
}

.curriculum-box .curriculum-content ul li {
    /* list-style-type: "👉 "; */
    color: white;
    font-size: 13px;
}

/* Hover effect (optional) */
.curriculum-box:hover {
    transform: translateY(-6px);
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sports-section {
    padding-top: 50px;
    padding-left: 8px;
    padding-right: 8px;
}

.sport-card {
    overflow: hidden;
    border-radius: 10px;
}

.sport-card img {
    width: 100%;
    height: 200px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.sport-card:hover img {
    transform: scale(1.2);

}

.our-value-section {
    margin-top: 50px;
    padding: 50px 8px;
    background-color: #eaffd7b5;
}

.our-value-section h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
}

.slick-list {
    padding-bottom: 20px !important;
}

.value-card {
    width: 220px;
    height: 180px;
    background: rgba(1, 34, 15, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* transparent glass */
    backdrop-filter: blur(10px);
    /* main blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    transition: all 0.3s ease-in-out;

    border-radius: 10px;
    /* glass border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* soft shadow */
}

.value-card:hover {
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

.value-card img {
    text-align: center;
    width: 65px;
    border-radius: 100px;
}



.value-card h4 {
    color: white;
    font-size: 16px;
    font-weight: 300;
    margin: 30px 0;
}

/* ============ */
@media(max-width:1399px) {
    .value-card {
        width: 200px;
        padding: 16px;
    }
}

@media(max-width:1199px) {
    .value-card h4 {
        margin: 16px 0 0;
    }

    .value-card img {
        width: 50px;
    }

    .value-card {
        width: 160px;
        padding: 16px;
        height: 150px;
    }
}

@media(max-width:1024px) {
    .value-card {
        width: 90%;
    }
}

@media(max-width:991px) {
    .value-card {
        width: 180px;
    }
}

@media(max-width:767px) {
    .value-card {
        width: 90%;
    }
}

@media(max-width:767px) {
    .sport-card img {
        height: 150px;
    }
}

/* ============ */


.news-event-section {
    padding-top: 50px;
    padding-left: 8px;
    padding-right: 8px;
}


.event-box {
    border: 1px solid #d9d9d9;
    padding: 20px;
    border-radius: 10px;
    min-height: 260px;
    position: relative;
    background: linear-gradient(29deg, #004ea494, #b3ffd8);
}

.event-box .event-img {
    position: absolute;
    content: "";
    top: 57%;
    right: -3%;

}

.event-box .event-img img {
    width: 128px;
    height: 110px;

}

.news-event .col-lg-4:nth-child(1) .event-box {
    border-top: 4px solid #efb154;
}


.news-event .col-lg-4:nth-child(2) .event-box {
    border-top: 4px solid #348334;
}

.news-event .col-lg-4:nth-child(3) .event-box {
    border-top: 4px solid #293197;
}


.event-box .event-post-top-content {
    padding: 25px 20px;
}

.event-box .event-post-top-content .event-head {
    color: #3d97db;
    font-size: 14px;
    letter-spacing: .6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-box .event-post-top-content h3 {
    font-size: 20px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    color: #000000b8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


.event-box .featured-image-wrapper {
    overflow: hidden;
}

.event-box .featured-image {
    background: #e5e5e5 no-repeat center;
    background-size: cover;
    transition: transform .3s ease;
    height: 270px;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-content: center;
}



.event-box .featured-image:hover img {
    transform: scale(1.1);
}

.event-box .event-post-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.event-box .event-post-bottom-content p {
    margin-bottom: 0;
    font-size: 16px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #00305c;
    padding: 12px 20px;
    font-weight: 600;
}





.news-box .event-post-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00305c;
}


.news-box .event-post-bottom-content p {
    margin-bottom: 0;
    font-size: 16px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #00305c !important;
    padding: 12px 20px;
    font-weight: 600;
}

.news-box .event-post-bottom-content .read-more {
    background-color: #91c3e9;
    position: relative;
    padding-right: 40px;
}

.event-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    width: 100%;
}

.event-date {
    width: 150px;
    background: #7b4a24;
    /* same brown color as image */
    color: #fff;
    padding: 10px 0;
    border-radius: 6px;
    font-family: Arial, sans-serif;
}

.event-date .month {
    font-size: 16px;
    font-weight: 600;
}

.event-date .day {
    font-size: 22px;
    font-weight: bold;
    line-height: 22px;
}

.event-date .year {
    font-size: 14px;
    margin-top: 3px;
}

.event-title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #333;
}

.read-more {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}


/* .view-all {
    padding: 3px 11px;
    color: #ffffff;
    border-radius: 5px;
    margin: auto;
    display: block;
    background: #00305c;
    margin-top: 40px;
    border: 1px solid #00305c;
    font-family: "Roboto", sans-serif;

} */
.view-more-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-more-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(0, 86, 0);
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease-in-out;
}

.view-more-button a:hover {

    background-color: rgb(255, 204, 36);
    color: rgb(0, 86, 0);


}

.view-all {
    border: none;
}

.view-all a {
    padding: 10px 20px;
    background-color: rgb(0, 86, 0);
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease-in-out;
    border: none;
}

.view-all a:hover {
    background-color: rgb(255, 204, 36);
    color: rgb(0, 86, 0);
}





.footer-section {
    background: linear-gradient(90deg, rgba(43, 43, 43, 0.84) 0%, rgba(43, 43, 43, 0.79) 100%), url(images/school-building/building1.png);
    color: #fff;
    margin-top: 50px;
    padding: 50px 0;
    background-size: cover;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f6e866;
    display: block;
    margin-top: 6px;
}

.school-block {
    margin-bottom: 25px;
}

.school-block h6 {
    font-size: 15px;
    font-weight: 700;
}

.school-block p {
    font-size: 14px;
    margin: 4px 0;
}

.footer-social a {
    background: #fff;
    color: #2b2b2b;
    display: inline-flex;
    width: 34px;
    height: 34px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin-right: 8px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.footer-links a i {
    margin-right: 5px;
}

.footer-links a:hover {
    color: #f6e866;
}


.hero-section {
    padding-top: 150px;
    padding-bottom: 90px;
    text-align: center;
    background: linear-gradient(154deg, rgba(87, 199, 133, 0.85) 51%, rgba(237, 221, 83, 1) 100%), url(images/school-building/building1.png);
}

.hero-section h1 {
    font-size: 45px;
    font-weight: 600;
}

.breadcrumb-custom {
    color: #777;
    font-size: 15px;
}

.breadcrumb-custom a {
    color: #000;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 70px 0;
}

.about-section h2 {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-section h2 span {
    color: var(--primary-color);
}

.about-section p {
    color: #000000;
    line-height: 1.7;
    text-align: justify;
}

.about-img {
    border-radius: 15px;
    overflow: hidden;
}

.img-flu {
    width: 108% !important;
}

.btn-outline-dark {
    padding: 10px 25px;
    border-radius: 30px;
}


/* Achievement section css start here */

.achievement h2 {
    font-size: 28px;
    font-weight: 600;
}

.achievement .content {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 10px;
}

.achievement-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
    border-radius: 20px;
}



/* Responsive */
@media (max-width: 1440px) {
    .slider {
        height: 100vh;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.show {
        display: flex;
        padding: 8px 10px;
        gap: 0;
    }

    .logo-area img {
        width: 55px;
    }

    .slider {
        height: 100vh;
    }

    .mobile-menu a {
        padding: 7px 10px;
    }

    .mobile-nav-link ul a {
        padding-left: 0;
        font-size: 16px;
    }

    .dropdown li>a::after {
        font-size: 20px !important;
    }

}

@media (min-width: 992px) {
    .emerald-card {
        width: 220px;
        height: 160px;
    }

}

@media (min-width: 1400px) {
    .emerald-card {
        width: 300px;
        height: 200px;
    }
}

@media (max-width: 991px) {
    .tour-video-section {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .AbHeadrespon {
        margin-top: 16px !important;
    }

    .slider {
        height: 300px;
    }

    .emerald-card {
        margin-left: 23px;
    }

    .welcome-section {
        padding: 0px;
    }

    .welcome-content h2 {
        line-height: 33px;
        font-size: 24px;
    }

    .welcome-content h3 {
        font-size: 16px;
        margin-top: 10px;

    }

    .welcome-content h5 {
        margin-top: 10px;
    }

    .p-5 {
        padding: 20px !important;
    }

    .main-video {
        padding: 20px !important;
        height: 215px;
        margin-top: 0px;
    }

    .tour-video-section {
        height: 325px;
    }

    .slick-slider .element {
        height: 300px;
    }

    .testimonalParaSec {
        font-size: 14px;
    }

    .logo-area h1 {
        font-size: 18px;
    }


    .button-group {
        display: none;
    }

    .ToursGallerySec {
        width: 100%;
        height: auto !important;
    }

    .slick-initialized .slick-slide {
        display: flex !important;
        justify-content: center;
        text-align: center;
    }

    .footer-section {
        margin-top: 10px;
    }
}


@media (max-width: 475px) {

    .tour-video-section {
        height: 200px;
    }

    .slick-slider .element {
        height: 330px;
    }

    .testimonial-img {
        top: -45px;
        left: 40%;
    }

    .slick-track {
        margin-top: 10px;
    }
}

.qr-wrapper {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    justify-content: center;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

.qr-code a {
    text-decoration: none;
    color: #fff;
}

.qr-label {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
}

.school-code-text {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}


/* ======== modal css start here ======================= */

/* ===== Modal Overlay ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
}

/* Show Modal */
.modal.show {
    opacity: 1;
    visibility: visible;
}

/* ===== Popup Box ===== */
.popup {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    max-width: 570px;
    width: 90%;
    transform: scale(0.7);
    transition: all 0.3s ease;
}

/* Zoom animation */
.modal.show .popup {
    transform: scale(1);
}

/* ===== Image ===== */
.popup img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* ===== Close Button ===== */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-color: red;
    padding: 10px;
    border-radius: 10px;

}

.close-button::before,
.close-button::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 5px;
    width: 20px;
    height: 2px;
    background: #ffffff;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.button-group a {
    text-decoration: none;
    padding: 10px 20px;
    background: #ff0000;
    color: #fff;
    border-radius: 6px;
    border: 1px solid black;
    animation: register 1s infinite;
}

/* Start Rules Page  */
.RulesSecList {
    padding: 16px;
    border: 1px solid #99999961;
    border-radius: 8px;
}

.RulesSecList li {
    font-size: 16px;
    padding: 10px 0;
    margin: 10px auto;
    border-bottom: solid 1px #d3d3d3;
    list-style: number;
    margin-left: 20px;
}

.visitinSecPara {
    height: 136px;
}

.schoolRulHead h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 auto 12px;
    text-align: left;
    color: #1b5e20;
}

.SchoolRulesSec p {
    font-size: 14px;
}

.schRulesParaSec {
    padding: 10px 8px;
    border-right: 1px solid #c3c3c3;
    height: 100%;
}

@media(max-width:767px) {
    .schRulesParaSec {
        border-right: none;
    }
}

/* End Rules Page  */
/* start fancyBox Gallery */
.ToursGallerySec {
    padding: 6px 2px;
    border-radius: 10px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
}

.ToursGallerySec img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media(max-width:767px) {
    .ToursGallerySec {
        margin: 0 auto 14px;
    }

    .ToursGallerySec {
        width: 250px;
    }
}

@media(max-width:575px) {
    .ToursGallerySec {
        width: 90%;
    }
}

/* End fancyBox Gallery */


/* gallery css start here */
.gallery-section {
    padding: 30px 10px;
}

.main-gallery-card {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 10px;
    border-radius: 10px;
}

.gallery-card {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 10px;
    border-radius: 10px;
}

.card-cont {
    padding-top: 0px;
}

.card-cont h5 {
    font-size: 16px;
    padding: 8px 0 0;
}

.main-gallery-card .card-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.gallery-card .card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.alumni-card {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    min-height: 280px;
}

.alumni-body {
    display: flex;

}

.alumni-header {
    padding: 10px;
    border-bottom: 1px solid green;

}

.alumni-header h5 {
    font-weight: 700;

}

.alumni-content {
    padding: 10px 60px 60px 20px;
}

.alumni-img {
    padding: 10px;

}

.alumni-img img {
    width: 120px;
    border-radius: 100px;
}

.principle-mgs {
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.activity-msg {
    margin-top: 20px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}






@media(max-width:1199px) {
    .about-section {
        padding: 40px 0;
    }

    .about-section p {
        font-size: 14px;
    }
}

@media(max-width:991px) {
    .about-section h2 {
        margin-bottom: 10px;
        margin-top: 16px;
    }

    .alumni-img img {
        width: 70px;
    }

    .alumni-content {
        padding: 10px 10px 10px 10px;
    }
}

@media(max-width:767px) {
    .about-section {
        padding: 30px 0;
    }

    .about-section h2 {
        margin-top: 0;
        font-size: 26px;
    }

    .RulesSecList li {
        font-size: 14px;
        margin-left: 20px;
        margin-top: 0;
        text-align: justify;
    }

    .schoolRulHead h4 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 auto 6px;
    }

    .hero-section {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .alumni-content {
        padding: 10px 10px 20px 20px;
    }

    .gallery-section {
        padding: 10px 10px;
    }

    .alumni-card {
        min-height: auto;
    }
}

@media(max-width:575px) {
    .about-section {
        padding: 16px 0;
    }

    .about-section p {
        text-align: justify;
    }
}

.breadcrumb-custom {
    font-size: 14px;
}

/* animation */
@keyframes register {
    0% {
        background: #ff0000;
        color: #fff;
    }

    100% {
        background: #039800e1;
        color: #ffffff;
    }
}


@media(max-width:1399px) {
    .testimonalParaSec {
        font-size: 15px;
    }

    .valueMarginSec .slick-track {
        margin-top: 0;
    }
}



@media(max-width:1373px) {
    .nav-container {
        gap: 6px;
    }

    .button-group a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 1310px) {
    .nav-links a {
        padding: 6px 6px;
        font-size: 14px;
    }

    .hero-section h1 {
        font-size: 36px;
    }
}

@media (max-width: 1299px) {
    .logo-area h1 {
        font-size: 20px;
    }
}

@media (max-width: 1199px) {
    .logo-area h1 {
        font-size: 16px;
    }
}

@media (max-width: 1064px) {
    .logo-area h1 {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .nav-container {
        gap: 50px;
    }

    .logo-area h1 {
        font-size: 24px;
    }

    .hero-section h1 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .nav-container {
        gap: 10px;
    }

    .logo-area h1 {
        font-size: 20px;
    }

    .hero-section h1 {
        font-size: 24px;
    }
}

@media (max-width: 375px) {
    .nav-container {
        gap: 3px;
    }

    .hamburger {
        margin-right: 13px;

    }
}


/* fee structure css start here */


/* TITLE */
.title {
    text-align: center;
    color: #7a3b00;
    margin: 20px 0;
    border-bottom: 2px solid #7a3b00;
    padding-bottom: 5px;
}

/* TABLE */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    border: 2px solid black;
}

th {
    background: #7a3b00;
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

td {
    background: #e6c29f;
    padding: 10px;
    text-align: center;
    font-weight: 500;
}

/* NOTES */
.notes {
    margin-top: 20px;
    color: #7a3b00;
    font-size: 14px;
}

/* 📱 MOBILE */
@media(max-width:768px) {

    .header {
        flex-direction: column;
        text-align: center;
    }

    th,
    td {
        font-size: 10px;
        padding: 5px;
    }

    .registration-button {
        display: block !important;
        top: 70% !important;
        left: 0px !important;
    }
}

.fee-section {
    width: 100%;
    margin-top: 130px;
}



.btn-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.btn-group a {
    padding: 15px 83px;
    background-color: #263B6A;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-size: 24px;
    margin-top: 20px;


}

.btn-group a:hover {
    background-color: #0C6018;



}

.registration-button {
    display: none;
    content: "";
    position: fixed;
    top: 40%;
    z-index: 999999;
    right: 20px;
}

.registration-button a {
    padding: 10px 10px;
    background-color: green;
    color: white;
    border-radius: 5px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    /* makes text readable */

}