/* Banner */

/* .carousel-hero-banner {
    position: relative;
    width: 100%;
    height: 910px;
    overflow: hidden;
    color: var(--text-color);
    margin-top: 60px;
} */


.carousel-hero-banner {
    position: relative;
    width: 100%;
    min-height: 90vh; /* Full screen on desktop */
    overflow: hidden;
    color: var(--text-color);
    margin-top: -40px;
}

@media (max-width: 1420px) {
    .carousel-hero-banner {
        min-height: 630px;
        margin-top: -50px;
    }
}

/* Large Tablets */
@media (max-width: 1280px) {
    .carousel-hero-banner {
        min-height: 70vh;
        margin-top: -50px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .carousel-hero-banner {
        min-height: 60vh;
        margin-top: 40px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .carousel-hero-banner {
        min-height: 50vh;
        margin-top: 30px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .carousel-hero-banner {
        min-height: 45vh;
        margin-top: 20px;
    }
}


.carousel-images {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    background-color: var(--overlay-bg);
    border-radius: 5px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nav-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.288);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}




/* =========================
   RESPONSIVE HERO BANNER
========================= */

/* Large Tablets */
@media (max-width: 1024px) {
    .carousel-hero-banner {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 1280px) {
    /* .carousel-hero-banner {
        height: 500px;
    } */

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .carousel-hero-banner {
        height: 400px;
    }

    .slide-content {
        padding: 1.5rem;
        width: 85%;
    }

    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .nav-button {
        padding: 0.7rem 1rem;
        font-size: 1.5rem;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .carousel-hero-banner {
        height: auto;
        min-height: 200px;
        margin-top: -50px;
    }

    .carousel-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
        position: relative;
    }

    .slide-content {
        width: 90%;
        padding: 1rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .nav-button {
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .carousel-hero-banner {
        min-height: 250px;
    }

    .slide-content h1 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .nav-button {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }
}






.carousel-slide video,
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 95%;
    top: -30px;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}






/* Button */


/* Optional styling to make the button look nice */
.centered-button {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(220deg, #3f4882 30%, #7484e6 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;

    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;

    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.30), 0 0 14px rgba(212, 175, 55, 0.55), 0 0 30px rgba(212, 175, 55, 0.30) !important;
}

.centered-button:hover {
    background-color: #0056b3;
}

/* Tablet */
@media (max-width: 768px) {
    .centered-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .centered-button {
        width: 90%;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}