/* XL Circle Styles - Add to existing card-circle.css */
.xl-circle-container {
    position: relative;
    margin: 70px auto;
}

.xl-circle-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #27496D, #00A8CC);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 0 60px rgba(0,168,204,0.5);
    z-index: 1;
    border: 8px solid white;
}

.xl-circle-center i {
    color: #FFD700;
    margin-bottom: 10px;
}

.xl-center-count {
    font-size: 56px;
    font-weight: bold;
    line-height: 1;
    margin: 5px 0;
}

.xl-circle-center small {
    font-size: 16px;
    opacity: 0.9;
}

.xl-competition-card {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
    animation: xlPopIn 0.6s ease-out forwards;
    opacity: 0;
}

.xl-competition-card:hover {
    transform: translate(-50%, -50%) scale(1.18);
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.xl-card-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    border: 3px solid rgba(255,255,255,0.4);
}

.xl-card-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid rgba(255,255,255,0.4);
}

.xl-card-icon i {
    color: #27496D;
    font-size: 48px;
}

.xl-card-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.xl-btn-view {
    font-size: 16px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.xl-btn-view:hover {
    background: #00A8CC;
    border-color: #00A8CC;
    transform: scale(1.08);
}

@keyframes xlPopIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive for XL version */
@media (max-width: 1400px) {
    .xl-circle-container {
        width: 1100px !important;
        height: 1100px !important;
    }
    
    .xl-competition-card {
        width: 180px;
        height: 180px;
    }
    
    .xl-card-logo, .xl-card-icon {
        width: 80px;
        height: 80px;
    }
    
    .xl-card-name {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .xl-circle-container {
        width: 900px !important;
        height: 900px !important;
    }
    
    .xl-competition-card {
        width: 160px;
        height: 160px;
        padding: 20px;
    }
    
    .xl-card-logo, .xl-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .xl-card-icon i {
        font-size: 36px;
    }
    
    .xl-card-name {
        font-size: 15px;
    }
    
    .xl-btn-view {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    .xl-circle-center {
        width: 180px;
        height: 180px;
    }
    
    .xl-center-count {
        font-size: 48px;
    }
}

















/* ====================== */
/* SLIDESHOW STYLES       */
/* ====================== */

/* Slideshow Background */
.slideshow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideShow 30s infinite;
}

/* Animation delays for each slide */
/* Update slide animation delays for 11 slides */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 3s; }
.slide:nth-child(3) { animation-delay: 6s; }
.slide:nth-child(4) { animation-delay: 9s; }
.slide:nth-child(5) { animation-delay: 12s; }
.slide:nth-child(6) { animation-delay: 15s; }
.slide:nth-child(7) { animation-delay: 18s; }
.slide:nth-child(8) { animation-delay: 21s; }
.slide:nth-child(9) { animation-delay: 24s; }
.slide:nth-child(10) { animation-delay: 27s; }
.slide:nth-child(11) { animation-delay: 30s; }

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 40, 80, 0.7); /* Dark blue overlay */
    z-index: 1;
}

/* Also update the animation duration to accommodate more slides */
@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    10% {
        opacity: 1;
        transform: scale(1.05);
    }
    15% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Container adjustments */
.container-fluid.bg-transparent {
    background: transparent !important;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Fix for the main container */
.container.position-relative {
    position: relative;
    z-index: 3;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}











/* Slideshow Section - Self-contained */
.slideshow-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block; /* Change from flex to block */
}

/* Ensure slideshow doesn't affect following elements */
.slideshow-section::after {
    content: '';
    display: block;
    clear: both;
}

/* Slideshow Background */
.slideshow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Make sure footer is separate */
.footer {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    clear: both !important;
    margin-top: 0 !important;
    z-index: 10 !important;
    background: #142850 !important; /* Your footer color */
}

/* Reset any inherited styles on footer */
.footer .container {
    position: static !important;
    transform: none !important;
}

/* Ensure body doesn't have overflow issues */
body {
    overflow-x: hidden;
    position: relative;
}

/* Force footer to be below slideshow */
.main-content {
    position: relative;
    z-index: 1;
}

.footer, .copyright {
    position: relative;
    z-index: 20;
}