/* SPONSORS PAGE STYLING */

/* Hero Title */
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 5rem;
    text-align: center;
    color: var(--dark-color);
    margin-top: 50px;
    animation: fadeIn 1.5s ease-out forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Unified Background Box */
.all-sponsors {
    text-align: center;
    background: linear-gradient(to bottom right, #ffe6f2, #fff0f5);
    padding: 70px 40px;
    border-radius: 25px;
    margin: 50px auto;
    max-width: 1100px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.all-sponsors h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* Sponsor Grid */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* Default sponsor images */
.sponsor-grid img {
    height: 100px;
    width: auto;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Reduce Citadel Size */
.citadel-logo {
    height: 80px !important;
    padding: 6px !important;
}

/* AoPS Styling */
.aops-logo {
    height: 90px;
    padding: 10px;
    background: white;
}

/* Fix Jane Street white background */
.jane-logo {
    background: white !important;
    padding: 14px !important;
    border-radius: 10px;
}

.sponsor-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Thank You Text */
.thanks-text {
    font-size: 1.1rem;
    margin-top: 40px;
    color: black;
}

.thanks-text a {
    color: #c2185b;
    font-weight: bold;
    text-decoration: none;
}

.thanks-text a:hover {
    text-decoration: underline;
}
