﻿/* ------------------------------
    DESKTOP (default)
--------------------------------*/

.hero-section {
    background: #FFF9ED;
    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: 145px;
    }
}


/* ------------------------------
    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;
}


/* start of new */

.how-it-works-section {
    margin-top: 30px;
}

.hiw-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ee 100%);
    border-radius: 18px;
    padding: 30px 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
}

    .hiw-card img {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .hiw-card h5 {
        font-weight: 700;
        color: #0d2b7a;
        margin-bottom: 12px;
    }

    .hiw-card p {
        color: #555;
        font-size: 0.95rem;
    }

.why-section {
    margin-top: 60px;
    margin-bottom: 70px;
    padding: 60px 40px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.why-list {
    list-style: none;
    padding-left: 0;
}

    .why-list li {
        padding-left: 28px;
        margin-bottom: 14px;
        position: relative;
    }

        .why-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #38b24d;
        }

.quote-card {
    background: #fdf7e8;
    border-radius: 18px;
    padding: 30px;
    font-size: 1.1rem;
    color: #0d2b7a;
}

    .quote-card span {
        display: block;
        margin-top: 15px;
        font-size: 0.9rem;
        opacity: 0.7;
    }

.plans-section {
    margin-top: 30px;
}

.plan-card {
    background: #fff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    height: 100%;
}

    .plan-card.featured {
        border: 2px solid #38b24d;
    }

    .plan-card h5 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .plan-card ul {
        list-style: none;
        padding-left: 0;
    }

        .plan-card ul li {
            margin-bottom: 12px;
        }


/* ------------------------------
   PERFECT FOR SECTION
--------------------------------*/
.perfect-for-section {
    margin-top: 10px;
    padding: 45px 20px 35px;
    text-align: center;
}

.perfect-for-title {
    font-weight: 700;
    color: #0d2b7a;
    margin-bottom: 28px;
}

/* 2 columns desktop/tablet, 1 column mobile */
.perfect-for-grid {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    row-gap: 22px;
    justify-items: start;
}

.perfect-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.perfect-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
}

.perfect-text {
    font-size: 1.05rem;
    color: #3b3b3b;
    text-align: left;
    line-height: 1.35;
}

/* Tablet tightening */
@media (max-width: 1024px) {
    .perfect-for-grid {
        column-gap: 60px;
        padding: 0 10px;
    }
}

/* Mobile stack */
@media (max-width: 767px) {
    .perfect-for-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        justify-items: center;
    }

    .perfect-item {
        width: 100%;
        max-width: 520px;
    }
}


info-media img {
    max-width: 200px;
}


.btn-pill {
    background: linear-gradient(135deg, #ffd84d, #ffbf00);
    color: #5a4500;
    border: none;
    border-radius: 999px;
    padding: 14px 40px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 191, 0, 0.35);
}


.sample-email-section {
    padding: 60px 20px;
}

.sample-email-section h3 {
    font-weight: 600;
    color: #2b2b2b;
}

.sample-email-section p {
    max-width: 520px;
    margin: 0 auto;
}


.modal-content {
    border-radius: 16px;
    padding: 10px;
}

.modal-header {
    padding-bottom: 0;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}

.modal-body input.form-control {
    border-radius: 999px;
    padding: 14px 20px;
    font-size: 16px;
}

.sample-email-section .btn-outline-primary:hover {
    transform: translateY(-1px);
}


.modal .close:focus {
    outline: none;
    box-shadow: none;
}


