/* 
   ShadowSurfer Website Styles
   Based on the app's color scheme and design
*/

/* ===== Variables ===== */
:root {
    /* Colors from AppTheme */
    --primary-color: #3A86FF;
    /* Vibrant Blue */
    --accent-color: #8338EC;
    /* Purple */
    --secondary-color: #5E60CE;
    /* Indigo */
    --background-color: #0A1128;
    /* Deep Navy */
    --card-color: #1A2C56;
    /* Navy Blue */
    --text-color: #F8F9FA;
    /* Off White */
    --light-text-color: rgba(0, 0, 0, 0.87);
    /* Off Black */
    --subtitle-color: #ADB5BD;
    /* Light Gray */
    --error-color: #FF5A5F;
    /* Coral Red */
    --success-color: #06D6A0;
    /* Mint Green */
    --warning-color: #FFD166;
    /* Mango */
    --info-color: #118AB2;
    /* Teal */
    --pro-badge-color: #FFC107;
    /* Amber */

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border Radius */
    --border-radius: 12px;
    --button-border-radius: 24px;

    /* Shadows */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --button-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    --hover-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--light-text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--button-border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: var(--button-shadow);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

/* ===== Header & Navigation ===== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: var(--spacing-sm);
}

.logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links ul {
    display: flex;
}

.nav-links ul li {
    margin-left: var(--spacing-lg);
}

.nav-links ul li a {
    color: var(--light-text-color);
    font-weight: 500;
    position: relative;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.fa-bars,
.fa-times {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f9f9f9, #e9ecef);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(131, 56, 236, 0.1));
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.1), rgba(58, 134, 255, 0.1));
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 80%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    color: var(--subtitle-color);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--subtitle-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-lg);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--subtitle-color);
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background-color: #f9f9f9;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: var(--spacing-lg);
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    color: var(--subtitle-color);
    margin-bottom: 0;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--subtitle-color);
}

.pricing-features ul {
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    margin-bottom: var(--spacing-sm);
    color: var(--subtitle-color);
}

.pricing-features i {
    margin-right: var(--spacing-sm);
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--error-color);
    display: inline;
}

.pricing-footer {
    text-align: center;
}

/* ===== FAQ Section ===== */
.faq {
    padding: var(--spacing-xxl) 0;
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(58, 134, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--subtitle-color);
    margin-bottom: 0;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    color: var(--subtitle-color);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    color: white;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A86FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

/* ===== Footer ===== */
footer {
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: var(--spacing-xxl);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-logo p {
    color: var(--subtitle-color);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: var(--spacing-lg);
}

.footer-links-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links-column ul li a {
    color: var(--subtitle-color);
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--subtitle-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.copyright {
    font-size: 0.9rem;
    color: var(--subtitle-color);
}

/* ===== Floating Donate Button ===== */
.floating-donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--pro-badge-color), var(--warning-color));
    color: var(--background-color);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
}

.floating-donate-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--background-color);
    border-color: var(--background-color);
}

.floating-donate-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: var(--spacing-xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        /* Ensure menu is hidden by default */
        transform: translateX(100%);
    }

    .nav-links.active {
        right: 0;
        transform: translateX(0);
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-links ul li {
        margin: var(--spacing-md) 0;
    }

    .fa-bars,
    .fa-times {
        display: block;
    }

    .fa-times {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        align-items: center;
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }

    .footer-links {
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .floating-donate-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .footer-links-column {
        text-align: center;
    }
}

/* ===== Delete Account Page ===== */
.delete-account-guide {
    max-width: 900px;
    margin: 0 auto;
}

.step-by-step {
    margin: var(--spacing-xl) 0;
}

.step {
    display: flex;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: var(--spacing-lg);
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    color: var(--subtitle-color);
    margin-bottom: var(--spacing-md);
}

.step-image {
    margin-top: var(--spacing-md);
    text-align: center;
}

.step-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
}

.important-note {
    background-color: rgba(255, 209, 102, 0.1);
    border-left: 4px solid var(--warning-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin: var(--spacing-xl) 0;
}

.important-note h3 {
    color: var(--warning-color);
    margin-top: 0;
}

.important-note ul {
    margin-bottom: 0;
}

.alternative-methods {
    background-color: rgba(58, 134, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin: var(--spacing-xl) 0;
}

.alternative-methods h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.note-box {
    background-color: rgba(17, 138, 178, 0.1);
    border-left: 4px solid var(--info-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin: var(--spacing-md) 0;
}

.note-box p {
    margin-bottom: 0;
    color: var(--info-color);
    font-weight: 500;
}

/* ===== Page Header and Content ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.content {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.content h2 {
    color: var(--primary-color);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
}

.content h3 {
    color: var(--secondary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.4rem;
}

.content p {
    margin-bottom: var(--spacing-md);
    color: var(--light-text-color);
}

.content ul,
.content ol {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.content ul li,
.content ol li {
    margin-bottom: var(--spacing-sm);
    color: var(--light-text-color);
}

.content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.content a:hover {
    color: var(--accent-color);
}

/* ===== Header Navigation for Legal Pages ===== */
header nav ul {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

header nav ul li a {
    color: var(--light-text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }
}