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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #2c3e50;
    background-color: #f8fafc;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

h1, h2 {
    color: #333;
}

button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.0rem;
}

button:hover {
    background-color: #45a049;
}

#next-btn, #finish-btn, #retest-btn, #restart-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0.6rem auto;
    padding: 1.0rem;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

#next-btn:hover, #finish-btn:hover, #retest-btn:hover, #restart-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hide next/finish buttons by default */
#next-btn, #finish-btn {
    display: none;
}

/* Style for retest button */
#retest-btn {
    background-color: #dc3545;
    margin-right: 1rem;
}

#retest-btn:hover {
    background-color: #c82333;
}

/* Container for result section buttons */
#result-section .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #next-btn, #finish-btn, #retest-btn, #restart-btn {
        width: 100%;
        max-width: 300px;
    }

    #result-section .button-group {
        flex-direction: column;
        gap: 1rem;
    }

    #retest-btn {
        margin-right: 0;
    }
}

.chapter-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    text-align: left;
    font-size: 0.9rem;
    background-color: #e9f1e9;
    color:#041704
}

.chapter-btn:hover {
    background-color: #cbebcb;
}

.top-bar {
    background: linear-gradient(to right, #041704, #0a290a);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: margin-top 0.3s;
}

body.no-flash-sale .top-bar {
    margin-top: 0 !important;
}

.brand {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.brand-link {
    text-decoration: none;
    color: inherit;
}

.brand-link:hover {
    color: #e8f5e9;
}

.support-btn {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s;
    margin: 0;
}

.support-btn:hover {
    background-color: #4cae4c;
}

.option-btn {
    display: block;
    width: 100%;
    padding: clamp(1rem, 2vw, 1.4rem) clamp(1.2rem, 3vw, 1.8rem);
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.4;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #1a1a1a;
    font-weight: 500;
}

.option-btn:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
    color: #000000;
}

.option-btn.correct {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #0a3816;
    font-weight: 600;
}

.option-btn.incorrect {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #58151a;
    font-weight: 600;
}

.progress-text {
    color: #666;
    margin-bottom: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.section-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #041704;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.question-stats {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #666;
    margin-bottom: 1.2rem;
    text-align: center;
    padding: 0 1rem;
}

/* Hide the separate score display */
#score-display {
    display: none;
}

/* Add styles for the counts */
.correct-count {
    color: #28a745;
}

.incorrect-count {
    color: #dc3545;
}

.note {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: #2c3e50;
    background-color: #e8f5e9;
    padding: clamp(1rem, 2vw, 1.4rem);
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid #4CAF50;
}

.question-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.nav-btn {
    background: none;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    font-size: 18px;
    color: #4CAF50;
    cursor: pointer;
    padding: 6px 12px;
    transition: all 0.2s;
    margin: 0;
}

.nav-btn:hover {
    color: white;
    background: #4CAF50;
}

.nav-btn:disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    background: none;
}

/* Add these new styles */
.menu-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-link {
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.home-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    margin: 0;
}

.menu-btn:hover {
    background: none;
    color: #e8f5e9;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -380px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    background: #041704;
    color: white;
    padding: 0.38rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.side-menu-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    line-height: 1;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    margin: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

.menu-chapters-list {
    padding: 0.7rem;
    overflow-y: auto;
    flex-grow: 1; /* Allow list to take remaining space */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.menu-chapter-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin: 5px 0;
    text-align: left;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    transition: all 0.2s;
    font-size: 1rem;
    cursor: pointer;
}

.menu-chapter-btn:hover {
    background: #f5f5f5;
    border-color: #4CAF50;
    color: #041704;
}

.menu-chapter-btn.active {
    background: #e8f5e9;
    border-color: #4CAF50;
    color: #041704;
    font-weight: 500;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .container {
        margin: 0.5rem auto;
        padding: 10px;
    }

    .section {
        padding: 1.2rem;
    }

    .option-btn {
        padding: 12px 15px;
        margin-bottom: 10px;
        margin-top: 10px;
        font-size: 1rem;
        font-weight: 400;
    }

    .hero-section {
        padding: 2rem 1rem;
        margin: 0.5rem 0 1.5rem;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .subheadline {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .steps {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        padding: 1.2rem;
    }

    .feature {
        padding: 1rem;
    }

    /* Adjust side menu for mobile */
    .side-menu {
        width: 85%;
        left: -85%;
    }

    .menu-chapters-list {
        padding: 0.5rem;
    }

    /* Make buttons more touch-friendly */
    .menu-chapter-btn,
    .option-btn,
    button {
        padding: 12px 15px;
        min-height: 44px; /* Better touch targets */
    }
}

/* Small phone optimizations */
@media (max-width: 380px) {
    .hero-section h1 {
        font-size: 1.4rem;
    }

    .step h3 {
        font-size: 1.1rem;
    }

    .feature {
        font-size: 0.95rem;
    }
}

/* Add styles for the retest button */
#retest-btn {
    background-color: #dc3545;
    margin-right: 10px;
}

#retest-btn:hover {
    background-color: #c82333;
}

/* Add styles for chapter titles */
#chapter-title {
    font-size: 1.5rem;
    color: #041704;
    /*margin-top: calc(60px + 2rem);*/
    margin-top: 30px;
    margin-bottom: 1.0rem;
    padding: 0 1rem;
    text-align: center;
    line-height: 1.3;
    /*word-wrap: break-word;
    hyphens: auto;*/
}

