


/*GOOGLE FONT*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
}

img{
    display: block;
    max-width: 100%;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/*HEADER*/

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

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

.logo img{
    width: 50px;
    height: 50px;
    background-color: black;
    object-fit: contain;
}

.logo h2 {
    margin: 0;
}

.navbar{
    width: 90%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 0;
}

.nav-links{
    display: flex;
    gap: 35px;
}

.nav-links a{
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    transition: .3s;
    position: relative;
}

.nav-links a::after{

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: #1E7D32;

    transition: .3s;
}

.nav-links a:hover{
    color: #1E7D32;
}

.nav-links a:hover::after{
    width: 100%;
}

/*HERO SECTION*/

.hero {
    min-height: 100vh;
    padding-top: 90px;
    position: relative;
    background-image: url(images/IMG-20260726-WA0029.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*HERO OVERLAY*/
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55)
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    color: #fff;
    text-align: center;
}

.hero-content {
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 500;
    margin-bottom: 15px;
}

/*HERO H1*/
.hero-content h1{
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}
/*HERO MOTTO*/
.motto {
    font-size: 1.4rem;
    max-width: 650px;
    margin: 0 auto 35px;
}

/*HERO BUTTONS CONTAINERS*/
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/*HERO BUTTON*/

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: #1E7D32;
    color: #fff;
    border-radius: 50px;
    transition: 3s ease;
}
.btn:hover {
    background: #166528;
    transform: translateY(-3px);
}

/*HERO BUTTON*/

.btn2 {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    transition: 3s ease;
}
.btn2:hover {
    background: #fff;
    color: #1E7D32;
    transform: translateY(-3px);
}

/*ABOUT SECTION*/

.about {
    padding: 100px 8%;
    background: #f8f9fa;
}
.about-containers {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 80px;
}

#about {
    padding: 100px 8%;
    background: #f8f9fa;
}

#about h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 60px;
}

/*ABOUT US CARD BOX*/

.about-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0,0.8);
    text-align: center;
    transition: 3s ease;
}

.about-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0,);
}

/*VISON & MISSION*/

.vision-mission {
    margin-top: 100px;
}
.vision-mission h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 60px;
}

/*VISION CONTAINER*/
.vm-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vm-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    transition: all .3s ease;
}

.vm-card i{
    font-size: 2.7rem;
    color: #1E7D32;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #222;
}
.vm-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.vm-card:hover {
    transform: translate(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 1.5);
}

/*ACADEMICS SECTION*/

.why-choose {
    padding: 100px 8%;
    background: #ffffff;
}
.why-choose h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 20px;
}
.section-text {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    color: #666;
    line-height: 1.8;
}

/*CONTAINER*/
.strength-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strength-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
    transition: all .35s ease;
    cursor: pointer;
}

/*ACADEMIC PERFORMANCE*/
.academics {
    padding: 100px 8%;
    background: #f8f9fa;
}
.academics h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 20px;
}
/*ACADEMIC CARD CONTAINER*/
.academics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.academics-card {
    background: #fff;
    padding: 40px 25px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
    transition: all .3s ease;
}
.academics-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0,0,0,1.5);
}

.academics-card i {
    font-size: 2.5rem;
    color: #1E7D32;
    margin-bottom: 20px;
}
/*ACADEMICS PERCENTAGE/NUMBER*/

.academics-card h3 {
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 10px;
    font-weight: 700;
}

/*DESCRIPTION*/

.academics-card p {
    color: #666;
    font-size: 1rem;
}

/*EXTRA CURRICULAR SECTION*/
.activities {
    padding: 100px 8%;
    background: #fff;
}

.activities h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 20px;
}

/*CURRICULAR CONTAINER SECTION*/
.activities-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/*CURRICULAR CARDS*/
 .activities-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
 }

 /*CURRICULAR IMAGES*/
 .activity-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
 }

 /* IMAGE HOVER*/
 .activity-card:hover img {
    transform: scale(1.08);
 }

 /*IMAGE OVERLAY*/
 .activity-overlay {
    position: relative;
    bottom: 0;
    top: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.2),transparent);
    color: #fff;
 }

 .activity-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
 }
/* ===========================
   GALLERY SECTION
=========================== */

.gallery{
    padding: 100px 8%;
    background: #f8f9fa;
}

.gallery h2{
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 20px;
}

/* ===========================
   GALLERY CONTAINER
=========================== */

