﻿html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    background: black;
    color: white;
}


#container {
    width: 100%;
    max-width: 100vw;
}

section {
    /*  scroll-margin-top: var(--header-height, 60px); same height as fixed header */
    min-height: 100vh;
}

    section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        background-color: unset;
        border: unset;
    }

    section p {
        margin-bottom: 2rem;
        font-size: 1.2em
    }

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #111, #222);
    color: white;
    text-align: center;
    overflow: hidden;
   /*  min-height: calc(100vh - 60px); optional */
    height: auto;
}

.hero-left {
    position: absolute; 
    top: -150px; 
    left: 50px; 
    z-index: 1; 
}

@media (max-width: 768px) {
    .hero-left {
        bottom: 0px; 
        left: 6px; 
    }
}

.hero-right {
    position: relative;
    z-index: 0; 
}

.hero-content {
    position: relative;
    z-index: 2; 
    top: 50%;
    left: 20%;
}


.feature-section {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    background: #f7f9fb;
    color: black;
    overflow: visible;
    min-height: calc(100vh - 60px); /* optional */
}

    .feature-section h2 {
        background-color: black;
        border: unset;
        border-radius: 0px;
    }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

    .features h3 {
        color: black;
    }

.feature {
    background: white;
    border-left: 5px solid #fdb813;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr; /* single column on phones */
        padding: 1rem;
    }
}



.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-down span {
        width: 30px;
        height: 30px;
        display: block;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        animation: bounce 8s infinite;
    }

@keyframes bounce {
    0%, 20%, 100% {
        transform: translateY(0) rotate(45deg);
    }

    10% {
        transform: translateY(10px) rotate(45deg);
    }
}

.scroll-up {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-up span {
        width: 30px;
        height: 30px;
        display: block;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(-135deg);
        animation: bounce-up 8s infinite;
    }

.scroll-up,
.scroll-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-up {
    top: 20px;
}

.scroll-down {
    bottom: 40px;
}

@keyframes bounce-up {
    0% {
        transform: translateY(0) rotate(-135deg);
    }

    50% {
        transform: translateY(-10px) rotate(-135deg);
    }

    100% {
        transform: translateY(0) rotate(-135deg);
    }
}



