body{
    padding-top: 52px;
    background:rgb(231, 238, 231);
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    
}
.logo{
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap:12px;
    text-decoration:none;
    padding:0;
}

.logo img{
    height: 30px;     
    width: auto;
    display: block;
    margin-left:15px;
}
.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    line-height:1.2;
}

.logo-text .dept{
    font-size:15px;
    font-weight:500;
    color:#d9f1de;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.logo-text .inst{
    font-size:15px;
    color:#d9f1de;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.navigate{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    
    position: fixed;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to left, rgb(50, 75, 51), #18321d);
    pointer-events: auto;
    
} 
 
.navigate ul{
    list-style-type: none;
    background-color:transparent;
    overflow: hidden;
    gap:30px;
    margin:0px;
    padding: 0px; 
    display:flex;

    
}



 .navigate ul a{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: aliceblue;
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 15px;
    position: relative;   
}

.navigate ul a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,rgb(56, 105, 58), #6f9075);
    border-radius: 50px;
    transition: width .3s;
}
.navigate ul a:hover::after{
    width: 70%;
}
.navigate ul a.active::after{
    width: 70%;
}
.navigate li{
    float: none;
} 

.navigate a.active{
    background-color: transparent;   
    color: white;
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 99999 !important;
    pointer-events: auto !important;

    background:transparent;
    border: none;
    cursor: pointer;
    
    padding: 8px;
    margin-right: 15px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    border-radius: 3px;
}
@media (max-width: 768px) {

    .navigate {
        min-height: 65px;
        flex-wrap: wrap;
        z-index: 9999;
    }

    
    .logo img {
        height: 35px;
        margin-left: 10px;
    }

    .logo-text .dept {
        font-size: 12px;
    }

    .logo-text .inst {
        font-size: 11px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2000;
    }


   
    .navigate ul {
        display: none;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(to left, rgb(50, 75, 51), #18321d);
    }

    
    .navigate ul.show {
        display: flex;
    }

    .navigate li {
        width: 100%;
    }

    .navigate ul a {
        padding: 12px;
        text-align: center;
    }

    
    .navigate ul a.active::after {
        width: 30%;
    }

}
.footer{
    height:auto;
    padding:50px;
    height: auto;
    
    margin-bottom:0;
    
    width:100%;
    background-color: rgb(37, 41, 37);
    color:aliceblue;
    

}
.phone{
    display: flex;
    align-items:baseline;
    gap:18px;
    
}
.contact{
    
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.address {
    flex: 1;
    max-width: 50%;
    margin-left: 0;
}
.address p{
    font-size: 22px;
    font-family:'Times New Roman', Times, serif;
}
.parent{
    display:flex;
    justify-content:space-between;
    align-items: center;
    gap: 60px;
    padding: 20px 4%;
    border-bottom: 1px solid rgb(75, 79, 81);
}
.map {
    flex: 0 0 42%;
    max-width: 650px;
}
.map iframe{
    height:300px;
    width:100%;
    display: block;
    border: 0;
}
@media (max-width: 768px) {

    .footer {
        width: 100%;
        padding: 25px 20px 15px;
        box-sizing: border-box;
        margin: 0;
    }

    .contact h3 {
        font-size: 28px;
        margin: 0 0 25px;
        text-align: center;
    }

    .parent {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .address {
        margin: 0;
    }

    .address p {
        font-size: 17px;
        line-height: 1.35;
        margin: 0 0 15px;
    }

    .phone {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 0;
    }

    .phone p {
        font-size: 16px;
        margin: 0;
    }

    .map {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .map iframe {
        display: block;
        width: 100%;
        height: 250px;
        border: 0;
    }
}
.why{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;                
    width: 90%;                
    margin: 50px auto;    
    
}

.content{
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.why-topic{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    margin-bottom: 20px;
    width: 85%;
    margin: 60px auto;
}

.why-topic h4{
    margin:0;
    font-size:2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.toggle-btn{
    border:none;
    background:none;
    cursor:pointer;
    padding:0;
}

.toggle-btn i{
    display:inline-block;
    font-size:28px;
    transition:transform 0.3s ease;
}

.hidden-content{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
}

.hidden-content p{
    margin-top:20px;
    line-height:1.8;
    color:#444;
    text-align: justify;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: medium;
}

.content img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 20px auto 0;
    border-radius: 10px;
    box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.3);
}

/* active state */

.content.active .hidden-content{
    max-height:1000px;
}

.content.active button{
    transform:rotate(180deg);
}
.toggle-btn{
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 26px;
    padding: 0;
    transition: transform 0.3s ease;
    display: inline-block;
}
@media (max-width: 900px) {

    .why {
        grid-template-columns: 1fr;
        width: 90%;
        margin: 30px auto;
        gap: 20px;
    }

    .content {
        width: 100%;
        box-sizing: border-box;
    }

    .why-topic {
        width: 100%;
        margin: 30px 0;
    }

    .why-topic h4 {
        font-size: 1.8rem;
    }

    .content img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px auto;
        object-fit: contain;
    }

    .hidden-content p {
        font-size: 15px;
        line-height: 1.6;
    }
}



.odd,
.even {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 50px;
    gap: 40px;
    box-sizing: border-box;
}

.odd {
    background-color: rgb(208, 216, 209);
}

.even {
    background-color: rgb(40, 63, 44);
}

/* Text section */
.odd > div,
.even > div {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: medium;
}

.even > div {
    color: rgb(230, 227, 227);
}

.odd p,
.even p {
    margin-top: 20px;
    line-height: 1.6;
}

/* Images */
.odd img,
.even img {
    width: 500px;
    max-width: 45%;
    height: auto;
    display: block;
    border-radius: 30px;
    margin: 0;
    object-fit: cover;
}
@media (max-width: 900px) {

    .odd,
    .even {
        flex-direction: column;
        padding: 40px 25px;
        gap: 25px;
        width: 100%;
    }

    .odd > div,
    .even > div {
        width: 100%;
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
    }

    .odd img,
    .even img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        border-radius: 20px;
    }
}

.profile{
    display: flex;
    justify-content:center;
    align-items: center;
}
.profile img{
    height:300px;
    width:250px;
    margin:30px;
    border-radius: 30px;
}
.profile div{
    margin:30px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
    
    
}
.piprofile{
    
    display: flex;
    justify-content: center;
}
.piprofile h3{
    margin-top:20px;
    margin-bottom: 20px;
    border-bottom:1px solid #193116;
}

@media (max-width: 768px) {

    .profile {
        flex-direction: column;
        width: 90%;
        margin: 30px auto;
        gap: 20px;
        text-align: center;
    }

    .profile img {
        width: 220px;
        height: 270px;
        margin: 0;
    }

    .profile > div {
        width: 100%;
        margin: 0;
        font-size: 17px;
    }

    .profile p {
        margin: 10px 0;
    }

}
.cm{
    display:flex;
    justify-content: center;
    background-color:rgb(40, 63, 44) ;
    color: aliceblue;
    margin-top: 20px;
    margin-bottom: 20px;
}
.team{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap:50px;
    margin:50px;
}
.team img{
    height:200px;
    width:200px;
    object-fit: cover;
    border-radius: 50%;
    background-color: rgb(239, 245, 239);
}
.members{
    text-align: center;
}
.teachings {
    font-size: larger;
    font-family: 'Times New Roman', Times, serif;

    /* Remove the fixed left margin */
    margin: 30px auto;

    /* Keep the content within a reasonable width */
    max-width: 1000px;
    width: 90%;

    box-sizing: border-box;
}
@media (max-width: 768px) {
    .teachings {
        width: 90%;
        margin: 30px auto;
        font-size: 18px;
    }
}


.welcome{
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    font-size: larger;
}

.welcome h2{
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.welcome h2::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 120px;
    height: 6px;
    background: linear-gradient(to right, #0f172a, #2eb24d);
    border-radius: 50px;
}

.welcome p {
    margin: 50px auto 0;
    max-width: 1000px;
    padding: 0 30px;
    text-align: justify;
    line-height: 1.6;
}
.gradient-text{
    background: linear-gradient(to right, #101B3A, #183524);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
@media (max-width: 768px) {

    .welcome {
        padding: 0 15px;
    }

    .welcome h2 {
        font-size: 28px;
    }

    .welcome p {
        margin: 30px auto 0;
        padding: 0 10px;
        font-size: 18px;
        line-height: 1.6;
        text-align: justify;
    }
    .gsp{
        margin-left:100px ;
    }

}
.title{
    display: flex;
    justify-content:left;
    padding:20px;
    margin: 10px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    border-bottom: 1px dashed #3c3b3b;
    text-align:left;
    margin-left: 5%;
    margin-right: 5%;
    /* background-color: rgb(223, 228, 223); */
    /* box-shadow: 10px 10px 20px 0px rgba(161, 159, 159, 0.3); */
   
}
.end{
    display: flex;
    justify-content: center;
    padding:20px;
    margin: 20px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    margin-left: 250px;
    margin-right: 250px;   
}
.end a{
    text-decoration: none;
    color: #0f172a;
    font-weight: 300;
    font-size: large;
}
.title a{
    text-decoration: none;
    color: #0f172a;
    font-weight: 300;
    font-size: large;
}
.gsp{
    border: none;
    background-color:rgb(12, 62, 12) ;
    color: #ddd;
    padding: 10px 15px;
    margin: 2% auto 2%;
    border-radius: 10px;
    display: block;
}
.gsp a{
    text-decoration: none;
    color: #f8fbf7;
}
.title a:hover{
    text-decoration: underline;
    transition: 0.1s;
}
.gsp:hover {
    background-color: #28732e;
  }
  .news-section{
    width:80%;
    margin:80px auto;
}


.news-section h2{
    text-align:center;
    margin-bottom:60px;
    font-size:2.5rem;
    font-family: 'Times New Roman', Times, serif;
}

.timeline{
    position:relative;
    margin-left:30px;
}


.timeline::before{
    content:"";
    position:absolute;
    left:12px;
    top:0;
    width:4px;
    height:100%;
    background:#328546;
    border-radius:10px;
}



.timeline-item{
    position:relative;
    margin-bottom:50px;
    padding-left:50px;
}



.timeline-dot{
    position:absolute;
    left:0;
    top:8px;
    width:28px;
    height:28px;
    background:#194c24;
    border:4px solid white;
    border-radius:50%;
    box-shadow:0 0 8px rgba(0,0,0,.2);
}



.timeline-content{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.timeline-content:hover{
    transform:translateY(-5px);
}

.news-date{
    color:#396b44;
    font-weight:bold;
}

.timeline-content h3{
    margin:10px 0;
}

.timeline-content p{
    color:#555;
    line-height:1.7;
}
.gallery img{
    height:200px;
    width:200px;

}

#carouselExampleIndicators .carousel-item {
    height: 400px;
    background: rgb(239, 245, 239);
}

#carouselExampleIndicators .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}



/* .gallery img{
    width: 30%;
    height: 400px;      
    object-fit:cover;
    box-shadow: #3c3b3b;
    border-radius: 15px;
    margin: 50px;
}
.gallery{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(600px,1fr));
    gap:50px;
    margin:50px;
} */
.gallery-section{
    width:90%;
    margin:80px auto;
}

.gallery-section h2{
    text-align:center;
    margin-bottom:50px;
    position:relative;
}

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    background:white;
    transition:0.3s;
}

.gallery-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    transition:transform 0.4s ease;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.gallery-item:hover{
    box-shadow:0 12px 28px rgba(0,0,0,0.25);
}

.caption{
    padding:15px;
    text-align:center;
    font-weight:600;
    color:#2f4f2f;
    background:white;
}
.tp{
    height:300px;
    width: 100%;
    object-fit: cover;
}