/* ===== SPONSORS SECTION STYLES ===== */
.sponsors-section {
    background-color: #ffffff;
    padding: 30px 0 25px 0;
    margin: 15px 0 0 0;
    border-top: 1px solid #e5e5e5;
}

/* Dark Mode Support */
body.dark-mode .sponsors-section {
    background-color: #1a1a1a;
    border-top-color: #333;
}

.sponsors-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0;
    line-height: 1.2;
    font-family: inherit;
}

body.dark-mode .sponsors-section .section-title {
    color: #f8f9fa;
}

.sponsors-section .mb-3 {
    margin-bottom: 20px !important;
}

/* Sponsor Item Container */
.sponsor-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    background: #fff;
    border-radius: 8px;
    margin: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100px;
    border: 1px solid #f0f0f0;
}

body.dark-mode .sponsor-item {
    background: #2a2a2a;
    border-color: #3a3a3a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.sponsor-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

body.dark-mode .sponsor-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    border-color: #4a4a4a;
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Sponsor Logo Image */
.sponsor-logo {
    max-width: 150px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

body.dark-mode .sponsor-logo {
    filter: brightness(0.9);
}

.sponsor-item:hover .sponsor-logo {
    transform: scale(1.05);
}

body.dark-mode .sponsor-item:hover .sponsor-logo {
    filter: brightness(1);
}

/* Owl Carousel Navigation Customization */
.sponsors-slider.owl-carousel .owl-nav {
    margin-top: 0;
}

.sponsors-slider.owl-carousel .owl-nav button.owl-prev,
.sponsors-slider.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    color: #212529 !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-size: 18px;
    line-height: 38px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    opacity: 0.9;
}

body.dark-mode .sponsors-slider.owl-carousel .owl-nav button.owl-prev,
body.dark-mode .sponsors-slider.owl-carousel .owl-nav button.owl-next {
    background: #2a2a2a !important;
    color: #f8f9fa !important;
    border-color: #3a3a3a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.sponsors-slider.owl-carousel .owl-nav button.owl-prev {
    left: -18px;
}

.sponsors-slider.owl-carousel .owl-nav button.owl-next {
    right: -18px;
}

.sponsors-slider.owl-carousel .owl-nav button:hover {
    background: #212529 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    opacity: 1;
}

body.dark-mode .sponsors-slider.owl-carousel .owl-nav button:hover {
    background: #f8f9fa !important;
    color: #212529 !important;
}

/* Owl Carousel Dots */
.sponsors-slider.owl-carousel .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.sponsors-slider.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 3px;
}

.sponsors-slider.owl-carousel .owl-dot span {
    width: 7px;
    height: 7px;
    background: #dee2e6;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

body.dark-mode .sponsors-slider.owl-carousel .owl-dot span {
    background: #4a4a4a;
}

.sponsors-slider.owl-carousel .owl-dot.active span,
.sponsors-slider.owl-carousel .owl-dot:hover span {
    background: #212529;
    transform: scale(1.2);
}

body.dark-mode .sponsors-slider.owl-carousel .owl-dot.active span,
body.dark-mode .sponsors-slider.owl-carousel .owl-dot:hover span {
    background: #f8f9fa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sponsors-section {
        padding: 25px 0 20px 0;
        margin-top: 12px;
    }
    
    .sponsors-section .section-title {
        font-size: 20px;
    }

    .sponsors-section .mb-3 {
        margin-bottom: 15px !important;
    }
    
    .sponsor-item {
        height: 85px;
        padding: 14px 8px;
        margin: 5px;
    }
    
    .sponsor-logo {
        max-width: 120px;
        max-height: 60px;
    }
    
    .sponsors-slider.owl-carousel .owl-nav button.owl-prev,
    .sponsors-slider.owl-carousel .owl-nav button.owl-next {
        width: 32px;
        height: 32px;
        font-size: 15px;
        line-height: 32px;
    }
    
    .sponsors-slider.owl-carousel .owl-nav button.owl-prev {
        left: -10px;
    }
    
    .sponsors-slider.owl-carousel .owl-nav button.owl-next {
        right: -10px;
    }

    .sponsors-slider.owl-carousel .owl-dots {
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 20px 0 18px 0;
        margin-top: 10px;
    }

    .sponsors-section .section-title {
        font-size: 18px;
    }

    .sponsors-section .mb-3 {
        margin-bottom: 12px !important;
    }

    .sponsor-item {
        margin: 4px;
        height: 75px;
        padding: 10px 6px;
    }

    .sponsor-logo {
        max-width: 100px;
        max-height: 50px;
    }
    
    .sponsors-slider.owl-carousel .owl-nav button {
        display: none !important;
    }

    .sponsors-slider.owl-carousel .owl-dots {
        margin-top: 10px;
    }
}