:root {
    --color-primary: #123c6d;
    --color-primary-light: #1f5aa2;
    --color-accent: #57b5ff;
    --color-accent-soft: rgba(87, 181, 255, 0.16);
    --color-neutral-100: #f8fafc;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5f5;
    --color-neutral-500: #64748b;
    --color-neutral-700: #334155;
    --color-neutral-900: #0f172a;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.16);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    --layout-max-width: 1140px;
    --layout-gutter: clamp(18px, 6vw, 48px);
    --layout-section-gap: clamp(48px, 12vw, 120px);
    --font-display: 'Playfair Display', 'Cairo', serif;
    --font-sans: 'Inter', 'Cairo', sans-serif;
    --transition-default: 220ms ease;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-neutral-900);
    background: linear-gradient(180deg, rgba(13, 36, 66, 0.94), rgba(13, 36, 66, 0.36) 34%, var(--color-neutral-100));
}

.mobile-site-header {
    display: none;
}

.mobile-header-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(13, 43, 82, 0.96), rgba(20, 82, 140, 0.92));
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px;
}

.mobile-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.mobile-brand-name {
    font-size: clamp(1rem, 5.4vw, 1.35rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.mobile-brand-tagline {
    font-size: clamp(0.85rem, 4.2vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
}

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mobile-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.36);
    transform: translateY(-1px);
}

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

.mobile-nav-link.active {
    background: rgba(59, 130, 246, 0.32);
    border-color: rgba(59, 130, 246, 0.65);
}

.mobile-nav-link[data-section="services"]::before {
    content: "\f0ad";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

.mobile-nav-link[data-section="process"]::before {
    content: "\f0e3";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

.mobile-nav-link[data-section="contact"]::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

@media (max-width: 768px) {
    .mobile-site-header {
        display: block;
    }

    .mobile-header-inner {
        margin: 12px clamp(12px, 5vw, 20px);
    }

    .mobile-only .top-bar,
    header.top-bar.mobile-only,
    header.top-bar .header-nav.mobile-only,
    .header-mobile-buttons {
        display: none !important;
    }
}

/* إخفاء زر الاتصال العائم وزر الاتصال الخاص بالهيدر في كل المقاسات */
.floating-call-button,
.mobile-call-button,
.header-mobile-buttons .mobile-call-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

main {
    overflow-x: hidden;
}

.container {
    width: min(100%, var(--layout-max-width));
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 40px);
}

@media (min-width: 1025px) {
    .hero,
    .hero.section,
    main > .hero.section {
        padding-top: clamp(40px, 8vw, 120px) !important;
        margin-top: 0 !important;
    }
}

.section {
    padding-block: clamp(64px, 14vw, 132px);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(32px, 8vw, 64px);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1.1;
    margin-bottom: clamp(16px, 3vw, 24px);
    color: var(--color-neutral-900);
}

.section-subtitle {
    font-size: clamp(16px, 3.2vw, 20px);
    line-height: 1.7;
    color: var(--color-neutral-700);
}

/* =============================
   Header & Navigation
   ============================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(135deg, rgba(13, 36, 66, 0.98), rgba(13, 36, 66, 0.92));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.site-header .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(18px, 4vw, 42px);
    padding-block: clamp(18px, 4vw, 28px);
    color: white;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand-symbol {
    width: clamp(52px, 10vw, 76px);
    height: clamp(52px, 10vw, 76px);
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
    background: rgba(255, 255, 255, 0.12);
    padding: 8px;
}

.brand-text-group {
    display: grid;
    gap: 4px;
    color: white;
    min-width: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(20px, 4.6vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.brand-tagline {
    font-size: clamp(12px, 2.8vw, 14px);
    opacity: 0.8;
    margin: 0;
}

.primary-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3.6vw, 32px);
}

.primary-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    padding-bottom: 6px;
    transition: color var(--transition-default);
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), rgba(255,255,255,0));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--transition-default), transform var(--transition-default);
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav a.active {
    color: white;
}

.primary-nav a:hover::after,
.primary-nav a:focus::after,
.primary-nav a.active::after {
    opacity: 1;
    transform: translateY(0);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 3vw, 20px);
}

.header-actions .language-switcher select {
    appearance: none;
    padding: 10px 38px 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-width: 140px;
}

.header-actions .language-switcher select:focus {
    outline: 2px solid rgba(87, 181, 255, 0.5);
    outline-offset: 2px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .site-header .header-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-block,
    .header-actions,
    .primary-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .primary-nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .primary-nav a {
        font-size: 0.95rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .language-switcher select,
    .header-actions .btn {
        width: 100%;
    }
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 8vw, 62px);
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 48px);
}

.card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: clamp(24px, 5vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform var(--transition-default), box-shadow var(--transition-default);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.18);
}

.hero {
    position: relative;
    padding-top: clamp(90px, 15vw, 180px);
    padding-bottom: clamp(60px, 12vw, 140px);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(95, 197, 255, 0.45), transparent 58%),
                radial-gradient(circle at 80% 0%, rgba(87, 181, 255, 0.34), transparent 52%),
                linear-gradient(135deg, rgba(10, 30, 58, 0.7), rgba(5, 12, 28, 0.9));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 7vw, 72px);
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: clamp(18px, 4vw, 32px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.05;
    margin: 0;
}

.hero-description {
    font-size: clamp(16px, 3.2vw, 20px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 3.3vw, 18px) clamp(22px, 5vw, 32px);
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: clamp(16px, 2.8vw, 18px);
    cursor: pointer;
    transition: transform var(--transition-default), box-shadow var(--transition-default), background var(--transition-default);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #1d85ff);
    color: white;
    box-shadow: 0 16px 34px rgba(29, 133, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(29, 133, 255, 0.36);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 5vw, 28px);
}

.stat-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: clamp(20px, 4vw, 28px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    gap: 12px;
}

.stat-value {
    font-size: clamp(30px, 6vw, 48px);
    font-weight: 700;
}

.stat-label {
    font-size: clamp(13px, 2.6vw, 16px);
    color: rgba(255, 255, 255, 0.72);
}

.form-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 36px);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 18px;
}

.form-card label {
    font-weight: 600;
    color: var(--color-neutral-900);
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: rgba(255, 255, 255, 0.94);
    font-size: 15px;
}

.form-card button {
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero .container {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .brand,
    .top-bar .brand-text {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px;
    }

    .top-bar .brand-text .logo {
        display: inline-block !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: normal !important;
        text-align: start;
    }

    .top-bar .brand-text .tagline {
        display: none !important;
    }

    :root {
        --layout-section-gap: 72px;
    }

    body {
        background: linear-gradient(180deg, rgba(9, 24, 46, 0.94), rgba(13, 36, 66, 0.62));
    }

    /* تأكيد ظهور جميع الأقسام الرئيسية على الهاتف */
    main,
    section,
    .section,
    #services,
    #process,
    #clients,
    #contact,
    .services-section-new,
    .mobile-partners-grid,
    .contact-section,
    .clients-section {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin-block: 0 auto;
    }

    .services-section-new .services-grid-new,
    .services-grid,
    .clients-grid,
    .contact-wrapper {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .services-section-new .service-card-new,
    .service-card,
    .flip-card,
    .contact-item {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .section {
        padding-block: clamp(48px, 12vw, 96px);
    }

    .container {
        padding-inline: clamp(18px, 6vw, 26px);
        width: 100% !important;
        max-width: 100% !important;
    }

    .grid-two,
    .grid-three,
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* خلفية عامة داكنة للصفحة على الموبايل لتلوين الشريط العلوي */
    html,
    body {
        background: #0b2545 !important;
    }

    .mobile-header {
        display: none !important;
    }

    .hero-card {
        position: relative;
        overflow: hidden;
    }

    .hero-card-brand-strip {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        margin-bottom: 16px;
        border-radius: 14px;
        background: linear-gradient(135deg, #1b4b9a, #2f80ff);
        color: #f8fafc;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
    }

    .hero-card-brand-logo {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 10px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-card-brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-card-brand-name {
        font-size: 0.88rem;
        font-weight: 700;
        line-height: 1.3;
        color: inherit;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-copy {
        gap: clamp(20px, 6vw, 32px);
    }

    /* إظهار الهيدر الرئيسي على الموبايل بتخطيط مكدس */
    .top-bar,
    .header-nav {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
    }

    .mobile-quick-nav {
        display: none !important;
    }

    /* شريط التنقل السريع كعنصر عائم أسفل الشاشة */
    .mobile-quick-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 9999;

        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;

        padding: 10px 12px;
        background: rgba(15, 23, 42, 0.85);
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(14px);
        pointer-events: none;
    }

    .floating-lang-menu {
        position: fixed;
        left: 16px;
        bottom: 140px;
        min-width: 220px;
        max-width: calc(100% - 32px);
        background: rgba(15, 23, 42, 0.95);
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
        padding: 12px;
        display: none;
        flex-direction: column;
        gap: 8px;
        backdrop-filter: blur(16px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 9998;
    }

    .floating-lang-menu.is-visible {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .floating-lang-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid transparent;
        background: rgba(255, 255, 255, 0.05);
        color: #f8fafc;
        font-size: 0.85rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .floating-lang-option span {
        pointer-events: none;
    }

    .floating-lang-option-code {
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    .floating-lang-option-name {
        flex: 1;
        text-align: start;
        font-weight: 500;
    }

    .floating-lang-option:hover,
    .floating-lang-option:focus {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(148, 163, 184, 0.45);
    }

    .floating-lang-option[aria-selected="true"] {
        background: rgba(59, 130, 246, 0.25);
        border-color: rgba(59, 130, 246, 0.6);
    }

    .mobile-quick-nav-btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        background: rgba(255, 255, 255, 0.08);
        color: #f8fafc;
        text-align: center;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .mobile-quick-nav-btn:active {
        transform: translateY(1px);
        background: rgba(255, 255, 255, 0.16);
    }

    .mobile-quick-nav-icon {
        font-size: 1rem;
        display: inline-flex;
    }

    main {
        padding-bottom: 120px;
    }

    /* إخفاء قائمة اختيار اللغة القديمة على الموبايل فقط */
    #language-select {
        display: none !important;
    }

    /* زر اللغة العائم الجديد على الموبايل */
    .floating-lang-button {
        position: fixed;
        bottom: 80px;
        left: 16px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 0.75rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1001;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .floating-lang-button span {
        pointer-events: none;
    }

    /* إخفاء زر اللغة العائم على الشاشات الكبيرة (الكمبيوتر) */
    @media (min-width: 769px) {
        .floating-lang-button {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
        }
        
        .floating-lang-menu {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
        }
    }
    /* إخفاء قسم زر الاستشارة فقط على الموبايل، مع إبقاء شريط الروابط */
    .header-right,
    .header-right .cta-btn,
    a[data-i18n="nav.cta"] {
        display: none !important;
    }

    /* إعادة ظهور شريط الروابط الأفقي أسفل الهيدر على الهاتف */
    .top-bar + .partners-marquee + .mobile-partners-grid + main .header-nav,
    .top-bar .header-nav,
    .header-nav {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding-block: 12px;
    }

    .header-nav a {
        padding: 7px 14px;
        border-radius: 999px;
        border: 1px solid rgba(15, 23, 42, 0.12);
        background: rgba(255, 255, 255, 0.92);
        color: #0b2545 !important;
        text-align: center;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        backdrop-filter: blur(12px);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-nav a:active {
        transform: translateY(1px);
        background: rgba(236, 242, 255, 0.95);
    }

    /* إخفاء شريط اسم الشركة الإضافي أسفل الهيدر على الهاتف */
    .company-brand-bar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* منع تداخل الهيدر / شريط الشركاء / الهيرو على الهاتف */
    .top-bar,
    .partners-marquee,
    .mobile-partners-grid,
    .hero.section,
    .hero {
        position: relative !important;
        z-index: auto !important;
    }

    .partners-marquee,
    .mobile-partners-grid {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        overflow: hidden !important;
    }

    /* ضمان وجود مسافة واضحة بين الهيدر وبداية المحتوى على الهاتف */
    body {
        padding-top: 0 !important;
    }
    main {
        margin-top: 0 !important;
    }

    /* إعادة تنسيق هيدر .top-bar على الهاتف فقط */
    .top-bar .container {
        padding-inline: clamp(14px, 5vw, 20px) !important;
    }

    .top-bar .header-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .top-bar .header-left,
    .top-bar .header-right,
    .top-bar .brand {
        width: 100% !important;
        justify-content: center !important;
    }

    .top-bar .brand {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .top-bar .brand-logo .logo-image {
        max-width: none !important;
        max-height: none !important;
    }

    .top-bar .brand-text .logo {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .top-bar .brand-text .tagline {
        display: none !important;
    }

    .top-bar .language-switcher {
        display: flex !important;
        justify-content: center !important;
    }

    .top-bar .language-dropdown {
        width: 100% !important;
        max-width: 210px !important;
    }

    .top-bar .header-right .cta-btn {
        width: 100% !important;
        max-width: 260px !important;
        margin-inline: auto !important;
    }

    /* في الموبايل: إخفاء الشريط العلوي بالكامل إذا كان يسبب ازدحامًا فوق المحتوى */
    .top-bar {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    /* إبقاء شريط الروابط مرئياً تحت الهيدر */
    .top-bar + .partners-marquee + .mobile-partners-grid + main .header-nav,
    .top-bar .header-nav,
    .header-nav {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    /* إخفاء زر الاتصال العائم/زر الاتصال الأخضر على الهاتف */
    .floating-call-button,
    .header-mobile-buttons .mobile-call-button,
    .mobile-call-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .header-nav {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(28px, 8vw, 34px);
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 38px);
    }
}
