﻿/* ------------------------------
    HERO SECTION BACKGROUND
--------------------------------*/

/* ------------------------------
    DESKTOP (default)
--------------------------------*/

.hero-section {
    background: url('/img/hero-yellow-large-waves.png') no-repeat center bottom;
    background-size: cover;
    /* offset ONLY the image, NOT the text */
    background-position-y: calc(100% + 300px);
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: flex-start;
    overflow-x: hidden !important;
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 3.2rem;
        padding-top: 150px;
    }
}


/* ------------------------------
    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: 50px;
    }
}


/* ------------------------------
    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;
    }

    #btnFreeTrial {
        width: 100% !important;
        border-radius: 30px !important;
        margin-top: 4px;
        padding: 14px 0 !important;
        font-size: 1.1rem !important;
    }

    .email-box .input-group-append {
        margin-left: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
    }

    #btnCreateAccount {
        text-indent: 0 !important;
        font-size: 14px !important;
        color: #ffffff !important;
    }

    .d-flex {
        flex-direction: column !important;
        gap: 12px;
    }

    #btnCreateAccount,
    #btnCancel {
        width: 100% !important;
    }


}


/* 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: 12px;
    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;
}


/* ------------------------------
    QUOTE CARD
--------------------------------*/
.quote-card {
    background: #fff;
    max-width: 750px;
    padding: 40px 50px;
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    text-align: left;
}

.quote-text {
    font-size: 1.7rem;
    line-height: 1.5;
    color: #0d2b7a;
    font-family: 'Georgia', serif;
}

.quote-author {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #333;
}


#signup-card {
    transition: all .3s ease;
    padding: 20px;
}

#expand-section .form-control {
    border-radius: 10px;
    height: 48px;
}

#btnCreateAccount {
    border-radius: 30px;
}

#btnCancel {
    border-radius: 30px;
}


/* 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: 18px !important;
    margin-top: 30px !important;
}


/*.quote-text,
.quote-author {
    transition: opacity 600ms ease, transform 600ms ease;
}
*/

.quote-text,
.quote-author {
    transition: opacity 700ms ease;
}


.quote-hidden {
    opacity: 0;
    transform: translateY(8px);
}






/*@keyframes quotePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    }

    50% {
        transform: scale(1.015);
        box-shadow: 0 20px 45px rgba(0, 123, 255, 0.25);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }
}*/

@keyframes quotePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    50% {
        transform: scale(1.015);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }
}


.quote-card.pulse {
    animation: quotePulse 1.4s ease;
}


/* ------------------------------
   HERO STEPS (3 WHITE CARDS)
--------------------------------*/

.hero-steps-wrapper {
    margin-top: 40px;
    padding-bottom: 30px;
}

/* Individual cards */
.hero-step-card {
    background: radial-gradient( circle at top center, #ffffff 0%, #fff7ea 45%, #ffefd2 100% );
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    text-align: center;
    height: 100%;
}

    /* Icon */
    .hero-step-card img {
        max-width: 150px;
        margin-bottom: 18px;
    }

    /* Title */
    .hero-step-card h6 {
        font-weight: 700;
        color: #0d2b7a;
        margin-bottom: 8px;
    }

    /* Text */
    .hero-step-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.4;
    }

/* Tablet spacing */
@media (max-width: 1024px) {
    .hero-steps-wrapper {
        margin-top: 30px;
    }
}

/* Mobile stacking */
@media (max-width: 767px) {
    .hero-steps-wrapper {
        margin-top: 25px;
        padding-bottom: 50px;
    }
}

.quote-author {
    margin-top: 22px;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-author::before {
    content: "";
    width: 34px;
    height: 2px;
    /* THE FADE */
    background: linear-gradient( to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) );
    flex-shrink: 0;
}




.quote-card {
    min-height: 230px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}



.quote-text {
    margin-top: 65px; 
    margin-bottom: 18px; /* space between quote and author */
}

.quote-author {
    margin-top: 0;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 14px;
}


.quote-card::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient( circle at 30% 50%, rgba(245, 215, 120, 0.35), rgba(245, 215, 120, 0.15) 35%, rgba(255, 255, 255, 0.05) 55%, transparent 70% );
    opacity: 0;
    transform: translateX(-35%);
    pointer-events: none;
}



.quote-card.twinkle::after {
    animation: warmSpotlight 1.8s ease-out;
}

@keyframes warmSpotlight {
    0% {
        opacity: 0;
        transform: translateX(-35%);
    }

    25% {
        opacity: 0.6;
    }

    65% {
        opacity: 0.35;
        transform: translateX(35%);
    }

    100% {
        opacity: 0;
        transform: translateX(55%);
    }
}


.quote-card {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    text-align: left;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}





/* OUTER CARD */
.video-card {
    background: #fff;
    border-radius: 20px;
    padding: 14px; /* space between border and video */
    box-shadow: 0 12px 30px rgba(0,0,0,.08); /* optional */
}

/* VIDEO CLIP CONTAINER */
.video-inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
}


/* VIDEO ITSELF */
.video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* (no side cropping) */
}


@media (max-width: 767px) {

    .quote-text {
        margin-top: 10px;
        margin-bottom: 18px; /* space between quote and author */
    }


}


@media (max-width: 1024px) {
    .quote-text {
        margin-top: 10px;
        margin-bottom: 18px; /* space between quote and author */
    }

}
