:root {
    --bg-main: rgb(238, 238, 228);
    --brand-main: rgb(30, 47, 42);
    --heading-fs: 3.8rem;
}

/* ---- Nav ---- */
nav {
    background-color: var(--bg-main);
}

/* ---- Hero Section ---- */
#hero-section {
    background-color: var(--bg-main);
    padding-bottom: 4rem;
}

#hero-display {
    min-height: 80vh;
}

#hero-section h1 {
    font-size: 60px;
    line-height: 1.0;
    letter-spacing: -0.05em;
    font-weight: 500;
    color: var(--brand-main);
}

#hero-section p {
    font-size: 1rem;
}

#hero-section a {
    font-size: 1rem;
}


.highlighted-word {
    position: relative;
    display: inline-block;
}

.highlighted-word::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* tweak as needed */
    left: -5px;
    width: 115%;
    height: 120px;
    /* Increase this to make the SVG visible */
    background-image: url('../../assets/img/hero/underline-green.svg');
    background-repeat: no-repeat;
    background-size: contain;
    /* or cover depending on look */
    background-position: bottom center;
    pointer-events: none;
}


/* ---- Work Section ---- */
#work-section {
    background-color: var(--brand-main);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#work-section h3 {
    font-size: 1.8rem;
}

#work-section p {
    font-size: 0.8rem;
}

.mobile-overlay {
    position: absolute;
    width: 15%;
    bottom: -10%;
    left: 80%;
}

/* ---- Benefits Section ---- */
#benefits-section {
    background-color: var(--bg-main);
}

#benefits-section h2 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

#benefits-section p {
    font-size: 0.8rem;
}

.benefit {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ---- Process Section ---- */
#process-section {
    background-color: var(--brand-main);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

#process-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

#process-section svg {
    max-width: 120px;
}

.step-number {
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
}


/* ---- Speed Section ---- */
#speed-section {
    padding-top: 4.9rem;
    padding-bottom: 6.9rem;
    background-color: var(--bg-main);
}

#speed-section h4 {
    font-size: 2.4rem;
    margin-top: 0.5rem;
}

#speed-section p {
    font-size: 1rem;
}

#speed-section span {
    font-size: 0.7rem;
}

/* ---- FAQ's Section ---- */
#faq-section {
    background-color: var(--brand-main);
    padding-top: 4rem;
    padding-bottom: 6rem;
}

#faq-section h5 {
    font-size: 3rem;
}

#faq-section p {
    color: #e2e2e2;
}

/* ---- CTA Section ---- */
#cta-section {
    padding-top: 5rem;
    padding-bottom: 3rem;
    background-color: var(--bg-main);
}

#cta-section h2 {
    font-size: 2.5rem;
}

/* ---- Form Section ---- */
#form-section {
    background-color: var(--bg-main);
    padding-bottom: 2rem;
}

.form-check {
    font-size: 1.1rem;
}

#form-card {
    background-color: white;
    height: 520px;
    max-width: 700px;
}

.form-pill {
    background-color: var(--bg-main);
    padding: 1rem 4rem;
}

#backBtn {
    font-size: 0.8rem;
}

/* ---- Footer ---- */
footer {
    background-color: var(--bg-main);
    padding-top: 2rem;
    padding-bottom: 6rem;
}

/* ---- Submission Page ---- */
#submissionMessage svg {
    max-width: 120px;
}

/* ----------- MEDIA QUERIES ----------- */

/* Screens of 576px and more */
@media screen and (min-width: 576px) {

    /* ----- Hero ------ */
    #hero-section {
        padding-bottom: 5rem;
    }

    #hero-section h1 {
        font-size: 80px;
    }

    #hero-section p {
        font-size: 1.4rem;
    }

    #hero-section a {
        font-size: 1.5rem;
    }

    #hero-display {
        min-height: 90vh;
    }

    /* ----- Work ----- */
    .mobile-overlay {
        position: absolute;
        width: 15%;
        bottom: -10%;
        left: 0%;
    }

    #work-section h3 {
        font-size: 2.3rem;
    }

    #work-section p {
        font-size: 1rem;
    }

    #work-section {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    /* ---- Process ---- */
    #process-section h2 {
        margin-bottom: 3rem;
    }

    /* ---- Speed ----- */
    #speed-section span {
        font-size: 1rem;
    }

    /* ---- CTA Section ----- */
    #cta-section p {
        font-size: 1.15rem;
    }

}

