.hero-carousel {
    position: relative;
    height: 90vh;
}


.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.3); */ /* Dark overlay */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: #0056b3;
}

/* Swiper custom styles */
.swiper-button-prev,
.swiper-button-next {
    position: static;
    margin: 0;
    width: 48px;
    height: 48px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    color: #fff;
}

.swiper-pagination {
    position: static;
    width: fit-content !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
    width: 6px;
    height: 6px;
    transition: all 0.5s ease;
}

.swiper-pagination-bullet-active {
    background: rgba(50, 186, 246, 1);
    width: 12px;
    height: 12px;
}

.hero-carousel .swiper {
    position: relative;
    height: 100%;
}

.hero-carousel .swiper .swiper-wrapper {
    height: 100%;
}

.hero-carousel .swiper .swiper-wrapper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content {
    position: relative;
    align-items: center;
    z-index: 2;
    color: white;
    text-align: center;
    padding-bottom: 168px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    max-width: 1272px;
}

.hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content h1 {
    font-family: CircularXX TT, sans-serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 96px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #fff;
    margin-bottom: 40px;
    max-width: 717px;
}

@media (max-width: 1280px) {
    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content h1 {
        font-size: 64px;
        line-height: 83.2px;
    }

    .hero-carousel {
        height: 70vh;
    }
}

.hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content .hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    transition: background-color 0.3s;
    font-family: CircularXX TT, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.hero-carousel .swiper-buttons-and-pagination-wrapper {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1272px;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.hero-carousel .swiper .home-hero-swiper-button-wrapper {
    display: flex;
    gap: 16px;
    order: 2;
    flex-direction: row-reverse;
}

.hero-carousel .swiper .swiper-pagination {
    position: static !important;
    width: auto !important;
    order: 1;
}

.hero-carousel .swiper .home-hero-swiper-button {
    position: static;
    margin: 0;
}

@media (max-width: 1440px) {
    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content,
    .hero-carousel .swiper-buttons-and-pagination-wrapper {
        max-width: 1140px;
    }
}

@media (max-width: 1280px) {
    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content,
    .hero-carousel .swiper-buttons-and-pagination-wrapper {
       width: 100%;
       padding: 0 40px 112px 40px;
    }


    .hero-carousel .swiper-buttons-and-pagination-wrapper {
        width: 100%;
        bottom: 40px;
        padding: 0 40px;

    }
}

@media (max-width: 768px) {
    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content {
        max-width: 100%;
        /* padding: 40px; */
    }

    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content h1 {
        font-size: 48px;
        line-height: 57.6px;
        margin-bottom: 24px;
    }

    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content .hero-button {
        font-weight: 700;
        font-size: 14px;
        line-height: 21px;
        padding: 12px 24px;
    }

    .hero-carousel .swiper-buttons-and-pagination-wrapper {
        /* bottom: 20px; */
        padding: 0 40px;
    }
}


@media (max-width: 480px) {
    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content {
        max-width: 100%;
        /* padding: 40px; */
    }

    .hero-carousel .swiper .swiper-wrapper .swiper-slide .hero-slide .hero-content h1 {
        font-size: 32px;
        line-height: 41.6px;
    }

    .hero-carousel .swiper-buttons-and-pagination-wrapper {
        /* padding: 0 20px; */
    }
}