.gallery-container{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   GALLERY SLIDER
=========================== */

.gallery-slider{
    width: 100%;
    overflow: hidden;
}

/* Each Slide */

.gallery-slide{
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Active Slide */

.gallery-slide.active{
    display: grid;
}

/* ===========================
   GALLERY IMAGES
=========================== */

.gallery-slide img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    transition: transform .4s ease;
}

.gallery-slide img:hover{
    transform: scale(1.05);
}

/* ===========================
   NAVIGATION BUTTONS
=========================== */

.prev,
.next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #1E7D32;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: .3s ease;
    z-index: 100;
}

.prev{
    left: -25px;
}

.next{
    right: -25px;
}

.prev:hover,
.next:hover{
    background: #145c24;
}

/* ===========================
   GALLERY DOTS
=========================== */

.gallery-dots{
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cfcfcf;
    cursor: pointer;
    transition: .3s ease;
}

.dot.active{
    background: #1E7D32;
}

/*DIRECTORS SECTION*/

.leadership {
    padding: 100px 8%;
    background: #fff;
}
.leadership h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 60px;
}
/*LEADERSHIP CONTAINER*/
.leadership-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

/*DIRECTORS PROFILE*/

.director-profile {
    text-align: center;
}

/*DIRECTOR IMAGE*/

.director-profile img {
    width: 100%;
    max-width: 350px;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,1.2);
}

.director-profile h3{
    margin-top: 25px;
    font-size: 1.8rem;
    color: #222;
}

.position{
    color: #1E7D32;
    font-weight: 600;
    margin: 10px 0 20px;
}

.director-profile p{
    color: #666;
    line-height: 1.8;
}

.director-skills h3{
    font-size: 2rem;
    color: #1E7D32;
    margin-bottom: 30px;
}

/*SLIDER TAG
*/
.skill{
    display: inline-block;
    background: #f2f7f3;
    color: #1E7D32;
    padding: 12px 22px;
    margin: 10px 10px 0 0;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s ease;
    border: 2px solid transparent;
}

/*SLIDER HOVER*/

.skill:hover{
    background: #1E7D32;
    color: #fff;
    border-color: #1E7D32;
    transform: translateY(-3px);
}

/* ===========================
   CONTACT SECTION
=========================== */

.contact{
    padding: 100px 8%;
    background: #f8f9fa;
}

.contact h2{
    text-align: center;
    font-size: 2.3rem;
    color: #1E7D32;
    margin-bottom: 60px;
}

/* ===========================
   CONTACT CONTAINER
=========================== */

.contact-container{
    max-width: 800px;
    margin: auto;
}

.contact-info{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ===========================
   INFO BOXES
=========================== */

.info-box{
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.info-box:hover{
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

/* ===========================
   ICONS
=========================== */

.info-box i{
    width: 60px;
    height: 60px;
    background: #1E7D32;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===========================
   TEXT
=========================== */

.info-box h3{
    color: #222;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-box p,
.info-box a{
    color: #666;
    text-decoration: none;
    transition: .3s ease;
    word-break: break-word;
}

.info-box a:hover{
    color: #1E7D32;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background: #1E7D32;
    color: #fff;
    text-align: center;
    padding: 25px 8%;
}

footer p{
    margin: 0;
    font-size: .95rem;
    letter-spacing: .5px;
}


/* ===========================
   TABLET
=========================== */

@media (max-width:992px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .hero {
        background-position: center center;
        background-size: cover;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .about-containers,
    .strength-container,
    .academics-container,
    .activities-container{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-slide{
        grid-template-columns:repeat(2,1fr);
    }

    .leadership-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .contact-info{
        grid-template-columns:1fr;
    }

}


/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

    .navbar{
        flex-direction:row;
        justify-content:space-between;
    }

    .nav-links li{
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
    }
    .menu-toggle{
    display:none;
    }
    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:90px;
        right:20px;
        width:220px;
        background:#fff;
        padding:20px;
        border-radius:15px;
        box-shadow:0 10px 25px rgba(0,0,0,.15);
        gap: 15px;
        z-index: 1000;
    }

    .nav-links.active{
        display:flex;
    }

    .menu-toggle{
        display:block;
        font-size:2rem;
        cursor:pointer;
        color:#1E7D32;
    }

    .hero{
        min-height:100vh;
        background-position: center center;
        background-size: cover;
        text-align:center;
    }

    .hero-content h1{
        font-size:2.5rem;
    }

    .buttons{
        flex-direction:column;
    }

    .about-containers,
    .vm-container,
    .strength-container,
    .academics-container,
    .activities-container,
    .contact-info{
        grid-template-columns:1fr;
    }

    .gallery-slide{
        grid-template-columns:1fr;
    }

    .prev{
        left:10px;
    }

    .next{
        right:10px;
    }

    .director-profile img{
        height:350px;
    }

}