/* General Container and Layout */
/*.home-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction:row;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;*/ /* Align items at the top to prevent stretching */
    /*flex-wrap: nowrap;
}

.custom-slider-container {
    position: relative;
    width: 75%;
    height: 625px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}

.carousel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}*/

/* Image styles inside slider */
/*.slider-image {
    object-fit: cover;
    width: 100%;
    height: 625px;
    flex-shrink: 0;
    display: block;
    border-radius:5px;
}
.custom-slider-container .carousel-control-prev-icon,
.custom-slider-container .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
    position:absolute;
    z-index:5;
}
.custom-slider-container .carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.5);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin: 0 5px;
}
.custom-slider-container .carousel-indicators li.active {
        background-color: rgba(255, 255, 255, 1);
}*/
    
/* Important person section styling */
/*.important-person {
    width: 25%;
    font-size: 18px;
    height: fit-content;
    overflow: hidden;


}*/

/* About Section */
/*#teachers-part {
    padding-top: 30px;
    padding-bottom: 120px;
    background-color: #f4f4f4;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 45px 15px 45px 15px;
}

.about-section h5 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 3px solid #F6C90E;
    padding-bottom: 10px;
    color: #007bff;
    text-transform: uppercase;
    margin-bottom: 10px;
    max-width: fit-content;
}

.about-section h2 {
    font-size: 33px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-section{
    max-width:1200px;
}

.teachers-cont {
    font-size: 16px;
    color: #555;
    text-align: justify;
    line-height: 1.6;
}

    .teachers-cont a.main-btn {
        display: inline-block;
        background-color: #007bff;
        color: #fff;
        padding: 12px 30px;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        border-radius: 5px;
        margin-top: 30px;
        transition: background-color 0.3s;
    }

        .teachers-cont a.main-btn:hover {
            background-color: #0056b3;
        }

.about-btn {
    border: 1px solid black;
    background-color: cornflowerblue;
    border-radius: 10px;
    padding: 0px 15px;
    font-size: 24px;
    height: fit-content;
    transition: 0.2s ease-out;
}

    .about-btn:hover {
        opacity: 0.8;
    }*/

/* Responsive Styling */
/*@media (max-width: 1600px) {
    .home-container {
        flex-direction: row;*/ /* Stack columns on smaller screens */
        /*flex-wrap: nowrap;
        width: 100%;
        height:500px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }

    .custom-slider-container {
        width: 75%;*/ /* Full width on smaller screens */
        /*height: 625px;*/ /* Set a fixed height for the slider */
        /*overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .important-person {
        min-width:fit-content;
        width: 25%;*/ /* Full width on smaller screens */
        /*height: 100%;*/ /* Auto height to adjust based on content */
        /*overflow:hidden;
        overflow-y:scroll;
        border-radius:5px;
        background-color:cornflowerblue;
    }

    .custom-slider-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        border-radius: 5px;
    }

    .carousel-item img {
        height: 500px;*/ /* Make carousel images shorter on small screens */
    /*}
}
@media (max-width: 1300px) {
    .carousel-item img {
        height: 500px;*/ /* Make carousel images shorter on small screens */
    /*}

    .home-container {
        flex-direction: row;*/ /* Stack columns on smaller screens */
    /*}

    .custom-slider-container {
        width: 75%;*/ /* Full width on smaller screens */
        /*height: 500px;*/ /* Set a fixed height for the slider */
    /*}

    .important-person {
        width: 25%;*/ /* Full width on smaller screens */
        /*height: 100%;*/ /* Auto height to adjust based on content */
        /*overflow: hidden;
        overflow-y: scroll;
        border-radius: 5px;
        background-color: cornflowerblue;
    }
}
@media (max-width: 992px) {
    .carousel-item img {
        height: 500px;*/ /* Make carousel images shorter on small screens */
    /*}
    .home-container {
        flex-direction: row;*/ /* Stack columns on smaller screens */
    /*}

    .custom-slider-container {
        width: 80%;*/ /* Full width on smaller screens */
        /*height: 500px;*/ /* Set a fixed height for the slider */
    /*}

    .important-person {
        min-width: fit-content;
        width: 25%;*/ /* Full width on smaller screens */
        /*height: 100%;*/ /* Auto height to adjust based on content */
        /*overflow: hidden;
        overflow-y: scroll;
        border-radius: 5px;
        background-color: cornflowerblue;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 500px;*/ /* Make carousel images shorter on small screens */
    /*}
    .home-container {
        flex-direction: column;*/ /* Stack columns on smaller screens */
        /*height:1100px;
    }
    .custom-slider-container {
        width:100%;*/ /* Full width on smaller screens */
        /*height: 500px;*/ /* Set a fixed height for the slider */
    /*}

    .important-person {
        width: 100%;*/ /* Full width on smaller screens */
        /*height: auto;*/ /* Auto height to adjust based on content */
        /*overflow: hidden;
        border-radius: 5px;
        background-color: cornflowerblue;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .teachers-cont a.main-btn {
        font-size: 14px;
    }

    .sidebar-widget .widget-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-item img {
        height: 500px;*/ /* Further reduce height for small screens */
    /*}

    .section-title h2 {
        font-size: 24px;
    }

    .teachers-cont {
        font-size: 14px;
    }

        .teachers-cont a.main-btn {
            font-size: 12px;
            padding: 10px 20px;
        }
}*/


