/* ========================================
   MOBILE-FIRST APPROACH - QUIZ STYLES
   ======================================== */

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #444444;
}

/*--------------------------------------------------------------
# Header - Mobile First
--------------------------------------------------------------*/
.header {
    height: 5em;
    padding: 3px 0;
}

.img-header {
    max-width: 120px;
    transition: all 0.4s ease-in-out;
    padding: 15px 0;
}

.img-header:hover {
    filter: none;
    transform: scale(1.1);
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
    .header {
        height: 6em;
        padding: 5px 0;
    }

    .img-header {
        max-width: 130px;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .header {
        height: 7em;
        padding: 5px 0;
    }

    .img-header {
        max-width: 140px;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    .header {
        height: 8em;
        padding: 10px 0;
    }

    .img-header {
        max-width: 150px;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .header {
        height: 10em;
        padding: 15px 0;
    }

    .img-header {
        max-width: 170px;
    }
}

/*--------------------------------------------------------------
# Hero - Mobile First
--------------------------------------------------------------*/
#hero {
    width: 100%;
    min-height: 100vh;
    padding: 20px 15px;
    background: linear-gradient(320deg, #52367A 18.09%, #7453a5 61.88%);
}

#hero h1 {
    margin: 15px 0;
    padding: 10px 15px;
    font-size: 2.0em;
    font-weight: bold;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

#hero h2 {
    margin: 20px 0 15px 0;
    font-style: normal;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.4;
}

#hero p {
    margin: 15px 0;
    font-size: 1.0em;
    line-height: 1.6;
}

#hero .hero-img {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

#hero .hero-img img {
    width: 80%;
    max-width: 300px;
    height: auto;
}

.text-quiz-hero {
    font-size: 0.95em;
    line-height: 1.6;
}

.text-quiz-hero p {
    margin: 10px 0;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
    #hero {
        padding: 30px 20px;
    }

    #hero h1 {
        font-size: 2.4em;
    }

    #hero h2 {
        font-size: 1.2em;
    }

    #hero p {
        font-size: 1.1em;
    }

    #hero .hero-img img {
        max-width: 350px;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    #hero {
        padding: 40px 30px;
        min-height: auto;
    }

    #hero h1 {
        font-size: 2.6em;
    }

    #hero h2 {
        font-size: 1.3em;
    }

    #hero p {
        font-size: 1.2em;
    }

    #hero .hero-img img {
        max-width: 400px;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    #hero {
        padding: 50px 40px;
    }

    #hero h1 {
        font-size: 3.0em;
        text-align: left;
        width: max-content;
    }

    #hero h2 {
        font-size: 1.4em;
    }

    #hero .hero-img {
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
    }

    #hero .hero-img img {
        width: 100%;
        max-width: 450px;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    #hero {
        padding: 60px 70px;
    }

    #hero h1 {
        font-size: 4.0em;
    }

    #hero .hero-img img {
        max-width: 500px;
    }
}

/*--------------------------------------------------------------
# Quiz Section - Mobile First
--------------------------------------------------------------*/
#quiz {
    padding: 20px 10px;
}

.quiz-column {
    padding: 10px 5px;
    margin-bottom: 15px;
}

.quiz-column .border {
    min-height: 120px;
    padding: 15px 10px;
}

.icon-box {
    padding: 10px;
}

.box-number {
    min-width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: #E51F46;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    flex-shrink: 0;
}

.icon-box .quiz-text {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1.3;
    color: #9654FF;
    text-transform: uppercase;
    margin: 0;
}

/* Radio Buttons - Optimized for Touch */
.values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 10px 5px;
}

.rad-label {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 12px 10px;
    margin: 0;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.2s ease;
}

.rad-label:hover,
.rad-label:active {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.rad-text {
    color: #878f92;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 900;
    transition: .3s;
    margin: 0;
}

.option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    transition: all 0.15s ease-out 0s;
    background: #ebe3e9;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-right: 0.5rem;
    outline: none;
    border-radius: 50%;
}

.option-input:hover {
    background: #d0d6dd;
}

