  /* General container for the entire exercise page */
        .eng-exercise-container {
            width: 100%;
            margin: 20px auto;
            padding: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            color: #333;
            box-sizing: border-box;
            direction:ltr;
        }

        /* Header section */
        .eng-header {
            text-align: center;
            margin-bottom: 30px;
            background: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .eng-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #4a5568;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .eng-subtitle {
            font-size: 1.2rem;
            color: #718096;
            margin-bottom: 20px;
        }

        .eng-instructions {
            text-align: left;
            background: #f7fafc;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #667eea;
        }

        .eng-instructions h3 {
            color: #4a5568;
            margin-bottom: 15px;
        }

        .eng-instructions ul {
            list-style: none;
            padding: 0;
        }

        .eng-instructions li {
            margin-bottom: 8px;
            padding-left: 25px;
            position: relative;
        }

        .eng-instructions li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #48bb78;
            font-weight: bold;
        }

        /* Exercise card styling */
        .eng-exercise-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            overflow: visible;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            padding: 25px;
            direction: ltr;
            text-align: left;
        }

        .eng-exercise-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        }

        /* Exercise title */
        .eng-exercise-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #4a5568;
            margin-bottom: 25px;
            background: linear-gradient(135deg, #4299e1, #3182ce);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Word bank */
        .eng-word-bank {
            margin-bottom: 25px;
            padding: 20px;
            background: #f7fafc;
            border-radius: 12px;
            border: 2px dashed #e2e8f0;
        }

        .eng-word-bank h4 {
            color: #4a5568;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .eng-words {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .eng-word {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 8px 15px;
            border-radius: 25px;
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
        }

        .eng-word:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        /* Question container */
        .eng-questions {
            margin-bottom: 25px;
        }

        .eng-question {
            font-size: 1.1rem;
            line-height: 2;
            margin-bottom: 15px;
            color: #4a5568;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        /* Stylish circle number */
        .eng-question-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 50%;
            font-weight: 700;
            font-size: 0.9rem;
            margin-right: 15px;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
            flex-shrink: 0;
        }

        .eng-question-text {
            flex: 1;
        }

        /* Input field for fill-in-the-blank */
        .eng-blank {
            border: none;
            border-bottom: 2px solid #cbd5e0;
            background: transparent;
            font-size: 1.1rem;
            font-weight: 600;
            color: #2d3748;
            padding: 5px 10px;
            margin: 0 5px;
            border-radius: 5px 5px 0 0;
            transition: all 0.3s ease;
            min-width: 40px;
            text-align: center;
        }

        .eng-blank:focus {
            outline: none;
            border-bottom-color: #667eea;
            background: #edf2f7;
            box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
        }

        .eng-blank.correct {
            background: #c6f6d5;
            border-bottom-color: #48bb78;
            color: #22543d;
        }

        .eng-blank.incorrect {
            background: #fed7d7;
            border-bottom-color: #f56565;
            color: #742a2a;
        }

        /* Dropdown Exercise Styles */
        .eng-dropdown {
            background: white;
            border: 2px solid #cbd5e0;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 1.1rem;
            font-weight: 600;
            color: #2d3748;
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
        }

        .eng-dropdown:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
        }

        .eng-dropdown.correct {
            background: #c6f6d5;
            border-color: #48bb78;
            color: #22543d;
        }

        .eng-dropdown.incorrect {
            background: #fed7d7;
            border-color: #f56565;
            color: #742a2a;
        }

        .eng-dropdown option {
            padding: 8px;
            background: white;
            color: #2d3748;
        }

        /* Three button container */
        .eng-buttons {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .eng-btn {
            padding: 12px 25px;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .eng-check-btn {
            background: linear-gradient(135deg, #48bb78, #38a169);
            color: white;
        }

        .eng-check-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
        }

        .eng-show-btn {
            background: linear-gradient(135deg, #4299e1, #3182ce);
            color: white;
        }

        .eng-show-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
        }

        .eng-reset-btn {
            background: linear-gradient(135deg, #ed8936, #dd6b20);
            color: white;
        }

        .eng-reset-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
        }

        /* Score display area */
        .eng-score-display {
            padding: 15px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            text-align: center;
            display: none;
            margin-bottom: 15px;
        }

        .eng-score-display.show {
            display: block;
        }

        .eng-score-display.good {
            background: #c6f6d5;
            color: #22543d;
            border: 2px solid #48bb78;
        }

        .eng-score-display.average {
            background: #fefcbf;
            color: #744210;
            border: 2px solid #ecc94b;
        }

        .eng-score-display.poor {
            background: #fed7d7;
            color: #742a2a;
            border: 2px solid #f56565;
        }

        /* Matching Exercise Styles */
        .eng-matching-container {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
        }

        .eng-matching-column {
            flex: 1;
            background: #f8fafc;
            padding: 20px;
            border-radius: 12px;
            border: 2px solid #e2e8f0;
        }

        .eng-matching-column h4 {
            color: #4a5568;
            margin-bottom: 15px;
            text-align: center;
            font-size: 1.1rem;
        }

        .eng-matching-items {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .eng-match-item {
            padding: 12px 15px;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            font-weight: 500;
        }

        .eng-match-item:hover {
            background: #edf2f7;
            border-color: #cbd5e0;
        }

        .eng-match-item.selected {
            background: #bee3f8;
            border-color: #3182ce;
        }

        .eng-match-item.matched {
            background: #c6f6d5;
            border-color: #48bb78;
            cursor: default;
        }

        .eng-match-item.incorrect {
            background: #fed7d7;
            border-color: #f56565;
        }

        .eng-matches-display {
            margin-bottom: 20px;
            background: #f8fafc;
            padding: 15px;
            border-radius: 10px;
        }

        .eng-matches-display h4 {
            color: #4a5568;
            margin-bottom: 10px;
        }

        .eng-matches-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .eng-match-pair {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            background: white;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }

        .eng-match-pair.correct {
            background: #c6f6d5;
            border-color: #48bb78;
        }

        .eng-match-pair.incorrect {
            background: #fed7d7;
            border-color: #f56565;
        }

        .eng-match-arrow {
            color: #718096;
            font-weight: bold;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .eng-matching-container {
                flex-direction: column;
            }
            
            .eng-buttons {
                justify-content: center;
            }
            
            .eng-btn {
                flex: 1;
                min-width: 120px;
            }
            
            .eng-dropdown {
                min-width: 100px;
                font-size: 1rem;
            }
        }
        .blog-thumbnail {
            width: 100%;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            background: #fff;
        }

        .blog-thumbnail:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
        }

        .thumbnail-image {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .blog-thumbnail:hover .thumbnail-image {
            transform: scale(1.05);
        }

        .thumbnail-content {
            padding: 20px;
            text-align: center;
        }

        .thumbnail-title {
            font-size: x-large;
            font-weight: bold;
            color: red;
            margin: 0 0 12px 0;
            line-height: 1.4;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .thumbnail-excerpt {
            color: blue;
            font-size: large;
           font-weight: bold;
            line-height: 1.6;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .thumbnail-content {
                padding: 16px;
            }
            
            .thumbnail-title {
                font-size: 18px;
            }
            
            .thumbnail-excerpt {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .thumbnail-content {
                padding: 14px;
            }
            
            .thumbnail-title {
                font-size: 16px;
                margin: 0 0 10px 0;
            }
            
            .thumbnail-excerpt {
                font-size: 13px;
                line-height: 1.5;
            }
        }
