/*=============== GOOGLE FONTS ===============*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

:root{
    --body-bg: #fffaee;
    --item-bg: #ffffff;
}

.header h1{
    position: relative;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    background-color: rgb(245, 144, 20);
    /* background: rgb(230, 11, 11); */
    color: rgb(9, 9, 9);
}
.header h1::before{
    content: '';
    width: 200px;
    height: 2px;
    background-color: #006994;
    border-radius: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}
.partners_section{
    padding: 64px 0;
}
.section_title{
    text-align: center;
    margin-bottom: 1.5rem;
}
.section_title h3{
    font-size: 2rem;
    font-weight: bold;
}
.logos_slider{
    overflow-x: hidden;
}
.overflow{
     display: flex;
     padding: .5rem 1rem;
     overflow: hidden;
}
.reverse .logos_wrapper{
    animation-direction: reverse;
}
.logos_wrapper{
    display: flex;
    justify-content: space-around;
    animation: logoLoop 30s linear infinite;
}
.logo_item{
    margin-left: 1rem;
    padding: 1rem;
    aspect-ratio: 30/9;
    background: var(--item-bg);
    display: grid;
    place-items: center;
    border-radius: 1rem;
}
.logo_item img{
    height: 6rem;
    margin-inline: 2rem;
}

@keyframes logoLoop {
    form{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo_item {
        min-width: 120px;
        padding: 0.8rem;
    }

    .logo_item img {
        max-height: 4rem;
    }
}

@media (max-width: 768px) {
    .logo_item {
        min-width: 100px;
        padding: 0.5rem;
    }

    .logo_item img {
        max-height: 3.5rem;
    }

    .section_title h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo_item {
        min-width: 80px;
        padding: 0.3rem;
    }

    .logo_item img {
        max-height: 3rem;
    }

    .section_title h3 {
        font-size: 1.2rem;
    }
}