.elementor-17179 .elementor-element.elementor-element-b02cbe5{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-4eda7b0 *//* Quiz Section */
.quiz-container {
    margin-bottom: 50px;
}

.quiz-title {
    color: #333;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.quiz-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    margin: 10px auto;
    border-radius: 2px;
}

.question {
    background: #f8f9fa;
    border-left: 5px solid #667eea;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.question:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.question h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.options {
    display: grid;
    gap: 12px;
}

.option {
    background: white;
    border: 2px solid #e9ecef;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.option:hover::before {
    left: 100%;
}

.option:hover {
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.option.correct {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    border-color: #4caf50;
    animation: correctAnswer 0.6s ease;
}

.option.incorrect {
    background: linear-gradient(45deg, #f44336, #ef5350);
    color: white;
    border-color: #f44336;
    animation: incorrectAnswer 0.6s ease;
}

@keyframes correctAnswer {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes incorrectAnswer {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

/* Dialogue Section */
.dialogue-container {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.dialogue-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.dialogue-line {
    margin: 15px 0;
    padding: 15px;
    border-radius: 10px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.dialogue-line.user {
    background: rgba(255,255,255,0.2);
    margin-left: 20px;
}

.dialogue-line.other {
    background: rgba(255,255,255,0.1);
    margin-right: 20px;
}

.input-field {
    background: rgba(255,255,255,0.9);
    color: #333;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    min-width: 150px;
    margin: 0 5px;
}

.input-field:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fill in the blanks */
.fill-blanks {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.fill-blanks h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.sentence {
    margin: 15px 0;
    font-size: 1.1em;
    color: #555;
}

.blank {
    background: #667eea;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    min-width: 100px;
    margin: 0 3px;
}

.blank:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Buttons */
.btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

/* Score */
.score {
    text-align: center;
    font-size: 1.5em;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    border-radius: 10px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-title {
        font-size: 1.5em;
    }
    
    .question h3 {
        font-size: 1.1em;
    }
}

/* Animation delays for dialogue */
.dialogue-line:nth-child(1) { animation-delay: 0.2s; }
.dialogue-line:nth-child(2) { animation-delay: 0.4s; }
.dialogue-line:nth-child(3) { animation-delay: 0.6s; }
.dialogue-line:nth-child(4) { animation-delay: 0.8s; }
.dialogue-line:nth-child(5) { animation-delay: 1.0s; }
.dialogue-line:nth-child(6) { animation-delay: 1.2s; }
.dialogue-line:nth-child(7) { animation-delay: 1.4s; }/* End custom CSS */