/* Global Layout Styles */
main {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Banner Carousel Styles */

/* Banner Carousel Section */
.banner-carousel-section {
    position: relative;
}

.banner-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    color: var(--white);
    max-width: 600px;
    padding: 2rem 0;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.indicator {
    width: 6px;
    height: 6px;
    background: var(--Base-Primary-Midnight-200, #D1D2D4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 14px;
    height: 8px;
    border-radius: 22px;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    background: var(--Elevation-L2, #FFFFFF);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animation for the active indicator */
@keyframes indicatorActivate {
    0% {
        width: 6px;
        border-radius: 50%;
        background: var(--Base-Primary-Midnight-200, #D1D2D4);
        padding: 0;
    }
    100% {
        width: 14px;
        height: 8px;
        border-radius: 22px;
        padding-top: 4px;
        padding-right: 8px;
        padding-bottom: 4px;
        padding-left: 8px;
        background: var(--Elevation-L2, #FFFFFF);
    }
}

.indicator.active {
    animation: indicatorActivate 0.3s forwards;
}

/* Responsive styles */
@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}