@media (max-width: 768px) {
    #chapter-title {
        /*margin-top: calc(50px + 1.5rem);*/
        margin-bottom: 0.7rem;
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
}

@media (max-width: 480px) {
    #chapter-title {
       /*margin-top: calc(45px + 1rem);*/
        padding: 0 0.75rem;
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    }
}

@media (min-width: 1400px) {
    #chapter-title {
        /*margin-top: calc(70px + 2.5rem);*/
        margin-bottom: 1.2rem;
    }
}

/* Add these new styles */
.hero-section {
    margin-top: 64px;
    padding: 60px 0;
    /*background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);*/
    /*border-radius: 0 0 30px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);*/
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 24px;
}

.hero-text {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    /*background: linear-gradient(45deg, #041704, #0a290a);*/
    color: #041704;
    /*-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    margin-bottom: 24px;
}

.subheadline {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 0px;
    line-height: 1.6;
}

.cta-button {
    padding: 12px 28px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.5;
    min-height: 48px;
}

.cta-button:hover {
    background-color:#45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.features {
    padding-top: 10px 0;
    text-align: center;
}

.features h2 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0;
}

.feature {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature:hover {
    transform: translateY(-3px);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Add new checkmark style */
.feature::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #4CAF50;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

/* Add this style for the highlighted text */
.highlight-green {
    color: #2e9031;
    font-weight: 500;
}

.highlight-blue {
    color: #007bff;
    font-weight: 800;
}

.highlight-black {
    color: #0c0c0c;
    font-weight: 800;
}

/* Add styles for the result section */
#result-section {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

#result-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #041704;
    margin-bottom: 1.5rem;
    margin-top: 60px;
    line-height: 1.3;
}

#result-section p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #000;
}

#final-score {
    font-size: clamp(1.1rem, 3vw, 1.2rem);
    color: #2c3e50;
    margin: 1.0rem 0;
    display: block;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
}

#retest-btn, #restart-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
    text-align: center;
    font-weight: 500;
}

#retest-btn {
    background-color: #dc3545;
    color: white;
}

#restart-btn {
    background-color: #28a745;
    color: white;
}

#retest-btn:hover {
    background-color: #c82333;
}

#restart-btn:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .button-group {
        padding: 0 1rem;
    }
    
    #retest-btn, #restart-btn {
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .button-group {
        max-width: 280px;
    }
    
    #retest-btn, #restart-btn {
        padding: 0.75rem 1.25rem;
    }
}

.chapter-container, .menu-chapter-container {
    margin-bottom: 10px;
}

.sections-container, .menu-sections-container {
    margin-left: 20px;
    border-left: 2px solid #e0e0e0;
    padding-left: 10px;
    margin-top: 5px;
    display: none; /* Hide sections by default */
}

.sections-container.active, .menu-sections-container.active {
    display: block; /* Show sections when active */
}

.chapter-btn.has-sections, .menu-chapter-btn.has-sections {
    position: relative;
    padding-right: 30px; /* Add space for the arrow */
}

.chapter-btn.has-sections::after, .menu-chapter-btn.has-sections::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    font-size: 0.8em;
}

.chapter-btn.has-sections.active::after, .menu-chapter-btn.has-sections.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.section-btn, .menu-section-btn {
    display: block;
    width: 100%;
    padding: 8px 15px;
    margin: 5px 0;
    text-align: left;
    background: none;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #666;
    transition: all 0.2s;
    font-size: 1.0rem;
}

