* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', sans-serif;
    ;
    scroll-behavior: smooth;


}
:root {
  
    --Faculty-color: #6ebca8;
    --h2Color:#212529;

}
#about-us {
    width: 100%;

}

.about-container {
    display: flex;
    flex-direction: column;
    padding: 10px;


}

.about-slider {
    height: 70vh;
    width: 100%;
    animation: zoomIn 1s ease-in-out;
}

.welcom-message h1 {
    color: var(--h2Color);
    padding: 10px;
    padding-top: 0;
    text-align: center;
    font-weight: 700;
    animation: fadeIn 1s ease-out;
}

.welcom-message p {
    text-align: center;

}
.mission,
.Vision,
.history,
.achievements {
    animation: slideIn 1s ease-out;
}

.mission,
.Vision,
.history,
.achievements {
    padding: 30px;
    max-width: 70%;


}
.principal-section {
    animation: fadeIn 1.5s ease-in-out;
}

/* Principal Image */
.principal-img {
    animation: rotateIn 2s ease-in-out;
}
/* Faculty Section */
.faculty {
    animation: fadeIn 2s ease-in-out;
}

/* Faculty Members */
.faculty-member {
    animation: bounceIn 1s ease-out;
}
.faculty-member .img-con img {
    transition: transform 0.3s ease-in-out;
}

.faculty-member .img-con img:hover {
    transform: scale(1.1);
}

/* Carousel Items */
.carousel-item img {
    animation: zoomIn 1s ease-in-out;
}

.mission h1,
.Vision h1,
.history h1,
.achievements h1 {

    color: var(--h2Color);
    text-align: left;
    font-weight: 600;
}

.mission p,
.Vision p,
.history p,
.achievements p {
    text-align: left;
}



.principal-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.principal-img {
    width: 300px;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--h2Color);
}

.principal-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;


}

.principal-content {
    text-align: left;

}

.principal-content h2 {
    margin-bottom: 20px;
    color: var(--h2Color);
    font-weight: 700;
}

.faculty {
    padding: 20px;
}

.faculty h2 {
    margin-bottom: 20px;
    color: var(--h2Color);
    font-weight: 700;
}

.img-con-text {
    color: #fff;
    line-height: 3px;

}

.img-con-text h2 {
    color: var(--h2Color);
}

.img-con-text p {
    color: #fff;

}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;

}

.faculty-member {
    height: 300px;
    width: 300px;
    background: var(--Faculty-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faculty-member .img-con {
    height: 170px;
    width: 170px;
    border-radius: 50%;
    margin-top: 10px;
}

.faculty-member .img-con img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;



}



.carousel-item img {
    height: 70vh;
    object-fit: cover;
    width: 100%;
}

.carousel-container {
    width: 100%;
    height: 70vh;
    overflow: hidden;
}


@media (max-width: 1020px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principal-section {
        flex-direction: column;
    }

    .principal-img img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .principal-img img {
        width: 100%;
    }
}

@media (max-width: 450px) {
    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .principal-img img {
        width: 100%;
    }

    .carousel-item img {
        height: 50vh;
        object-fit: cover;
        width: 100%;
    }
}
 .tree {
     display: flex;
     justify-content: space-evenly;
     gap: 600px;
     animation: fadeIn 1.5s ease-in-out;


 }

 .tree img {
     height: 400px !important;
     width: 350px !important;
     transition: transform 0.4s ease-in-out;
     object-fit: cover;
     object-fit: cover;

 }

