﻿/* ========== ROOT VARIABLES ========== */

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #d946ef;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    /* Dark Theme (Default) */
    --bg-primary: #0a0f1c;
    --bg-secondary: #161b22;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --border-color: #2d333b;
    --card-bg: #1a1f2e;
    --hover-bg: rgba(99, 102, 241, 0.1);
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
    --gradient-dark: linear-gradient(180deg, #0a0f1c, #161b22);
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Sizes */
    --container-width: 1400px;
    --section-padding: 100px 20px;
    --header-height: 80px;
}

/* Light Theme */
body:not(.dark-mode) {
    --bg-primary: #f9fafb;
    --bg-secondary: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --hover-bg: rgba(99, 102, 241, 0.05);
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ========== BACKGROUND ANIMATION ========== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    width: 150%;
    height: 150%;
    background: var(--gradient-primary);
    opacity: 0.03;
    animation: rotate 30s linear infinite;
}

.particle {
    position: absolute;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-40px) translateX(20px);
    }

    50% {
        transform: translateY(20px) translateX(-20px);
    }

    75% {
        transform: translateY(-20px) translateX(30px);
    }
}


/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: width 0.3s;
    }

    .nav-link:hover {
        color: var(--primary-light);
    }

        .nav-link:hover::after {
            width: 100%;
        }

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Buttons */
.theme-toggle, .lang-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
}

    .theme-toggle:hover, .lang-toggle:hover {
        transform: rotate(45deg);
        background: var(--primary);
        color: white;
    }

.cart-link {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}



/* ========== MOBILE MENU - نفس شكل الـ Index ========== */
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 110px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    width: 280px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* للغة العربية - القيمة تظهر على اليسار */
[dir="rtl"] .mobile-nav-menu {
   
    left: 20px;
    right: auto;
}

/* للغة الإنجليزية - القيمة تظهر على اليمين */
[dir="ltr"] .mobile-nav-menu {
    right: 20px;
    left: auto;
}

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

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 10px 0;
}

/* الروابط العادية */
.mobile-nav-menu .nav-link {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--hover-bg);
    border: 1px solid transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
}

    .mobile-nav-menu .nav-link:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* الخط الفاصل */
.mobile-controls-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
    list-style: none;
}

/* ========== MOBILE CONTROLS ========== */
.mobile-controls-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 0;
    list-style: none;
}

.mobile-controls {
    list-style: none;
    margin-top: 10px;
}

.mobile-controls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* نفس شكل الـ nav-link بالظبط */
.mobile-control-btn {
    display: block;
    padding: 12px 15px;
    border-radius: 12px;
    background: var(--card-bg); /* نفس خلفية القائمة */
    backdrop-filter: blur(10px); /* نفس تأثير الزجاج */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); /* نفس لون الحدود */
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}


    .mobile-control-btn i {
        margin-left: 8px;
        font-size: 16px;
    }

    /* نفس تأثير hover بتاع الـ nav-link */
    .mobile-control-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    /* زر إنشاء حساب مختلف شوية (ممكن تحتفظ بيه أو تشيله) */
    .mobile-control-btn.signup-btn {
        background: var(--gradient-primary);
        color: white;
        border: none;
        box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    }

        .mobile-control-btn.signup-btn:hover {
            background: var(--gradient-primary);
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(99, 102, 241, 0.4);
        }

/* RTL Support */
[dir="rtl"] .mobile-control-btn i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="ltr"] .mobile-control-btn i {
    margin-right: 8px;
    margin-left: 0;
}

/* إظهار القائمة في الموبايل */
@media (max-width: 768px) {
    .mobile-nav-menu {
        display: block;
    }
}
/* ========== PAGE CONTENT ========== */
.page-content {
    flex: 1;
    padding: 100px 0 2rem;
    margin-top: 0;
}

.page {
    display: none;
}

    .page.active {
        display: block;
    }

/* ========== HERO SECTION ========== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(40px, 7vw, 70px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

    .hero-title span {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 35px;
    border-radius: 40px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    }

/* ========== PRODUCTS SECTION ========== */
.products-section {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: clamp(30px, 5vw, 45px);
        font-weight: 800;
        margin-bottom: 15px;
    }

        .section-header h2 span {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 2;
}

.image-zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    color: var(--primary);
    font-size: 18px;
}

.product-image:hover .image-zoom-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.btn-buy, .btn-details {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
}

.btn-buy {
    background: var(--gradient-primary);
    color: white;
}

    .btn-buy:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    }

