/* ===============================
   PARTNERS SECTION STYLES
   =============================== */

.partners-section {
    position: relative;
    background-color: var(--background-color);
    overflow: hidden;
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.partners-header {
    position: relative;
    z-index: 2;
}

.partners-header .section__header {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

[data-theme="dark"] .partners-header .section__header {
    color: #ffffff;
}

.partners-header .section__header span {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-weight: 400;
}

[data-theme="dark"] .partners-subtitle {
    color: #adb5bd;
}

.partners-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.partners-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -10px;
    right: -10px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 4px;
    opacity: 0.3;
    filter: blur(8px);
}

/* Partners Showcase */
.partners-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.partner-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

[data-theme="dark"] .partner-card {
    background: #343a40;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .partner-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.partner-logo-container {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

[data-theme="dark"] .partner-logo-container {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
}

.partner-logo-wrapper {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-overlay {
    transform: translateY(0);
}

.partner-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.partner-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.partner-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Partnership Stats */
.partnership-stats {
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="dark"] .stat-label {
    color: #adb5bd;
}

/* Background Elements */
.partners-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    animation: float 6s ease-in-out infinite;
}

.bg-circle.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.bg-circle.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: -3%;
    animation-delay: 2s;
}

.bg-circle.circle-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-header .section__header {
        font-size: 2rem;
    }
    
    .partners-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .partner-card {
        margin: 0 1rem;
    }
    
    .partner-logo-container {
        height: 150px;
    }
    
    .partner-logo {
        max-width: 100px;
        max-height: 60px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .bg-circle.circle-1 {
        width: 120px;
        height: 120px;
    }
    
    .bg-circle.circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .bg-circle.circle-3 {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .partners-showcase {
        margin: 1.5rem 0;
    }
    
    .partner-card {
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .partner-overlay {
        padding: 1rem;
    }
    
    .partnership-stats {
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
}
