/* quiz.css - Interactive Quiz Section */

.quiz-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-sage) 100%);
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(168, 183, 158, 0.15) 0%, rgba(168, 183, 158, 0.08) 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: rotate 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quiz-header {
    text-align: center;
    margin-bottom: 50px;
}

.quiz-header h2 {
    font-size: 2.5rem;
    color: var(--deep-olive);
    margin-bottom: 15px;
    font-weight: 300;
}

.quiz-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.quiz-wrapper {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(124, 132, 113, 0.15);
}

.quiz-progress {
    margin-bottom: 40px;
}

.progress-bar-quiz {
    height: 8px;
    background: var(--soft-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage), var(--olive));
    border-radius: 10px;
    width: 25%;
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.progress-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.quiz-question {
    display: none;
    animation: slideIn 0.5s ease;
}

.quiz-question.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-question h3 {
    color: var(--deep-olive);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quiz-option {
    background: white;
    border: 2px solid var(--soft-gray);
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.quiz-option:hover {
    transform: translateY(-5px);
    border-color: var(--sage);
    box-shadow: 0 15px 40px rgba(168, 183, 158, 0.2);
}

.quiz-option.selected {
    background: linear-gradient(135deg, var(--light-sage), var(--sage));
    border-color: var(--olive);
    color: white;
    transform: scale(1.05);
}

.option-icon {
    font-size: 2rem;
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
    color: inherit;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quiz-nav-btn {
    background: var(--olive);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-nav-btn:hover {
    background: var(--deep-olive);
    transform: translateY(-2px);
}

.quiz-results {
    display: none;
    text-align: center;
    animation: fadeIn 1s ease;
}

.quiz-results.active {
    display: block;
}

.result-animation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.result-circle {
    width: 20px;
    height: 20px;
    background: var(--sage);
    border-radius: 50%;
    animation: bounce 1s ease infinite;
}

.result-circle:nth-child(2) { animation-delay: 0.2s; }
.result-circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.result-card {
    background: linear-gradient(135deg, white, var(--cream));
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 20px 60px rgba(124, 132, 113, 0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-badge {
    background: var(--olive);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.result-match {
    color: var(--sage);
    font-weight: 700;
    font-size: 1.1rem;
}

.result-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
}

.result-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.result-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-check {
    color: var(--sage);
    font-size: 1.2rem;
    font-weight: 700;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}