
/* style.css */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        body {
            font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
            background: #f8fafc;
            color: #0f172a;
            line-height: 1.65
        }

        .ept-container {
            max-width: 1200px;
            margin: auto;
            padding: 0 1.5rem
        }

        .ept-hidden {
            display: none !important
        }

        header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, .92);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #e5e7eb
        }

        .header-inner {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .logo img {
            height: 42px
        }

        nav {
            display: flex;
            gap: 1.25rem;
            align-items: center
        }

        nav a {
            text-decoration: none;
            font-weight: 600;
            font-size: .95rem;
            color: #0f172a
        }

        nav a:hover {
            color: #4f46e5
        }

        .lang-toggle {
            margin-left: 1rem;
            padding: .45rem .9rem;
            border-radius: 999px;
            border: 1px solid #c7d2fe;
            background: #eef2ff;
            font-weight: 700;
            cursor: pointer
        }

        .hero {
            padding: 5.5rem 0 4rem;
            text-align: center
        }

        .hero h1 {
            font-size: clamp(2.6rem, 4vw, 3.4rem);
            font-weight: 800;
            margin-bottom: 1rem
        }

        .hero p {
            max-width: 780px;
            margin: 0 auto 2rem;
            font-size: 1.15rem;
            color: #334155
        }

        .badges {
            display: flex;
            justify-content: center;
            gap: .75rem;
            flex-wrap: wrap
        }

        .badge {
            background: #eef2ff;
            color: #3730a3;
            padding: .5rem 1rem;
            border-radius: 999px;
            font-weight: 600
        }

        section {
            padding: 4.5rem 0
        }

        section h2 {
            font-size: 2.1rem;
            margin-bottom: 1rem
        }

        section p {
            max-width: 1200px;
            color: #334155
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem
        }

        .card {
            background: #fff;
            padding: 1.75rem;
            border-radius: 14px;
            box-shadow: 0 12px 30px rgba(15, 23, 42, .08)
        }

        .card h3 {
            margin-bottom: .5rem
        }

        #exam-section {
            background: linear-gradient(180deg, #eef2ff, #f8fafc)
        }

        #exam-title {
            text-align: center;
            margin-bottom: 2rem
        }

        .faq {
            max-width: 920px;
            margin-top: 2rem
        }

        .faq-item {
            margin-bottom: 1.6rem
        }

        .faq-item h3 {
            font-size: 1.08rem;
            font-weight: 800;
            margin-bottom: .35rem
        }

        footer {
            background: #0f172a;
            color: #e5e7eb;
            padding: 3rem 0
        }

        footer a {
            color: #c7d2fe;
            margin-right: 1rem;
            text-decoration: none
        }

        /* ==================== GLOBAL RESET & BASE ==================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --navy: #143591;
            --red: #ed1c24;
            --white: #ffffff;
            --gray-light: #f5f5f5;
            --gray-medium: #e0e0e0;
            --gray-dark: #666666;
            --text-dark: #333333;
            --success: #28a745;
            --warning: #ffc107;
            --error: #dc3545;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--gray-light);
            min-height: 100vh;
        }

        /* ==================== MAIN CONTAINER ==================== */
        #fs-app {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
        }

        /* ==================== HEADER/LOGO ==================== */
        .fs-header {
            background: linear-gradient(135deg, var(--gray-medium) 0%, #e0e0e0 100%);
            color: var(--white);
            padding: 25px 30px;
            border-radius: 10px 10px 0 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 0;
        }

        .fs-logo {
            text-align: center;
        }

        .fs-logo img {
            height: 50px;
            width: auto;
            display: inline-block;
        }

        /* ==================== CONTENT CONTAINER ==================== */
        .fs-content {
            background: var(--white);
            padding: 40px;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            min-height: 400px;
        }

        /* ==================== STEP INDICATOR ==================== */
        .fs-step-indicator {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            padding: 0 20px;
        }

        .fs-step {
            flex: 1;
            text-align: center;
            position: relative;
            padding: 10px;
        }

        .fs-step::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gray-medium);
            z-index: -1;
        }

        .fs-step:first-child::before {
            left: 50%;
        }

        .fs-step:last-child::before {
            right: 50%;
        }

        .fs-step-number {
            display: inline-block;
            width: 35px;
            height: 35px;
            line-height: 35px;
            border-radius: 50%;
            background: var(--gray-medium);
            color: var(--gray-dark);
            font-weight: 600;
            margin-bottom: 5px;
        }

        .fs-step.active .fs-step-number {
            background: var(--navy);
            color: var(--white);
        }

        .fs-step.completed .fs-step-number {
            background: var(--success);
            color: var(--white);
        }

        .fs-step-label {
            font-size: 12px;
            color: var(--gray-dark);
        }

        /* ==================== FORMS ==================== */
        .fs-form-group {
            margin-bottom: 20px;
        }

        .fs-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .fs-label-required::after {
            content: ' *';
            color: var(--red);
        }

        .fs-input,
        .fs-select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid var(--gray-medium);
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        .fs-input:focus,
        .fs-select:focus {
            outline: none;
            border-color: var(--navy);
        }

        .fs-checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .fs-checkbox {
            margin-top: 4px;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        fieldset {
            border: 2px solid var(--gray-medium);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
        }

        legend {
            padding: 0 10px;
            font-weight: 700;
            color: var(--navy);
        }

        /* ==================== BUTTONS ==================== */
        .fs-btn-group {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .fs-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .fs-btn-primary {
            background: var(--navy);
            color: var(--white);
        }

        .fs-btn-primary:hover {
            background: #1a4bb8;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(20, 53, 145, 0.3);
        }

        .fs-btn-secondary {
            background: var(--gray-medium);
            color: var(--text-dark);
        }

        .fs-btn-secondary:hover {
            background: #d0d0d0;
        }

        .fs-btn-danger {
            background: var(--red);
            color: var(--white);
        }

        .fs-btn-danger:hover {
            background: #d11820;
        }

        .fs-btn-success {
            background: var(--success);
            color: var(--white);
        }

        .fs-btn-success:hover {
            background: #218838;
        }

        .fs-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        /* ==================== EXAM INTERFACE ==================== */
        .fs-exam-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding: 15px;
            background: var(--gray-light);
            border-radius: 8px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .fs-timer {
            font-size: 20px;
            font-weight: 700;
            color: var(--navy);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .fs-timer.warning {
            color: var(--warning);
            animation: pulse 1s infinite;
        }

        .fs-timer.danger {
            color: var(--error);
            animation: pulse 0.5s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.6;
            }
        }

        .fs-progress-container {
            flex: 1;
            min-width: 200px;
        }

        .fs-progress-label {
            font-size: 14px;
            margin-bottom: 5px;
            color: var(--gray-dark);
        }

        .fs-progress-bar {
            width: 100%;
            height: 20px;
            background: var(--gray-medium);
            border-radius: 10px;
            overflow: hidden;
        }

        .fs-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--navy), #1a4bb8);
            transition: width 0.3s;
        }

        /* ==================== QUESTIONS ==================== */
        .fs-question {
            margin-bottom: 30px;
            padding: 20px;
            background: var(--gray-light);
            border-radius: 8px;
            border-left: 4px solid var(--navy);
        }

        .fs-question-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .fs-question-number {
            font-weight: 700;
            color: var(--navy);
            font-size: 18px;
        }

        .fs-bookmark-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            color: var(--gray-dark);
            transition: color 0.3s;
        }

        .fs-bookmark-btn.bookmarked {
            color: var(--warning);
        }

        .fs-question-text {
            font-size: 16px;
            margin-bottom: 15px;
            line-height: 1.8;
        }

        .fs-choices {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .fs-choice {
            display: flex;
            align-items: flex-start;
            padding: 12px;
            background: var(--white);
            border: 2px solid var(--gray-medium);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .fs-choice:hover {
            border-color: var(--navy);
            background: #f8f9ff;
        }

        .fs-choice input[type="radio"] {
            margin-top: 3px;
            margin-right: 12px;
            cursor: pointer;
        }

        .fs-choice-text {
            flex: 1;
            cursor: pointer;
        }

        /* ==================== CLOZE/GAP-FILL ==================== */
        .fs-cloze-passage {
            background: var(--white);
            padding: 25px;
            border-radius: 8px;
            border: 2px solid var(--gray-medium);
            margin-bottom: 20px;
            line-height: 2;
            font-size: 16px;
        }

        .fs-cloze-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 20px;
        }

        .fs-gap-input {
            display: inline-block;
            min-width: 150px;
            padding: 4px 8px;
            border: none;
            border-bottom: 2px solid var(--navy);
            font-size: 16px;
            font-weight: 600;
            color: var(--navy);
            background: #f0f4ff;
            margin: 0 4px;
        }

        .fs-gap-input:focus {
            outline: none;
            background: #e6edff;
            border-bottom-color: var(--red);
        }

        /* ==================== PAGINATION ==================== */
        .fs-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .fs-page-btn {
            padding: 8px 12px;
            border: 2px solid var(--gray-medium);
            background: var(--white);
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }

        .fs-page-btn:hover:not(:disabled) {
            border-color: var(--navy);
            background: #f8f9ff;
        }

        .fs-page-btn.active {
            background: var(--navy);
            color: var(--white);
            border-color: var(--navy);
        }

        .fs-page-btn.answered {
            background: var(--gray-light);
            border-color: var(--success);
        }

        .fs-page-btn.bookmarked {
            border-color: var(--warning);
        }

        /* ==================== RESULTS ==================== */
        .fs-results-card {
            background: var(--gray-light);
            padding: 30px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .fs-results-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .fs-results-title {
            font-size: 28px;
            color: var(--navy);
            margin-bottom: 10px;
        }

        .fs-score-display {
            font-size: 48px;
            font-weight: 700;
            color: var(--navy);
            margin: 20px 0;
        }

        .fs-level-badge {
            display: inline-block;
            padding: 10px 30px;
            background: var(--navy);
            color: var(--white);
            border-radius: 25px;
            font-size: 24px;
            font-weight: 700;
            margin: 20px 0;
        }

        .fs-level-a1 {
            background: #dc3545;
        }

        .fs-level-a2 {
            background: #fd7e14;
        }

        .fs-level-b1 {
            background: #ffc107;
            color: var(--text-dark);
        }

        .fs-level-b2 {
            background: #28a745;
        }

        .fs-level-c1 {
            background: #143591;
        }

        .fs-level-c2 {
            background: #6610f2;
        }

        .fs-recommendation {
            background: var(--white);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--navy);
            margin: 20px 0;
        }

        .fs-results-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .fs-info-item {
            background: var(--white);
            padding: 15px;
            border-radius: 6px;
        }

        .fs-info-label {
            font-size: 12px;
            color: var(--gray-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 5px;
        }

        .fs-info-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--navy);
        }

        /* ==================== TOAST/ALERT ==================== */
        .fs-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            border-radius: 6px;
            background: var(--white);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            animation: slideIn 0.3s;
            max-width: 350px;
        }

        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .fs-toast-success {
            border-left: 4px solid var(--success);
        }

        .fs-toast-error {
            border-left: 4px solid var(--error);
        }

        .fs-toast-warning {
            border-left: 4px solid var(--warning);
        }

        /* ==================== UTILITY CLASSES ==================== */
        .fs-hidden {
            display: none !important;
        }

        .fs-text-center {
            text-align: center;
        }

        .fs-mt-20 {
            margin-top: 20px;
        }

        .fs-mb-20 {
            margin-bottom: 20px;
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 768px) {
            #fs-app {
                padding: 10px;
            }

            .fs-content {
                padding: 20px;
            }

            .fs-header {
                padding: 20px;
            }

            .fs-logo {
                font-size: 22px;
            }

            .fs-exam-header {
                flex-direction: column;
                align-items: stretch;
            }

            .fs-btn-group {
                flex-direction: column;
            }

            .fs-btn {
                width: 100%;
            }

            .fs-step-label {
                font-size: 10px;
            }

            .fs-step-number {
                width: 30px;
                height: 30px;
                line-height: 30px;
                font-size: 14px;
            }
        }

        /* ==================== ACCESSIBILITY ==================== */
        .fs-sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        *:focus-visible {
            outline: 3px solid var(--navy);
            outline-offset: 2px;
        }
    
        .menu-toggle{
  display:none;
  font-size:1.6rem;
  background:none;
  border:none;
  cursor:pointer
}

