﻿/* ------------------------------
    DESKTOP (default)
--------------------------------*/

.hero-section {
    background: url('/img/hero-blue-large-waves.png') no-repeat center bottom;
    background-size: cover;
    background-position-y: calc(100% + 300px);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden !important;
}


@media (min-width: 1025px) {
    .hero-title {
        font-size: 3.2rem;
        padding-top: 170px;
    }
}


/* ------------------------------
    TABLETS (iPad, etc)
    768px–1024px
--------------------------------*/
@media (max-width: 1024px) {
    .hero-section {
        background-position: center bottom;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 700;
        color: #0d2b7a;
        line-height: 1.2;
        padding-top: 90px;
    }
}


/* ------------------------------
    MOBILE PHONES (< 768px)
--------------------------------*/
@media (max-width: 767px) {

    .email-box .input-group {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
        margin-top: 0 !important;
        width: 100%;
    }

    .email-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #email.hero-input {
        border-radius: 30px !important;
        width: 100% !important;
    }

    #email {
        width: 100% !important;
        border-radius: 30px !important;
    }

    .email-box .input-group-append {
        margin-left: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 700;
        color: #0d2b7a;
        line-height: 1.2;
        padding-top: 50px;
    }
}



/* Landscape phones */
@media only screen and (max-height: 500px) and (orientation: landscape) {

    .hero-section {
        min-height: 160vh !important;
        padding-bottom: 300px !important;
        background-position: center bottom !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        padding-top: 50px !important;
    }
}




/* ------------------------------
    HERO TEXT
--------------------------------*/
.hero-title {
    font-weight: 700;
    color: #0d2b7a;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #1f3b7a;
    margin-top: 20px;
    margin-bottom: 40px;
}


/* ------------------------------
    EMAIL INPUT + BUTTON
--------------------------------*/

.email-box {
    max-width: 650px;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}


/* INPUT FIELD */
.hero-input {
    height: 50px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fff;
    font-size: 1.45rem;
    padding-left: 20px;
    margin-top: 4px;
    border-radius: 30px 0 0 30px;
}

    .hero-input:focus {
        outline: none !important;
        box-shadow: none !important;
    }


.input-group-append {
    overflow: visible !important;
}

/* Prevent Bootstrap input-group from clipping pill corners */
.email-box .input-group {
    overflow: visible !important;
}


/* Make password fields match email field */
.hero-input {
    height: 54px;
    border-radius: 12px;
    font-size: 26px;
    padding-left: 18px;
    color: #0d2b7a !important;
}

.cf-turnstile {
    text-align: left !important;
    margin-left: 0px !important;
    margin-top: 30px !important;
}

