
/* ============ HEADER FIX - ALIGNEMENT PARFAIT ============ */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(30, 64, 175, 0.05);
}

.nav-menu a.active {
    color: var(--primary);
    background: rgba(30, 64, 175, 0.08);
    font-weight: 600;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
    color: white !important;
    padding: 0.6rem 1rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.3s !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
    background: linear-gradient(135deg, var(--accent-hover), #991b1b) !important;
}

/* Language Dropdown - Aligné avec le reste */
.lang-dropdown {
    position: relative;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg);
    border: 2px solid var(--border);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text);
    min-width: 140px;
    justify-content: space-between;
    white-space: nowrap;
}

.lang-dropdown-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown-toggle .lang-flag {
    font-size: 1.1rem;
}

.lang-dropdown-toggle .lang-name {
    flex: 1;
    text-align: left;
}

.lang-dropdown-toggle .lang-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s;
    margin-left: 0.5rem;
}

.lang-dropdown.open .lang-dropdown-toggle .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
}

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

.lang-dropdown-item:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.lang-dropdown-item.active {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.lang-dropdown-item .lang-flag {
    font-size: 1.2rem;
}

.lang-dropdown-item .lang-info {
    display: flex;
    flex-direction: column;
}

.lang-dropdown-item .lang-info .lang-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-dropdown-item .lang-info .lang-native {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* RTL Support */
html[dir="rtl"] .nav-container {
    direction: rtl;
}

html[dir="rtl"] .nav-menu {
    direction: rtl;
}

html[dir="rtl"] .lang-dropdown {
    margin-left: 0;
    margin-right: 0.5rem;
    padding-left: 0;
    padding-right: 0.5rem;
    border-left: none;
    border-right: 1px solid var(--border);
}

html[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-dropdown-toggle .lang-name {
    text-align: right;
}

/* Mobile */
@media (max-width: 1100px) {
    .nav-menu {
        gap: 0.15rem;
    }
    .nav-menu a {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
    }
    .nav-cta {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem;
    }
    .lang-dropdown-toggle {
        min-width: 120px;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        transition: transform 0.3s;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        justify-content: center;
    }

    .lang-dropdown {
        margin: 1rem 0 0;
        padding: 1rem 0 0;
        border-left: none;
        border-top: 1px solid var(--border);
        justify-content: center;
        width: 100%;
    }

    .lang-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown-menu {
        right: 0;
        left: 0;
        width: 100%;
    }

    html[dir="rtl"] .lang-dropdown {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }
}

/* allo-docteur.com - Styles communs */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --success: #16a34a;
    --warning: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.arabic {
    font-family: 'Noto Naskh Arabic', 'Scheherazade New', serif;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ HERO ============ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #e0f2fe 100%);
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-subtitle.arabic {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    height: 480px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

/* ============ SECTIONS ============ */
.section {
    padding: 5rem 1.5rem;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: linear-gradient(135deg, var(--bg-dark), #1e293b);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: #94a3b8;
}

/* ============ FEATURE CARDS ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-card .arabic {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ============ PROCESS STEPS ============ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============ SERVICES ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.2);
}

.service-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.service-tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    font-weight: 600;
}

/* ============ ZONES ============ */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.zone-item {
    background: var(--bg);
    padding: 0.9rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.zone-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* ============ TARIFS ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 2px solid var(--border);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 1rem 0;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-list {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ============ TEAM ============ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.team-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card .info {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ============ FAQ ============ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    margin-bottom: 0.75rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
    gap: 1rem;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    font-weight: 300;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 300px;
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-section .arabic {
    font-size: 1.3rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: var(--accent);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 10px 50px rgba(220, 38, 38, 0.3); }
}

.cta-phone:hover {
    transform: scale(1.05);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ============ FLOATING CTA ============ */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.phone {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    animation: pulse-ring 2s infinite;
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse-ring 2s infinite 0.5s;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

    .zones-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .process-step:not(:last-child)::after {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        transition: transform 0.3s;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .lang-switch {
        margin: 1rem 0 0;
        padding: 1rem 0 0;
        border-left: none;
        border-top: 1px solid var(--border);
        justify-content: center;
    }

    .mobile-toggle {
        display: block;
    }

    

    .hero {
        padding-top: 120px;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid,
    .team-grid,
    .zones-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

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

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .cta-phone {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}

/* ============ LANGUAGE SELECTOR DROPDOWN ============ */
.lang-dropdown {
    position: relative;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg);
    border: 2px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text);
    min-width: 120px;
    justify-content: space-between;
}

.lang-dropdown-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown-toggle .lang-flag {
    font-size: 1.2rem;
}

.lang-dropdown-toggle .lang-code {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-dropdown-toggle .lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
    margin-left: 0.5rem;
}

.lang-dropdown.open .lang-dropdown-toggle .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
}

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

.lang-dropdown-item:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.lang-dropdown-item.active {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.lang-dropdown-item .lang-flag {
    font-size: 1.3rem;
}

.lang-dropdown-item .lang-info {
    display: flex;
    flex-direction: column;
}

.lang-dropdown-item .lang-info .lang-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-dropdown-item .lang-info .lang-native {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* RTL Support for Arabic */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .hero-container {
    direction: rtl;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-badges,
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .hero-stats {
    justify-content: flex-start;
}

html[dir="rtl"] .section-header {
    text-align: right;
}

html[dir="rtl"] .features-grid,
html[dir="rtl"] .services-grid,
html[dir="rtl"] .testimonials-grid,
html[dir="rtl"] .pricing-grid,
html[dir="rtl"] .team-grid,
html[dir="rtl"] .zones-grid,
html[dir="rtl"] .process-grid {
    direction: rtl;
}

html[dir="rtl"] .feature-card,
html[dir="rtl"] .service-card,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .pricing-card,
html[dir="rtl"] .team-card {
    text-align: right;
}

html[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

html[dir="rtl"] .faq-question::after {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .contact-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-links ul {
    padding-right: 0;
}

html[dir="rtl"] .nav-container {
    direction: rtl;
}

html[dir="rtl"] .nav-menu {
    direction: rtl;
}

html[dir="rtl"] .lang-dropdown {
    margin-left: 0;
    margin-right: 1rem;
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 1px solid var(--border);
}

html[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

/* Language-specific font adjustments */
html[lang="ar"] body {
    font-family: 'Noto Naskh Arabic', 'Inter', sans-serif;
}

html[lang="en"] body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mobile adjustments for language dropdown */
@media (max-width: 768px) {
    .lang-dropdown {
        margin: 1rem 0 0;
        padding: 1rem 0 0;
        border-left: none;
        border-top: 1px solid var(--border);
        width: 100%;
    }

    .lang-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown-menu {
        right: 0;
        left: 0;
        width: 100%;
    }

    html[dir="rtl"] .lang-dropdown {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }
}