.section-btn:hover, .menu-section-btn:hover {
    background: #f5f5f5;
    border-color: #4CAF50;
    color: #333;
}

@media (max-width: 768px) {
    .sections-container, .menu-sections-container {
        margin-left: 15px;
        padding-left: 8px;
    }

    .section-btn, .menu-section-btn {
        padding: 10px 12px;
        min-height: 44px;
    }
}

/* Update FAQ Styles for better mobile responsiveness */
.faq-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
    margin: 60px auto;
    border-radius: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #041704;
    margin-bottom: 16px;
    font-weight: 700;
    background: linear-gradient(45deg, #041704, #0a290a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #041704;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.2rem;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.2rem;
    transition: max-height 0.5s ease-in, padding 0.3s ease;
}

.faq-icon {
    font-size: 1.5rem;
    color: #28a745;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .faq-section {
        margin: 40px 20px;
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .faq-container {
        padding: 0 30px;
    }

    .faq-question {
        padding: 20px 24px;
        font-size: 1.05rem;
}

.faq-item.active .faq-answer {
        padding: 0 24px 20px 24px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        margin: 30px 15px;
        padding: 40px 0;
        border-radius: 20px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .faq-container {
        padding: 0 20px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
        font-size: 0.95rem;
    }

    .faq-icon {
        font-size: 1.2rem;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin: 20px 10px;
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .faq-container {
        padding: 0 15px;
    }

    .faq-item {
        margin-bottom: 15px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px 16px;
    }
}

/* Add Study Guide Styles */
.study-guide-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.study-section {
    margin-bottom: 35px;
    background: #fff;
    border-radius: 8px;
    padding: 0 25px 25px 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.study-section h2 {
    color: #041704;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.study-item {
    margin-bottom: 25px;
}

.study-item:last-child {
    margin-bottom: 0;
}

.study-item h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.study-item p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 12px;
}

.study-item ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.study-item li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #495057;
}

.study-item li::before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

.study-item .warning {
    color: #dc3545;
}

.study-item .warning::before {
    color: #dc3545;
}

.alert-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.alert-box p {
    color: #856404;
    margin: 0;
}

.note {
    color: #666;
    font-style: italic;
    padding-left: 12px;
    border-left: 3px solid #4CAF50;
    margin-top: 10px;
}

.cta-section {
    text-align: center;
    padding: 30px 0;
}

.cta-section p {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .study-section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .study-section h2 {
        font-size: 1.3rem;
    }

    .study-item h3 {
        font-size: 1.05rem;
    }

    .study-item {
        margin-bottom: 20px;
    }

    .alert-box {
        padding: 12px;
    }

    .cta-section {
        padding: 20px 0;
    }

    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .study-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .study-section h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .study-item h3 {
        font-size: 1rem;
    }

    .study-item p,
    .study-item li {
        font-size: 0.95rem;
    }

    .alert-box {
        padding: 10px;
    }
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto;
}

.button-group button {
    width: 100%;
    margin: 0;
}

#retest-btn {
    background-color: #d9534f;
}

#retest-btn:hover {
    background-color: #c9302c;
    transform: translateY(-2px);
}

#restart-btn {
    background-color: #5cb85c;
}

#restart-btn:hover {
    background-color: #449d44;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .button-group {
        padding: 0 1rem;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .button-group {
        margin: 0.75rem auto;
    }
}

@media (min-width: 1400px) {
    .button-group {
        max-width: 450px;
        gap: 1.25rem;
    }
    
    .button-group button {
        padding: 1.0rem;
    }
}

.premium-feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.premium-feature h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.premium-feature p {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .premium-feature {
        padding: 20px;
        margin-top: 30px;
    }

    .premium-feature h3 {
        font-size: 1.3rem;
    }

    .premium-feature p {
        font-size: 1rem;
    }
}

.premium-btn {
    background-color: #6c757d;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.5;
    min-height: 48px;
}

.premium-btn:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.premium-btn i {
    margin-right: 8px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .premium-btn {
        width: 100%;
        max-width: 300px;
        min-height: 44px;
    }

    .premium-btn i {
        margin-right: 6px;
        font-size: 0.85em;
    }
}

