* {
    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) {
    .header-content {
        padding: 0 15px;
    }

    .logo {
        height: 40px;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        color: #2D2D2D;
        z-index: 1002;
    }

    /* Navigation menu */
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px;
        width: 100%;
        text-align: left;
        border-radius: 0;
        margin: 0;
    }

    .nav-link:hover {
        background-color: #E6B4FF;
        color: #6A0DAD;
    }

    /* Dropdown styles for mobile */
    .dropdown-menu {
        display: none;
        background: #f8f9fa;
        padding: 0;
    }

    .dropdown-menu.mobile-show {
        display: block;
    }

    .dropdown-item {
        padding: 12px 25px;
        border-bottom: 1px solid #e9ecef;
    }

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

    .dropdown-arrow {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    main {
        margin-top: 70px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .main-nav {
        display: block !important;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
    }

    .nav-list {
        display: flex !important;
        flex-direction: row;
    }
}

.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;
    }
}

@media (max-width: 768px) {
    .dropdown-toggle {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-arrow {
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.mobile-show {
        max-height: 500px;
    }
    
    .dropdown-menu.show {
        max-height: none;
    }
  
    .dropdown-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        display: block;
        color: #333;
        text-decoration: none;
    }
    
    .dropdown-item:hover {
        background-color: #f5f5f5;
    }
}

@media (min-width: 769px) {
    .dropdown-arrow {
        display: none; 
    }
    
    .dropdown-menu {
        display: none;
        position: absolute;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        min-width: 200px;
        z-index: 1000;
    }
    
    .dropdown-menu.show {
        display: block;
    }
}

.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;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h2 {
    color: #8B0051;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.welcome-message {
    color: #6B7280;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(139, 0, 81, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B0051, #A50064);
    z-index: 2;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 0, 81, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.stat-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.stat-trend {
    font-size: 0.8rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.trend-up {
    color: #A6F7C1;
    font-weight: 600;
}

.trend-down {
    color: #FECACA;
    font-weight: 600;
}

.stat-card.users-card {
    background: linear-gradient(135deg, #8B0051 0%, #A50064 100%);
}

.stat-card.courses-card {
    background: linear-gradient(135deg, #9A1A5B 0%, #B3006E 100%);
}

.stat-card.exams-card {
    background: linear-gradient(135deg, #A50064 0%, #C71585 100%);
}

.stat-card.questions-card {
    background: linear-gradient(135deg, #C71585 0%, #D63384 100%);
}

.stat-card.subscriptions-card {
    background: linear-gradient(135deg, #D63384 0%, #E83E8C 100%);
}

.stat-card.revenue-card {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(139, 0, 81, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 81, 0.15);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-header h3 {
    margin: 0;
    color: #8B0051;
    font-size: 1.2rem;
    font-weight: 600;
}

.chart-header select {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem;
    background: white;
    color: #374151;
    font-size: 0.875rem;
}

.chart-container {
    height: 250px;
    position: relative;
}

/* Performance Stats */
.performance-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.performance-item {
    margin-bottom: 0;
}

.performance-label {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.performance-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B0051;
    margin-bottom: 0.5rem;
}

.performance-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, #8B0051, #A50064);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background-color: #fafafa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0 -0.5rem;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-icon.new-user { 
    background: linear-gradient(135deg, #10B981, #34D399); 
}
.activity-icon.new-subscription { 
    background: linear-gradient(135deg, #8B0051, #A50064); 
}
.activity-icon.exam-completed { 
    background: linear-gradient(135deg, #C71585, #D63384); 
}
.activity-icon.question-added { 
    background: linear-gradient(135deg, #F59E0B, #FBBF24); 
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #6B7280;
}

/* Quick Actions */
.quick-actions {
    margin-top: 2rem;
}

.quick-actions h3 {
    color: #8B0051;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 81, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.action-card:hover {
    border-color: #8B0051;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 81, 0.15);
    color: inherit;
    text-decoration: none;
}

.action-icon {
    font-size: 1.5rem;
    color: #8B0051;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(139, 0, 81, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-card:hover .action-icon {
    background: #8B0051;
    color: white;
    transform: scale(1.1);
}

.action-content {
    flex: 1;
}

.action-content h4 {
    margin: 0 0 0.5rem 0;
    color: #8B0051;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-content p {
    margin: 0;
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Chart.js Customizations */
.chart-card canvas {
    border-radius: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header h2 {
        font-size: 2rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .chart-header select {
        width: 100%;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .dashboard-header h2 {
        font-size: 1.75rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .action-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .action-icon {
        align-self: center;
    }
}

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

.stat-card,
.chart-card,
.action-card {
    animation: fadeInUp 0.6s ease-out;
}

.stats-grid .stat-card:nth-child(1) { animation-delay: 0.1s; }
.stats-grid .stat-card:nth-child(2) { animation-delay: 0.2s; }
.stats-grid .stat-card:nth-child(3) { animation-delay: 0.3s; }
.stats-grid .stat-card:nth-child(4) { animation-delay: 0.4s; }
.stats-grid .stat-card:nth-child(5) { animation-delay: 0.5s; }
.stats-grid .stat-card:nth-child(6) { animation-delay: 0.6s; }

.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;
}

.breadcrumbs {
    margin-bottom: 20px;
    padding: 10px 0;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #666;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: #666;
    font-weight: 500;
}

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

.admin-main-content {
    margin-top: 70px;
}

.admin-sidebar {
    width: 250px;
    background-color: #2d3748; 
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    overflow-y: auto; 
    z-index: 998; 
    padding: 1rem 0;
    transition: transform 0.3s ease; 
}

.admin-sidebar.hidden {
    transform: translateX(-100%); 
}

.admin-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-sidebar li {
    margin: 0;
}

.admin-sidebar a {
    display: block;
    color: white; 
    text-decoration: none;
    padding: 0.8rem 1.5rem; 
    border-left: 3px solid transparent; 
}

.admin-sidebar a:hover {
    background-color: #4a5568; 
}

.admin-sidebar a.active { 
    background-color: #4299e1; 
    border-left-color: #6A0DAD; 
}

.admin-main-content {
    margin-left: 250px; 
    padding-top: 20px;
    transition: margin-left 0.3s ease; 
}

.admin-main-content.sidebar-hidden {
    margin-left: 0; 
}

.admin-mobile-sidebar-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%); 
    }
    .admin-sidebar.active {
        transform: translateX(0); 
    }
    .admin-main-content {
        margin-left: 0;
    }
    .admin-mobile-sidebar-toggle {
        display: block;
    }
}

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

.admin-user-info-header {
    color: #2D2D2D;
    font-weight: 500;
    margin-left: 1rem; 
}

.admin-logout-btn-header {
    margin-left: 1rem; 
}

body {
    background-color: #f0f0f0;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-form-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto; 
}

.site-header {
    position: relative; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
    margin-bottom: 2rem; 
}

.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 ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.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; 
}

.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;
}