/* ========================
   PARTNERS SECTION – PREMIUM
======================== */

.partners-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #fdf6f0, #f9f9f9);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #b11226;
    font-weight: 700;
    position: relative;
}

.partners-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #b11226;
    margin: 10px auto 0;
    border-radius: 2px;
}

.partners-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}


/* Partners grid */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    justify-items: center;
    align-items: stretch;
}


/* Individual partner card */

.partner-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.partner-card img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.partner-card h3 {
    font-size: 20px;
    color: #111;
    margin: 0;
    transition: color 0.3s ease;
}


/* Hover effects */

.partner-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #fff5f5;
}

.partner-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.partner-card:hover h3 {
    color: #b11226;
}


/* Fade-in animation */

.partner-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Adjustments */

@media screen and (max-width: 1024px) {
    .partners-section h2 {
        font-size: 32px;
    }
    .partners-section p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .partners-section {
        padding: 60px 15px;
    }
    .partners-section h2 {
        font-size: 28px;
    }
    .partners-section p {
        font-size: 15px;
    }
    .partners-grid {
        gap: 25px;
    }
    .partner-card {
        padding: 20px 15px;
    }
}