﻿.hero-section {
    background: transparent;
    color: yellow;
}

.hero-section {
    width: 100%;
    height: 75vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: yellow;
    font-weight: 100;
    font-size: 80px;
    line-height: 110%;
    z-index: 1;
    margin-top: 12vh;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image:
        radial-gradient(circle, rgba(41, 43, 28, 0.9) 5%, rgba(0, 0, 0, 0) 30%),
        url("../../static/image/background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: brightness(1.3) contrast(1.2);

    z-index: -1;
}
.underline-image {
    position: absolute;
    left: 0;
    top: 20px;
    width: 50%;
    height: auto;
    margin-top: 50px;
    margin-left: 10vh;
}

.rounded-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #031114;
    color: rgb(86, 86, 86);
    font-size: 18px;
    font-weight: bold;
    border: 2px solid gray;
    border-radius: 50px;
    padding: 10px 30px;
    margin: 0 auto;
    text-align: center;
    transition: 0.3s ease-in-out;
    width: fit-content;
    margin-top:20vh;
    margin-bottom: 5vh;

}

.rounded-button img {
    width: 20px;
    height: 20px;
}

.main-heading {
    font-size: 70px;
    font-weight: 400;
    text-align: center;
}

.stats-section .thumbnail {
    background-color: #222;
    border: none;
}

.logo-icon {
    width: 100px;
}

.logo-btn {
    background-color: transparent !important;
    border: none;
    margin-bottom: 1vh;
}

/*.logo-btn img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-btn:hover img {
    filter: grayscale(0%);
}*/

.logo-btn:hover {
    color: yellow;
}

.btn-warning {
    background: #E9F549;
    color: #000;
    font-weight: bold;
    margin-bottom: 10vh;
}

.btn-warning:hover {
    background-color: #ddd;
    color: #000;
}

.trusted-text {
    color: white;
    margin-top: 3px;
    margin-bottom: 5px;
}

.highlighted-text {
    color: #E9F549;
}

.curve-underline {
    color: #E9F549;
    position: relative;
    display: inline-block;
}

.stats-section .thumbnail {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 15.61px;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-section .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15.61px;
}


.stats-section .thumbnail img:empty::before {
    content: attr(alt);
    color: #fff;
    font-size: 16px;
    line-height: 150.06px;
    display: inline-block;
    text-align: center;
}


.companies-section p {
    margin-bottom: 20px;
    margin-top: 50px;
}


.stats-section .thumbnail img {
    width: 100%;
}


/* Mobile & Tablet Screens (0px - 1024px) */

    .stats-section .thumbnail {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .stats-section .thumbnail.fade-in-up {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-section {
        font-size: 55px;
        height: 70vh;
        margin-top: 10vh;
    }

    .main-heading {
        font-size: 55px;
    }

    .rounded-button {
        font-size: 20px;
        padding: 12px 28px;
        margin-top: 12vh;
        margin-bottom: 4vh;
    }

    .stats-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .stats-section .row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stats-section .thumbnail {
        opacity: 0;
        transform: translateY(60px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        margin-bottom: 20px;
        will-change: transform, opacity;
    }

    /* Scroll animation triggers */
    .stats-section .thumbnail:nth-child(1) {
        animation: fadeInUp 1s ease-out forwards;
        animation-delay: 0.3s;
    }

    .stats-section .thumbnail:nth-child(2) {
        animation: fadeInUp 1s ease-out forwards;
        animation-delay: 0.6s;
    }

    .stats-section .thumbnail:nth-child(3) {
        animation: fadeInUp 1s ease-out forwards;
        animation-delay: 0.9s;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(60px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .logo-icon {
        width: 85px;
    }

    .footer-container {
        font-size: 16px;
    }

    .footer-nav a {
        font-size: 18px;
        margin: 0 10px;
    }

    .social-icons-footer a img {
        width: 30px;
        height: 30px;
    }
    .underline-image {
        position: absolute;
        left: 0;
        top: 10px;
        width: 50%;
        height: auto;
        margin-top: 50px;
        margin-left: 10vh;
    }

@media (max-width: 882px) {
    .hero-section {
        font-size: 40px;
        height: 60vh;
        margin-top: 8vh;
    }

    .main-heading {
        font-size: 45px;
        line-height: 1.2;
        margin-bottom: 2vh;
    }

    .rounded-button {
        font-size: 16px;
        padding: 10px 24px;
        margin-top: 6vh;
        margin-bottom: 2vh;
    }

    .underline-image {
        width: 40%;
        height: auto;
        margin-top: 30px;
        margin-left: 5vh;
    }

    .trusted-text {
        font-size: 14px;
        margin-top: 1vh;
    }

    .btn-warning {
        margin-top: 3vh;
        font-size: 18px;
        padding: 10px 20px;
    }

    .logo-btn {
        margin-top: 5vh;
    }

    .hero-section h2.rounded-button {
        margin-top: 25vh;
    }
}


@media only screen and (min-width: 1025px) {
    .hero-section {
        font-size: 70px;
        height: 75vh;
        margin-top: 12vh;
    }

    .main-heading {
        font-size: 70px;
    }

    .rounded-button {
        font-size: 22px;
        padding: 14px 30px;
        margin-top: 15vh;
        margin-bottom: 5vh;
    }

    .logo-icon {
        width: 150px;
    }

    .footer-container {
        font-size: 18px;
    }

    .footer-nav a {
        font-size: 20px;
        margin: 0 12px;
    }

    .social-icons-footer a img {
        width: 35px;
        height: 35px;
    }
}
