#bronze-sponsors-grid {
    position: relative;
}
#bronze-sponsors-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(150, 95, 50, 0.08) 0%, 
        rgba(150, 95, 50, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 8px;
}
#diamond-sponsors-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(50, 130, 125, 0.08) 0%, 
        rgba(50, 130, 125, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 8px;
}
#gold-sponsors-grid {
    position: relative;
}
#gold-sponsors-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(180, 145, 40, 0.08) 0%, 
        rgba(180, 145, 40, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 8px;
}
#other-sponsors-grid {
    position: relative;
}
#other-sponsors-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(65, 145, 75, 0.08) 0%, 
        rgba(65, 145, 75, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 8px;
}
#silver-sponsors-grid {
    position: relative;
}
#silver-sponsors-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(110, 110, 110, 0.08) 0%, 
        rgba(110, 110, 110, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 8px;
}
#university-sponsors-grid {
    position: relative;
}
#university-sponsors-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(130, 50, 50, 0.08) 0%, 
        rgba(130, 50, 50, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 8px;
}
.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    background: transparent;
    border-radius: 0;
    min-height: 150px;
    min-width: auto;
    position: relative;
}
.sponsor-card img {
    display: block !important;
    max-width: 200px;
    min-width: 80px;
    height: auto;
    max-height: 140px;
    width: auto !important;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
}
.sponsor-card span {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
}
.sponsor-name-fallback {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 10px;
    word-wrap: break-word;
}
.sponsor-section-title {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: left;
}
.sponsor-tier {
    margin-bottom: 120px;
    position: relative;
    overflow: visible;
}
.sponsor-tier:nth-child(3) .sponsor-section-title {
    background: linear-gradient(90deg, rgba(180, 145, 40, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sponsor-tier:nth-child(4) .sponsor-section-title {
    background: linear-gradient(90deg, rgba(110, 110, 110, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sponsor-tier:nth-child(5) .sponsor-section-title {
    background: linear-gradient(90deg, rgba(150, 95, 50, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sponsor-tier:nth-child(6) .sponsor-section-title {
    background: linear-gradient(90deg, rgba(65, 145, 75, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sponsor-tier:nth-child(7) .sponsor-section-title {
    background: linear-gradient(90deg, rgba(130, 50, 50, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sponsor-tier:nth-child(2)::after {
    background-image: url('../images/logo2.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 40px rgba(50, 130, 125, 0.4));
    mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.sponsor-tier:nth-child(3)::after {
    background-image: url('../images/logo2.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 40px rgba(180, 145, 40, 0.4));
    mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.sponsor-tier:nth-child(4)::after {
    background-image: url('../images/logo2.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 40px rgba(110, 110, 110, 0.4));
    mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.sponsor-tier:nth-child(5)::after {
    background-image: url('../images/logo2.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 40px rgba(150, 95, 50, 0.4));
    mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.sponsor-tier:nth-child(6)::after {
    background-image: url('../images/logo2.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 40px rgba(65, 145, 75, 0.4));
    mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.sponsor-tier:nth-child(7)::after {
    background-image: url('../images/logo2.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 40px rgba(130, 50, 50, 0.4));
    mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.sponsors h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 800;
}
.sponsors-heading {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
}
.sponsors-intro {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
/* Gradient backgrounds for each sponsor section */
#diamond-sponsors-grid {
    position: relative;
}
/* Gradient titles for each tier - from tier color to white */
.sponsor-tier:nth-child(2) .sponsor-section-title {
    background: linear-gradient(90deg, rgba(50, 130, 125, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Left-aligned grid that wraps naturally */
.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}
/* Logo2 backgrounds for each tier - positioned on the right, overlapping */
.sponsor-tier::after {
    content: "";
    position: absolute;
    right: -150px;
    top: -100px;
    width: 700px;
    height: 700px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
}
/* Sponsors Page Styles */

.sponsors {
    background: var(--black);
    color: var(--white);
    padding: 120px 60px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .sponsors {
        padding: 80px 30px;
    }

    .sponsors h2 {
        font-size: 2rem;
    }

    .sponsor-section-title {
        font-size: 1.4rem;
    }

    .sponsor-card {
        min-width: 120px;
    }

    .sponsor-card img {
        max-height: 90px;
    }
}