/* Screens of 768px and more */
@media screen and (min-width: 768px) {

    /* ----- Hero ------ */
    #hero-section h1 {
        font-size: 100px;
    }

    #hero-section p {
        font-size: 2rem;
    }

    /* ----- Work ----- */
    #work-section h3 {
        font-size: 2.7rem;
    }

    #work-section p {
        font-size: 1.2rem;
    }

    #work-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    /* ----- Benefits ----- */
    #benefits-section h2 {
        font-size: 2.5rem;
    }

    #benefits-section p {
        font-size: 1rem;
    }

    .benefit {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    /* ---- Process ---- */
    #process-section h2 {
        font-size: 3rem;
    }

    /* ---- Speed ----- */
    #speed-section h4 {
        font-size: 3rem;
        margin-top: 0.5rem;
    }

    #speed-section p {
        font-size: 1.2rem;
    }
}

/* Screens of 992px and more */
@media screen and (min-width: 992px) {

    /* ----- Hero ------ */
    #hero-section h1 {
        font-size: 100px;
    }

    #hero-section p {
        font-size: 1.7rem;
    }

    #hero-section {
        padding-bottom: 0;
    }

    .highlighted-word::after {
        bottom: -10px;
    }


    /* ----- Work ----- */
    #work-section {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    #work-section p {
        font-size: 1.1rem;
    }

    #work-section.work-display {
        margin-bottom: 0;
    }

    /* ---- Benefits ----- */
    #benefits-section h2 {
        font-size: 3.5rem;
    }

    .benefit {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    /* ---- Process ---- */
    #process-section h2 {
        font-size: 3.5rem;
    }

    /* ---- FAQ's ----- */
    #faq-section {
        padding-top: 5.5rem;
        padding-bottom: 7.5rem;
    }

    #faq-section h5 {
        font-size: 5rem;
    }

    /* ---- CTA Section ----- */
    #cta-section h2 {
        font-size: 3rem;
    }
}

/* Screens of 1200px and more */
@media screen and (min-width: 1200px) {

    /* ----- Hero ------ */
    #hero-section h1 {
        font-size: 110px;
    }

    #hero-section p {
        font-size: 2rem;
    }

    /* ----- Work ----- */

    #work-section {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    #work-section h3 {
        font-size: 3.1rem;
    }

    #work-section p {
        font-size: 1.1rem;
    }

    /* ---- Benefits ----- */
    #benefits-section h2 {
        font-size: var(--heading-fs);
    }

    #benefits-section p {
        font-size: 1.25rem;
    }

    .benefit {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    /* ---- Process ----- */
    #process-section {
        padding-top: 6rem;
        padding-bottom: 10rem;
    }

    #process-section svg {
        max-width: 140px;
    }

    #process-section h2 {
        margin-bottom: 5rem;
    }

    #process-section p {
        font-size: 0.8rem;
    }

    /* ---- Speed ---- */
    #speed-section h4 {
        font-size: var(--heading-fs);
        margin-top: 3rem;
    }

    #speed-section p {
        font-size: 1.5rem;
    }

    /* ---- CTA Section ---- */
    #cta-section {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    #cta-section h2 {
        font-size: var(--heading-fs);
    }

    #cta-section p {
        font-size: 1.35rem;
    }

    /* ---- Form ----- */
    #form-section {
        padding-bottom: 5rem;
    }
}

/* Screens of 1400px and more */
@media screen and (min-width: 1400px) {

    /* ----- Hero ------ */
    #hero-section h1 {
        font-size: 120px;
    }

    #hero-section p {
        font-size: 2rem;
    }

    /* ----- Work ----- */
    #work-section h3 {
        font-size: var(--heading-fs);
    }

    #work-section p {
        font-size: 1.25rem;
    }

    /* ---- Benefits ----- */
    .benefit {
        padding-top: 9rem;
        padding-bottom: 9rem;
    }

    /* ----- Process ----- */

    #process-section h2 {
        font-size: var(--heading-fs);
        margin-bottom: 7rem;
    }

    #process-section svg {
        max-width: 150px;
    }

    #process-section p {
        font-size: 1rem;
    }
}