@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

h3 {
    margin: 10px 0;
}

h4 a {
    text-decoration: none;
    color: #007BFF;
}

h4 a:hover {
    text-decoration: underline;
}

.container {

    display: flex;
    background-color: #DFCDAC;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    flex-direction: row;

}

.card {
    margin-top: 5px;
    /* background-color: #f9f6ef; */
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    display: flex;
    flex-direction: row;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.profile-img {
    padding-right: 10px;
    margin-top: 15px;
    max-width: 150px;
    height: 140px;
    object-fit: cover;
}



h3 {
    text-align: justify;
    font-family: 'Poppins', 'Arial', 'Tahoma', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color:
        rgb(122, 96, 50);
    margin-bottom: 5px;
    line-height: 21px;
}

p {
    font-family: 'Poppins', 'Arial', 'Tahoma', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color:
        rgb(89, 64, 22);
    line-height: 21px;
    text-align: start;
    padding: 8px;
}

.read-more {
    color: rgb(89, 64, 22);
    text-decoration: none;
    font-weight: bold;
    margin-left: 7px;

}

.read-more:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .text-content {
        padding: 3px;
    }

    .container {
        justify-content: center;
        flex-direction: row;
    }

    .card {

        flex-direction: row;

    }



    .text-content {
        text-align: center;
    }
}

/* Content Scroll Styles */
.content-scroll {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    /* Bottom shadow */
    overflow: hidden;
    background-color: #E8DFCA;
    padding: 5px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #6D3F36;
}

.content-scroll-container {

    display: flex;
    align-items: center;
    white-space: nowrap;
}

.js-marquee {
    display: inline-block;
    animation: scroll 40s linear infinite;
}

.js-marquee:hover {
     animation-play-state: paused;
}

