/* =========================================
   partners.css - PARTNERS PAGE ONLY
   ========================================= */

.partners-section {
    padding: 80px 0 120px;
    text-align: center;
    /* Ensure the background flows seamlessly from the header */
    background-color: var(--bg-dark, #161616); 
    min-height: 60vh; /* Keeps the footer pushed down even with little content */
}

.page-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: 1px;
    color: var(--heading-blue, #417fd9);
}

/* Flexbox grid automatically centers and wraps content */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Individual logo container */
.partner-card {
    background-color: rgba(255, 255, 255, 0.03); /* Very subtle transparent dark box */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 40px;
    width: 280px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: default;
}

/* Interactive hover effect */
.partner-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(65, 127, 217, 0.3); /* Subtle blue border on hover */
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Optional: If the logos are colorful and you want them to match a dark theme until hovered, uncomment below */
    /* filter: grayscale(100%) opacity(0.7); */
    /* transition: filter 0.3s ease; */
}

/* .partner-card:hover img {
    filter: grayscale(0%) opacity(1);
} */

/* --- Mobile Responsive Queries --- */
@media (max-width: 600px) {
    .partners-section {
        padding: 60px 0 80px;
    }
    
    .partners-grid {
        gap: 20px;
    }

    .partner-card {
        width: 100%;
        max-width: 300px; /* Prevents them from getting too huge on mobile */
        height: 150px;
        padding: 30px;
    }
}