.study-guide-link {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.study-guide-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.study-guide-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .study-guide-link {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
}

.fixed-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fixed-button-container .premium-btn {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform-origin: right bottom;
}

.footer {
    background-color: #f1f1f1; /* Light background color */
    padding: 20px; /* Padding around the footer */
    text-align: center; /* Centered text */
    position: relative; /* Positioning */
    bottom: 0; /* Stick to the bottom */
    width: 100%; /* Full width */
}

.footer p {
    margin: 5px 0; /* Margin for paragraphs */
    color: #666; /* Gray color for text */
}

.footer a {
    color: rgb(10, 141, 18); /* Link color */
    text-decoration: none; /* Remove underline */
}

.footer a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Enhanced Contact Form Section */
.contact-us-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 60px 40px;
    margin: 100px auto;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

@media (min-width: 1400px) {
    .contact-us-section {
        padding: 80px 40px;
        margin: 60px auto;
    }
}

@media (min-width: 1800px) {
    .contact-us-section {
        max-width: 1600px;
    }
}

@media (max-width: 768px) {
    .contact-us-section {
        padding: 40px 20px;
        margin: 60px 15px;
        border-radius: 20px;
    }
    
    .contact-form {
        padding: 0 20px;
    }
}

.contact-us-section h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.contact-us-section p {
    color: #666;
    margin-bottom: 20px;
}

.contact-us-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.contact-us-section label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-us-section input,
.contact-us-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-us-section button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.contact-us-section button:hover {
    background-color: #218838;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .contact-us-section {
        padding: 15px;
    }

    .contact-us-section h2 {
        font-size: 1.3rem;
    }

    .contact-us-section input,
    .contact-us-section textarea {
        font-size: 14px;
    }

    .contact-us-section button {
        font-size: 14px;
    }
}

.ultra-btn {
    background-color: #272828 !important;
    color: white !important;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.5;
    min-height: 48px;
}

.ultra-btn:hover {
    background-color: #01060c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ultra-btn i {
    margin-right: 8px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .ultra-btn {
        width: 100%;
        max-width: 300px;
        min-height: 44px;
    }

    .ultra-btn i {
        margin-right: 6px;
        font-size: 0.85em;
    }
}

.text-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-section h3 {
    color: #333;
    margin-bottom: 10px;
}

.text-section p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-section {
        padding: 15px;
    }
}

.box-section {
    display: none;
}

.check-list {
    font-size: 1.2rem;
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.check-list i {
    color: #28a745;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .check-list li {
        font-size: 14px;
    }
}

.box {
    position: relative;
    flex: 1;
    min-width: 200px;
    margin: 10px;
    padding: 40px 20px 20px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #108c16;
}

.box-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #dfe9e1;
    color: rgb(8, 8, 8);
    padding: 5px 20px;
    border-radius: 30px;
    border: 1px solid #108c16;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .box {
        flex: 100%;
        margin: 10px 0;
    }
}

