

:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: magenta;
    --text-color: #333;
    --link-color: #666;

    /*Section variables*/
    --section-bg-color: #fafafa;
    --section-text-color: #555;
    --feature-background: #333;
    --feature-text-color: #fff;
    --feature-h3: magenta;
}

.partners-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color-2), var(--accent-color));
    bottom: -10px;
    left: 25%;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    min-height: 200px;
}

.partner-logo {
    width: 150px;
    height: 100px;
    background-color: #222;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.partner-logo.active {
    opacity: 1;
    position: relative;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) brightness(1);
    transition: filter 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

@media (max-width: 768px) {
    .partner-logo {
        width: 120px;
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        width: 100px;
        height: 70px;
    }
    
    .partners-container {
        gap: 15px;
    }
}