body {
    background-color: #ffffff;
}

.learn-wrapper {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.text-content {
    margin: 0;
}

.learn-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.text-content {
    flex: 1;
    max-width: 550px;
    position: relative; 
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 84px;
    font-weight: 800;
    color: #cf6da0; 
    margin-bottom: 25px;
    line-height: 1.1;
}

.info-card {
    background: linear-gradient(180deg, #f7c9c4 0%, #fab492 100%);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 15px 30px rgba(239, 149, 116, 0.2);
    position: relative;
}

.info-card p {
    color: #7a3e2a; 
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.olive-deco {
    position: absolute;
    bottom: -60px; 
    left: -30px;   
    width: 180px;
    height: auto;
    z-index: 1;    
    transform: rotate(0deg);
    pointer-events: none; 
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
}

.deco-leaves-top-right {
    position: absolute;
    top: 80px; 
    right: 70px;
    width: 150px; 
    height: auto;
    z-index: 3; 
    transform: rotate(360deg); 
    pointer-events: none;
}

.main-illustration {
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 0px 30px rgba(207, 109, 160, 0.6));
}

@media (max-width: 992px) {
    .learn-container {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 20px;
        padding-top: 20px;
        margin: auto;
    }

    .text-content {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .page-title {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .info-card {
        padding: 30px;
        border-radius: 30px;
    }

    .info-card p {
        font-size: 16px;
    }

    .olive-deco {
        width: 70px;
        left: -10px;
        bottom: -30px;
    }
    
    .deco-leaves-top-right {
        display: none; 
    }

    .main-illustration {
        max-width: 80%; 
    }
}


.why-it-happens-section {
    min-height: auto;
    padding: 40px 0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-it-happens-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.why-it-happens-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 30px 0;
    
    background: linear-gradient(90deg, #75E4A3 0%, #3598F1 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-it-happens-illustration {
    position: relative;
    width: 100%;
    max-width: 900px; 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.why-reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1; 
    max-width: 450px;
}

.why-reasons-list li {
    background: linear-gradient(90deg, #ffc8d5 0%, #d4bbff 100%);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #473A6D; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.why-reasons-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.why-illustration-main-graphic {
    flex: 1;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.why-illustration-leaf-left {
    position: absolute;
    bottom: -50px; 
    left: -100px; 
    width: 120px;
    height: auto;
    z-index: 1;
    transform: rotate(-60deg) scaleX(-1);
    pointer-events: none;
}

.why-illustration-leaf-right {
    position: absolute;
    top: -40px; 
    right: -100px; 
    width: 150px;
    height: auto;
    z-index: 1; 
    transform: rotate(0deg);
    pointer-events: none;
}



@media (max-width: 992px) {
    .why-it-happens-section {
        padding: 30px 0;
    }

    .why-it-happens-illustration {
        flex-direction: column; 
        gap: 20px;
    }

    .why-it-happens-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .why-illustration-main-graphic {
        order: -1; 
        max-width: 250px;
    }
    
    .why-reasons-list {
        max-width: 100%;
        padding: 0 20px;
    }

    .why-reasons-list li {
        font-size: 16px;
        padding: 15px 25px;
        border-radius: 30px;
        margin-bottom: 15px;
        text-align: left;
    }

    .why-illustration-leaf-left,
    .why-illustration-leaf-right {
        display: none; 
    }
}

.impact-section {
    min-height: auto;
    padding: 40px 0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-section .learn-container {
    flex-direction: row-reverse; 
    justify-content: center; 
    gap: 80px;
}

.impact-image-content {
    position: relative;
    max-width: 520px; 
}

.impact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 800;
     background: linear-gradient(90deg, #802426 0%, #E79192 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.1;
    text-align: center;
}

.monas-illustration {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    position: relative;
    margin: auto;
}

.monas-leaf {
    position: absolute;
    width: 100px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.monas-leaf-1 {
    top: 20%;
    left: 65%;
    transform: rotate(-10deg) scale(1.7);
}

.monas-leaf-2 {
    bottom: 35%;
    left: 5%;
    transform: rotate(0deg) scale(2);
}

.impact-button {
    display: block;
    padding: 15px 35px;
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #75E4A3 0%, #3598F1 100%); 
    color: white; 
    box-shadow: 0 8px 20px rgba(53, 152, 241, 0.4);
    margin: 0 auto;
    width: fit-content;
}

.impact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(53, 152, 241, 0.6);
}

@media (max-width: 992px) {
    .impact-section .learn-container {
        flex-direction: column-reverse; 
        text-align: center;
    }
    
    .impact-title {
        font-size: 42px;
        text-align: center;
    }

    .impact-image-content {
        max-width: 80%;
        margin: 0 auto;
    }

    .monas-leaf {
        display: none; 
    }

    .impact-button {
        font-size: 20px;
        padding: 12px 30px;
    }
}

.questionnaire-section {
    min-height: auto;
    padding: 20px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.questionnaire-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.questionnaire-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.quiz-state-wrapper {
    position: relative;
    min-height: auto;
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    padding: 0;
}

.quiz-state-wrapper { display: flex; justify-content: center; }

.quiz-state {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px 40px;
    background-color: transparent;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
    opacity: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.quiz-state.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.quiz-state.hidden.slide-left {
    transform: translateX(-100%);
}

.quiz-state.hidden.slide-right {
    transform: translateX(100%);
}

.quiz-state.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.quiz-content {
    flex: 1;
    max-width: 700px;
    text-align: left;
}

.quiz-title {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #4e7d17;
    margin-bottom: 30px;
    line-height: 1.3;
}

.quiz-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 45%;
}

.quiz-illustration {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1)); 
}

.quiz-radio-container {
    display: block;
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
    color: #444;
    user-select: none;
    font-weight: 500;
    line-height: 25px;
}

.quiz-radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    border: 2px solid #ccc;
}

.quiz-radio-container:hover input ~ .radiomark {
    background-color: #ccc;
}

.quiz-radio-container input:checked ~ .radiomark {
    background-color: #3598F1; 
    border: 2px solid #3598F1;
}

.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

.quiz-radio-container input:checked ~ .radiomark:after {
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

.wrong-state .wrong-mark {
    background-color: #ffcccc;
    border: 2px solid #cc0000;
}

.wrong-state .wrong-mark:after {
    display: none;
}

.wrong-state .wrong-mark:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 8px;
    height: 15px;
    border: solid #cc0000;
    border-width: 0 2px 0 0;
    transform: rotate(45deg);
    display: block;
}

.wrong-state .radiomark.wrong-mark:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 8px;
    height: 15px;
    border: solid #cc0000;
    border-width: 0 2px 0 0;
    transform: rotate(-45deg);
    display: block;
}

.submit-button {
    display: inline-block;
    padding: 15px 50px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; 
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.wrong-message {
    color: #dc2626;
    font-size: 18px;
    font-weight: 700;
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: #fee2e2;
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    display: none;
    animation: slideDown 0.4s ease-out;
}

.wrong-message.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wrong-state .submit-button {
    display: none;
}

.back-button {
    display: inline-block;
    padding: 15px 50px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.wrong-state {
    align-items: flex-end; 
}
.wrong-state .wrong-message {
    color: #cc0000;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}
.wrong-state .wrong-mark {
    background-color: #ffcccc; 
    border: 2px solid #cc0000;
}
.wrong-state .wrong-mark:after {
    display: none;
}
.wrong-state .wrong-mark:before {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 14px;
    border: solid #cc0000;
    border-width: 0 3px 0 0;
    transform: rotate(45deg);
    display: block;
}
.wrong-state .wrong-mark.wrong-mark:after {
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 14px;
    border: solid #cc0000;
    border-width: 0 3px 0 0;
    transform: rotate(-45deg);
    display: block;
}
.wrong-state .submit-button.wrong-btn {
    background-color: #ff3333; 
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
}

.success-state {
    justify-content: center; 
    align-items: center;
    padding: 40px 30px;
    background: url(if-cor.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    flex-direction: column;
    text-align: center;
    min-height: 520px;
}
.success-content {
    flex: 0 0 auto;
    text-align: center;
    z-index: 10;
}
.success-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #79435b; 
    margin-bottom: 10px;
}
.success-message {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}
.success-image-area {
    position: relative;
    right: 0;
    height: auto;
    width: 420px;
    overflow: hidden;
    margin-top: 18px;
}

.success-plant-small {
    position: absolute;
    bottom: -10px; 
    left: 60px; 
    width: 160px; 
    z-index: 5;
}
.success-plant-flask {
    position: absolute;
    bottom: -10px; 
    left: 10px;
    width: 240px; 
    z-index: 4;
}

@media (max-width: 992px) {
    .questionnaire-section {
        padding: 30px 0;
        min-height: auto;
    }

    .quiz-state-wrapper {
        min-height: auto;
    }

    .quiz-state {
        flex-direction: column; 
        padding: 20px 20px;
        gap: 15px;
    }

    .quiz-content {
        max-width: 100%;
        text-align: left;
    }

    .quiz-title {
        font-size: 28px;
    }

    .quiz-image-area {
        max-width: 110%;
    }

    .quiz-illustration {
        max-width: 320px;
        width: 100%;
    }

    .success-state {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 12px;
        background-size: cover;
        background-position: center;
        min-height: auto;
    }

    .success-content {
        padding-top: 0;
        text-align: center;
        flex: 0 0 auto;
    }

    .success-title {
        font-size: 42px;
    }

    .success-message {
        font-size: 18px;
    }

    .success-image-area {
        width: 280px;
        height: auto;
        margin-top: 8px;
    }

    .success-plant-small {
        left: 90px;
        width: 120px;
    }

    .success-plant-flask {
        left: 10px;
        width: 150px;
    }

    .success-illustration-boy {
        right: 10px;
        width: 150px;
    }
}

@media (max-width: 992px) {
    .learn-wrapper,
    .why-it-happens-section,
    .impact-section,
    .questionnaire-section {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .learn-container,
    .why-it-happens-illustration,
    .quiz-state {
        gap: 12px !important;
    }

    .learn-container {
        padding-top: 8px;
    }

    .page-title { font-size: 36px; margin-bottom: 12px; }
    .why-it-happens-title { font-size: 28px; margin-bottom: 12px; }
    .impact-title { font-size: 36px; margin-bottom: 12px; }

    .info-card { padding: 18px; border-radius: 20px; }
    .why-reasons-list li { padding: 10px 16px; margin-bottom: 10px; border-radius: 18px; }

    .main-illustration, .why-illustration-main-graphic, .monas-illustration, .quiz-illustration {
        max-width: 88%;
        margin: 0 auto;
    }

    .quiz-state-wrapper { padding: 0; min-height: auto; }
    .quiz-state { padding: 12px 12px; border-radius: 18px; }
    .quiz-content { max-width: 100%; }
    .quiz-title { font-size: 20px; margin-bottom: 10px; }
    .quiz-radio-container { margin-bottom: 12px; padding-left: 40px; font-size: 15px; line-height: 20px; }
    .submit-button, .back-button { padding: 10px 28px; font-size: 13px; border-radius: 10px; }

    .success-state { padding: 18px 12px; width: auto; margin: 0; }
    .success-title { font-size: 32px; margin-bottom: 8px; }
    .success-message { font-size: 15px; margin-bottom: 10px; }
    .success-image-area { width: 260px; height: auto; margin-top: 8px; }

    .olive-deco, .deco-leaves-top-right, .why-illustration-leaf-left, .why-illustration-leaf-right, .monas-leaf {
        display: none !important;
    }

    h1, h2, h3, p { margin-top: 0; }
}
