    :root {
            --primary-dark: #0a0f1d;
            --primary: #1a365d;
            --accent: #d4af37;
            --accent-light: #f7e7b2;
            --text: #f8fafc;
            --text-light: #cbd5e1;
            --white: #ffffff;
            --card-bg: rgba(255, 255, 255, 0.05);
            --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --border-radius: 20px;
            --shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
            --mobile-padding: 1.25rem;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        @media (max-width: 768px) {
            html {
                font-size: 14px;
            }
        }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--primary-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    

        h1, h2, h3, h4, h5, h6 {
            font-family: 'El Messiri', serif;
            font-weight: 700;
            line-height: 1.3;
        }

        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 var(--mobile-padding);
        }

        @media (min-width: 768px) {
            .container {
                padding: 0 2rem;
            }
        }

        section {
            padding: 5rem 0;
            position: relative;
        }

        @media (max-width: 768px) {
            section {
                padding: 3rem 0;
            }
        }

        /* Header Styles - Mobile First */
        header {
            background: rgba(10, 15, 29, 0.95);
            backdrop-filter: blur(20px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            z-index: 1000;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            transition: var(--transition);
        }

        header.scrolled {
            padding: 0.75rem 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 3rem;
            height: 3rem;
            background: var(--accent);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-dark);
            font-size: 1.25rem;
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
        }

        @media (min-width: 768px) {
            .logo-icon {
                width: 4rem;
                height: 4rem;
                font-size: 1.5rem;
            }
        }

        .logo-text {
            font-family: 'El Messiri', serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text);
            white-space: nowrap;
        }

        @media (min-width: 768px) {
            .logo-text {
                font-size: 1.75rem;
            }
        }

        .logo-text span {
            color: var(--accent);
        }

        /* Desktop Navigation */
        .desktop-nav {
            display: none;
        }

        @media (min-width: 1024px) {
            .desktop-nav {
                display: flex;
                align-items: center;
                gap: 2rem;
            }

            .desktop-nav ul {
                display: flex;
                list-style: none;
                gap: 2.5rem;
            }

            .desktop-nav ul li a {
                color: var(--text);
                text-decoration: none;
                font-weight: 500;
                font-size: 1.1rem;
                transition: var(--transition);
                position: relative;
                padding: 0.5rem 0;
            }

            .desktop-nav ul li a::after {
                content: '';
                position: absolute;
                bottom: 0;
                right: 0;
                width: 0;
                height: 2px;
                background: var(--accent);
                transition: var(--transition);
            }

            .desktop-nav ul li a:hover {
                color: var(--accent);
            }

            .desktop-nav ul li a:hover::after {
                width: 100%;
            }
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .language-switcher {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(212, 175, 55, 0.3);
            color: var(--text);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Tajawal', sans-serif;
            font-size: 0.9rem;
        }

        .language-switcher:hover {
            background: rgba(212, 175, 55, 0.1);
            border-color: var(--accent);
        }

        @media (max-width: 767px) {
            .language-switcher span {
                display: none;
            }
            
            .language-switcher {
                padding: 0.5rem;
            }
        }

        .cta-button {
            background: var(--accent);
            color: var(--primary-dark);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
            white-space: nowrap;
        }

        .cta-button:hover {
            background: var(--accent-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        }

        @media (max-width: 767px) {
            .cta-button {
                display: none;
            }
        }

        .mobile-menu {
            display: block;
            font-size: 1.5rem;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--text);
            padding: 0.25rem;
        }

        @media (min-width: 1024px) {
            .mobile-menu {
                display: none;
            }
        }

        /* Hero Section - Advanced Mobile Layout */
     .hero {
    background: linear-gradient(135deg, rgb(10 15 29) 0%, rgb(26 54 93 / 50%) 100%), 
                url("/assets/img/03.jpg");
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

        
        @media (max-width: 767px) {
            .hero {
                padding: 6rem 0 2rem;
                min-height: auto;
            }
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 3rem;
            width: 100%;
        }

        @media (min-width: 1024px) {
            .hero-content {
                flex-direction: row;
                align-items: center;
                gap: 4rem;
            }
        }

        .hero-text {
            flex: 1;
            text-align: center;
        }

        @media (min-width: 1024px) {
            .hero-text {
                text-align: right;
            }
        }

        .hero-text h1 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .hero-text h1 {
                font-size: 3.5rem;
            }
        }

        .hero-text h1 span {
            color: var(--accent);
            position: relative;
        }

        .hero-text h1 span::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 100%;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
            
            display: none;

        }

        .hero-text p {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        @media (min-width: 768px) {
            .hero-text p {
                font-size: 1.25rem;
            }
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        @media (min-width: 1024px) {
            .hero-buttons {
                justify-content: flex-start;
            }
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            transition: var(--transition);
            cursor: pointer;
            text-align: center;
            justify-content: center;
            min-width: 160px;
        }

        @media (max-width: 767px) {
            .btn {
                width: 100%;
                max-width: 280px;
            }
        }

        .btn-primary {
            background: var(--accent);
            color: var(--primary-dark);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
        }

        .btn-primary:hover {
            background: var(--accent-light);
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text);
            border: 2px solid var(--accent);
        }

        .btn-secondary:hover {
            background: rgba(212, 175, 55, 0.1);
            transform: translateY(-3px);
        }

        .hero-visual {
            flex: 1;
            position: relative;
        }
/* إصلاح visual-card في الهيرو */
.visual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
}

