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

.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="30" height="26" patternUnits="userSpaceOnUse"><polygon points="15,2 25,8 25,18 15,24 5,18 5,8" fill="none" stroke="%23dbb365" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
    z-index: 1;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Partners Header */
.partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-header .section-subtitle {
    color: var(--primary-color);
}

.partners-header .section-title {
    color: var(--dark-color);
}

.partners-header .section-description {
    color: var(--text-light);
}

/* Partners Slider */
.partners-slider {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.partners-track {
    display: flex;
    animation: partnersSlide 30s linear infinite;
    gap: 40px;
}

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

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

/* Partner Item */
.partner-item {
    flex: 0 0 200px;
    height: 120px;
    background: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.partner-item:hover::before {
    opacity: 0.1;
}

.partner-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.partner-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    filter: grayscale(100%);
}

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

/* Partner Text (for text-based partners) */
.partner-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.partner-item:hover .partner-text {
    color: var(--primary-color);
}

/* Statistics Section */
.partners-stats {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    padding: 50px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.partners-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    z-index: 1;
}

.stats-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.stats-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.trust-badge {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.trust-badge:hover::before {
    opacity: 0.05;
}

.trust-badge:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.trust-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.trust-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Testimonials Slider */
.testimonials-section {
    margin-top: 80px;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-item {
    flex: 0 0 100%;
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
    border: 1px solid rgba(219, 179, 101, 0.2);
}

.testimonial-quote {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-rating {
    margin-top: 20px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 2px;
}

/* Navigation Dots */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(219, 179, 101, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partner-item {
        flex: 0 0 150px;
        height: 100px;
    }
    
    .partners-stats {
        padding: 30px 20px;
    }
    
    .stats-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-badge {
        padding: 25px;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .partners-container {
        padding: 0 15px;
    }
    
    .partner-item {
        flex: 0 0 120px;
        height: 80px;
    }
    
    .partners-stats {
        padding: 25px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 25px 15px;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
}
