/* src/components/Main Page/SectionFiveFive.module.css */

.container {
    width: 100%;
    padding: 20px;
    text-align: center;
    position: relative; /* Added for arrow positioning */
}

.partnersTitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-size: 3rem;
}

.logoCard {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: auto; /* Allow width to be flexible */
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto; /* Center the card */
}

.logoCard:hover {
    transform: translateY(-5px);
    
}

.partnerLogo {
    max-width: 80%; /* Adjust size */
    max-height: 80%; /* Adjust size */
    object-fit: contain;
}

/* --- NEW STYLES for the Partner Slider Arrows --- */
.sliderButton {
    position: absolute;
    top: 60%; /* Position vertically */
    transform: translateY(-50%);
    background-color: #fff;
    color: #000;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

.sliderButton:hover {
    background-color: #f7f7f7;
    transform: translateY(-50%) scale(1.1);
}

.prevButton {
    left: 8%;
}

.nextButton {
    right: 8%;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .logoCard {
        height: 120px;
    }
    .partnersTitle {
        font-size: 20px;
    }
    .prevButton { left: 2%; }
    .nextButton { right: 2%; }
}

@media (max-width: 480px) {
    .logoCard {
        height: 90px;
    }
    .partnersTitle {
        font-size: 18px;
    }
    .sliderButton { display: none; } /* Hide on mobile */
}

.marginBottom {
    margin-bottom: 4%;
}