/* --- Main Section Padding --- */
.sponsor-content-section {
    padding: 20px 0;
    overflow: hidden;
}

/* --- University Sponsor --- */
.university-sponsor {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.university-sponsor.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.university-sponsor .university-logo {
    max-width: 300px;
    margin: 0 auto;
}

.university-sponsor p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 20px;
}

/* --- Sponsor Grid --- */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sponsor-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.sponsor-card:nth-child(even).animate-in {
    transition-delay: 0.1s;
}


.sponsor-logo-container {
    height: 180px;
    /* Fixed height for alignment */
    padding: 20px;
    box-sizing: border-box;
    /* Include padding in height */

    /* The 'cut corner' shape */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);

    /* Center the logo inside */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;

    /* --- REMOVED: Background colors and filters --- */
    /* You can set a default background if you want (e.g., a subtle dark grey) */
    background-color: #222;
    /* A subtle dark background for the container */
}

.sponsor-card:hover .sponsor-logo-container {
    transform: scale(1.03);
}

.sponsor-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.sponsor-description p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- CTA Button --- */
.sponsor-cta {
    text-align: center;
    margin-top: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.sponsor-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn-sponsor {
    background-color: #333;
    /* Dark grey */
    color: var(--text-light);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-sponsor:hover {
    background-color: var(--accent-orange);
    color: #fff;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 60px;
    }

    .university-sponsor {
        padding: 0 5%;
    }
}