/* General Container and Layout */
.home-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.custom-slider-container {
    position: relative;
    width: 75%;
    height: 625px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background-color: #000;
}

/* Custom Slider */
.custom-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: fit-content;
    height: 100%;
}

.custom-slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.slider-image {
    width: 100%;
    height: 625px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

/* Navigation Buttons */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 10;
    border-radius: 50%;
    user-select: none;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

    .prev-btn:hover,
    .next-btn:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Important person section styling */
.important-person {
    width: 25%;
    font-size: 18px;
    height: fit-content;
    overflow: hidden;
}

/* About Section */
#teachers-part {
    padding-top: 30px;
    padding-bottom: 120px;
    background-color: #f4f4f4;
    width: 100%;
    margin: 0 auto;
    padding: 45px 15px;
}

.about-section h5 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 3px solid #F6C90E;
    padding-bottom: 10px;
    color: #007bff;
    text-transform: uppercase;
    margin-bottom: 10px;
    max-width: fit-content;
}

.about-section h2 {
    font-size: 33px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-section {
    max-width: 1200px;
}

.teachers-cont {
    font-size: 16px;
    color: #555;
    text-align: justify;
    line-height: 1.6;
}

    .teachers-cont a.main-btn {
        display: inline-block;
        background-color: #007bff;
        color: #fff;
        padding: 12px 30px;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        border-radius: 5px;
        margin-top: 30px;
        transition: background-color 0.3s;
    }

        .teachers-cont a.main-btn:hover {
            background-color: #0056b3;
        }

.about-btn {
    border: 1px solid black;
    background-color: cornflowerblue;
    border-radius: 10px;
    padding: 0px 15px;
    font-size: 24px;
    height: fit-content;
    transition: 0.2s ease-out;
}

    .about-btn:hover {
        opacity: 0.8;
    }

/* Responsive Styling */
@media (max-width: 1600px) {
    .home-container {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        height: 500px;
        max-width: 100%;
        padding: 0 15px;
    }

    .custom-slider-container {
        width: 75%;
        height: 500px;
    }

    .slider-image {
        height: 500px;
    }

    .important-person {
        min-width: fit-content;
        width: 25%;
        height: 100%;
        overflow-y: scroll;
        border-radius: 5px;
        background-color: cornflowerblue;
    }
}

@media (max-width: 1300px) {
    .custom-slider-container {
        height: 500px;
    }

    .slider-image {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .custom-slider-container {
        width: 80%;
        height: 500px;
    }

    .slider-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
        height: auto;
    }

    .custom-slider-container {
        width: 100%;
        height: 400px;
    }

    .slider-image {
        height: 400px;
    }

    .important-person {
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 5px;
        background-color: cornflowerblue;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .teachers-cont a.main-btn {
        font-size: 14px;
    }

    .sidebar-widget .widget-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .custom-slider-container {
        height: 350px;
    }

    .slider-image {
        height: 350px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .teachers-cont {
        font-size: 14px;
    }

        .teachers-cont a.main-btn {
            font-size: 12px;
            padding: 10px 20px;
        }
}
