/* ==========================================================================
   Premium Circular Sponsor Layout
   ========================================================================== */

.sponsors-line-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 0.5rem;
    max-width: 1350px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 0 0 auto;
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-logo-box {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    /* Sophisticated DARK GOLD Glow */
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.25), 0 10px 30px rgba(0, 0, 0, 0.1); 
    border: 3px solid rgba(184, 134, 11, 0.4);
    transition: all 0.4s ease;
}

.sponsor-item:hover .sponsor-logo-box {
    /* Muted DARK GOLD Glow on hover */
    box-shadow: 0 0 35px rgba(184, 134, 11, 0.5), 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: #B8860B;
}

.center-piece-item .sponsor-logo-box {
    width: 200px;
    height: 200px;
    border: 5px solid #B8860B; /* Dark Golden border */
    box-shadow: 0 0 40px rgba(184, 134, 11, 0.6); /* Rich Dark Golden glow for MIS Africa */
}

/* Hide sponsor names as requested */
.sponsor-name {
    display: none;
}

/* Allow wrapping only on mobile devices */
@media (max-width: 768px) {
    .sponsors-line-layout {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

.center-sponsor .sponsor-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 1.2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.partner-sponsor .sponsor-logo-box {
    width: 130px;
    height: 130px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255,255,255,0.1);
}

.partner-sponsor .sponsor-logo-box:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.sponsor-logo-box {
    border-radius: 50%; /* Strict Circular Format */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    overflow: hidden;
    position: relative;
}

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

.sponsor-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sponsor-name {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 700;
    max-width: 160px;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .sponsors-circular-layout {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .sponsors-circular-layout {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .sponsors-circular-layout {
        flex-direction: column;
        gap: 4rem;
        background: transparent;
        backdrop-filter: none;
    }

    .sponsor-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .center-sponsor .sponsor-logo-box {
        width: 180px;
        height: 180px;
    }
}