/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Common Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Page-Specific Body Styles */
.page-typing-test {
    background-color: #2E323D;
    color: #FFFFFF;
    overflow: auto;
}

/* Navigation Bar (Common across all pages) */
#menubar {
    background-color: #2E323D;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;
    position: sticky;
}

#logo {
    flex: 0 0 auto;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #6DBE7E;
}

#logo span:last-child {
    color: white;
    margin-left: 0.2rem;
}

#links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.menubarlinks {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.menubarlinks:hover {
    color: #6DBE7E;
}

.menubarlinks.active {
    border-bottom: 2px solid #6DBE7E;
}

#buttonlink {
    background-color: #DED452;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    color: #2E323D;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#buttonlink:hover {
    background-color: #c7bd47;
    transform:-translateY(-2px);
}

#hamburger {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Dropdown Menu (from style.css) */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2E323D;
    min-width: 160px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #3a3f4e;
    color: #6DBE7E;
}

/* Hero Section (style.css, style2.css, style5.css) */
.hero {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    max-width: 100%;
}

.page-home .hero {
    background: linear-gradient(rgba(46, 50, 61, 0.7), rgba(46, 50, 61, 0.7)), url('data/homepage1.png');
}

.page-course .hero {
    background: linear-gradient(rgba(46, 50, 61, 0.7), rgba(46, 50, 61, 0.7)), url('https://source.unsplash.com/random/1600x900/?keyboard');
}

.page-about .hero {
    background: linear-gradient(rgba(46, 50, 61, 0.7), rgba(46, 50, 61, 0.7)), url('https://source.unsplash.com/random/1600x900/?typing');
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: #6DBE7E;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #5aa769;
    transform: translateY(-2px);
}

.read-more {
    background-color: transparent;
    border: 2px solid #6DBE7E;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background-color: #5aa769;
    transform: translateY(-2px);
}

/* We Help You Section (style.css) */
.we-help {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: white;
}

.we-help h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.step {
    flex: 1 1 200px;
    padding: 1rem;
    text-align: center;
}

.step h3 {
    font-size: 1.5rem;
    color: #2E323D;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 1rem;
    color: #555;
}

/* Practice Section (style.css) */
.practice {
    padding: 3rem 2rem;
    max-width: 100%;
    background-color: #f5f5f5;
    text-align: center;
}

.practice h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.practice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.practice-card {
    flex: 1 1 250px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.practice-card h3 {
    font-size: 1.2rem;
    padding: 1rem;
    color: #2E323D;
}

.view-all {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    background-color: #DED452;
    color: #2E323D;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-all:hover {
    background-color: #c7bd47;
}

/* Speed Test Section (style.css) */
.speed-test {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #6DBE7E, #2E323D);
    color: white;
}

.speed-test h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.speed-test p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mock Test Section (style.css) */
.mock-tests {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: white;
}

.mock-tests h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.mock-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.mock-card {
    flex: 1 1 250px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: #333;
}

.mock-card:hover {
    transform: translateY(-5px);
}

.mock-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.mock-card h3 {
    font-size: 1.2rem;
    padding: 1rem;
    color: #2E323D;
}

/* Customer Reviews Section (style.css) */
.reviews {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: #f5f5f5;
}

.reviews h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.review-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.review-card {
    flex: 1 1 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.review-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.review-card h4 {
    font-size: 1.1rem;
    color: #2E323D;
}

.slider-nav {
    margin-top: 20px;
}

.slider-nav button {
    background: #6DBE7E;
    border: none;
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 999px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease;
}

.slider-nav button:hover {
    background-color: #5aa769;
}

/* Play & Learn Section (style.css) */
.play-learn {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: white;
}

.play-learn h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.play-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.play-card {
    flex: 1 1 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.play-card:hover {
    transform: translateY(-5px);
}

.play-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.play-card h3 {
    font-size: 1.2rem;
    padding: 1rem;
    color: #2E323D;
}

/* Examination Section (style.css) */
.examination {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: #f5f5f5;
}

.examination h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.exam-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.exam-card {
    flex: 1 1 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-5px);
}

.exam-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.exam-card h3 {
    font-size: 1.2rem;
    padding: 1rem;
    color: #2E323D;
}

/* Course Structure Section (style2.css) */
.course-structure {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: white;
}

.course-structure h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 1rem;
}

.course-structure p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.syllabus {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.module {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.module-header {
    background: #6DBE7E;
    color: white;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.module-header:hover {
    background-color: #5aa769;
}

.module-header::after {
    content: '▼';
    font-size: 1rem;
}

.module-header.active::after {
    content: '▲';
}

.module-content {
    display: none;
    padding: 1rem;
    background: #f9f9f9;
}

.module-content.active {
    display: block;
}

.lesson {
    margin-bottom: 1rem;
}

.lesson a {
    color: #6DBE7E;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.lesson a:hover {
    color: #5aa769;
}

.lesson p {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
}

.lessonholder {
    background-color: rgba(0, 0, 0, 0.1);
    padding-left: 20px;
    margin: 25px 5px 5px 5px;
    border-radius: 20px;
    line-height: 2;
    display: none;
}

/* Book Promotion Section (style2.css) */
.book-promotion {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #6DBE7E, #2E323D);
    color: white;
}

.book-promotion h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.book-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.book-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.book-details {
    flex: 1 1 300px;
    text-align: left;
}

.book-details p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.buy-button {
    background-color: #DED452;
    color: #2E323D;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.buy-button:hover {
    background-color: #c7bd47;
    transform: translateY(-2px);
}

/* Typing Test Section (style3.css) */
.page-typing-test .container {
    text-align: center;
    max-width: 100%;
    width: 100%;
    position: relative;
    padding: 50px;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

#lesson-select {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    background-color: #3A3F4E;
    color: #FFFFFF;
    border: 1px solid #6DBE7E;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

#text-display {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.correct {
    color: #6DBE7E;
}

.incorrect {
    color: #D4394E;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    background-color: #3A3F4E;
    padding: 20px;
    border-radius: 8px;
}

.stats div {
    font-size: 18px;
}

#input-field {
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.restart-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #6DBE7E;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.restart-btn:hover {
    background-color: #5AA66B;
}

#results {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.results-content {
    background-color: #3A3F4E;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}

.results-content h2 {
    margin-top: 0;
}

.results-content ul {
    list-style: none;
    padding: 0;
}

.results-content li {
    margin: 5px 0;
}

#restart-message {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #DED452;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 1s ease-out;
}

#restart-message.show {
    opacity: 1;
}

/* Practice Section (style4.css) */
.practice-section {
    max-width: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.practice-main {
    flex: 3 1 600px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.practice-main h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 1rem;
}

#lesson-selector {
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

#target-text {
    font-size: 1.2rem;
    color: #333;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    min-height: 100px;
}

#typing-area {
    width: 100%;
    height: 100px;
    font-size: 1.2rem;
    padding: 1rem;
    border: 2px solid #6DBE7E;
    border-radius: 4px;
    resize: none;
}

