* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Lato';
    line-height: 1.6;
    color: #333;
    background: #fff;
}


.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: #192F59;
    color: white;
    padding: 8px 0;
    font-size: 15px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accessibility-icons {
    display: flex;
    gap: 2px;
}

.accessibility-icons span {
    padding: 4px 8px;
    /* border: 1px solid white; */
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
}

.accessibility-icons span:hover {
    background: white;
    color: #1e4a72;
}

.main-header {
    background-color: #FFFFFF;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap; */


}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
}

.title-section h1 {
    margin: 0;
    font-family: Inter;
    font-weight: 700;
    font-size: 19px;
    line-height: 35px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Navigation */
.navigation {
    background: #192F59;
    display: flex;
    justify-content: flex-start;
    box-shadow: 4px 0 3px 0 black;
}

.nav-menu {
    display: flex;
    list-style: none;
    /* top: 54px; */
    left: 618px;
    /* padding: 10px; */
    gap: 54px;
    vertical-align: middle;
    margin-top: 1rem;
}

.nav-menu li a {
    text-decoration: none;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 14px;
    line-height: 27.2px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: white;

}

.nav-menu li a.active,
.nav-menu li a:hover {
    color: #3DB166;
}


/* //for hover */
.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 16px 0px;
    margin: 0;
    z-index: 999;
    font-size: 15px;
    width: 200px;
    background-color: #ffffffd6;
}

/* Ensure the parent <li> has relative positioning */
.nav-menu .dropdown {
    position: relative;
}

/* Show dropdown on hover */
.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: style dropdown items */
.nav-menu .dropdown-menu li a {
    display: block;
    padding: 7px 15px;
    font-size: 14px;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.574);
}

.nav-menu .dropdown-menu li a:hover {
    background-color: #f0f0f0;
}




/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #333;
}


.hero {
    position: relative;
}

.hero-image {
    height: 600px;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(269.51deg, rgba(0, 0, 0, 0) 23.66%, rgba(22, 38, 71, 0.8) 88.73%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 3;
    max-width: 741px;
}

.hero-content h1 {
    font-family: 'Playfair Display';
    font-weight: 700;
    font-size: 60px;
    line-height: 88px;
    letter-spacing: 0%;
    vertical-align: middle;

}


.hero-content h3 {
    font-family: 'Playfair Display';
    font-weight: 700;
    font-size: 50px;
    vertical-align: middle;
    margin-bottom: 2rem;
}

.hero-content p {
    /* font-family: 'Poppins';
    font-weight: 300;
    font-size: 28px;
    line-height: 42px;
    letter-spacing: 0%;
    vertical-align: middle; */
    font-family: 'Playfair Display';
    font-weight: 300;
    font-size: 37px;
    line-height: 42px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-left: .8rem;

}

.hero-content .button {
    padding: 0.75rem 1.5rem;
    background-color: #FFFFFF;
    color: #333;
    border-left: 5px solid #3DB166;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 17px;
    line-height: 16px;
    letter-spacing: 0%;
    vertical-align: middle;

    text-decoration: none;

}

/* Top Icon Box */
.top-box {
    background-color: white;
    /* padding: 30px 20px; */
    padding: 47px 7px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1272px;
    margin: -60px auto 40px;
    position: relative;
    z-index: 10;
}

.icon-item {
    font-weight: 600;
    color: #1c2a49;
    margin: 10px 26px;
    display: flex;
    width: 214px;
    align-items: center;
    gap: 22px;
}

.icon-item img {
    width: 36px;
}

.icon-title {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 15px;
    line-height: 27.9px;
    letter-spacing: 0%;
    vertical-align: middle;

}

.icon-item i {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

/* About Us Section */
.about-us-section {
    width: 90%;
    max-width: 1272px;
    height: 500px;
    margin: -38px auto;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}



/* Equal split */
.about-us-left,
.about-us-right {
    width: 50%;
    height: 100%;
    position: relative;
}

/* Video styling */
.about-us-left .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;

}


/* Right section with background + text */
.about-us-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Gradient overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(269.51deg, rgba(0, 0, 0, 0) 23.66%, rgba(22, 38, 71, 0.8) 88.73%);
    z-index: 1;
    background: #132F3CCC;

}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    line-height: 30.6px;
    letter-spacing: 0%;
    vertical-align: middle;

}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.about-button {
    padding: 10px;
    border-radius: 2px;
    background-color: #3DB166;
    font-family: 'Poppins';
    font-size: 15px;
    line-height: 25.5px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: white;
    text-decoration: none;

}

.mission-vision-section {
    margin-top: 120px;
    /* Or more as needed */
}

/*  */
.mission-vision-section {
    position: relative;
    background-repeat: no-repeat;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* padding: 60px 20px; */
}

.mission-vision-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #132F3CD9;
    z-index: 1;
}

.mission-vision-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 40px;
}

.mission-left {
    flex: 1;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    /* justify-content: ; */
}

