.hero-section {
    position: relative;
    padding-top: var(--space-100-30);
}

.hero-section:has(+.has-background) {
    margin-bottom: var(--space-100-30);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/01/aws-hero-cover.webp');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.hero-section .row .Col+.Col {
    margin-top: clamp(3.125rem, -11.96rem + 24.33vw, 9.938rem);
}

.hero-section .img-block {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    border-radius: 40px;
    overflow: hidden;
    z-index: 1;
}

.hero-section .img-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-section .Col:nth-child(2) .img-block::before {
    filter: grayscale(100%);
}

.hero-section .img-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgba(11, 11, 11, 0.2),
            rgba(11, 11, 11, 0.2));
    z-index: -1;
}

.hero-section .img-block .content {
    max-width: 440px;
    margin-inline: auto;
}

.hero-section .img-block .content p:last-child {
    margin-bottom: 0;
}

.hero-section .img-block .content .btn {
    margin-inline: auto;
    margin-top: clamp(1rem, -2.692rem + 5.769vw, 2.5rem);
}

.home-hero-carousel .slick-dots {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2%;
    bottom: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.home-hero-carousel .slick-dots li {
    list-style: none;
    display: block;
    margin: 0;
    width: auto;
    height: auto;
}

.home-hero-carousel .slick-dots button {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    border: none;
    background-color: var(--color-primary);
    text-indent: -9999px;
    outline: 0;
    opacity: 0.5;
}

.home-hero-carousel .slick-dots button::before {
    display: none;
}

.home-hero-carousel .slick-dots li.slick-active button,
.home-hero-carousel.slick-dots button:hover {
    opacity: 1;
}

/*********************************************
************\\Media Queries\\ ****************
*********************************************/
@media (min-width: 992px) {
    .hero-section .Col:first-child .img-block {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .hero-section .Col:last-child .img-block {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

/* End Mini 992px */

@media (max-width: 991.98px) {
    .home-hero-carousel .slick-dots {
        left: -14px;
    }
}

/* End Max 991.98px */

@media (max-width: 767.98px) {
    .hero-section::before {
        background-size: 180px;
        background-position: center center;
    }

    .hero-section .img-block {
        height: auto;
        padding: 50px 20px;
        /* aspect-ratio: 16 / 9; */
        aspect-ratio: 1 / 1;
    }

    .hero-section .row .Col+.Col {
        margin-top: 20px;
    }

    .hero-section .Col:last-child .img-block {
        justify-content: flex-end;
    }
}

/* End Max 991.98px */

@media (max-width: 620px) {
    .hero-section::before {
        background-size: 120px;
    }
}

/*  End Max 208px */

@media (max-width: 420px) {
    .hero-section .img-block {
        height: auto;
        padding: 50px 20px;
        aspect-ratio: 1 / 1.1;
    }
}

/*  End Max 420px */