* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2D2D2D;
    background-color: #F9F9FB;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.main-nav {
    margin: 0;
    padding: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.main-nav ul li {
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #2D2D2D;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    background-color: #E6B4FF;
    color: #6A0DAD;
    outline: none;
}

.signup-btn {
    background-color: #C71585;
    color: white;
    border: none;
}

.signup-btn:hover {
    background-color: #A50064;
    transform: translateY(-1px);
}

.logout-btn {
    color: #C71585;
    border: 1px solid #C71585;
}

.logout-btn:hover {
    background-color: #FFE6F2;
    color: #6A0DAD;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2D2D2D;
    padding: 5px;
}

@media (max-width: 768px) {
    .site-header {
        position: relative;
        padding: 12px 0;
    }

    .header-content {
        padding: 0 15px;
    }

    .logo {
        height: 40px;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        margin: 5px 0;
        border-radius: 8px;
    }

    .mobile-menu-btn {
        display: block;
    }
}


.hero {
    padding: 120px 0 100px; 
    text-align: center; 
    background: url('/assets/images/hero.png') no-repeat center center; 
    background-size: cover; 
    background-color: #6A0DAD; 
    color: #FFFFFF; 
    margin-bottom: 60px; 
    position: relative; 
    overflow: hidden; 
}


.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}



.hero > .container {
    position: relative; 
    z-index: 2; 

}


.hero h1 {
    font-size: 3rem; 
    margin-bottom: 20px;
    color: #FFFFFF; 
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); 
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.3rem; 
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #F0F0F0; 
    animation: fadeInUp 0.8s ease-out 0.2s both;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem; 
    }

    .hero p {
        font-size: 1.1rem; 
    }

    .hero {
        padding: 80px 0 60px; 
    }
}
    .category-section-topical { background-color: #f8f9fa; }
    .category-section-client { background-color: #f0f7ff; }
    .category-section-full { background-color: #f9f4f0; }
    .view-more-btn, .view-less-btn {
        display: inline-block;
        margin-top: 1rem;
        padding: 0.5rem 1.2rem;
        background: #0056b3;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        user-select: none;
    }
    .view-less-btn {
        background: #6c757d;
    }
    .view-more-btn:hover, .view-less-btn:hover {
        opacity: 0.9;
    }
.explore-categories {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.explore-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6A0DAD;
    margin-bottom: 15px;
    position: relative;
}

.explore-categories h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #C71585;
    margin: 10px auto 0;
    border-radius: 2px;
}

.explore-categories p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #555;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    border-radius: 15px;
    padding: 35px 30px;
    transition: all 0.4s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6A0DAD, #C71585);
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.15);
}

.category-card h3 {
    color: #C71585;
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    z-index: 3;
}

.category-card p {
    margin-bottom: 20px;
    color: #666;
    z-index: 3;
    position: relative;
}

.category-link {
    display: inline-block;
    background: linear-gradient(135deg, #6A0DAD 0%, #C71585 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    border: none;
    cursor: pointer;
}

.category-link:hover {
    background: linear-gradient(135deg, #540B8A 0%, #A50064 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 21, 133, 0.4);
}

.what-you-get,
.why-choose-us,
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9fb 0%, #f0f4f8 100%);
}

.what-you-get h2,
.why-choose-us h2,
.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6A0DAD;
    margin-bottom: 40px;
    position: relative;
}

.what-you-get h2::after,
.why-choose-us h2::after,
.how-it-works h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #C71585;
    margin: 10px auto 0;
    border-radius: 2px;
}

.features-list,
.steps-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-list li,
.steps-list li {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
    padding-left: 30px;
    position: relative;
}

.features-list li::before,
.steps-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #C71585;
    font-weight: bold;
    background-color: rgba(199, 21, 133, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.steps-list li::before {
    content: counter(step-counter);
    background-color: #6A0DAD;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.steps-list {
    counter-reset: step-counter;
}

.steps-list li {
    padding-left: 40px;
}

.steps-list li::before {
    left: 10px;
}

.testimonials {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6A0DAD;
    margin-bottom: 50px;
    position: relative;
}

.testimonials h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #C71585;
    margin: 10px auto 0;
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: linear-gradient(145deg, #f0f4f8, #e0e7ee);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: rgba(106, 13, 173, 0.1);
    line-height: 1;
    font-family: Georgia, serif;
    z-index: 0;
}

.testimonial-card > p:first-of-type {
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
    padding-top: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: #6A0DAD;
    text-align: right;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.final-cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, hsl(260, 6%, 90%) 0%, hsl(322, 49%, 89%) 100%);
    color: purple;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, white);
    z-index: 1;
}

