/* =========================
   HERO
========================= */

.hero {
    margin-top: 10px;
    margin-bottom: 0px !important;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #00bcd43b;
    border-radius: 15px;
    padding:5px;
}

/* =========================
   Slides Container
========================= */

.slides {
    position: relative;
    width: 100%;
}

/* =========================
   Slide
========================= */


.slide {

    position: relative;

    width: 100%;

    aspect-ratio: 1710 / 540;

    overflow: hidden;

    display: none;
}
.slide picture {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}
.slide.active {
    display: block;

    animation: fadeSlide 1s ease;
}

/* =========================
   Fade Animation
========================= */

@keyframes fadeSlide {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================
   Image
========================= */

.slide-image {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

/* =========================
   Overlay
========================= */

.slide::after {

    content: "";

    position: absolute;
    inset: 0;


}

/* =========================
   Content
========================= */


.slide-content {

    position: absolute;

    right: 6%;
    bottom: 10%;

    z-index: 5;

    color: white;

    max-width: 650px;
    margin-top:10px;
}
.slide-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.slide-sub {
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* =========================
   Button
========================= */

.slide-actions {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}

.cta {

    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #16a34a;

    color: white;

    text-decoration: none;

    padding: 13px 24px;

    border-radius: 14px;

    font-weight: bold;

    transition: 0.3s;
}

.cta:hover {

    background: #15803d;

    transform: translateY(-2px);
}

.cta svg {

    width: 18px;
    height: 18px;

    fill: white;
}
.slide picture {

    display: block;

    width: 100%;
    height: 100%;
}
/* =========================
   Tablet
========================= */

@media (max-width: 1100px) {

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-sub {
        font-size: 0.95rem;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {
    .slide {

        aspect-ratio: 1080 / 1350;
    }

    .slide-image {

        object-fit: contain;

        object-position: center center;
    }

    .slide-title {

        font-size: 1.2rem;

        margin-bottom: 1px;

        line-height: 1.7;
    }

    .slide-sub {

        font-size: 0.8rem;

        line-height: 1.9;
    }

    .slide-actions {

        top: 14px;
        left: 14px;
    }

    .cta {

        padding: 9px 15px;

        border-radius: 10px;

        font-size: 0.82rem;

        gap: 6px;
    }

    .cta svg {

        width: 14px;
        height: 14px;
    }
    .slide {

        aspect-ratio: 1080 / 1350;

        position: relative;
    }

    .slide-content {

        position: absolute;

        bottom: 2%;
        right: 5%;
        left: 5%;

        z-index: 5;
    }

    .slide-actions {

        position: absolute;

        top: 14px;
        left: 14px;

        z-index: 10;
    }
}