.option-input:checked {
    background: linear-gradient(114deg, rgba(204,180,240,1) 0%, rgba(150,84,255,1) 100%);
    transform: scale(1.1);
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
    #quiz {
        padding: 25px 15px;
    }

    .quiz-column {
        padding: 15px 10px;
    }

    .quiz-column .border {
        min-height: 130px;
    }

    .icon-box .quiz-text {
        font-size: 1.0em;
    }

    .values {
        gap: 10px;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    #quiz {
        padding: 30px 20px;
    }

    .quiz-column {
        padding: 20px 15px;
    }

    .quiz-column .border {
        min-height: 140px;
    }

    .box-number {
        min-width: 45px;
        height: 45px;
        font-size: 1.3em;
    }

    .icon-box .quiz-text {
        font-size: 1.1em;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    #quiz {
        padding: 40px 40px;
    }

    .quiz-column {
        padding: 20px 20px;
    }

    .quiz-column .border {
        min-height: 150px;
    }

    .box-number {
        min-width: 49px;
        height: 49px;
        font-size: 1.5em;
    }

    .icon-box .quiz-text {
        font-size: 1.2em;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    #quiz {
        padding: 50px 60px;
    }

    .quiz-column {
        padding: 25px 30px;
    }

    .icon-box .quiz-text {
        font-size: 1.3em;
    }
}

/*--------------------------------------------------------------
# Buttons - Mobile First
--------------------------------------------------------------*/
.button {
    font-style: normal;
    font-weight: 600;
    color: #fff;
    font-size: 1.3em;
    line-height: 1.2;
    border: 0;
    border-radius: 10px;
    padding: 18px 30px;
    background: linear-gradient(0deg, #9654FF 0%, #422D71 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 160px;
    margin: 10px 0;
}

.button:hover,
.button:focus {
    background: linear-gradient(0deg, #422D71 0%, #9654FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(150, 84, 255, 0.4);
}

.button:active {
    transform: translateY(0);
}

.button:focus {
    outline: 2px solid #9654FF;
    outline-offset: 2px;
}

.quiz-column .button {
    margin-bottom: 20px;
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .button {
        font-size: 1.5em;
        padding: 20px 35px;
        min-width: 180px;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    .button {
        font-size: 1.8em;
        padding: 20px 40px;
        min-width: 200px;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .button {
        font-size: 2.0em;
        padding: 20px 45px;
    }
}

/*--------------------------------------------------------------
# Body Section - Mobile First
--------------------------------------------------------------*/
#body {
    min-height: auto;
    padding: 20px 15px;
}

.content h1 {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #8B143B;
    text-align: center;
    margin-bottom: 15px;
}

.content h4 {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-size: 1.0em;
    line-height: 1.5;
    color: #4E5051;
    text-align: center;
}

.container .row {
    margin: 15px 0;
}

.e_1 {
    padding: 10px;
    margin: 20px 0;
    min-height: 70px;
    border: 1px solid #D7D7D7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.e_1 img {
    width: 25px;
    height: auto;
}

.e_1 h5 {
    width: 50%;
    padding: 0 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #9654FF;
    margin: 0;
}

.e_1 h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 2.0em;
    line-height: 1;
    color: #E51F46;
    margin: 0;
}

#body .body-img {
    position: relative;
    margin: 30px 0;
    text-align: center;
}

#body .body-img img {
    max-width: 100%;
    height: auto;
}

#body .content {
    position: relative;
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    #body {
        padding: 30px 20px;
    }

    .content h1 {
        font-size: 1.7em;
    }

    .content h4 {
        font-size: 1.1em;
    }

    .e_1 img {
        width: 30px;
    }

    .e_1 h5 {
        font-size: 16px;
    }

    .e_1 h2 {
        font-size: 2.5em;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    #body {
        padding: 40px 30px;
        min-height: 60vh;
    }

    .content h1 {
        font-size: 2.0em;
        text-align: left;
    }

    .content h4 {
        font-size: 1.2em;
        text-align: left;
    }

    .e_1 img {
        width: 35px;
    }

    .e_1 h5 {
        font-size: 18px;
    }

    .e_1 h2 {
        font-size: 3.0em;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    #body {
        padding: 50px 70px;
        min-height: 70vh;
    }

    .content h1 {
        font-size: 2.1em;
    }

    .content h4 {
        font-size: 1.3em;
    }

    .e_1 img {
        width: 40px;
    }

    .e_1 h5 {
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
# Footer - Mobile First
--------------------------------------------------------------*/
#footer {
    font-size: 14px;
    padding: 0 15px;
}

#footer .footer-bottom {
    padding: 20px 0;
}

#footer .copyright,
#footer .credits {
    text-align: center;
    width: 100%;
}

#footer .credits {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#footer .credits a {
    transition: 0.3s;
    color: #878f92;
}

#footer .credits li {
    display: inline-block;
    margin: 5px 10px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    #footer .footer-bottom {
        padding: 25px 0;
    }

    #footer .credits li {
        font-size: 16px;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    #footer {
        padding: 0 20px;
    }

    #footer .footer-bottom {
        padding: 30px 0;
    }

    #footer .copyright {
        float: left;
        text-align: left;
    }

    #footer .credits {
        float: right;
        text-align: right;
    }

    #footer .credits li {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes up-down {
    0% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}

@keyframes up-down {
    0% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}