.btn-details {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

    .btn-details:hover {
        background: var(--hover-bg);
        border-color: var(--primary);
    }

/* ========== SKILLS SECTION ========== */
.skills-section {
    padding: 2rem 0;
}

.skills-category {
    margin-bottom: 3rem;
}

    .skills-category h3 {
        color: var(--primary);
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

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

.skill-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

    .skill-item:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

.skill-icon {
    font-size: 2rem;
    color: var(--primary);
}

.skill-info {
    flex: 1;
}

    .skill-info h4 {
        margin: 0 0 0.5rem 0;
        color: var(--text-primary);
        font-size: 18px;
    }

.skill-level {
    background: var(--hover-bg);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    background: var(--gradient-primary);
    height: 100%;
    transition: width 1s ease-in-out;
}

.skill-percent {
    color: var(--primary);
    font-weight: bold;
}

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

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

.project-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

    .service-item:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

    .service-item i {
        font-size: 1.5rem;
        color: var(--primary);
    }

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 2rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 2rem;
}

    .contact-info h3, .contact-form h3 {
        margin-bottom: 1.5rem;
        color: var(--primary);
        font-size: 24px;
    }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px 20px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

    .contact-link:hover {
        background: var(--gradient-primary);
        color: white;
        transform: translateX(-5px);
    }

    .contact-link i {
        font-size: 20px;
        color: var(--primary);
    }

    .contact-link:hover i {
        color: white;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--text-primary);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px 20px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 15px;
        color: var(--text-primary);
        font-size: 16px;
        transition: all 0.3s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

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

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    }