.final-cta > .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: purple;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    color: purple;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #C71585 0%, #A50064 100%);
    color: white;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.cta-button:hover {
    background: linear-gradient(135deg, #A50064 0%, #8B0051 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(199, 21, 133, 0.6);
}

.cta-button:hover::before {
    left: 100%;
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .explore-categories h2,
    .what-you-get h2,
    .why-choose-us h2,
    .how-it-works h2,
    .testimonials h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .category-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .features-list,
    .steps-list {
        padding: 0 15px;
    }

    .steps-list li {
         padding-left: 35px;
    }

    .steps-list li::before {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        left: 8px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 1.1rem;
    }

    .final-cta {
        padding: 100px 0;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    padding: 0rem 1rem; 
    border-radius: 1.5rem; 
    transition: background-color 0.3s ease, color 0.3s ease; 
}

.dropdown > a:hover,
.dropdown > a:focus {
    background-color: #E6B4FF; 
    color: #6A0DAD; 
    outline: none;
    padding-top: 10%;
}


.dropdown > a::after {
    content: " ▾"; 
    font-size: 0.8em;
    margin-left: 0.5em;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.dropdown.active > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    z-index: 1000; 
    min-width: 280px; 
    padding: 0.75rem 0; 
    margin: 0.5rem 0 0 0; 
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0.75rem; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
    list-style: none;
    opacity: 0;
    transform: translateY(-10px); 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; 
    visibility: hidden; 
}


.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0); 
    visibility: visible; 
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.8rem 1.2rem; 
    color: #2D2D2D;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    border-radius: 0; 
    position: relative; }

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #F0F4F8; 
    color: #6A0DAD; 
    padding-left: 1.5rem; 
    outline: none;
}

.dropdown-item:focus-visible {
    box-shadow: inset 0 0 0 2px #6A0DAD;
}


.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: #E0E0E0;
    border: none;
    padding: 0;
}

.site-footer {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.features-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9fb 0%, #f0f4f8 100%);
}

.features-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6A0DAD;
    margin-bottom: 10px; 
    position: relative;
}

.features-benefits h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #C71585;
    margin: 10px auto 0;
    border-radius: 2px;
}

.features-benefits p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px; 
    color: #555;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 20px;
}

.feature-column {
    background: linear-gradient(145deg, #ffffff, #f0f0f0); 
    border-radius: 12px;
    padding: 30px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-column:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-column h3 {
    color: #C71585; 
    margin-bottom: 20px; 
    font-size: 1.5rem; 
    text-align: center; 
}

.features-list,
.steps-list {
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.features-list li {
    margin-bottom: 15px; 
    line-height: 1.6; 
    font-size: 1rem; 
    padding-left: 25px;
    position: relative; 
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #C71585; 
    font-weight: bold;
    background-color: rgba(199, 21, 133, 0.1); 
    width: 20px;
    height: 20px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.steps-list {
    counter-reset: step-counter;
}

.steps-list li {
    margin-bottom: 15px; 
    line-height: 1.6;
    font-size: 1rem;
    padding-left: 35px;
    position: relative; 
}

.steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter); 
    position: absolute;
    left: 0;
    top: 0;
    background-color: #6A0DAD; 
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .features-benefits h2,
    .what-you-get h2,
    .why-choose-us h2,
    .how-it-works h2 {
        font-size: 2rem; 
    }

    .features-grid {
        grid-template-columns: 1fr; 
        gap: 25px; 
    }

    .feature-column h3 {
        font-size: 1.4rem; 
    }

    .features-list,
    .steps-list {
        padding: 0 10px; 
    }

    .steps-list li {
         padding-left: 35px; 
    }

    .steps-list li::before {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        left: 8px; 
    }
}
.exam-question-card,
.category-card { 
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(106,130,251,0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exam-question-card:hover,
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(106,130,251,0.15);
}

.question-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.question-header h3 {
    font-size: 1.3rem;
    color: #6A0DAD;
    margin: 0;
    font-weight: 600;
}

.question-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2D2D2D;
}

.answerForm label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.answerForm label:hover {
    background-color: #edf2f7;
}


.answerForm input[type="radio"],
.answerForm input[type="checkbox"] {
    margin-right: 0.8rem;
    accent-color: #6A0DAD; 
}

.practice-submit-btn {
    background-color: #6A0DAD;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-top: 1rem;
}

.practice-submit-btn:hover {
    background-color: #540B8A;
}

.submit-feedback {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.submit-feedback.correct {
    background-color: #e6fffa;
    color: #2e8555;
    border: 1px solid #4ade80;
}

.submit-feedback.incorrect {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #f87171;
}

.explanation-section {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f0f9ff; 
    border: 1px solid #bae6fd;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.explanation-section.blurred {
    filter: blur(3px);
    opacity: 0.7;
}

.explanation-section h4 {
    color: #0c4a6e;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.explanation-section p {
    margin: 0.3rem 0;
    color: #1e293b; 
    line-height: 1.6;
}

.drag-container {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px dashed #6A0DAD;
    border-radius: 0.5rem;
    background-color: #f9f5ff; 
}

.drag-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.draggable {
    padding: 0.5rem 1rem;
    background-color: #e9d5ff; 
    border: 1px solid #d8b4fe;
    border-radius: 0.5rem;
    cursor: move;
    user-select: none;
}

.drop-zone {
    min-height: 60px;
    padding: 1rem;
    background-color: #ede9fe; 
    border: 2px solid #c4b5fd;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
}

.drop-zone.drag-over {
    background-color: #ddd6fe;
    border-color: #a78bfa;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2D2D2D;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #E0E0E0;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #FFFFFF;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1.2rem; 
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #6A0DAD;
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.1);
}

input[type="number"] {
    width: auto; 
    max-width: 150px;
}

textarea {
    min-height: 100px;
    resize: vertical; 
}

.error-message {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    grid-column: span 3;
}

.success-message {
    background-color: #e6fffa;
    border: 1px solid #4ade80;
    color: #2e8555;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    grid-column: span 3;
}

.js-verification-slider {
    margin-bottom: 1.5rem;
}

.js-verification-slider label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2D2D2D;
}

.js-verification-slider input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
}

