/* Quiz Section Styles */
    .quiz-container {
        background-color: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }
    
    .quiz-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #eaeaea;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .quiz-stats {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 80px;
    }
    
    .stat-value {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2a5298;
    }
    
    .stat-label {
        font-size: 0.9rem;
        color: #666;
        margin-top: 5px;
    }
    
    .quiz-instructions {
        flex: 1;
        min-width: 250px;
        background-color: #f8fafc;
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid #ff6600;
    }
    
    .quiz-instructions p {
        margin: 0;
        color: #555;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .quiz-instructions i {
        color: #ff6600;
        font-size: 1.2rem;
    }
    
    /* Quiz Cards */
    .quiz-cards-container {
        position: relative;
        min-height: 500px;
    }
    
    .quiz-card {
        background-color: #f8fafc;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        display: none;
        animation: fadeIn 0.5s ease;
    }
    
    .quiz-card.active {
        display: block;
    }
    
    .quiz-image {
        height: 250px;
        overflow: hidden;
        position: relative;
    }
    
    .quiz-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .quiz-question-number {
        position: absolute;
        top: 15px;
        left: 15px;
        background-color: #2a5298;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .quiz-content {
        padding: 1.8rem;
    }
    
    .quiz-question {
        color: #2a5298;
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .quiz-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 1.5rem;
    }
    
    .quiz-option {
        display: flex;
        align-items: center;
        gap: 15px;
        background-color: white;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        padding: 1.2rem 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: left;
        width: 100%;
    }
    
    .quiz-option:hover {
        border-color: #cbd5e0;
        background-color: #f7fafc;
    }
    
    .quiz-option.selected {
        border-color: #2a5298;
        background-color: rgba(42, 82, 152, 0.05);
    }
    
    .quiz-option.correct {
        border-color: #10b981;
        background-color: rgba(16, 185, 129, 0.05);
    }
    
    .quiz-option.incorrect {
        border-color: #ef4444;
        background-color: rgba(239, 68, 68, 0.05);
    }
    
    .option-letter {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: #f0f4f8;
        border-radius: 50%;
        font-weight: 700;
        color: #2a5298;
        flex-shrink: 0;
    }
    
    .quiz-option.correct .option-letter {
        background-color: #10b981;
        color: white;
    }
    
    .quiz-option.incorrect .option-letter {
        background-color: #ef4444;
        color: white;
    }
    
    .option-text {
        font-size: 1.1rem;
        color: #333;
        flex: 1;
    }
    
    .quiz-feedback {
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 1.5rem;
        animation: slideIn 0.5s ease;
    }
    
    .quiz-feedback.hidden {
        display: none;
    }
    
    .feedback-correct, .feedback-incorrect {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    
    .feedback-correct {
        color: #10b981;
    }
    
    .feedback-incorrect {
        color: #ef4444;
    }
    
    .feedback-correct i, .feedback-incorrect i {
        font-size: 1.8rem;
        flex-shrink: 0;
        margin-top: 3px;
    }
    
    .feedback-correct h4, .feedback-incorrect h4 {
        margin-bottom: 5px;
    }
    
    .feedback-correct p, .feedback-incorrect p {
        color: #555;
        margin: 0;
        line-height: 1.5;
    }
    
    .feedback-incorrect.hidden {
        display: none;
    }
    
    /* Quiz Navigation */
    .quiz-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eaeaea;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .quiz-nav-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background-color: #2a5298;
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1rem;
        box-shadow: 0 4px 12px rgba(42, 82, 152, 0.2);
    }
    
    .quiz-nav-btn:hover:not(:disabled) {
        background-color: #1e3c72;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(42, 82, 152, 0.3);
    }
    
    .quiz-nav-btn:disabled {
        background-color: #cbd5e0;
        cursor: not-allowed;
        box-shadow: none;
    }
    
    .quiz-nav-btn.secondary {
        background-color: #f0f4f8;
        color: #2a5298;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    
    .quiz-nav-btn.secondary:hover {
        background-color: #e2e8f0;
        color: #1e3c72;
    }
    
    .quiz-progress {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 200px;
    }
    
    .progress-bar {
        width: 100%;
        height: 8px;
        background-color: #f0f4f8;
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 8px;
    }
    
    .progress-fill {
        height: 100%;
        background-color: #2a5298;
        width: 20%;
        border-radius: 4px;
        transition: width 0.5s ease;
    }
    
    .progress-text {
        font-size: 0.9rem;
        color: #666;
        font-weight: 600;
    }
    
    /* Quiz Results */
    .quiz-results {
        background-color: #f8fafc;
        border-radius: 12px;
        padding: 2.5rem;
        margin-top: 2rem;
        text-align: center;
        animation: fadeIn 0.8s ease;
    }
    
    .quiz-results.hidden {
        display: none;
    }
    
    .results-header {
        margin-bottom: 2rem;
    }
    
    .results-header h3 {
        color: #2a5298;
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .results-header p {
        color: #666;
        font-size: 1.1rem;
    }
    
    .results-score {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .score-circle {
        position: relative;
        width: 120px;
        height: 120px;
    }
    
    .score-percent {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        font-weight: 700;
        color: #2a5298;
    }
    
    .score-details {
        text-align: left;
    }
    
    .score-details h4 {
        color: #2a5298;
        margin-bottom: 1.2rem;
        font-size: 1.3rem;
    }
    
    .score-stat {
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
        gap: 8px;
    }
    
    .stat-name {
        color: #555;
        min-width: 180px;
    }
    
    .stat-value {
        font-weight: 700;
        color: #2a5298;
        font-size: 1.1rem;
    }
    
    .stat-total {
        color: #999;
    }
    
    .results-message {
        background-color: white;
        border-radius: 10px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-left: 4px solid #ff6600;
    }
    
    .results-message p {
        margin: 0;
        color: #555;
        font-size: 1.1rem;
    }
    
    .results-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    /* Animations */
    @keyframes slideIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .quiz-info {
            flex-direction: column;
            align-items: stretch;
        }
        
        .quiz-stats {
            justify-content: space-around;
        }
        
        .quiz-image {
            height: 200px;
        }
        
        .quiz-question {
            font-size: 1.2rem;
        }
        
        .quiz-option {
            padding: 1rem;
        }
        
        .option-text {
            font-size: 1rem;
        }
        
        .quiz-navigation {
            flex-direction: column;
        }
        
        .quiz-progress {
            order: -1;
            width: 100%;
        }
        
        .results-score {
            flex-direction: column;
            gap: 2rem;
        }
        
        .score-details {
            text-align: center;
        }
        
        .stat-name {
            min-width: auto;
            flex: 1;
            text-align: right;
        }
        
        .results-actions {
            flex-direction: column;
        }
        
        .quiz-nav-btn {
            width: 100%;
            justify-content: center;
        }
    }