* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
body {
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
    height: 100%;
    color: #000;
    background-color: #fff;
}

body img {
    width: 100%;
    display: block;
}

.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 570px; } }
@media (min-width: 768px) { .container { max-width: 750px; } body { font-size: 21px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1070px; } }

body .main {
    background-color: #fff;
    padding-bottom: 1.5em;
    position: relative;
    min-height: 100vh;
}

body .main:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/hero_bg.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    height: 60%;
    z-index: 1;
}
@media only screen and (min-width: 992px) { body .main:after { height: 60%; } }
@media only screen and (min-width: 1200px) { body .main:after { height: 65%; } }
@media (max-width: 768px) {
    body .main:after {
        background-size: 200% 100%;
        background-position: left center;
    }
}

body .main .header { text-align: center; padding: 1.5em 1em; position: relative; z-index: 99; }
body .main .header__title { font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
@media only screen and (min-width: 768px) { body .main .header__title { font-size: 2em; } }
@media only screen and (max-width: 767px) { .desktop-br { display: none; } }
body .main .header__title span { color: #9e172f; text-decoration: underline; }
body .main .header__subtitle { margin-top: .8em; font-size: 1em; line-height: 1.5; }

body .main .box-wrapper {
    position: relative; padding: 1em;
    box-shadow: 0 15px 40px 0 rgba(21, 66, 114, .08);
    text-align: center; z-index: 99; overflow: hidden;
    background: #fff; border-radius: 10px; border: 1px solid #e1e8ed;
}
@media only screen and (min-width: 768px) { body .main .box-wrapper { padding: 1.3em; } }

body .main .box-wrapper .progress-bar {
    position: relative; display: flex; justify-content: space-between;
    margin: 1rem auto 1.5rem; max-width: 90%;
}
body .main .box-wrapper .progress-bar .percent-line {
    position: absolute; width: 100%; top: 50%; transform: translateY(-50%);
    border-bottom: 1px solid #d1e0f4; z-index: 1;
}
body .main .box-wrapper .progress-bar .percent-line__fill {
    position: absolute; left: 0; width: 0%; border-bottom: 1px solid #2e67b2; z-index: 2; transition: width 0.6s ease;
}
body .main .box-wrapper .progress-bar .step {
    width: 1em; height: 1em; background-color: #fff; border: 2px solid #2e67b2;
    border-radius: 50%; transition: 0.6s; z-index: 3;
}
body .main .box-wrapper .progress-bar .step.selected { background-color: #2e67b2; box-shadow: inset 0 0 0 2px #fff; }
body .main .box-wrapper .progress-bar .step.completed { border: 2px solid #2e67b2; background: #2e67b2; box-shadow: none; }

body .main .box-wrapper .box {
    opacity: 0; visibility: hidden; height: 0; overflow: hidden;
    transform: translateX(-150%); transition: transform .3s ease-out, opacity .3s ease-out;
}
body .main .box-wrapper .box.active {
    height: auto; opacity: 1; visibility: visible; transform: none; transition: transform .25s ease-in, opacity .25s ease-in;
}
body .main .box-wrapper .box__heading { line-height: 1.4; font-weight: 700; font-size: 1.2em; margin-bottom: 2rem; color: #000; }
body .main .box-wrapper .box p { line-height: 1.5; margin-bottom: 1em; }

body .main .box-wrapper .box .checkbox-wrapper {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem;
}
body .main .box-wrapper .box .checkbox-wrapper .checkbox { flex: 0 0 45%; min-width: 130px; }
@media only screen and (min-width: 768px) { body .main .box-wrapper .box .checkbox-wrapper .checkbox { flex: 0 0 22%; min-width: 150px; } }

body .main .box-wrapper .box .checkbox-wrapper .checkbox input { display: none; }
body .main .box-wrapper .box .checkbox-wrapper .checkbox__label {
    background-color: #fff; border: 1px solid #d5e0ed; border-radius: 10px;
    box-shadow: 0 7px 19px 0 rgba(21, 66, 114, .02); position: relative; height: 220px;
    padding: 12px 10px; display: flex; align-items: center; flex-direction: column;
    justify-content: space-evenly; cursor: pointer; transition: all 0.2s ease;
}
body .main .box-wrapper .box .checkbox-wrapper .checkbox__label:hover { border-color: #bdc3c7; }
body .main .box-wrapper .box .checkbox-wrapper .checkbox input:checked+label { border-color: #2c66a5; }
body .main .box-wrapper .box .checkbox-wrapper .checkbox input:checked+label:before {
    content: '✓'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background-color: #2c66a5; color: #fff; width: 26px; height: 26px; border-radius: 50%;
    font-size: 13px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
body .main .box-wrapper .box .checkbox-wrapper .checkbox__label .icon { display: flex; align-items: center; justify-content: center; margin-bottom: 5px; overflow: visible; padding: 5px 0; }
body .main .box-wrapper .box .checkbox-wrapper .checkbox__label .title { text-transform: capitalize; display: block; font-size: 16px; font-weight: 600; text-align: center; color: #333; }
@media (max-width: 767px) { body .main .box-wrapper .box .checkbox-wrapper .checkbox__label .icon+.title { min-height: 48px; display: flex; align-items: center; justify-content: center; } }

body .btn {
    text-transform: uppercase; border-radius: 10px; background-color: #2c66a5; color: #fff;
    border: none; outline: 0; font-weight: 700; font-size: .7em; padding: 1rem 2.5rem;
    cursor: pointer; transition: .25s ease-in; text-decoration: none; margin-top: 2rem;
}
body .btn:hover { background-color: #27578d; }

/* Final CTA Pulse Button */
.btn-cta {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    font-size: 1.1em !important;
    text-transform: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    animation: pulse-green 2s infinite;
    transition: transform 0.2s ease, background 0.2s ease !important;
}
.btn-cta:hover {
    background: linear-gradient(135deg, #219653, #27ae60) !important;
    transform: scale(1.02);
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

body .main .box-wrapper .error-msg { font-size: 14px; font-weight: 600; margin-top: .8rem; color: tomato; display: none; }
body .main .box-wrapper .error-msg.active { display: block; }

/* Final congrats box styles */
body .main.final-box { padding-top: 2em; }
body .main.final-box .header { display: none; }
body .main.final-box .box-wrapper { padding: 0; }
body .main.final-box .box-wrapper .btn.btn-next { display: none; }

body .main.final-box .box-wrapper .box .box__heading {
    background-color: #2c66a5;
    color: #fff;
    margin-bottom: 0;
    padding: 5px;
}

body .main.final-box .box-wrapper .box__padding {
    padding: 1em;
}

body .main.final-box .box-wrapper .box .top-img {
    max-width: 90px;
    margin: 0 auto 1.5rem;
}

@media only screen and (min-width: 768px) {
    body .main.final-box .box-wrapper .box__padding {
        padding: 2em 1.3em;
    }

    body .main.final-box .box-wrapper .box .final-content {
        text-align: center;
        max-width: 75%;
        margin: 0 auto;
    }
}

.spinner {
    border: 4px solid #f3f3f3; border-top: 4px solid #2c66a5; border-radius: 50%;
    width: 50px; height: 50px; animation: spin 1s linear infinite; margin: 40px auto 20px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.mt-3 { margin-top: 1em !important; }
.pb-0 { padding-bottom: 0 !important; }