.mission-left .title {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 25px;
    line-height: 37.2px;
    letter-spacing: 0%;
    vertical-align: middle;

}


.mission-right {
    flex: 2;
    max-width: 65%;
    margin-top: 2rem !important;
}

.mission-right h4 {
    /* font-size: 1.5rem; */
    /* margin-bottom: 15px; */
    /* width: 839px; */
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 23px;
    line-height: 39.1px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #D8E3FB;
    margin-top: 2rem;
    margin-bottom: 2rem;

}

.mission-right p {

    font-family: 'Poppins';
    font-weight: 500;
    font-size: 15px;
    line-height: 30.3px;
    vertical-align: middle;
    color: #FFFFFF;
    /* margin-top: 5rem; */
}

.read-more {
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
    transition: color 0.3s;
}

.read-more:hover {
    color: #28a745;
}


.latest-links-section {
    width: 100%;
    /* padding: 60px 0; */
}

.latest-news {
    background: #fff;
    padding-left: 6rem;
    padding-top: 4rem;
}

.section-underline {
    width: 40px;
    height: 2px;
    background-color: #ccc;
    border: none;
    margin: 10px 0 20px;
}

.news-item {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.important-links {
    /* replace with your actual path */
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    /*  */
}

.important-links h3 {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 25px;
    line-height: 35px;
    letter-spacing: 0%;
    vertical-align: middle;

}

.important-links .overlay {
    position: absolute;
    inset: 0;
    background: #132F3CD6;
    z-index: 1;
}

.important-links .content {
    z-index: 2;
    padding: 6rem 6rem;
}

.important-links ul li {
    margin-bottom: 10px;
    font-size: 16px;

    font-family: 'Inter';
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0%;
    vertical-align: middle;
    display: flex;
}



.important-links ul li a {
    color: white !important;
    text-decoration: none;
}

.info-section {
    /* margin-top: -3rem; */
}


.info-section .info-box {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-section .overlay {
    background: #132F3CCC;
    color: white;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-section .overlay.dark {
    background-color: #0f2a3c;
}

.info-box.alumni {
    background-image: url('../images/school/alumni.jpg');
}

.info-box.contact {
    /* background-color: #0f2a3c; */
    background-image: url('../images/school/contact.jpg');
    border: 1px solid #ffffff75;
}

.info-box.feedback {
    background-image: url('../images/school/feedback.jpg');
}


.info-box h4 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 18px;
    line-height: 21.6px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;

}

.info-box p {
    width: 365px;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 15px;
    line-height: 25.5px;
    text-align: center;
    margin: 0 auto;
}


.gallery-section {
    text-align: center;
    padding: 60px 20px;
}

.gallery-title {
    color: #51BE78;
    font-size: 32px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 40px;
}

.gallery-slider {
    position: relative;
    /* max-width: 1100px; */

    max-width: 1300px;
    /* max-width: 1406px; */
    margin: 0 auto;
}

.gallery-swiper {
    overflow: visible;
}

.swiper-wrapper {
    align-items: center;
}

/* .swiper-slide {
    transition: all 0.3s ease;
    opacity: 0.4;
    transform: scale(0.85);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
} */

.swiper-slide img {
    width: 100%;
    height: 298px;
    object-fit: cover;

}

/* Arrows */
.custom-nav {
    color: white;
    background-color: #51BE78;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev {
    left: -60px;
}

.swiper-button-next {
    right: -60px;
}

.gallery-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.see-all-btn {
    background-color: #51BE78;
    ;
    color: white;
    padding: 12px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
}



.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper {
        padding: 0 20px;
    }
}



@media (max-width: 768px) {
    .info-box {
        height: 250px;
    }
}


/* Footer */
.footer {
    background: #132F3C;
    color: white;
    padding: 20px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 11px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 12px;
    border-top: 1px solid rgb(255 255 255);
    font-size: 14px;
}

/* Center the copyright text */
.footer-bottom .copyright-text {
    margin: 0 auto;
    text-align: center;
}


.footer-bottom .visitor-count {
    position: absolute;
    right: 20px;
    margin: 0;
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    /* .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        padding: 15px 21px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .nav-menu.show {
        display: flex;
    }

    .navigation {
        width: 100%;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    } */

    .logo-section {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .title-section h1 {
        font-size: 17px;
    }


    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 999;
        color: white;
    }

    .nav-toggle .bar {
        display: block;
        width: 25px;
        height: 5px;
        margin: 5px auto;
        background-color: white;
        /* or use black based on your design */
        transition: 0.3s;
        border-radius: 2px;
    }



    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        gap: 15px;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu .dropdown-menu {
        background-color: #fffffffa;
    }

    .nav-menu .dropdown-menu  li a{
        font-size: 11px;
    }


    .dropdown-menu {
        position: static;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }



    .dropdown>a:focus+.dropdown-menu,
    .dropdown-menu:focus-within {
        display: block;
    }
}



@media (max-width: 768px) {

    .top-bar {
        font-size: 13px;
        text-align: center;
    }

    .top-bar-content {
        flex-direction: column;
        /* align-items: flex-start; */
        /* or center, based on design */
        gap: 8px;
    }

    .top-right {
        flex-direction: row;
        align-items: center;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
        /* text-align: center; */
    }

    .title-section h1 {
        font-size: 15px;
        line-height: 19px;
    }

    .hero-content p {
        font-size: 23px;
    }

    .hero-content h1 {
        font-size: 40px;

    }

    .hero-content h3 {
        font-size: 36px;

    }

    .icon-item {
        font-weight: 600;
        color: #1c2a49;
        margin: 14px 26px;
        display: flex;
        width: 214px;
        align-items: center;
        gap: 29px;
    }

    .info-box p {
        width: 352px;
    }

    .hero-content {
        left: 6%;
    }

    .about-us-left {
        display: none;
    }

    .about-us-right {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .about-content {
        display: -webkit-box;
        -webkit-line-clamp: 20;
        /* number of lines to show */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .about-content {
        margin-top: -3rem;
    }

    .latest-news {
        background: #fff;
        padding-left: 2px;
        padding-top: 2rem;
    }

    .important-links .content {
        z-index: 2;
        padding: 2rem 4rem;
    }

    .gallery-section {
        text-align: center;
        padding: 23px 3px;
    }

    .swiper-slide img {
        /* width: 100%; */
        height: 100px;
        object-fit: cover;

    }

    .swiper-button-next,
    .swiper-button-prev {
        position: absolute;
        top: var(--swiper-navigation-top-offset, 81%) !important;
        width: calc(var(--swiper-navigation-size) / 36 * 19) !important;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding-top: 7px;
        border-top: 1px solid rgb(255 255 255);
        font-size: 8px;
    }

    .footer-bottom .visitor-count {
        position: absolute;
        right: 20px;
        top: 21px;
    }
}

@media (max-width: 767.98px) {
    .mission-vision-section {
        height: auto;
        flex-direction: column;
        padding: 40px 20px;
    }

    .mission-vision-section .container {
        flex-direction: column;
        padding: 20px;
    }

    .mission-left {
        max-width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .mission-left .title {
        font-size: 22px;
        line-height: 32px;
    }

    .mission-right {
        max-width: 100%;
        margin-top: 1rem !important;
    }

    .mission-right h4,
    .mission-right p {
        width: 100%;
        height: auto;
        font-size: 17px;
        text-align: justify;
    }

    .mission-right .read-more {
        display: inline-block;
        margin-top: 1rem;
        color: #51BE78;
        font-weight: 500;
    }
}

@media (max-width: 768px) {
    .about-full {
        display: none;
    }

    .about-short {
        display: block;
    }
}


.scrollable-links::-webkit-scrollbar {
    width: 8px;
}

.scrollable-links::-webkit-scrollbar-thumb {
    background-color: #51BE78;
    border-radius: 4px;
}



/* Activities */
.activities {
    /* padding: 60px 0; */
    font-family: 'Inter';

}

.activities h2 {
    color: #1e4a72;
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: bold;
}

.swiper {
    /* padding: 6rem 3rem !important; */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 21px !important;
    /* background: #ffffff !important; */
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    padding: 9px !important;
    border-radius: 27px !important;
    font-weight: 800 !important;
}

.activity-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
    background-color: #0f2a3c;
    padding: 5rem 3rem;
}

.activity-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
}

.activity-text {
    padding-top: 3rem;
}

.activity-text h3 {
    color: #FFFFFF;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: bold;
    margin-left: 2rem;
}

.activity-text ul {
    list-style: none;
}

.activity-text li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    line-height: 1.6;
    color: #FFFFFF;
}

.activity-text li:before {
    content: "•";
    color: #1e4a72;
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* Remove outer padding on the Swiper container */
.swiper.activity-content {
    padding: 0 !important;
    overflow: hidden;
}

/* Keep padding INSIDE each slide */
.swiper-slide>.row {
    padding: 6rem 3rem;
    /* background-color: #F3F9FF; */
    /* border-radius: 12px; */
    margin: 0;
}

/* Ensure slide takes full width */
.activity-content .swiper-slide {
    width: 100% !important;
    box-sizing: border-box;
}

.activity-content .swiper-wrapper {
    position: relative;
    width: 100%;
    height: auto !important;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}


.swiper-slide,
swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto !important;
    position: relative;
    transition-property: transform;
    display: block;
}


.activity-title {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 25px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 40px 0 0 0;
}


/* latest news sectio auto scrollable */
.content-items-wrapper {
    max-height: 320px;
    overflow: hidden;
    position: relative;
}

.content-items {
    display: flex;
    flex-direction: column;
    animation: scrollUp 10s linear infinite;
}

/* Add pause on hover (optional) */
.content-items-wrapper:hover .content-items {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.activity-text p,
.activity-text a,
.activity-text table,
.activity-text ul,
.activity-text li {
    color: white;
}