@media (min-width: 768px) {
    .visual-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        height: auto; /* تغيير من 400px إلى auto */
        min-height: 300px; /* ارتفاع أدنى */
    }
}

.visual-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: visible; /* تغيير من hidden إلى visible */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    min-height: 200px; /* ارتفاع أدنى للمربعات الصغيرة */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .visual-card {
        padding: 2.5rem;
        min-height: 220px;
    }
}

.visual-card.large {
    grid-column: 1 / -1;
    min-height: 180px; /* ارتفاع أقل للمربع الكبير */
}

@media (min-width: 768px) {
    .visual-card.large {
        min-height: 200px;
    }
}

/* تحسين المحتوى داخل المربعات */
.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-size: 1.5rem;
    flex-shrink: 0; /* منع التقلص */
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.3;
    word-break: break-word;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.5rem;
    }
    
    .visual-card.large .card-title {
        font-size: 1.4rem; /* حجم أصغر قليلاً للعنوان الطويل */
    }
}

.visual-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1; /* السماح للنص بالتمدد */
}

/* تحسين الإحصائيات */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    flex-shrink: 0; /* منع تقلص الإحصائيات */
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-height: 80px; /* ارتفاع أدنى لعناصر الإحصائيات */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--accent);
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.9rem;
    }
}

