/* Partners/Promoters Logo Section Styles */
.partners-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2ecc71, #3498db, #9b59b6, #e74c3c);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.partners-section .section-header {
    margin-bottom: 50px;
    text-align: center;
}

.partners-section .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.partners-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2ecc71, #3498db);
    border-radius: 2px;
}

.partners-section .section-header p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 20px;
}

.partners-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
}

.partners-track {
    display: flex;
    animation: slide 20s linear infinite;
    width: fit-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo:hover::before {
    border-color: #3498db;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.partner-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
}

.partners-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.partner-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.partner-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.partner-control-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-section .section-header h2 {
        font-size: 2rem;
    }
    
    .partner-logo {
        width: 150px;
        height: 100px;
        margin: 0 20px;
    }
    
    .partners-track {
        animation: slide 15s linear infinite;
    }
}

@media (max-width: 480px) {
    .partners-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .partner-logo {
        width: 120px;
        height: 80px;
        margin: 0 15px;
    }
}

/* Fade in animation on scroll */
.partners-section.fade-in-view {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.partners-section.fade-in-view.visible {
    opacity: 1;
    transform: translateY(0);
}
