@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* ---------- Global reset ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* If you intended a real section element, rename 'section1' to 'section' in HTML.
   Kept as-is to avoid changing your markup, but you can change both to 'section' later */
section1 {
    padding: 100px 200px;
}

/* ---------- Home section ---------- */
.home {
    position: relative;
    width: 100%;
    top: 140px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #0c8450;
    overflow: hidden; /* ensure slides don't overflow */
}

/* overlay */
.home::before {
    z-index: 777;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* ---------- Content ---------- */
.home .content {
    z-index: 888;
    color: #fff;
    width: 80%;
    margin-top: 50px;
    position: relative; /* ensure it sits above slides */
}

.home .content h1 {
    font-size: 3em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 10px;
}

.home .content h1 span {
    font-size: 1em;
    font-weight: 600;
}

.home .content p {
    font-size: 1.2em;
    margin-bottom: 65px;
}

.home .content a {
    background: #fff;
    padding: 15px 35px;
    color: #1680AC;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
}

/* ---------- Social media icons ---------- */
.home .media-icons {
    z-index: 888;
    position: absolute;
    right: 30px;
    top: 40%;
    display: flex;
    flex-direction: column;
    transition: 0.5s ease;
}

.home .media-icons a {
    color: #fff;
    font-size: 1.6em;
}

.home .media-icons a:not(:last-child) {
    margin-bottom: 20px;
}

.home .media-icons a:hover {
    transform: scale(1.3);
}

/* ---------- IMAGE SLIDES (replace videos) ---------- */
/* Each slide should be an <img class="video-slide"> in your HTML */
.home img.video-slide {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;    /* fills container like a background video */
    -o-object-fit: cover; /* older browsers */
    display: block;
    pointer-events: none; /* so clicks hit content above */
}

/* default (hidden) state for slides */
.video-slide {
    /* position and sizing already set on .home img.video-slide, keep here for fallback */
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: circle(0% at 0 50%); /* small circular mask off-screen */
    opacity: 0;
    transition: clip-path 2s ease, opacity 1s ease;
}

/* active slide (visible) */
.video-slide.active {
    clip-path: circle(150% at 0 50%); /* large circle reveals image */
    opacity: 1;
}

/* ---------- Navigation dots ---------- */
.slider-navigation {
    z-index: 888;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(80px);
    margin-bottom: 12px;
}

.slider-navigation .nav-btn {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.slider-navigation .nav-btn:not(:last-child) {
    margin-right: 20px;
}

.slider-navigation .nav-btn:hover {
    transform: scale(1.3);
}

/* Example active-dot style (uncomment if you want visible active-state) */
/*
.slider-navigation .nav-btn.active {
    background: #2696ED;
}
*/

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    header {
        padding: 12px 20px;
    }

    section1 {
        padding: 100px 20px;
    }

    .home .media-icons {
        right: 15px;
    }

    header .navigation {
        display: none;
    }

    .menu-btn {
        background: url(menu.png) no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.3s ease;
    }
}

/* ---------- Optional: small visual tweaks ---------- */
/* Make sure content is readable on very large screens */
@media (min-width: 1600px) {
    .home .content {
        width: 60%;
    }
}
