/* Hero Carousel Styles */
#heroCarousel .carousel-item {
    height: 450px;
    background-color: #000;
}

#heroCarousel img {
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.8rem !important;
    bottom: 15% !important;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    /* Initial state for the container */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.active .carousel-caption {
    opacity: 1;
}

.carousel-caption h3,
.carousel-caption p,
.carousel-caption .btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered Loading: H3 -> P -> Button */
.active .carousel-caption h3 {
    animation: fadeInUpCustom 0.8s ease-out 0.4s both;
}

.active .carousel-caption p {
    animation: fadeInUpCustom 0.8s ease-out 0.8s both;
}

.active .carousel-caption .btn {
    animation: fadeInUpCustom 0.8s ease-out 1.2s both;
}

.carousel-caption h3 {
    font-size: 2rem !important;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #ffc107);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-caption p {
    font-size: 1rem !important;
    margin-bottom: 1rem;
}

.carousel-caption .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Navigation Icons */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 193, 7, 0.8);
    border-radius: 50%;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    #heroCarousel .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        padding: 1rem !important;
        bottom: 10% !important;
        display: block !important;
        width: 90%;
    }

    .carousel-caption h3 {
        font-size: 1.75rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Logo Slider */
.logo-slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 10px 0;
}
.logo-slider-track {
    display: inline-flex;
    animation: scroll-logos 40s linear infinite;
    align-items: center;
}
.logo-slider-track:hover {
    animation-play-state: paused;
}
.logo-item {
    padding: 0 40px;
    display: inline-block;
}
.logo-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s, transform 0.3s;
}
.logo-item img:hover {
    transform: scale(1.1);
}
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