@media (max-width: 768px){
  nav{
    position:fixed;
    top:72px;
    left:0;
    right:0;
    background:#ffffff;
    flex-direction:column;
    gap:1.25rem;
    padding:1.5rem;
    display:none;
    box-shadow:0 20px 40px rgba(15,23,42,.15)
  }

  nav.open{
    display:flex
  }

  .menu-toggle{
    display:block
  }

  .header-inner{
    gap:.75rem
  }
}

/* style.css */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        body {
            font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
            background: #f8fafc;
            color: #0f172a;
            line-height: 1.65
        }

        .ept-container {
            max-width: 1200px;
            margin: auto;
            padding: 0 1.5rem
        }

        .ept-hidden {
            display: none !important
        }

        header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, .92);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #e5e7eb
        }

        .header-inner {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .logo img {
            height: 42px
        }

        nav {
            display: flex;
            gap: 1.25rem;
            align-items: center
        }

        nav a {
            text-decoration: none;
            font-weight: 600;
            font-size: .95rem;
            color: #0f172a
        }

        nav a:hover {
            color: #4f46e5
        }

        .lang-toggle {
            margin-left: 1rem;
            padding: .45rem .9rem;
            border-radius: 999px;
            border: 1px solid #c7d2fe;
            background: #eef2ff;
            font-weight: 700;
            cursor: pointer
        }

        .hero {
            padding: 5.5rem 0 4rem;
            text-align: center
        }

        .hero h1 {
            font-size: clamp(2.6rem, 4vw, 3.4rem);
            font-weight: 800;
            margin-bottom: 1rem
        }

        .hero p {
            max-width: 780px;
            margin: 0 auto 2rem;
            font-size: 1.15rem;
            color: #334155
        }

        .badges {
            display: flex;
            justify-content: center;
            gap: .75rem;
            flex-wrap: wrap
        }

        .badge {
            background: #eef2ff;
            color: #3730a3;
            padding: .5rem 1rem;
            border-radius: 999px;
            font-weight: 600
        }

        section {
            padding: 4.5rem 0
        }

        section h2 {
            font-size: 2.1rem;
            margin-bottom: 1rem
        }

        section p {
            max-width: 1200px;
            color: #334155
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem
        }

        .card {
            background: #fff;
            padding: 1.75rem;
            border-radius: 14px;
            box-shadow: 0 12px 30px rgba(15, 23, 42, .08)
        }

        .card h3 {
            margin-bottom: .5rem
        }

        #exam-section {
            background: linear-gradient(180deg, #eef2ff, #f8fafc)
        }

        #exam-title {
            text-align: center;
            margin-bottom: 2rem
        }

        .faq {
            max-width: 920px;
            margin-top: 2rem
        }

        .faq-item {
            margin-bottom: 1.6rem
        }

        .faq-item h3 {
            font-size: 1.08rem;
            font-weight: 800;
            margin-bottom: .35rem
        }

        footer {
            background: #0f172a;
            color: #e5e7eb;
            padding: 3rem 0
        }

        footer a {
            color: #c7d2fe;
            margin-right: 1rem;
            text-decoration: none
        }

        /* ==================== GLOBAL RESET & BASE ==================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --navy: #143591;
            --red: #ed1c24;
            --white: #ffffff;
            --gray-light: #f5f5f5;
            --gray-medium: #e0e0e0;
            --gray-dark: #666666;
            --text-dark: #333333;
            --success: #28a745;
            --warning: #ffc107;
            --error: #dc3545;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--gray-light);
            min-height: 100vh;
        }

        /* ==================== MAIN CONTAINER ==================== */
        #fs-app {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
        }

        /* ==================== HEADER/LOGO ==================== */
        .fs-header {
            background: linear-gradient(135deg, var(--gray-medium) 0%, #e0e0e0 100%);
            color: var(--white);
            padding: 25px 30px;
            border-radius: 10px 10px 0 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 0;
        }

        .fs-logo {
            text-align: center;
        }

        .fs-logo img {
            height: 50px;
            width: auto;
            display: inline-block;
        }

        /* ==================== CONTENT CONTAINER ==================== */
        .fs-content {
            background: var(--white);
            padding: 40px;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            min-height: 400px;
        }

        /* ==================== STEP INDICATOR ==================== */
        .fs-step-indicator {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            padding: 0 20px;
        }

        .fs-step {
            flex: 1;
            text-align: center;
            position: relative;
            padding: 10px;
        }

        .fs-step::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gray-medium);
            z-index: -1;
        }

        .fs-step:first-child::before {
            left: 50%;
        }

        .fs-step:last-child::before {
            right: 50%;
        }

        .fs-step-number {
            display: inline-block;
            width: 35px;
            height: 35px;
            line-height: 35px;
            border-radius: 50%;
            background: var(--gray-medium);
            color: var(--gray-dark);
            font-weight: 600;
            margin-bottom: 5px;
        }

        .fs-step.active .fs-step-number {
            background: var(--navy);
            color: var(--white);
        }

        .fs-step.completed .fs-step-number {
            background: var(--success);
            color: var(--white);
        }

        .fs-step-label {
            font-size: 12px;
            color: var(--gray-dark);
        }

        /* ==================== FORMS ==================== */
        .fs-form-group {
            margin-bottom: 20px;
        }

        .fs-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .fs-label-required::after {
            content: ' *';
            color: var(--red);
        }

        .fs-input,
        .fs-select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid var(--gray-medium);
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        .fs-input:focus,
        .fs-select:focus {
            outline: none;
            border-color: var(--navy);
        }

        .fs-checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .fs-checkbox {
            margin-top: 4px;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        fieldset {
            border: 2px solid var(--gray-medium);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
        }

        legend {
            padding: 0 10px;
            font-weight: 700;
            color: var(--navy);
        }

        /* ==================== BUTTONS ==================== */
        .fs-btn-group {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .fs-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .fs-btn-primary {
            background: var(--navy);
            color: var(--white);
        }

        .fs-btn-primary:hover {
            background: #1a4bb8;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(20, 53, 145, 0.3);
        }

        .fs-btn-secondary {
            background: var(--gray-medium);
            color: var(--text-dark);
        }

        .fs-btn-secondary:hover {
            background: #d0d0d0;
        }

        .fs-btn-danger {
            background: var(--red);
            color: var(--white);
        }

        .fs-btn-danger:hover {
            background: #d11820;
        }

        .fs-btn-success {
            background: var(--success);
            color: var(--white);
        }

        .fs-btn-success:hover {
            background: #218838;
        }

        .fs-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        /* ==================== EXAM INTERFACE ==================== */
        .fs-exam-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding: 15px;
            background: var(--gray-light);
            border-radius: 8px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .fs-timer {
            font-size: 20px;
            font-weight: 700;
            color: var(--navy);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .fs-timer.warning {
            color: var(--warning);
            animation: pulse 1s infinite;
        }

        .fs-timer.danger {
            color: var(--error);
            animation: pulse 0.5s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.6;
            }
        }

        .fs-progress-container {
            flex: 1;
            min-width: 200px;
        }

        .fs-progress-label {
            font-size: 14px;
            margin-bottom: 5px;
            color: var(--gray-dark);
        }

        .fs-progress-bar {
            width: 100%;
            height: 20px;
            background: var(--gray-medium);
            border-radius: 10px;
            overflow: hidden;
        }

        .fs-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--navy), #1a4bb8);
            transition: width 0.3s;
        }

        /* ==================== QUESTIONS ==================== */
        .fs-question {
            margin-bottom: 30px;
            padding: 20px;
            background: var(--gray-light);
            border-radius: 8px;
            border-left: 4px solid var(--navy);
        }

        .fs-question-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .fs-question-number {
            font-weight: 700;
            color: var(--navy);
            font-size: 18px;
        }

        .fs-bookmark-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            color: var(--gray-dark);
            transition: color 0.3s;
        }

        .fs-bookmark-btn.bookmarked {
            color: var(--warning);
        }

        .fs-question-text {
            font-size: 16px;
            margin-bottom: 15px;
            line-height: 1.8;
        }

        .fs-choices {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .fs-choice {
            display: flex;
            align-items: flex-start;
            padding: 12px;
            background: var(--white);
            border: 2px solid var(--gray-medium);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .fs-choice:hover {
            border-color: var(--navy);
            background: #f8f9ff;
        }

        .fs-choice input[type="radio"] {
            margin-top: 3px;
            margin-right: 12px;
            cursor: pointer;
        }

        .fs-choice-text {
            flex: 1;
            cursor: pointer;
        }

        /* ==================== CLOZE/GAP-FILL ==================== */
        .fs-cloze-passage {
            background: var(--white);
            padding: 25px;
            border-radius: 8px;
            border: 2px solid var(--gray-medium);
            margin-bottom: 20px;
            line-height: 2;
            font-size: 16px;
        }

        .fs-cloze-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 20px;
        }

        .fs-gap-input {
            display: inline-block;
            min-width: 150px;
            padding: 4px 8px;
            border: none;
            border-bottom: 2px solid var(--navy);
            font-size: 16px;
            font-weight: 600;
            color: var(--navy);
            background: #f0f4ff;
            margin: 0 4px;
        }

        .fs-gap-input:focus {
            outline: none;
            background: #e6edff;
            border-bottom-color: var(--red);
        }

        /* ==================== PAGINATION ==================== */
        .fs-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .fs-page-btn {
            padding: 8px 12px;
            border: 2px solid var(--gray-medium);
            background: var(--white);
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }

        .fs-page-btn:hover:not(:disabled) {
            border-color: var(--navy);
            background: #f8f9ff;
        }

        .fs-page-btn.active {
            background: var(--navy);
            color: var(--white);
            border-color: var(--navy);
        }

        .fs-page-btn.answered {
            background: var(--gray-light);
            border-color: var(--success);
        }

        .fs-page-btn.bookmarked {
            border-color: var(--warning);
        }

        /* ==================== RESULTS ==================== */
        .fs-results-card {
            background: var(--gray-light);
            padding: 30px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .fs-results-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .fs-results-title {
            font-size: 28px;
            color: var(--navy);
            margin-bottom: 10px;
        }

        .fs-score-display {
            font-size: 48px;
            font-weight: 700;
            color: var(--navy);
            margin: 20px 0;
        }

        .fs-level-badge {
            display: inline-block;
            padding: 10px 30px;
            background: var(--navy);
            color: var(--white);
            border-radius: 25px;
            font-size: 24px;
            font-weight: 700;
            margin: 20px 0;
        }

        .fs-level-a1 {
            background: #dc3545;
        }

        .fs-level-a2 {
            background: #fd7e14;
        }

        .fs-level-b1 {
            background: #ffc107;
            color: var(--text-dark);
        }

        .fs-level-b2 {
            background: #28a745;
        }

        .fs-level-c1 {
            background: #143591;
        }

        .fs-level-c2 {
            background: #6610f2;
        }

        .fs-recommendation {
            background: var(--white);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--navy);
            margin: 20px 0;
        }

        .fs-results-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .fs-info-item {
            background: var(--white);
            padding: 15px;
            border-radius: 6px;
        }

        .fs-info-label {
            font-size: 12px;
            color: var(--gray-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 5px;
        }

        .fs-info-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--navy);
        }

        /* ==================== TOAST/ALERT ==================== */
        .fs-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            border-radius: 6px;
            background: var(--white);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            animation: slideIn 0.3s;
            max-width: 350px;
        }

        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .fs-toast-success {
            border-left: 4px solid var(--success);
        }

        .fs-toast-error {
            border-left: 4px solid var(--error);
        }

        .fs-toast-warning {
            border-left: 4px solid var(--warning);
        }

        /* ==================== UTILITY CLASSES ==================== */
        .fs-hidden {
            display: none !important;
        }

        .fs-text-center {
            text-align: center;
        }

        .fs-mt-20 {
            margin-top: 20px;
        }

        .fs-mb-20 {
            margin-bottom: 20px;
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 768px) {
            #fs-app {
                padding: 10px;
            }

            .fs-content {
                padding: 20px;
            }

            .fs-header {
                padding: 20px;
            }

            .fs-logo {
                font-size: 22px;
            }

            .fs-exam-header {
                flex-direction: column;
                align-items: stretch;
            }

            .fs-btn-group {
                flex-direction: column;
            }

            .fs-btn {
                width: 100%;
            }

            .fs-step-label {
                font-size: 10px;
            }

            .fs-step-number {
                width: 30px;
                height: 30px;
                line-height: 30px;
                font-size: 14px;
            }
        }

        /* ==================== ACCESSIBILITY ==================== */
        .fs-sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        *:focus-visible {
            outline: 3px solid var(--navy);
            outline-offset: 2px;
        }
    
        .menu-toggle{
  display:none;
  font-size:1.6rem;
  background:none;
  border:none;
  cursor:pointer
}

@media (max-width: 768px){
  nav{
    position:fixed;
    top:72px;
    left:0;
    right:0;
    background:#ffffff;
    flex-direction:column;
    gap:1.25rem;
    padding:1.5rem;
    display:none;
    box-shadow:0 20px 40px rgba(15,23,42,.15)
  }

  nav.open{
    display:flex
  }

  .menu-toggle{
    display:block
  }

  .header-inner{
    gap:.75rem
  }
}

@media screen and (max-width: 768px) {
  .ept-container {
    padding: 0 0.5rem;
  }
}
