@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap'); /*== Additional Info ==*/

body::before {
    display: block;
    content: '';
    height: 56px;
}

@media(min-width: 768px) {
    .news-input {
        max-width: 50%; /*== max-width is used insted of width because it's values are not applying ==*/
    }
}

/*=== Accordion ===*/

@media (max-width: 992px) {
    .container .accordion {
        width: 100% !important;
        margin: 0 auto; /* Centering the accordion */
    }

    .container .gallery img {
        width: 100% !important;
        height: auto;
        margin: 0 auto; /* Centering the accordion */
    }

}

/*===== navbar search =====*/

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img{
    width: 27px;
    height: 27px;
    margin-left: 10px;

}

.logo a{
    font-size: 18px;
}

.search input{
    width: 280px;
    max-width: 280px;
    height: 30px;
    
}

.search button{
    height: 32px;
    width: 32px;
    border-radius: 50%;
}

.search img{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.9px 0 0 -1px;
}

.col{
    margin-bottom: 30px;
}

.col .tp{
    margin: 0px;
}

.dropstart > li > a{
    color: black;
    transition: all 0.5s ease;
}

.dropstart > li > a:hover{
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
}

.dropstart > li > a.active{
    color: grey;
}

.navbar-collapse{
    margin-top: 10px;
}

/*======= Banner ======*/

.banner-image{
    width: 100%;
    height: 600px;
    margin-top: 0px;
}

@media (max-width : 768px) {
    .banner-image{
        height: 27vh;
    }

    .banner h2,
    .banner h3,
    .banner h6{
        display: none;
    }

}

.text-overlay{
    position: absolute;
    left: 40px;
    transform: translateY(-50%);
    top: 50%;
    color: white;
    padding: 10px;
}

/*---- Dr. Ambedkar ---*/

.banner_1-image { 
    position: relative; 
    width: 100%;
    height: 600px;
}

@media (max-width : 768px) {
    .banner_1-image{
        height: 30vh;
    }

    .banner h2,
    .banner h6{
        display: none;
    }

}

.text-overlay_1 { 
    position: absolute; 
    top: 50%; 
    right: 50px; 
    transform: translateY(-50%); 
    color: white; /* Adjust text color as needed */
    padding: 20px; 
    text-align: right; 
} 

.text-overlay_1 h2, 
.text-overlay_1 h6 { 
    margin: 0;
}

/*======= Person =======*/

@media (max-width : 768px) {
    .person img,
    .horiz-line {
        display: none;
    }

    .banner img{
        margin-bottom: -60px;
    }

}

.person{
    display: grid;
    align-items: center;
    justify-content: center;
}

.person img{
    width: 360px;
    height: 260px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 4px 4px black;
    cursor: pointer;
}

.person h6{
    margin-top: 15px;
}

.horiz-line{
    width: 50%;
    margin-left: 25%;
    margin-top: 30px;
}

/*======= Image gallerg ======*/

.container .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 15px;
}

.gallery img{
    width: 350px;
    height: 250px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}


/*==== image cursole ===

.carousel-item img{
    height: 600px;
}
*/

/*====== Accordion Scroll Bar =====*/

.scrollable-section {
    height: 480px; /* Set the height you need */
    overflow-y: auto; /* Enable vertical scrolling */
}

.scrollable-section img{
    width: 90%;
    height: 500px;
    margin-left: 5%;
    margin-bottom: 30px;
}

.scrollable-section p{
    margin-left: 5%;
}

/*===== image cursole =====*/

.tata_companies{
    margin: 10px 30px 70px 30px;
}

#container{
    height: 120px;
    position: relative;
    overflow: hidden;
}

.photobanner{
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    white-space: nowrap;
    animation: bannermove 20s linear infinite;
}

.photobanner img{
    width: 140px;
    height: 100px;
    margin: 0 0.5em;
}

@keyframes bannermove{
    0%{
        transform: translate(0, 0);
    }
    100%{
        transform: translate(-50%, 0);
    }
}

/*====== Footer =====*/

.footer-hr{
    width: 60%;
    margin-left: 20%;
}

.addi-info{
    font-weight: lighter;
    margin-top: -10px;
    font-size: 13px;
}

.search-1 input{
    width: 300px;
    max-width: 300px;
    height: 30px;
}

.search-1 button{
    height: 32px;
    width: 32px;
    border-radius: 50%;
}

.subscription img{
    width: 25px;
    height: 25px;
    margin-left: -7.5px;
    margin-top: -10px;
}

.subscription{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
}

/*====  =====*/

.newsletter-boxbox{
    margin: 0 auto;
}

.row h6{
    font-size: 14px;
}

.footer p{
    font-size: 13px;
    font-weight: lighter;
    margin-bottom: 8px;
    margin-left: 0;
    margin-top: -4px;
}

.row a{
    color: #fff;
    margin-top: -10px;
    font-size: 13px;
}

.ul .btn{
    font-size: 18px;
}

/*===== About =====*/

.about a{
    font-size: 15px;
    margin-bottom: 30px;
    text-decoration: none;
}