#slider-status {
    font-size: 0.9rem;
    color: #666;
}

.js-verification-slider.verified #slider-status {
    color: #4ade80; 
    font-weight: bold;
}

.exam-results {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.exam-results h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #6A0DAD;
    margin-bottom: 40px;
    position: relative;
}

.exam-results h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #C71585;
    margin: 10px auto 0;
    border-radius: 2px;
}

.performance-summary {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(106,130,251,0.05);
}

.performance-summary p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.6rem 0;
}

.performance-summary .score {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
}

.result-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(106,130,251,0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.result-card.correct {
    border-left: 5px solid #4ade80;
}

.result-card.incorrect {
    border-left: 5px solid #f87171;
}

.result-card h3 {
    margin-top: 0;
    color: var(--primary);
}

.result-card p {
    margin: 0.5rem 0;
}

.result-card .user-answer {
    font-weight: 500;
}

.result-card .correct-answer {
    font-weight: 500;
    color: #4ade80;
}

.modes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mode-tab {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.7rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    color: #2d3748;
    text-decoration: none;
    min-width: 120px;
}

.mode-tab:hover:not(.active):not([disabled]) {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.mode-tab.active {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: purple;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(237, 112, 20, 0.2);
}

.mode-tab[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background: #e2e8f0;
    color: #888;
    transform: none;
}

button[type="submit"][name="prev"],
button[type="submit"][name="next"],
button[type="submit"][name="submitAnswer"],
button[type="submit"][name="submitAll"],
button[type="submit"][name="submitSingle"],
.practice-submit-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: purple;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 21, 133, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

button[type="submit"][name="prev"]:hover,
button[type="submit"][name="next"]:hover,
button[type="submit"][name="submitAnswer"]:hover,
button[type="submit"][name="submitAll"]:hover,
button[type="submit"][name="submitSingle"]:hover,
.practice-submit-btn:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.4);
}

button[type="submit"][name="prev"]:disabled,
button[type="submit"][name="next"]:disabled,
button[type="submit"][name="submitAnswer"]:disabled,
button[type="submit"][name="submitAll"]:disabled,
button[type="submit"][name="submitSingle"]:disabled,
.practice-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #cccccc; 
    color: #666666; 
}
button[type="submit"][name="submitAll"],
button[type="submit"][name="submit"] {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #C71585 0%, #6A0DAD 100%);
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.4);
}

button[type="submit"][name="submitAll"]:hover,
button[type="submit"][name="submit"]:hover {
    background: linear-gradient(135deg, #A50064 0%, #540B8A 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(199, 21, 133, 0.6);
}

.question-navigation {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2.5rem 0;
}

.question-navigation .btn-primary {
    margin: 0 0.5rem;
}


.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-newsletter {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #C71585;
}

.footer-newsletter p {
    margin-bottom: 15px;
    color: #CCCCCC;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f0f0f0;
    color: #333;
    min-width: 200px;
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: #C71585;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #A50064;
}
.related-questions-sidebar {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee;
    font-size: 0.92rem;
}
.related-questions-sidebar h4 {
    margin-bottom: 0.8rem;
    color: var(--primary, #2563eb);
    font-size: 1.1rem;
}
.related-questions-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-questions-sidebar li {
    margin-bottom: 0.9rem;
    line-height: 1.3;
}
.related-questions-sidebar a {
    text-decoration: none;
    color: #2b6cb0;
    display: block;
}
.related-questions-sidebar a:hover {
    text-decoration: underline;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #E6B4FF;
}

.footer-bottom {
    font-size: 0.9rem;
    color: #AAAAAA;
    border-top: 1px solid #444;
    padding-top: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-newsletter h3 {
        font-size: 1.3rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input[type="email"] {
        min-width: unset;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}

main {
    margin-top: 70px;
}