*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background: url(../img/bg1.png) top center no-repeat;
    background-size: cover;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    padding-top: 30px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

header img {
    padding-top: 40px;
    max-width: 350px;
    width: 100%;
}

h1, h2, h3, h4, h5 {
    font-family: 'Big Shoulders Display', cursive;
    font-weight: 600;
}

h1 {
    font-weight: 800;
    color: #fff;
    font-size: 60px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

h1 span {
    color: #ffbf5c;
}

h3 {
    font-weight: 800;
    color: #000000;
    font-size: 45px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-top: 15px;
}

.hero-wrap {
    text-align: center;
}

.hero-wrap img {
    width: 80%;
    padding-top: 5px;
    padding-bottom: 20px;
}

.main-wrap {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.main-wrap h2, .main-wrap h3 {
    text-align: center;
    padding-top: 40px;
}

.btn-header h2 {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 20px;
}

.btn-wrap {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

.btn-wrap img {
    width: 50%;
    padding-top: 20px;
}

.btn-wrap .al, .btn-wrap .ar {
    position: absolute;
    top: -40px;
    width: auto;
}

.btn-wrap .al {
    left: 100px;
}

.btn-wrap .ar {
    right: 100px;
}

.green-sec {
    width: 100%;
    background: url(../img/bg2.jpg) top center no-repeat;
    padding: 30px 30px;
    color: #fff;
    font-size: 15px;
}

.green-sec a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

footer {
    padding: 30px 0;
    background: #363636;
    color: #fff;
    text-align: left;
    font-size: 15px;
    border-top: 10px solid #32c993;
}

.copyright {
    background: #282828;
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
}

.copyright a {
    color: #fff;
    text-decoration: none;
    padding-bottom: 5px;
    display: inline-block;
}

.mob {
    display: none;
}

.quiz-wrap {
    background: #fff;
    background-image: repeating-linear-gradient(90deg, hsla(196,0%,79%,0.06) 0px, hsla(196,0%,79%,0.06) 1px,transparent 1px, transparent 96px),repeating-linear-gradient(0deg, hsla(196,0%,79%,0.06) 0px, hsla(196,0%,79%,0.06) 1px,transparent 1px, transparent 96px),repeating-linear-gradient(0deg, hsla(196,0%,79%,0.09) 0px, hsla(196,0%,79%,0.09) 1px,transparent 1px, transparent 12px),repeating-linear-gradient(90deg, hsla(196,0%,79%,0.09) 0px, hsla(196,0%,79%,0.09) 1px,transparent 1px, transparent 12px),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 700px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
    display: none;
}

.stepbox {
    text-align: center;
    display: none;
}

.stepbox button {
    width: 70%;
    border: 0;
    padding: 5px 0;
    border-radius: 10px;
    margin-bottom: 10px;
    background-image: radial-gradient(circle at center right, rgb(240, 101, 23),rgb(242, 194, 28));
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.stepbox button:hover {
    background-image: radial-gradient(circle at top left, rgb(253, 225, 94),rgb(113, 193, 12));
}

.stepbox h2 {
    padding-bottom: 20px;
    font-size: 40px;
}

.popup {
    display: none;
    text-align: center;
    padding: 50px 0;
}

.popup h2 {
    padding-top: 20px;
    font-weight: 600;
}

.show {
    display: block;
}

.progress_bar {
    width: 100%;
    background: #e0e0e0;
    position: absolute;
    top: 0;
    left: 0;
}

.progress_bar span {
    font-size: 11px;
    display: flex;
    padding: 10px 10px;
    text-align: center;
    justify-content: center;
    color: #fff;
    transition: .2s;
    background-image: radial-gradient(circle at center right, rgb(6, 204, 208),rgb(29, 101, 238));
}

.formMain h2 {
    color: #23b040;
    font-weight: 700;
}

.formMain form {
    position: relative;
    z-index: 10;
}

.formMain label, .formMain input {
    width: 100%;
    text-align: left;
}

.formMain label {
    padding-bottom: 5px;
}

.formMain input {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    background: #f2f2f2;
}

.formMain small {
    text-align: left;
    font-size: 13px;
    display: block;
    margin-bottom: 30px;
}

.formMain button {
    width: 100%;
}

.err {
    background: #ffefef;
    padding: 10px;
    font-size: 13px;
    border-left: 5px solid #d77777;
    text-align: left;
    color: #e34f4f;
    font-weight: 600;
    margin-bottom: 13px;
    display: none;
}

/* Modal Container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

/* Modal Right Column */
.modal-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-radius: 10px;
}

.modal-right h2 {
    color: #23b040;
    font-size: 24px;
    margin: 0 0 10px;
}

.modal-right p {
    color: #333;
    font-size: 18px;
    margin: 0;
}

@media screen and (max-width: 1200px) {
    .hero-wrap img {
        width: 70%;
    }

    .btn-wrap img {
        width: 60%;
    }

    .main-wrap h2, .main-wrap h3 {
        padding-top: 30px;
    }
}

@media screen and (max-width: 992px) {
    header img {
        width: 70%;
    }

    h1 {
        font-size: 50px;
    }

    h3 {
        font-size: 35px;
    }

    .hero-wrap img {
        width: 70%;
    }

    .btn-wrap img {
        width: 60%;
    }

    .quiz-wrap, .main-wrap {
        width: 90%;
    }

    .formMain input {
        padding: 10px 15px;
    }

    .formMain small {
        font-size: 12px;
    }

    .stepbox h2 {
        font-size: 35px;
        padding-bottom: 15px;
    }

    .quiz-wrap {
        padding: 40px 25px 25px 25px;
    }

    .green-sec, footer {
        padding: 25px 10px;
    }

    .final-box h2 {
        font-size: 38px;
    }

    .final-box h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 768px) {
    header img {
        width: 60%;
    }

    h1 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    .hero-wrap img {
        width: 60%;
    }

    .btn-wrap img {
        width: 50%;
    }

    .quiz-wrap, .main-wrap {
        width: 100%;
    }

    .formMain input {
        padding: 10px 12px;
    }

    .formMain small {
        font-size: 11px;
    }

    .stepbox h2 {
        font-size: 30px;
        padding-bottom: 10px;
    }

    .quiz-wrap {
        padding: 30px 20px 20px 20px;
    }

    .green-sec, footer {
        padding: 20px 10px;
    }

    .final-box h2 {
        font-size: 34px;
    }

    .final-box h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 600px) {
    header img {
        width: 50%;
    }

    h1 {
        font-size: 35px;
    }

    h3 {
        font-size: 25px;
    }

    .hero-wrap img {
        width: 100%;
    }

    .btn-wrap img {
        width: 80%;
    }

    .quiz-wrap, .main-wrap {
        width: 100%;
    }

    .formMain input {
        padding: 10px 10px;
    }

    .formMain small {
        font-size: 10px;
    }

    .stepbox h2 {
        font-size: 25px;
        padding-bottom: 8px;
    }

    .quiz-wrap {
        padding: 20px 15px 15px 15px;
    }

    .green-sec, footer {
        padding: 15px 10px;
    }

    .final-box h2 {
        font-size: 30px;
    }

    .final-box h3 {
        font-size: 25px;
    }
}

@media screen and (max-width: 400px) {
    header img {
        width: 40%;
    }

    h1 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    .hero-wrap img {
        width: 100%;
    }

    .btn-wrap img {
        width: 70%;
    }

    .quiz-wrap, .main-wrap {
        width: 100%;
    }

    .formMain input {
        padding: 10px 10px;
    }

    .formMain small {
        font-size: 9px;
    }

    .stepbox h2 {
        font-size: 20px;
        padding-bottom: 6px;
    }

    .quiz-wrap {
        padding: 15px 10px 10px 10px;
    }

    .green-sec, footer {
        padding: 10px 5px;
    }

    .final-box h2 {
        font-size: 25px;
    }

    .final-box h3 {
        font-size: 20px;
    }
}

#loading {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000000;
}

.loaderPage {
    width: 48px;
    height: 48px;
    border: 3px solid #333;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loaderPage::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #FF3D00;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hidden-important {
    display: none !important;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.button-submit {
    display: inline-flex;
    align-items: center;
}