/* تحسين خاص للعنوان الطويل في الإنجليزي */
.visual-card.large .card-title.en {
    font-size: 1.3rem;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .visual-card.large .card-title.en {
        font-size: 1.5rem;
    }
}
        
        /* Content Section - Advanced Mobile Layout */
        .content-section {
            background: var(--primary);
            position: relative;
        }

        .content-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path fill="rgba(212,175,55,0.03)" d="M0,100 L1000,0 L1000,1000 L0,1000 Z"/></svg>');
            background-size: cover;
        }

        .content-grid {
            display: flex;
            flex-direction: column;
            gap: 3rem;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 1024px) {
            .content-grid {
                flex-direction: row;
                gap: 4rem;
                align-items: start;
            }
        }

        .content-text {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2.5rem 2rem;
            border: 1px solid rgba(212, 175, 55, 0.3);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow);
            flex: 1;
        }

        @media (min-width: 768px) {
            .content-text {
                padding: 3rem 2.5rem;
            }
        }

        .content-text h2 {
            font-size: 2rem;
            margin-bottom: 2rem;
            color: var(--text);
            text-align: center;
        }

        @media (min-width: 768px) {
            .content-text h2 {
                font-size: 2.5rem;
            }
        }

        .content-text p {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .content-visual {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            flex: 1;
        }

        @media (min-width: 1024px) {
            .content-visual {
                position: sticky;
                top: 6rem;
            }
        }

        .feature-card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2rem 1.5rem;
            border: 1px solid rgba(212, 175, 55, 0.3);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
            z-index: 0;
        }

        @media (min-width: 768px) {
            .feature-card {
                padding: 2.5rem 2rem;
            }
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
        }

        .feature-card::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: var(--accent);
        }

        .feature-icon {
            width: 4rem;
            height: 4rem;
            background: var(--accent);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
            font-size: 1.75rem;
            box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
            position: relative;
            z-index: 1;
        }

        .feature-card h3 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: var(--text);
            position: relative;
            z-index: 1;
        }

        @media (min-width: 768px) {
            .feature-card h3 {
                font-size: 1.5rem;
            }
        }

        .feature-card p {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.7;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 768px) {
            .feature-card p {
                font-size: 1.1rem;
            }
        }

        /* Process Section - Mobile Optimized */
        .process {
            background: var(--primary-dark);
            position: relative;
            overflow: hidden;
        }

        .process::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        @media (min-width: 768px) {
            .section-header {
                margin-bottom: 5rem;
            }
        }

        .section-header h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
            color: var(--text);
        }

        @media (min-width: 768px) {
            .section-header h2 {
                font-size: 3rem;
            }
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -0.75rem;
            right: 50%;
            transform: translateX(50%);
            width: 4rem;
            height: 0.25rem;
            background: var(--accent);
            border-radius: 0.125rem;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
        }

        @media (min-width: 768px) {
            .section-header p {
                font-size: 1.25rem;
            }
        }

        .process-timeline {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 768px) {
            .process-timeline {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .process-timeline {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .process-step {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2.5rem 2rem;
            text-align: center;
            border: 1px solid rgba(212, 175, 55, 0.3);
            position: relative;
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .process-step:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .process-step::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: var(--accent);
        }

        .step-number {
            position: absolute;
            top: -1.25rem;
            right: 50%;
            transform: translateX(50%);
            width: 2.5rem;
            height: 2.5rem;
            background: var(--accent);
            color: var(--primary-dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1rem;
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
        }

        .step-icon {
            width: 5rem;
            height: 5rem;
            background: var(--accent);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--primary-dark);
            font-size: 2rem;
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
        }

        .process-step h3 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: var(--text);
        }

        @media (min-width: 768px) {
            .process-step h3 {
                font-size: 1.5rem;
            }
        }

        .process-step p {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.6;
        }

        @media (min-width: 768px) {
            .process-step p {
                font-size: 1.1rem;
            }
        }

/* Stats Section - Updated for 3 Cards */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    position: relative;
}

@media (min-width: 768px) {
    .stats-section {
        padding: 6rem 0;
    }
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
    }
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    z-index: 0;
}

@media (min-width: 768px) {
    .stat-card {
        padding: 3rem 2rem;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
}

.stat-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .stat-card .icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
}