#typing-area.correct {
    border-color: #6DBE7E;
    background: rgba(109, 190, 126, 0.1);
}

#typing-area.incorrect {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.navigation {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.nav-button {
    padding: 0.5rem 1.5rem;
    background-color: #6DBE7E;
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.nav-button:hover:not(:disabled) {
    background-color: #5aa769;
}

/* Metrics Section (style4.css) */
.metrics {
    flex: 1 1 200px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.metrics h3 {
    font-size: 1.5rem;
    color: #2E323D;
    margin-bottom: 1rem;
}

.metric {
    margin-bottom: 1rem;
}

.metric span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6DBE7E;
}

/* Who We Are Section (style5.css) */
.who-we-are {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: white;
}

.who-we-are h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 1rem;
}

.who-we-are p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* What We Do Section (style5.css) */
.what-we-do {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: #f5f5f5;
}

.what-we-do h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    flex: 1 1 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2E323D;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

/* Meet Our Team Section (style5.css) */
.team {
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
    background-color: white;
}

.team h2 {
    font-size: 2rem;
    color: #2E323D;
    margin-bottom: 2rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.team-card {
    flex: 1 1 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    color: #2E323D;
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 1rem;
    color: #555;
}

/* Footer (Common across style.css, style2.css, style5.css) */
footer {
    background-color: #2E323D;
    color: white;
    padding: 3rem 2rem;
    max-width: 100%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section a, .footer-section p {
    color: #6DBE7E;
    text-decoration: none;
    margin: 0.5rem 0;
    display: block;
}

.footer-section a:hover {
    color: #DED452;
}

.newsletter form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter input {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    flex: 1;
}

.newsletter button {
    padding: 0.5rem 1rem;
    background-color: #6DBE7E;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.newsletter button:hover {
    background-color: #5aa769;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .steps, .practice-grid, .mock-grid, .play-grid, .exam-grid, .services, .team-grid {
        gap: 1.5rem;
    }

    .book-content {
        flex-direction: column;
        text-align: center;
    }

    .book-details {
        text-align: center;
    }

    .practice-section {
        flex-direction: column;
        align-items: center;
    }

    .practice-main {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .metrics {
        flex: 1 1 auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #2E323D;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    #links.active {
        display: flex;
    }

    #hamburger {
        display: block;
    }

    #logo {
        font-size: 1.5rem;
    }

    .menubarlinks {
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    #buttonlink {
        width: fit-content;
        margin: 0 auto;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #3a3f4e;
        padding-left: 2rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .we-help, .practice, .speed-test, .mock-tests, .reviews, .play-learn, .examination, .course-structure, .book-promotion, .who-we-are, .what-we-do, .team, .practice-section {
        padding: 2rem 1rem;
    }

    .course-structure h2, .book-promotion h2, .practice-main h2, .who-we-are h2, .what-we-do h2, .team h2 {
        font-size: 1.8rem;
    }

    .module-header {
        font-size: 1.3rem;
    }

    #target-text, #typing-area {
        font-size: 1rem;
    }

    .steps, .practice-grid, .mock-grid, .play-grid, .exam-grid, .services, .team-grid {
        gap: 1rem;
    }

    .review-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    #logo {
        font-size: 1.2rem;
    }

    #menubar {
        padding: 0.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .practice-main h2 {
        font-size: 1.5rem;
    }

    .who-we-are h2, .what-we-do h2, .team h2 {
        font-size: 1.8rem;
    }
}
  .examcontainer {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
  }
  #instructions {
    margin-bottom: 15px;
  }
  .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  #result {
    margin-top: 15px;
    font-weight: bold;
    color: green;
  }
  /* Popup container */
        .popup-overlay {
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }

        /* Popup content */
        .popup-content {
            background: white;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* Close button */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            cursor: pointer;
            color: #333;
            background: none;
            border: none;
            outline: none;
        }

        /* Instructions styling */
        .instructions {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        .instructions h2 {
            margin-top: 0;
            color: #2c3e50;
        }

        .instructions ul {
            padding-left: 20px;
        }

        .instructions li {
            margin-bottom: 10px;
        }