/* Add styles for wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }

    /* Question section improvements */
    #quiz-section {
        max-width: 1200px;
        margin: 80px auto 0;
        padding: 2rem;
    }

    #question-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    #question-text {
        font-size: 1.1rem;
        line-height: 1.5;
        color: #2c3e50;
        margin-bottom: 1.5rem;
        font-weight: 500;
    }

    #options-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .option-btn {
        text-align: left;
        padding: 1.0rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        color: #2c3e50;
    }

    .option-btn:hover {
        transform: translateX(5px);
        background-color: #e9ecef;
    }

    .option-btn.correct {
        background-color: #d4edda;
        border-color: #c3e6cb;
        color: #155724;
    }

    .option-btn.incorrect {
        background-color: #f8d7da;
        border-color: #f5c6cb;
        color: #721c24;
    }

    .note {
        max-width: 1000px;
        margin-bottom: 20px;
        padding: 1.2rem;
        background-color: #e8f5e9;
        border-radius: 8px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Progress and navigation improvements */
    .progress-text {
        font-size: 1.1rem;
        color: #6c757d;
        margin-bottom: 30px;
        text-align: center;
    }

    #next-btn,
    #finish-btn {
        display: none;
        margin: 1rem auto;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        min-width: 200px;
        border-radius: 30px;
        transition: all 0.2s ease;
    }

    /* Result section improvements */
    #result-section {
        max-width: 1200px;
        margin: 80px auto 0;
        padding: 2rem;
        text-align: center;
    }

    #result-section h2 {
        font-size: 2rem;
        color: #041704;
        margin-bottom: 1.5rem;
    }

    #final-score {
        font-size: 1.2rem;
        color: #2c3e50;
        margin-bottom: 2rem;
        display: block;
    }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1800px) {
    .faq-section,
    .testimonials-section {
        max-width: 1600px;
    }

    .faq-container,
    .testimonials-grid {
        max-width: 1600px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
    margin: 60px auto;
    border-radius: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 1400px;
    padding: 0 40px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #495057;
    font-weight: 600;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.author-location {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive design for testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        gap: 20px;
        padding: 0 30px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section,
    .faq-section {
        margin: 30px 15px;
        padding: 40px 0;
        border-radius: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .rating-container {
        flex-direction: column;
        gap: 10px;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-content {
        font-size: 1rem;
    }

    .faq-container {
        padding: 0 20px;
    }

    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

/* Footer Styles */
.footer-container {
    background: linear-gradient(to right, #041704, #0a290a);
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-disclaimer {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-column ul li {
    margin-bottom: 12px;
    text-align: center;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.footer-logo img {
    height: 24px;
}

.footer-location {
    color: #666;
    background: #1a1a1a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #999;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #fff;
}

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-left {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

/* Hero Image and Visual Elements */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 24px;
}

.hero-text {
    text-align: center;
    /*max-width: 800px;*/
    margin: 0 auto;
    margin-top: 40px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    width: 30px;
    height: 30px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-1 {
    top: 20px;
    right: -30px;
}

.badge-2 {
    bottom: 20px;
    left: -30px;
}

.feature-image-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 40px;
    margin: 30px auto;
    max-width: 1400px;
}

.feature-image-section:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #041704;
    margin-bottom: 24px;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 32px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #2d3748;
}

.feature-list li i {
    color: #28a745;
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive design for images */
@media (max-width: 1024px) {
    .feature-image-section {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        padding: 60px 20px;
        margin: 20px auto;
    }

    .feature-image-section:nth-child(even) {
        flex-direction: column;
    }

    .feature-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-image img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 15px;
    }

    .feature-content {
        width: 100%;
        padding: 0 15px;
    }

    .feature-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .feature-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .feature-list {
        margin-top: 20px;
    }

    .feature-list li {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .feature-image-section {
        padding: 50px 15px;
        gap: 40px;
        margin: 15px auto;
    }

    .feature-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .feature-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .feature-list li {
        font-size: 1rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .feature-image-section {
        padding: 40px 10px;
        gap: 30px;
        margin: 10px auto;
    }

    .feature-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .feature-content {
        padding: 0 10px;
    }

    .feature-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .feature-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .feature-list {
        margin-top: 15px;
    }

    .feature-list li {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding: 8px 0;
    }
}

/* Package Cards Styles */
.package-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.package-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #041704;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.package-features li i {
    color: #28a745;
    margin-right: 12px;
    width: 16px;
    font-size: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-features li span {
    flex: 1;
}

.package-btn {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 48px;
    box-sizing: border-box;
    display: block;
}

.package-btn.free-btn {
    background-color: #6c757d;
    color: white;
}

.package-btn.free-btn:hover {
    background-color: #545b62;
}

.essential-btn {
    background-color: #28a745;
    color: white;
}

.essential-btn:hover {
    background-color:#218838 ;
}

.premium-btn {
    background-color:#007bff;
    color: white;
}

.premium-btn:hover {
    background-color: #0056b3;
}

.popular-tag, .best-value-tag {
    position: absolute;
    top: -12px;
    right: -8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.popular-tag {
    background-color: #007bff;
}

.best-value-tag {
    background-color: #28a745;
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .package-cards {
        gap: 20px;
        padding: 0 15px;
    }

    .package-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .subheadline {
        font-size: 1.1rem;
       /* margin-bottom: 32px;*/
    }

    .package-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 25px;
    }

    .package-card {
        padding: 30px 20px;
    }

    .price {
        font-size: 1.75rem;
    }

    .package-features li {
        font-size: 0.95rem;
    }

    .package-btn {
        font-size: 1rem;
        padding: 12px;
        margin: 0 auto;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section, .package-cards, .feature-image-section {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus, a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print Styles */
@media print {
    .top-bar, .fixed-button-container {
        display: none;
    }
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.trust-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.trust-item h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.trust-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 1.1rem;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-item {
        padding: 24px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .contact-form {
        padding: 0 20px;
    }
}

/* Print styles */
@media print {
    .trust-indicators,
    .contact-us-section {
        display: none;
    }
}

/* Features Container */
.features-container {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 24px;
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    padding: 2rem;
}

.feature-section:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 600px;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.feature-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #041704;
}

.feature-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #2d3748;
}

.feature-list li svg {
    width: 24px;
    height: 24px;
    color: #28a745;
}

@media (max-width: 1024px) {
    .feature-section {
        gap: 3rem;
        padding: 1.5rem;
    }

    .feature-content h2 {
        font-size: 2rem;
    }

    .feature-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .feature-section {
        flex-direction: column !important;
        text-align: center;
        gap: 3rem;
        padding: 2rem;
        margin-bottom: 4rem;
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-image {
        width: 100%;
        padding: 0 1rem;
    }

    .feature-image img {
        width: 100%;
        max-width: none;
    }

    .feature-list {
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-list li {
        justify-content: flex-start;
        text-align: left;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-section {
        padding: 1rem;
        gap: 2rem;
    }

    .feature-image {
        padding: 0;
    }
}

/* Update wide screen media query */
@media (min-width: 1400px) {
    .faq-section,
    .testimonials-section {
        max-width: 1400px;
        padding: 80px 40px;
    }

    .faq-container,
    .testimonials-grid {
        max-width: 1400px;
        padding: 0;
    }
}

/* Update ultra-wide screen media query */
@media (min-width: 1800px) {
    .faq-section,
    .testimonials-section {
        max-width: 1600px;
    }

    .faq-container,
    .testimonials-grid {
        max-width: 1600px;
    }
}

/* Make Start Practice button same as package-btn */
#browse-chapters.package-btn {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 48px;
    box-sizing: border-box;
    display: block;
    line-height: 1.5;
}

#browse-chapters.package-btn.free-btn {
    background-color: #6c757d;
    color: white;
}

#browse-chapters.package-btn.free-btn:hover {
    background-color: #545b62;
}

@media (max-width: 768px) {
    #browse-chapters.package-btn {
        width: 100%;
        min-height: 48px;
        padding: 12px;
        margin: 0 auto; /* Ensure centering */
    }
}

/* Success Message Styles */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease-out;
}

.success-message i {
    font-size: 1.5rem;
    color: #28a745;
}

.success-message p {
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .success-message {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .success-message i {
        font-size: 1.25rem;
    }
}

/* Enhanced Success Story Form Styles */
.success-story-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 60px 40px;
    margin: 60px auto;
    border-radius: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    outline: none;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    margin-top: 8px;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Responsive styles for the form */
@media (max-width: 768px) {
    .success-story-form {
        padding: 40px 20px;
        margin: 40px auto;
        border-radius: 20px;
    }

    .form-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .success-story-form {
        padding: 30px 15px;
        margin: 30px auto;
    }

    .form-container {
        padding: 15px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-hint {
        font-size: 0.85rem;
    }
}

.flash-sale-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ecd8ff;
    color: #4b0082;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: 'Inter', sans-serif;
    transition: top 0.3s;
    font-size: 0.97rem;
}

.flash-sale-content {
    display: flex;
    align-items: center;
    gap: 1.0rem;
    justify-content: center;
    font-size: 0.97rem;
}

.flash-sale-btn {
    background: #a259ff;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.35rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(162,89,255,0.12);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    letter-spacing: 1px;
}

.flash-sale-timer-label {
    color: #4b0082;
    font-weight: 500;
    margin-right: 0.3rem;
    font-size: 0.97rem;
}

.flash-sale-timer {
    background: #e1c5ff;
    color: #4b0082;
    border-radius: 0.3rem;
    padding: 0.15rem 0.6rem;
    font-weight: 700;
    font-size: 0.97rem;
    letter-spacing: 1px;
}

.flash-sale-timer-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.flash-sale-close {
    background: none;
    border: none;
    color: #4b0082;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: auto;
    margin-right: 0.5rem;
    transition: color 0.2s;
    align-self: auto;
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
}

.flash-sale-close:hover {
    color: #a259ff;
}

@media (max-width: 600px) {
    .flash-sale-banner {
        padding: 0.7rem 2.5rem 0.7rem 1rem;
        font-size: 0.85rem;
    }
    .flash-sale-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.85rem;
        justify-content: center;
    }

    .flash-sale-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
        min-height: 24px;
    }

    .flash-sale-timer-label {
        font-size: 0.75rem;
    }

    .flash-sale-timer {
        font-size: 0.85rem;
        padding: 0.1rem 0.4rem;
    }

    .flash-sale-timer-group {
        flex-wrap: wrap;
    }
}

.top-bar {
    /*margin-top: 50px;*/ /* Adjust to match .flash-sale-banner height */
    transition: margin-top 0.3s;
}
body.no-flash-sale .top-bar {
    margin-top: 0 !important;
}
/*@media (max-width: 600px) {
    .top-bar {
        margin-top: 95px;
    }
}*/

.flash-sale-timer {
    font-size: 0.9rem;
    padding: 0.1rem 0.5rem;
}

/* Font Awesome 5+ supports fa-hat-cowboy for Texas icon */

.state-dropdown-container {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 32px;
    position: relative;
    height: 48px;
}

.custom-dropdown-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: #041704;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 12px 32px 12px 18px;
    min-width: 170px;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.07);
    transition: box-shadow 0.2s, border 0.2s, background 0.2s;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.custom-dropdown-btn:hover, .custom-dropdown-btn:focus, .custom-dropdown-btn[aria-expanded="true"] {
    background: #fff;
    border: 2px solid #28a745;
    box-shadow: 0 0 0 3px rgba(17, 150, 21, 0.13);
    color: #041704;
}

.custom-dropdown-btn:hover .dropdown-arrow,
.custom-dropdown-btn:focus .dropdown-arrow,
.custom-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
    color: #28a745;
}

.dropdown-arrow {
    margin-left: 12px;
    font-size: 1.1em;
    color: #28a745;
    transition: transform 0.2s;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: unset;
    background: linear-gradient(180deg, #fff 90%, #f8fef8 100%);
    border: 1.5px solid #28a745;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.10);
    padding: 0;
    z-index: 1001;
    list-style: none;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    pointer-events: none;
}

.dropdown-item {
    padding: 13px 0;
    color: #444;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, font-weight 0.18s;
    border: none;
    background: none;
    font-size: 1.13rem;
    font-family: inherit;
    outline: none;
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid #e6f4ea;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: #eafaf1;
    color: #119615;
    font-weight: 700;
}

.custom-dropdown-menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.custom-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(-180deg);
    transition: transform 0.2s;
}

.state-dropdown-container {
    position: relative;
    padding: 0;
    margin: 0;
}

@media (max-width: 600px) {
    .state-dropdown-bar {
        margin: 16px auto 20px auto;
        padding: 0 6px;
        max-width: 100%;
    }
    .state-dropdown-container {
        max-width: 100%;
    }
    .custom-dropdown-btn {
        font-size: 1.02rem;
        padding: 14px 16px 14px 14px;
        border-radius: 20px;
        max-width: 100%;
    }
    .custom-dropdown-menu {
        min-width: unset;
        width: 100%;
        left: 0;
        right: auto;
        transform: none;
    }
}

/* Remove old #state-search styles if present */
#state-search { display: none !important; }

.state-dropdown-bar {
    width: 100%;
    max-width: 400px;
    margin: 24px auto 32px auto;
    padding: 0 16px;
    z-index: 100;
    display: block;
}

.state-dropdown-container {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.custom-dropdown-btn {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    font-size: 1.15rem;
    padding: 16px 32px 16px 20px;
    border-radius: 28px;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.08);
    background: #f8fef8;
    border: 1.5px solid #28a745;
    color: #041704;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: 5%;
    width: 90%;
    min-width: unset;
    background: #fff;
    border: 2px solid #28a745;
    border-top: none;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.10);
    padding: 10px 0;
    z-index: 1001;
    list-style: none;
    margin: 0;
    margin-top: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    transition: opacity 0.2s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
}

.custom-dropdown-menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.custom-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(-180deg);
    transition: transform 0.2s;
}

.state-dropdown-container {
    position: relative;
}

@media (max-width: 600px) {
    .state-dropdown-bar {
        margin: 16px auto 20px auto;
        padding: 0 6px;
        max-width: 100%;
    }
    .state-dropdown-container {
        max-width: 100%;
    }
    .custom-dropdown-btn {
        font-size: 1.02rem;
        padding: 14px 16px 14px 14px;
        border-radius: 20px;
        max-width: 100%;
    }
    .custom-dropdown-menu {
        min-width: unset;
        width: 90%;
        left: 5%;
        right: auto;
        top: 110%;
        transform: none;
    }
}