.js-marquee a {
    font-family: "Poppins", "Arial", "Tahoma", sans-serif;
    font-style: normal;
    font-size: 12px;
    text-decoration: none;
    color: #307DAE;
    font-weight: 400;
    margin: 0 5px;
    line-height: 21px;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.slider-container {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    /* Bottom shadow */
    border: 2px solid #6D3F36;
    background-color: #DFCDAC;
    margin-top: 15px;
    display: flex;
    width: 100%;
    min-height: 30vh;
    /* Adjust height as needed */
    margin-bottom: 15px;
}

.slider {
    margin-top: 15px;
    margin-left: 25px;
    background-color: #DFCDAC;
    width: 80%;
    /* Takes up 50% of the container */
    overflow: hidden;
    position: relative;
    height: 50vh;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    height: 90vh;
}

.slide {

    margin-top: 15px;
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
}

.empty-space {

    width: 70%;
    /* Remaining 50% of the container */
    background-color: #DFCDAC;
    /* Set to any color */
    /* padding: 5px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* Align content horizontally */
}

.EA {
    background-color: #DFCDAC;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    /* Bottom shadow */
}

.subcontainer1-box {
    margin-left: 80px;
    display: flex;
    flex-direction: column;
    /* Ensures horizontal layout */
    gap: 20px;
    width: 100%;
}

.subbox1,
.subbox2 {
    display: flex;
    flex-direction: row;
    /* Horizontal alignment of image and text */
    /* background-color: #fff; */
    border-radius: 10px;
    padding: 5px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    width: 70%;
    /* Adjust to make it more compact */
    align-items: flex-start;

}

.Secretary-Photo {
    margin-right: 15px;
    /* Space between image and text */
}

.Secretary-img {
    width: 100px;
    /* Adjusted size for compact layout */
    height: 100px;
    border-radius: 5px;
    /* Keep image border-radius */
}

.Secretary-info {
    text-align: left;
    /* Align text left */
}

.Secretary-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.Secretary-info p {
    font-size: 14px;
    /* Reduced text size */
    margin-top: 5px;
    line-height: 1.4;
}

.Secretary-info h4 {
    font-size: 12px;
    margin-top: 8px;
}

.Secretary-info h4 a {
    text-decoration: none;
    color: #007bff;
}

@media (max-width: 1024px) {
    .slider-container {
        flex-direction: column;
        /* Stack the slider and empty space */
        height: auto;
        /* Allow height to adjust automatically */
    }

    .slider {
        margin-left: 0;
        width: 100%;
        /* Slider takes full width on smaller screens */
        height: 60vh;
        /* Reduce height for smaller screens */
    }

    .empty-space {

        width: 100%;
        /* Empty space also takes full width */
        height: auto;

    }
}

@media (max-width: 768px) {
    .slider {
        height: 50vh;
        /* Further reduce height for tablets */
    }
}

@media (max-width: 480px) {
    .slider {
        height: 25vh;
        /* Even smaller height for mobile devices */
    }

    .empty-space {
        padding: 10px;
        /* Increase padding for smaller screens */
    }
}



/* Subcontainer -2 */
.maincontainer-subcontainer2 {

    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.maincontainer-subcontainer2-child1 {
    height: 90%;
    width: 550px;
    position: relative;
    display: flex;
    top: 0;
    margin-top: 0px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 5px;
}

.maincontainer-subcontainer2-child1-title {
    font-size: 2vw;
    font-weight: 600;
    color: #6D3F36;
    margin-bottom: 10px;
    margin-left: 25px;
}

.maincontainer-subcontainer2-child1-box {
    height: 60%;
    width: 98%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

}

.maincontainer-subcontainer2-child1-box-child {
    height: 50px;
    width: 100%;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;

}

.date {
    height: 50px;
    width: 50px;
    background-color: #FDFACF;
    color: #6D3F36;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.event-details {
    height: 100%;
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    font-size: 12px;
    background-color: #F3F3F3;
    padding-left: 10px;
}

.maincontainer-subcontainer2-child1-button a {
    margin-top: 0;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

/* Responsive CSS */
@media (max-width: 1200px) {
    .maincontainer-subcontainer2 {
        flex-direction: column;
        height: auto;
    }

    .maincontainer-subcontainer2-child1 {
        width: 90%;
        height: auto;
    }

    .maincontainer-subcontainer2-child1-box {
        height: auto;
    }

    .maincontainer-subcontainer2-child1-box-child {
        height: auto;
    }

    .event-details {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .maincontainer-subcontainer2-child1-title {
        font-size: 20px;
        text-align: center;
    }

    .date {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .event-details {
        width: 75%;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .maincontainer-subcontainer2 {
        padding: 10px;
    }

    .maincontainer-subcontainer2-child1 {
        width: 100%;
        padding: 10px;
    }

    .maincontainer-subcontainer2-child1-title {
        font-size: 18px;
    }

    .maincontainer-subcontainer2-child1-box {
        width: 100%;
        padding: 5px;
    }

    .date {
        width: 50px;
        height: 50px;
        font-size: 10px;
    }

    .event-details {
        width: 70%;
        font-size: 10px;
    }
}

.department-img {
    height: 8vw;
    width: 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
}

.department-img i {
    font-size: 6vw;
    color: #9FB9DB;
}

#nacc-img {
    height: 8vw;
    width: 8vw;
}

#NCC-img {
    height: 6vw;
    width: 5vw;
}

#Library-img {
    height: 8vw;
    width: 8vw;
}

/* .dept-logo {
    height: 6vw;
    width: 6vw;
}
     */




.maincontainer-subcontainer3 h3 {
    text-align: center;
    font-size: 25px;
    color: #6D3F36;
    padding-bottom: 20px;
    margin-top: 40px;


}

.maincontainer-subcontainer3-subbox ul {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    /* Bottom shadow */
    background-color: #E3D6C1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.maincontainer-subcontainer3-subbox ul li {
    position: relative;
    height: 160px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 10px;
    background-color: #E3D6C1;
    /* box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px; */
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.overlays {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #673C33;
    height: 0%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.overlays a {
    text-decoration: none;
    margin-bottom: 2px;
}

.overlays h3 {

    display: none;
    transition: all 0.4s ease-in;
    height: 0%;
    color: #fff;
    font-weight: 400;
    font-size: 1.2vw;

}



.maincontainer-subcontainer3-subbox ul li:hover .overlays {
    height: 30%;
}

.maincontainer-subcontainer3-subbox ul li:hover .overlays h3 {
    display: block;
    height: 10%;
    margin-bottom: 20px;

}




@media screen and (max-width:650px) {



    .maincontainer-subcontainer3 {
        height: 1000px;
        justify-content: flex-start;
    }

    .maincontainer-subcontainer3-subbox {
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 90%;
    }

    .maincontainer-subcontainer3-subbox ul {
        flex-direction: column;
        margin-top: 10px;
        gap: 20px;
        height: 99%;
        padding-left: 0px;
    }

    .maincontainer-subcontainer3-subbox ul li {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        height: 250px;
        width: 250px;
    }

    .overlays h3 {
        font-size: 3vw;
    }

    .department-img {
        height: 100px;
        width: 100px;
    }

    .department-img i {
        font-size: 80px;
    }

    #nacc-img {
        height: 100px;
        width: 100px;
    }

    #NCC-img {
        height: 100px;
        width: 80px;
    }

    #Library-img {
        height: 150px;
        width: 150px;
    }

    .dept-logo {
        height: 100%;
        width: 100%;
    }


    .upsildericon {
        height: 30px;
        width: 30px;
    }

    .upslider-sub {
        height: 30px;
        width: 30px;
    }
}