/* Page Header from committees.html for consistency */
.page-header {
    background: var(--navy);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.intro-text {
    color: var(--gold);
}

.sponsors-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.sty {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Image container to ensure consistent sizing */
.card img {
    max-width: 100%;
    height: 120px;
    /* Fixed height for consistency */
    object-fit: contain;
    /* Contain confirms the logo is fully visible */
    margin-bottom: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Hover effect removed - logos are colored by default */

.card p {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-top: auto;
    /* Push text to bottom if needed */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}

/* Navbar transparency fix if needed (inherited from style.css but ensuring here) */
nav {
    position: sticky;
    top: 0;
    /* Ensure solid background for readability */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.placeholder-logo {
    width: 100%;
    height: 120px;
    background-color: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-style: italic;
    border: 2px dashed #ddd;
    /* Visual cue that it's a placeholder */
}

/* Utility to enlarge specific small logos */
.logo-enlarge {
    transform: scale(1.4);
}