/* ========== AUTH SECTION ========== */
.auth-section {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.auth-tab {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

    .auth-tab.active {
        color: var(--primary);
        border-bottom: 2px solid var(--primary);
    }

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
    }

/* ========== CART SECTION ========== */
.cart-section {
    padding: 2rem 0;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

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

.cart-item-image img {
    width: 100%;
    border-radius: 12px;
}

.cart-item-details h3 {
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

    .quantity-btn:hover {
        background: var(--primary);
        color: white;
    }

.quantity-input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
}

.cart-summary {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 1.5rem;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

    .summary-row:last-child {
        border-bottom: none;
    }

.summary-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 10px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

    .btn-checkout:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    }

.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ========== MODALS ========== */
.product-modal, .image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

    .modal-header h2 {
        font-size: 24px;
        font-weight: 700;
    }

.close-modal {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

    .close-modal:hover {
        color: var(--danger);
        transform: rotate(90deg);
    }

.modal-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-gallery img {
    width: 100%;
    border-radius: 20px;
}

.product-video {
    width: 100%;
    border-radius: 8px;
}

.product-details h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-details .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-features {
    margin-bottom: 1.5rem;
}

    .product-features ul {
        list-style: none;
    }

    .product-features li {
        margin-bottom: 0.5rem;
        padding-right: 1.5rem;
        position: relative;
        color: var(--text-secondary);
    }

        .product-features li:before {
            content: "✓";
            position: absolute;
            right: 0;
            color: var(--primary);
            font-weight: bold;
        }

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

    .image-modal-content img {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
    }

.close-image-modal {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

    .close-image-modal:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateX(-50%) rotate(90deg);
    }

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.btn-request {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

    .btn-request:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    }

.hero-button-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 15px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s ease;
    z-index: 9999;
    border-left: 4px solid var(--primary);
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

/* ========== CART NOTIFICATION ========== */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    min-width: 320px;
    overflow: hidden;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
}

.notification-icon {
    font-size: 24px;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-product {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 13px;
}

.notification-details {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.notification-price {
    color: var(--primary);
    font-weight: bold;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .notification-close:hover {
        background: rgba(0,0,0,0.1);
        color: #666;
    }

.notification-progress {
    height: 3px;
    background: var(--primary);
    width: 100%;
    animation: progressBar 4s linear forwards;
}

@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* ========== FOOTER (من الصفحة الرئيسية) ========== */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col:first-child {
    max-width: 300px;
}

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

.footer-logo-img {
    width: 40px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

.footer-logo span {
    font-size: 22px;
    font-weight: 800;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

    .social-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: var(--primary);
    }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

    .footer-link:hover {
        color: var(--primary);
    }

/* ========== RTL SPECIFIC ========== */
[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .cart-link {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] .contact-link:hover {
    transform: translateX(5px);
}

[dir="rtl"] .btn-primary i,
[dir="rtl"] .btn-signup i {
    transform: rotate(180deg);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: auto;
        max-height: 80vh;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        gap: 15px;
        overflow-y: auto;
    }

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

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

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 12px;
        background: var(--hover-bg);
    }

        .nav-link::after {
            display: none;
        }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-login, .btn-signup {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

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

    .modal-body {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-buy, .btn-details {
        margin: 0;
    }

    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
    }

    .cart-item-quantity {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col:first-child {
        max-width: 100%;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    body {
        padding-top: 70px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .contact-info, .contact-form {
        padding: 25px;
    }

    .cart-notification {
        min-width: 280px;
        right: 10px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* Header Styles */
header {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: var(--container-width) !important;
    height: var(--header-height) !important;
    background: var(--card-bg) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 60px !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1000 !important;
    transition: all 0.3s !important;
    box-shadow: var(--shadow-md) !important;
}

    header.scrolled {
        top: 10px !important;
        box-shadow: var(--shadow-lg) !important;
    }

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Logo Styles */
.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.logo-img {
    width: 40px !important;
    height: 50px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6)) !important;
}

.logo {
    font-size: 24px !important;
    font-weight: 800 !important;
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: -1px !important;
}
.btn-login {
    padding: 12px 28px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

    .btn-login:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

.btn-signup {
    padding: 12px 28px;
    border-radius: 30px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

    .btn-signup:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    }

/* Navigation Menu */
nav ul {
    display: flex !important;
    list-style: none !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

    nav ul li {
        margin: 0 !important;
    }

        nav ul li a {
            color: var(--text-primary) !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            font-size: 16px !important;
            transition: color 0.3s !important;
            position: relative !important;
            padding: 5px 0 !important;
        }

            nav ul li a::after {
                content: '' !important;
                position: absolute !important;
                bottom: -5px !important;
                left: 0 !important;
                width: 0 !important;
                height: 2px !important;
                background: var(--gradient-primary) !important;
                transition: width 0.3s !important;
            }

            nav ul li a:hover {
                color: var(--primary-light) !important;
            }

                nav ul li a:hover::after {
                    width: 100% !important;
                }

/* Header Controls */
.header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.theme-toggle, .lang-toggle {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: var(--hover-bg) !important;
    border: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    color: var(--text-primary) !important;
    font-size: 18px !important;
}

    .theme-toggle:hover, .lang-toggle:hover {
        transform: rotate(45deg) !important;
        background: var(--primary) !important;
        color: white !important;
    }

.user-actions {
    display: flex !important;
    align-items: center !important;
}

    .user-actions a {
        color: var(--text-primary) !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 16px !important;
        padding: 8px 16px !important;
        border-radius: 30px !important;
        transition: all 0.3s !important;
        position: relative !important;
    }

        .user-actions a:hover {
            background: var(--primary) !important;
            color: white !important;
        }

/* Cart styles */
#nav-cart {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

    #nav-cart::before {
        content: '\f07a' !important;
        font-family: 'Font Awesome 6 Free' !important;
        font-weight: 900 !important;
        font-size: 18px !important;
    }

/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn {
    display: none !important;
}

/* RTL Specific */
[dir="rtl"] nav ul li a::after {
    left: auto !important;
    right: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0 20px !important;
    }

    nav ul {
        display: none !important; /* Hide desktop menu on mobile */
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }

        .mobile-menu-btn span {
            width: 30px !important;
            height: 3px !important;
            background: var(--text-primary) !important;
            border-radius: 3px !important;
            transition: all 0.3s !important;
        }

        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 6px) !important;
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0 !important;
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -5px) !important;
        }

    .header-controls {
        gap: 10px !important;
    }

    .theme-toggle, .lang-toggle {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .user-actions a {
        padding: 6px 12px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0 15px !important;
    }

    .logo {
        font-size: 20px !important;
    }

    .logo-img {
        width: 35px !important;
        height: 45px !important;
    }

    .theme-toggle, .lang-toggle {
        width: 35px !important;
        height: 35px !important;
    }

    .user-actions a {
        padding: 4px 8px !important;
        font-size: 13px !important;
    }
}
/* ========== HERO SECTION STYLES FROM MAIN PAGE ========== */
.hero {
    min-height: 70vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 120px 20px 60px !important;
    width: 100% !important;
    color: var(--text-primary) !important;
}

    .hero .container {
        width: 100% !important;
        max-width: 1800px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

.hero-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    animation: slideInLeft 1s ease-out !important;
}

/* Hero Badge - مش موجود حالياً لكن هنضيفه لو حبيت */
.hero-badge {
    display: inline-block !important;
    padding: 8px 20px !important;
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #818cf8 !important;
    margin-bottom: 25px !important;
    backdrop-filter: blur(10px) !important;
}

.hero-content h1 {
    font-size: clamp(40px, 7vw, 70px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    color: var(--text-primary) !important;
}

    .hero-content h1 span {
        background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        display: inline-block !important;
    }

.hero-content p {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 40px !important;
    line-height: 1.6 !important;
}

.hero-content .btn {
    display: inline-block !important;
    padding: 16px 35px !important;
    border-radius: 40px !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
}

    .hero-content .btn:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4) !important;
    }

/* Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh !important;
        padding: 100px 15px 40px !important;
    }

    .hero-content h1 {
        font-size: 32px !important;
    }

    .hero-content p {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }

    .hero-content .btn {
        padding: 14px 30px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px !important;
    }

    .hero-content .btn {
        padding: 12px 25px !important;
        width: 100% !important;
    }
}
/* ========== FOOTER STYLES FROM MAIN PAGE ========== */
footer {

    border-top: 1px solid var(--border-color) !important;
    padding: 80px 20px 30px !important;
    margin-top: auto !important;
    color: var(--text-primary) !important;
}

    footer .container {
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

.footer-content {
    display: grid !important;
    grid-template-columns: 2fr repeat(2, 1fr) !important;
    gap: 40px !important;
    margin-bottom: 60px !important;
}

.footer-column:first-child {
    max-width: 400px !important;
}

.footer-column h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-primary) !important;
    position: relative !important;
}

    .footer-column h3::after {
        content: '' !important;
        position: absolute !important;
        bottom: -8px !important;
        left: 0 !important;
        width: 50px !important;
        height: 3px !important;
        background: var(--gradient-primary) !important;
        border-radius: 3px !important;
    }

.footer-column p {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

    .footer-column ul li {
        margin-bottom: 12px !important;
    }

        .footer-column ul li a {
            color: var(--text-secondary) !important;
            text-decoration: none !important;
            transition: all 0.3s !important;
            font-size: 14px !important;
            display: inline-block !important;
        }

            .footer-column ul li a:hover {
                color: var(--primary) !important;
                transform: translateX(5px) !important;
            }

/* Social Links - لو عايز تضيفها */
.social-links {
    display: flex !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.social-link {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--hover-bg) !important;
    border: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

    .social-link:hover {
        background: var(--gradient-primary) !important;
        color: white !important;
        transform: translateY(-3px) !important;
    }

/* Copyright */
.copyright {
    text-align: center !important;
    padding-top: 30px !important;
    border-top: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    font-size: 14px !important;
}

    .copyright p {
        margin: 0 !important;
    }

    .copyright a {
        color: var(--primary-light) !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        transition: color 0.3s !important;
    }

        .copyright a:hover {
            color: var(--primary) !important;
        }

/* RTL Support */
[dir="rtl"] .footer-column h3::after {
    left: auto !important;
    right: 0 !important;
}

[dir="rtl"] .footer-column ul li a:hover {
    transform: translateX(-5px) !important;
}

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

    .footer-column:first-child {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 20px 20px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-column h3::after {
        width: 40px !important;
    }

    .social-links {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .footer-column ul li a {
        font-size: 13px !important;
    }

    .copyright {
        font-size: 12px !important;
    }
}
/* Mobile Controls */
.mobile-controls-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 0;
    list-style: none;
}

.mobile-controls {
    list-style: none;
    margin-top: 10px;
}

.mobile-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* تقسيم المساحة لنصفين متساويين */
    gap: 10px;
    padding: 10px 0;
}

.mobile-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
}
    .mobile-control-btn i {
        font-size: 16px;
    }

    .mobile-control-btn:hover {
        background: var(--gradient-primary);
        color: white;
        transform: translateY(-2px);
    }




@media (min-width: 769px) {
    .mobile-controls {
        display: none; /* إخفاء أزرار الموبايل في الديسكتوب */
    }
}
/* إخفاء أزرار اللغة والثيم من الهيدر في الموبايل */
@media (max-width: 768px) {
    .header-controls .theme-toggle,
    .header-controls .lang-toggle,
    .header-controls .btn-signup,
    .header-controls .btn-login {
        display: none !important;
    }
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

    .footer-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: width 0.3s ease;
    }

[dir="rtl"] .footer-link::after {
    left: auto;
    right: 0;
}

.footer-link:hover {
    color: var(--primary-light);
}

    .footer-link:hover::after {
        width: 100%;
    }