/* HERO */
.hero {
    align-items: center;
    background: linear-gradient(to right, #0b0f0c 40%, transparent),
                url('../assets/hero.jpeg') center/cover;
    display: flex;
    min-height: 100svh;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 60px);
}

.hero h1 span {
    color: #4ade80;
}

.hero p {
    color: #bbb;
    margin: 20px 0;
    max-width: 600px;
    font-size: clamp(14px, 2.5vw, 18px);
}

/* FEATURES */
.features {
    display: grid;
    gap: 20px;
    padding: 60px 20px;
    grid-template-columns: 1fr;
}

.card {
    background: #111;
    border-radius: 14px;
    color: #bbb;
    padding: 20px;
}

.card h3 {
    color: #4ade80;
}

/* ABOUT */
.about {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
}

/* SLIDER */
.slideshow-wrapper {
    width: 100%;
}

.slideshow-container {
    align-items: center;        /* NEW */
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    display: flex;              /* NEW */
    justify-content: center;    /* NEW */
    overflow: hidden;
    position: relative;
    width: 100%;

}

.mySlides {
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mySlides[style*="display: block"] {
    display: flex !important;
}

.mySlides img {
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
}

/* ARROWS */
.prev, .next {
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
    background-color: #4ade80;
    color: #000;
}

/* DOTS */
.dot-container {
    padding: 10px 0;
    text-align: center;
}

.dot {
    background-color: #444;
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 4px;
}

.active, .dot:hover {
    background-color: #4ade80;
}

/* CTA */
.cta-box {
    padding: 60px 20px;
    text-align: center;
}

.cta-box img {
    margin-top: 20px;
    max-width: 140px;
}
.cta-box1 {
    padding: 60px 20px;
    text-align: center;
}

.cta-box1 img {
    margin-top: 150px;
    max-width: 150px;
}
.cta-box2 img {
    margin-top: 150px;
    max-width: 150px;
}



/* TABLET */
@media (min-width: 768px) {

    .hero {
        padding: 0 40px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        padding: 80px 40px;
    }

    .about {
        flex-direction: row;
        align-items: center;
        padding: 80px 40px;
    }

    .slideshow-wrapper {
        flex: 1.2;
    }
}

/* DESKTOP */
@media (min-width: 1200px) {

    .hero {
        padding: 0 60px;
    }

    .features {
        grid-template-columns: repeat(4, 1fr);
        padding: 80px 60px;
    }

    .about {
        padding: 80px 60px;
        gap: 80px;
    }

    .slideshow-wrapper {
        flex: 1.5;
        max-width: 800px;
    }
}