.stat-card:hover .icon {
    transform: scale(1.1);
    color: var(--accent-light);
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .stat-card .value {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

.stat-card:hover .value {
    color: var(--accent);
    transform: scale(1.05);
}

.stat-card .label {
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    font-weight: 600;
}

@media (min-width: 768px) {
    .stat-card .label {
        font-size: 1.2rem;
    }
}

.stat-card:hover .label {
    color: var(--text);
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }
    
    .stat-card .icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-card .value {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card .label {
        font-size: 0.85rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }
    
    .stat-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Enhanced Animations */
@keyframes statPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-card {
    animation: statPulse 4s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

/* Responsive Typography */
@media (max-width: 480px) {
    .stat-card .value {
        font-size: 1.5rem;
    }
    
    .stat-card .label {
        font-size: 0.8rem;
    }
    
    .stat-card .icon {
        font-size: 1.75rem;
    }
}

/* Hover Effects for Non-touch Devices */
@media (hover: hover) and (pointer: fine) {
    .stat-card:hover {
        animation: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .stat-card:active {
        transform: scale(0.98);
    }
    
    .stat-card {
        animation: none;
    }
}        /* Footer - Mobile Optimized */
        footer {
            background: var(--primary);
            padding: 4rem 0 2rem;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
        }

        @media (min-width: 768px) {
            footer {
                padding: 5rem 0 2.5rem;
            }
        }

        .footer-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        @media (min-width: 768px) {
            .footer-container {
                grid-template-columns: 2fr 1fr 1fr;
                gap: 4rem;
            }
        }

        .footer-column h3 {
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.75rem;
            color: var(--text);
        }

        @media (min-width: 768px) {
            .footer-column h3 {
                font-size: 1.5rem;
                margin-bottom: 2rem;
            }
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 2.5rem;
            height: 2px;
            background: var(--accent);
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 0.75rem;
        }

        .footer-column ul li a {
            color: var(--text-light);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
        }

        @media (min-width: 768px) {
            .footer-column ul li a {
                font-size: 1.1rem;
            }
        }

        .footer-column ul li a:hover {
            color: var(--accent);
            padding-right: 0.5rem;
        }

        .social-links {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            width: 2.5rem;
            height: 2.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text);
            font-size: 1.1rem;
            transition: var(--transition);
            border: 1px solid rgba(212, 175, 55, 0.2);
        }

        @media (min-width: 768px) {
            .social-links a {
                width: 3rem;
                height: 3rem;
                font-size: 1.25rem;
            }
        }

        .social-links a:hover {
            background: var(--accent);
            color: var(--primary-dark);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
            color: var(--text-light);
            font-size: 0.9rem;
        }

        /* Mobile Menu */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: var(--primary-dark);
            z-index: 999;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            padding: 6rem 1.5rem 2rem;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav ul {
            list-style: none;
            flex: 1;
        }

        .mobile-nav ul li {
            margin-bottom: 1.5rem;
        }

        .mobile-nav ul li a {
            color: var(--text);
            text-decoration: none;
            font-size: 1.25rem;
            font-weight: 600;
            display: block;
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
            transition: var(--transition);
        }

        .mobile-nav ul li a:hover {
            color: var(--accent);
            padding-right: 1rem;
        }

        .mobile-nav-actions {
            padding-top: 2rem;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
        }

        .close-menu {
            position: absolute;
            top: 1.5rem;
            left: 1.5rem;
            background: none;
            border: none;
            color: var(--text);
            font-size: 1.75rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .floating {
            animation: floating 8s ease-in-out infinite;
        }

        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        /* Enhanced Mobile Interactions */
        @media (max-width: 767px) {
            .btn {
                padding: 1.25rem 2rem;
                font-size: 1.1rem;
            }
            
            .visual-card {
                padding: 1.5rem;
            }
            
            .feature-card {
                padding: 1.5rem;
            }
            
            .process-step {
                padding: 2rem 1.5rem;
            }
            
            .stat-card {
                padding: 1.5rem 1rem;
            }
        }

        /* Touch-friendly improvements */
        @media (hover: none) {
            .btn:hover,
            .cta-button:hover,
            .feature-card:hover,
            .process-step:hover,
            .stat-card:hover {
                transform: none;
            }
            
            .btn:active,
            .cta-button:active {
                transform: scale(0.98);
            }
        }

        /* New Image Styles */
        .image-container {
            position: relative;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .image-container img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition);
        }

        .image-overlay {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(10, 15, 29, 0.3) 0%, rgba(10, 15, 29, 0.7) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }

        .image-container:hover .image-overlay {
            opacity: 1;
        }

        .image-container:hover img {
            transform: scale(1.05);
        }

        .image-text {
            color: var(--text);
            font-size: 1.5rem;
            font-weight: 700;
            text-align: center;
            padding: 1rem;
        }

        /* Legal Images Section */
        .legal-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }

        @media (min-width: 768px) {
            .legal-images {
                grid-template-columns: repeat(4, 1fr);
                gap: 2rem;
            }
        }

        .legal-image-item {
            border-radius: var(--border-radius);
            overflow: hidden;
            height: 200px;
            position: relative;
        }

        @media (min-width: 768px) {
            .legal-image-item {
                height: 250px;
            }
        }

        .legal-image-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .legal-image-item:hover img {
            transform: scale(1.1);
        }

        .legal-image-caption {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(10, 15, 29, 0.9) 0%, transparent 100%);
            padding: 1rem;
            color: var(--text);
            font-weight: 600;
            text-align: center;
        }
        .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 55px;
    height: auto;
    object-fit: contain;
}
