body, html {
    margin: 0;
    padding: 0;
}

.nav-link {
    color: inherit;
    text-decoration: none;
}

nav.navbar {
    background-color: #1a1a1a;
    color: #ffffff !important;
}

.content-wrapper {
    overflow-x: hidden;
}

#home {
    min-height: 95vh;
    background-image: url("/public/images/hero2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1c1c27; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

#home .content {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

#home .content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

#home .content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #home {
        padding: 1rem;
        background-position: top;
    }

    #home .content {
        padding: 1.5rem;
    }

    #home .content h1 {
        font-size: 1.6rem;
    }

    #home .content p {
        font-size: 0.95rem;
    }
}


#cta {
    background-color: #ff2323;
    color: white !important;
}

#cta p {
    max-width: 40%;
}

#cta .container {
    background-image: url(/public/images/join-cta.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    padding: inherit;
    padding: 30px 0;
}

#feature {
    margin-top: 30px;
    min-height: 95vh;
}

#feature .card {
    border-radius: 16px;
    margin-top: 12px;
    border-color: transparent;
    min-height: 100%;
}

#howto {
    min-height: 95vh;
    padding-top: 15px;
}

#howto .content {
    padding-top: 30px;
}

#howto .content .col.a {
    margin-top: 50px;
}

#howto .content .col.b {
    margin-top: 100px;
}

.payment-slider {
    overflow: hidden;
    padding: 2rem 0;
    background-color: #ffffff;
}

.slider-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 25s linear infinite;
    margin-top: 30px;
}

.slider-track img {
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.slider-track img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

#payment {
    padding-top: 30px;
}

#stat {
    padding: 30px;
    padding-bottom: 0px;
    display: flex;
    height: 30vh;
    background-image:
        linear-gradient(#1c1c27, #1c1c27be),
        url("/public/images/stat-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
}

#stat .container {
    height: 100%;
    display: flex;
    align-items: center;
    background-image: url(/public/images/stat.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

#stat .d-flex {
    display: flex;
}

#stat .d-flex .item:first-child {
    padding-right: 30px;
    border-right: 1px solid #ff2323;
}

#stat .d-flex .item:last-child {
    padding-left: 30px;
}

@media screen and (max-width: 768px) {
    #stat .d-flex {
        display: block !important;
    }

    #stat .d-flex .item:first-child {
        padding-right: 0px;
        border: none;
    }

    #stat .d-flex .item:last-child {
        padding-left: 0px;
        padding-top: 30px;
    }

    #howto .content .col.a {
        margin-top: 50px;
    }

    #howto .content .col.b {
        margin-top: 50px;
    }

    #cta {
        padding: 0 0;
    }

    #cta .container {
        padding: 30px 30px;
    }

    #cta p {
        max-width: 60%;
    }

    #cta a {
        width: 100%;
    }
}