:root {
    --text: #ffffff;
    --green-overlay: rgba(0, 0, 0, 0.58);
    --accent: rgba(255, 255, 255, 0.88);
    --content-width: 780px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: #0a5638;
    color: var(--text);
    overflow-x: hidden;
}

.hero {
    position: relative;
    min-height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.slideshow,
.slide,
.green-overlay,
.readability-overlay {
    position: absolute;
    inset: 0;
}

.slideshow {
    z-index: -4;
    background: #173f2d;
}

.slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 1.2s ease-in-out,
        transform 7s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.green-overlay {
    z-index: -3;
    background: var(--green-overlay);
}

.readability-overlay {
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.40) 0%,
            rgba(0, 0, 0, 0.18) 48%,
            rgba(0, 0, 0, 0.06) 100%
        );
}

.hero-content {
    width: 100%;
    padding: clamp(48px, 8vw, 110px) clamp(24px, 7vw, 110px);
}

.content-inner {
    width: min(100%, var(--content-width));
    text-align: left;
}



h1 {
    font-size: clamp(4rem, 10vw, 8.5rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.accent-line {
    width: 76px;
    height: 4px;
    margin: 24px 0 26px;
    border-radius: 999px;
    background: var(--accent);
}

.lead {
    max-width: 760px;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.75;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.supporting-text {
    max-width: 700px;
    margin-top: 18px;
    font-size: clamp(0.92rem, 1.5vw, 1.08rem);
    line-height: 1.8;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.highlights span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 0px;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

.highlights i {
    font-size: 0.95rem;
}

.slide-controls {
    position: absolute;
    right: clamp(24px, 5vw, 70px);
    bottom: clamp(28px, 5vw, 55px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
}

.slide-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}

.slide-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #fff;
}

.slide-dot:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 4px;
}





@media (max-width: 700px) {
    .hero {
        align-items: flex-end;
    }

    .hero-content {
        padding: 55px 22px 100px;
    }



    h1 {
        font-size: clamp(3.5rem, 19vw, 5.5rem);
    }

    .accent-line {
        margin: 19px 0 20px;
    }

    .lead {
        font-size: 1rem;
        line-height: 1.7;
    }

    .supporting-text {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .highlights {
        gap: 7px;
        margin-top: 23px;
    }

    .highlights span {
        padding: 8px 11px;
        font-size: 0.70rem;
    }

    .slide-controls {
        right: 22px;
        bottom: 27px;
    }


}

@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide-dot,
    .scroll-indicator {
        transition: none;
        animation: none;
    }
}
