/* ============================================
   COMPLETE STYLESHEET - Munirah Repair Website
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #676F9D;
    --primary-dark: #4A527A;
    --primary-light: #E8EBF5;
    --secondary: #2D3250;
    --secondary-light: #42476B;
    --accent: #F9B17A;
    --accent-hover: #E89A5E;
    
    /* Neutral Colors */
    --background: #FFFFFF;
    --text: #2D3250;
    --text-light: #676F9D;
    --gray-50: #F8F9FC;
    --gray-100: #EEF0F7;
    --gray-200: #DDE0EB;
    --gray-300: #C4C8DB;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(45, 50, 80, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(45, 50, 80, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(45, 50, 80, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(45, 50, 80, 0.15);
    
    /* Spacing */
    --section-spacing: 60px;
    --card-padding: 20px;
    --container-padding: 16px;
    
    /* Touch Targets */
    --touch-target: 48px;
    --touch-target-small: 44px;
    
    /* Misc */
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    padding-top: 60px;
    padding-bottom: 80px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    body {
        padding-top: 76px;
        padding-bottom: 0;
    }
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
    touch-action: manipulation;
}
a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, .h1 { font-size: 2rem; line-height: 1.3; font-weight: 900; color: var(--secondary); margin-bottom: 12px; }
h2, .h2 { font-size: 1.6rem; line-height: 1.3; font-weight: 800; color: var(--secondary); margin-bottom: 10px; }
h3, .h3 { font-size: 1.3rem; line-height: 1.4; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
h4, .h4 { font-size: 1.1rem; line-height: 1.4; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
h5, .h5 { font-size: 1rem; line-height: 1.4; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
h6, .h6 { font-size: 0.9rem; line-height: 1.4; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }

@media (min-width: 768px) {
    h1, .h1 { font-size: 2.8rem; }
    h2, .h2 { font-size: 2.2rem; }
    h3, .h3 { font-size: 1.6rem; }
    h4, .h4 { font-size: 1.3rem; }
}
@media (min-width: 1024px) {
    h1, .h1 { font-size: 3.5rem; }
    h2, .h2 { font-size: 2.8rem; }
    h3, .h3 { font-size: 2rem; }
    h4, .h4 { font-size: 1.5rem; }
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
.section-padding { padding: var(--section-spacing) 0; }
.section-padding-sm { padding: calc(var(--section-spacing) / 2) 0; }

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.8;
}
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1.05rem; margin-bottom: 32px; }
    .section-badge { font-size: 0.8rem; padding: 6px 20px; }
}
@media (min-width: 1024px) {
    .section-title { font-size: 2.5rem; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 40px; }
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
    min-height: var(--touch-target);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    touch-action: manipulation;
    user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 111, 157, 0.35);
}

.btn-accent-custom {
    background: var(--accent);
    color: var(--secondary);
}
.btn-accent-custom:hover {
    background: var(--accent-hover);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 177, 122, 0.35);
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-custom:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
    border-color: #fff;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
}
.whatsapp-btn:hover {
    background: #1DA851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

@media (min-width: 768px) {
    .btn {
        padding: 14px 32px;
        font-size: 0.95rem;
        min-height: 48px;
    }
}

/* ============================================
   6. HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #2D3250;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Brand */
.header-brand { flex-shrink: 0; }
.header-brand .brand-link { text-decoration: none; }
.header-brand .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.header-brand .brand-main { font-weight: 900; font-size: 1.2rem; color: #FFFFFF; }
.header-brand .brand-main span { color: var(--accent); }
.header-brand .brand-sub { font-size: 0.55rem; font-weight: 400; color: rgba(255,255,255,0.7); letter-spacing: 0.3px; }

/* Desktop Navigation */
.desktop-nav {
    display: none;
    flex: 1;
    justify-content: center;
}
.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    padding-right: 60px;
    white-space: nowrap; 
}
.desktop-nav .nav-list li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}
.desktop-nav .nav-list li a:hover {
    color: var(--accent);
    background: rgba(255,255,255,0.1);
}
.desktop-nav .nav-list li a.active {
    color: var(--accent);
    background: rgba(255,255,255,0.1);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    order: 0;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    padding-right: 90px; 
}
.language-switcher .lang-link {
    padding: 4px 8px;
    border-radius: 4px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
    cursor: pointer;
}
.language-switcher .lang-link:hover { color: var(--accent); }
.language-switcher .lang-link.active { color: var(--accent); background: rgba(255,255,255,0.1); }
.language-switcher .lang-divider { color: rgba(255,255,255,0.3); }

/* Hamburger Menu */
.menu-toggle {
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
}
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}
.menu-icon span {
    display: block;
    height: 2.5px;
    background: #F9B17A;
    border-radius: 2px;
    transition: var(--transition);
    width: 100%;
}
.menu-icon span:nth-child(2) { width: 70%; }
.menu-toggle:hover .menu-icon span { background: #F59E0B; }
.menu-toggle.active .menu-icon span { background: #FFFFFF; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    padding: 70px 24px 30px;
}
[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}
.mobile-menu.open {
    right: 0;
}
[dir="rtl"] .mobile-menu.open {
    right: auto;
    left: 0;
}
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.mobile-nav li {
    border-bottom: 1px solid var(--gray-100);
}
.mobile-nav li a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}
.mobile-nav li a:hover,
.mobile-nav li a.active {
    color: var(--primary);
}
/* Close button (optional) - Add to HTML */
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 5px 10px;
}
.mobile-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}
.mobile-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   ARABIC HEADER - RTL SUPPORT
   ============================================ */

/* Reverse the header wrapper for RTL */
[dir="rtl"] .header-wrapper {
    flex-direction: row-reverse;
}

/* Logo on the right for RTL */
[dir="rtl"] .header-brand {
    order: 2;  /* Moves logo to the right */
}

/* Navigation in the middle for RTL */
[dir="rtl"] .desktop-nav {
    order: 1;  /* Navigation stays in middle */
}

[dir="rtl"] .desktop-nav .nav-list {
    padding-right: 0;
    padding-left: 60px;  /* Space on left instead of right */
}

/* Language switcher on the left for RTL */
[dir="rtl"] .header-controls {
    order: 0;  /* Moves controls to the left */
}

[dir="rtl"] .language-switcher {
    padding-right: 0;
    padding-left: 90px;  /* Space on left instead of right */
}

/* Mobile Menu - RTL */
[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}

[dir="rtl"] .mobile-menu.open {
    right: auto;
    left: 0;
}

/* Mobile menu toggle - RTL */
[dir="rtl"] .menu-toggle {
    order: -1;  /* Hamburger on the left */
}

[dir="rtl"] .menu-icon span:nth-child(2) {
    width: 70%;
    margin-right: auto;  /* Align bars to the right */
}

/* Navigation links - RTL text alignment */
[dir="rtl"] .desktop-nav .nav-list li a {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

[dir="rtl"] .language-switcher .lang-link {
    font-family: 'Cairo', sans-serif;
}

/* Brand text - RTL */
[dir="rtl"] .header-brand .brand-text {
    align-items: flex-end;  /* Align text to the right */
}

[dir="rtl"] .header-brand .brand-main {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .header-brand .brand-sub {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

/* Responsive - RTL */
@media (max-width: 991px) {
    [dir="rtl"] .header-wrapper {
        flex-direction: row;
    }
    
    [dir="rtl"] .header-brand {
        order: 0;
    }
    
    [dir="rtl"] .header-controls {
        order: 1;
    }
    
    [dir="rtl"] .menu-toggle {
        order: 2;
    }
    
    [dir="rtl"] .language-switcher {
        padding-left: 0;
    }
}

/* Header Responsive */
@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .menu-toggle { display: none !important; }
    .mobile-menu { display: none !important; }
}
@media (max-width: 991px) {
    .desktop-nav { display: none !important; }
    .menu-toggle { display: flex !important; }
    .header-brand .brand-main { font-size: 1rem; }
    .header-brand .brand-sub { font-size: 0.5rem; }
}
@media (max-width: 576px) {
    .header-brand .brand-sub { display: none; }
    .language-switcher { font-size: 0.75rem; }
    .language-switcher .lang-link { padding: 2px 6px; }
}

/* ============================================
   7. QUICK CONTACT BAR
   ============================================ */
.quick-contact-bar {
    background: var(--secondary);
    padding: 10px 0;
    position: sticky;
    top: 76px;  /* ← Changed from 60px to 76px (header height) */
    z-index: 999;
    box-shadow: 0 4px 20px rgba(45, 50, 80, 0.3);
    display: none;
}
.quick-contact-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.quick-contact-bar .contact-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.quick-contact-bar .contact-item {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    touch-action: manipulation;
    padding: 6px 12px;
    text-decoration: none;
    white-space: nowrap;
}
.quick-contact-bar .contact-item:hover {
    color: var(--accent);
    transform: translateY(-2px);
}
.quick-contact-bar .contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.quick-contact-bar .contact-item .highlight {
    color: var(--accent);
    font-weight: 700;
}
.quick-contact-bar .divider {
    color: rgba(255,255,255,0.2);
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .quick-contact-bar {
        display: block;
        top: 76px;
        padding: 14px 0;
    }
    .quick-contact-bar .contact-item {
        font-size: 1rem;
        gap: 12px;
        padding: 8px 16px;
    }
    .quick-contact-bar .contact-item i {
        font-size: 1.4rem;
        width: 28px;
    }
}
@media (max-width: 767px) {
    .quick-contact-bar { display: none !important; }
}
@media (max-width: 991px) and (min-width: 768px) {
    .quick-contact-bar .contact-items { gap: 4px; }
    .quick-contact-bar .contact-item { font-size: 0.8rem; padding: 4px 8px; gap: 6px; }
    .quick-contact-bar .contact-item i { font-size: 1rem; width: 20px; }
}

/* ============================================
   8. HERO SECTION - REFINED
   ============================================ */

/* Hero Section - Background with Gradient Overlay */
.hero-section {
    background: linear-gradient(135deg, rgba(45, 50, 80, 0.7) 0%, rgba(26, 30, 51, 0.8) 100%),
                url('/assets/images/hero-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1536 / 916;  /* ← Exact image ratio */
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    min-height: auto;
    overflow: hidden;
    margin-bottom: 40px;  /* Adds space below hero */
}

/* Content layer - stays on top */
.hero-content { 
    position: relative; 
    z-index: 2; 
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(249, 177, 122, 0.2);
    color: var(--accent, #F9B17A);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(249, 177, 122, 0.2);
}

/* Hero Title */
.hero-title {
    font-size: 2rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.hero-title span { 
    color: var(--accent, #F9B17A); 
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 100%;
    margin-bottom: 20px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.hero-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: var(--touch-target, 48px);
    padding: 14px;
    font-size: 1.05rem;
}

/* Trust Badges */
.hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}
.hero-trust-item i {
    color: var(--accent, #F9B17A);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Image Wrapper - Used in other pages */
.hero-image-wrapper {
    margin-top: 24px;
    position: relative;
    z-index: 2;
}
.hero-image-wrapper img {
    border-radius: var(--radius, 12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Floating Cards - Used in other pages */
.hero-floating-card { 
    display: none !important; 
}

/* ============================================
   TABLET HERO (768px and up)
   ============================================ */
@media (min-width: 768px) {
    .hero-section { 
        padding: 60px 0; 
    }
    
    .hero-title { 
        font-size: 2.8rem; 
    }
    
    .hero-subtitle { 
        font-size: 1.15rem; 
        max-width: 550px; 
    }
    
    .hero-buttons { 
        flex-direction: row; 
        flex-wrap: wrap; 
    }
    
    .hero-buttons .btn { 
        width: auto; 
        padding: 14px 32px; 
        min-height: 48px; 
    }
    
    .hero-trust { 
        grid-template-columns: repeat(4, 1fr); 
        gap: 16px; 
        padding-top: 20px; 
    }
    
    .hero-trust-item { 
        font-size: 0.85rem; 
    }
    
    .hero-image-wrapper { 
        margin-top: 0; 
    }
    
    /* Show floating cards on tablet */
    .hero-floating-card {
        display: flex !important;
        position: absolute;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 12px 18px;
        border-radius: var(--radius, 12px);
        box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(45, 50, 80, 0.15));
        align-items: center;
        gap: 12px;
        animation: float 3s ease-in-out infinite;
    }
    
    .hero-floating-card:nth-child(2) {
        bottom: 20px;
        right: -20px;
        animation-delay: 1.5s;
    }
    
    [dir="rtl"] .hero-floating-card:nth-child(2) {
        right: auto;
        left: -20px;
    }
    
    .hero-floating-card:nth-child(3) {
        top: 20px;
        left: -20px;
        animation-delay: 0.8s;
    }
    
    [dir="rtl"] .hero-floating-card:nth-child(3) {
        left: auto;
        right: -20px;
    }
    
    .hero-floating-card i { 
        font-size: 1.5rem; 
        color: var(--primary, #676F9D); 
    }
    
    .hero-floating-card span { 
        font-weight: 700; 
        color: var(--secondary, #2D3250); 
        font-size: 0.8rem; 
    }
    
    .hero-floating-card small { 
        display: block; 
        color: var(--text-light, #676F9D); 
        font-size: 0.65rem; 
    }
}

/* ============================================
   DESKTOP HERO (1024px and up)
   ============================================ */
@media (min-width: 1024px) {
    .hero-section { 
        padding: 80px 0; 
        min-height: 90vh; 
    }
    
    .hero-title { 
        font-size: 3.8rem; 
    }
    
    .hero-subtitle { 
        font-size: 1.25rem; 
    }
    
    .hero-floating-card { 
        padding: 16px 24px; 
    }
    
    .hero-floating-card:nth-child(2) { 
        bottom: 20px; 
        right: -30px; 
    }
    
    .hero-floating-card:nth-child(3) { 
        top: 20px; 
        left: -30px; 
    }
    
    .hero-floating-card i { 
        font-size: 1.8rem; 
    }
    
    .hero-floating-card span { 
        font-size: 0.9rem; 
    }
}

/* ============================================
   FLOATING ANIMATION
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* ============================================
   9. SERVICES SECTION
   ============================================ */
.services-section { 
    background: var(--gray-50); 
}

.service-card {
    background: #fff;
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-4px);
}
.service-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: #fff;
}
.service-card h5 { 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--secondary); 
    margin-bottom: 8px; 
}
.service-card p { 
    font-size: 0.9rem; 
    color: var(--text-light); 
    line-height: 1.6; 
    margin-bottom: 14px; 
}
.service-card .service-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 8px 0;
}
.service-card .service-link:hover { 
    gap: 12px; 
}

@media (min-width: 768px) {
    .service-card { 
        padding: 30px 24px; 
        border-radius: var(--radius); 
    }
    .service-card .icon-wrapper { 
        width: 72px; 
        height: 72px; 
        font-size: 2rem; 
        margin-bottom: 16px; 
    }
    .service-card h5 { 
        font-size: 1.1rem; 
    }
}
@media (min-width: 1024px) {
    .service-card { 
        padding: 32px 28px; 
    }
}

/* ============================================
   10. WHY CHOOSE US
   ============================================ */
.why-section { background: #fff; }

.why-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    touch-action: manipulation;
}
.why-card:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.why-card .why-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--primary);
    color: #fff;
}
.why-card h6 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.why-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.6; margin: 0; }

@media (min-width: 768px) {
    .why-card { padding: 32px 20px; }
    .why-card .why-icon { width: 72px; height: 72px; font-size: 2rem; margin-bottom: 16px; }
    .why-card p { font-size: 0.9rem; }
}

/* ============================================
   11. BRANDS SECTION
   ============================================ */
.brands-section { background: var(--gray-50); }

.brand-item {
    background: #fff;
    padding: 20px 16px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
    touch-action: manipulation;
}
.brand-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.brand-item i { font-size: 1.4rem; color: var(--primary); margin-right: 8px; }
[dir="rtl"] .brand-item i { margin-right: 0; margin-left: 8px; }

@media (min-width: 768px) {
    .brand-item { padding: 30px 20px; font-size: 1rem; }
    .brand-item i { font-size: 2rem; margin-right: 12px; }
}

/* ============================================
   HOW IT WORKS - INTERACTIVE
   ============================================ */

.how-it-works {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

/* Steps Wrapper - Flex Layout */
.steps-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    position: relative;
    flex-wrap: wrap;
}

/* Step Item */
.step-item {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    text-align: center;
    padding: 30px 20px 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--gray-100);
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74, 108, 247, 0.12);
    border-color: var(--primary);
}

.step-item:hover .step-number {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.step-item:hover .step-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

/* Step Number */
.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    margin: 0 auto 14px;
    transition: all 0.4s ease;
}

/* Step Icon */
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Step Arrows */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--gray-300);
    font-size: 20px;
    flex-shrink: 0;
    animation: arrowPulse 2s ease-in-out infinite;
}

.step-arrow:nth-child(2) { animation-delay: 0s; }
.step-arrow:nth-child(4) { animation-delay: 0.5s; }
.step-arrow:nth-child(6) { animation-delay: 1s; }

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* ============================================
   ARABIC ARROWS - RTL (Right to Left)
   ============================================ */

/* Flip arrows for Arabic (RTL) pages */
[dir="rtl"] .step-arrow i {
    transform: scaleX(-1) !important;
    display: inline-block !important;
}

/* Reverse the animation direction for Arabic */
[dir="rtl"] .step-arrow {
    animation: arrowPulseRTL 2s ease-in-out infinite;
}

@keyframes arrowPulseRTL {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(-5px); opacity: 1; }
}

/* Mobile - Arabic Arrows */
@media (max-width: 991px) {
    [dir="rtl"] .step-arrow {
        transform: rotate(-90deg);
    }
    
    [dir="rtl"] .step-arrow i {
        transform: scaleX(-1) !important;
    }
}
/* Arrow animation on hover */
.steps-wrapper:hover .step-arrow {
    animation-play-state: running;
}

/* Bottom CTA */
.steps-cta {
    margin-top: 50px;
}

.steps-cta .btn {
    padding: 16px 44px;
    font-size: 16px;
}
/* ============================================
   SERVICE LIST - REMOVE DOTS, KEEP CHECKMARKS
   ============================================ */

.service-list {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 12px !important;
}

.service-list li {
    list-style: none !important;
    padding: 6px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Hide default markers */
.service-list li::marker {
    display: none !important;
    content: '' !important;
}

/* Checkmark icon styling */
.service-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 1.1rem;
}
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .steps-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .step-item {
        max-width: 100%;
        width: 100%;
        padding: 24px 20px;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
        font-size: 18px;
    }

    .step-arrow:nth-child(2) { animation-delay: 0s; }
    .step-arrow:nth-child(4) { animation-delay: 0.5s; }
    .step-arrow:nth-child(6) { animation-delay: 1s; }

    @keyframes arrowPulse {
        0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.5; }
        50% { transform: rotate(90deg) translateX(5px); opacity: 1; }
    }
}

@media (max-width: 576px) {
    .step-item {
        padding: 20px 16px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-content h4 {
        font-size: 14px;
    }

    .step-content p {
        font-size: 12px;
    }

    .steps-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   13. TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--gray-50); }

.testimonial-card {
    background: #fff;
    padding: 20px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.testimonial-card .stars { color: #F59E0B; margin-bottom: 10px; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card .review { color: var(--text); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.testimonial-card .customer { display: flex; align-items: center; gap: 12px; }
.testimonial-card .customer .avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}
.testimonial-card .customer .name { font-weight: 700; color: var(--secondary); font-size: 0.9rem; }
.testimonial-card .customer .role { font-size: 0.75rem; color: var(--text-light); }

@media (min-width: 768px) {
    .testimonial-card { padding: 30px; }
    .testimonial-card .review { font-size: 0.95rem; }
    .testimonial-card .customer .avatar { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ============================================
   14. FAQ SECTION
   ============================================ */
.faq-section { background: #fff; }

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: var(--radius) !important;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}
.faq-accordion .accordion-button {
    font-weight: 700;
    padding: 16px 18px;
    font-size: 0.95rem;
    color: var(--secondary);
    background: #fff;
    border: none;
    min-height: var(--touch-target-small);
    touch-action: manipulation;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--primary); }
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
}
.faq-accordion .accordion-body {
    padding: 16px 18px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23676F9D' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .faq-accordion .accordion-button { padding: 20px 24px; font-size: 1rem; }
    .faq-accordion .accordion-body { padding: 20px 24px; font-size: 0.95rem; }
}

/* ============================================
   15. FINAL CTA
   ============================================ */
.final-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #1A1E33 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(103, 111, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
[dir="rtl"] .final-cta::before { right: auto; left: -20%; }
.final-cta h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.final-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}
.final-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.final-cta .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: var(--touch-target);
    padding: 14px;
}

@media (min-width: 768px) {
    .final-cta { padding: 70px 0; }
    .final-cta h2 { font-size: 2.5rem; }
    .final-cta .cta-buttons { flex-direction: row; flex-wrap: wrap; }
    .final-cta .cta-buttons .btn { width: auto; padding: 14px 36px; }
}
@media (min-width: 1024px) {
    .final-cta { padding: 80px 0; }
    .final-cta h2 { font-size: 2.8rem; }
    .final-cta .cta-buttons .btn { padding: 16px 44px; }
}

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 90px;
    text-align: center;
}
.footer h5 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.footer p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 6px; }
.footer ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 6px 0;
    display: inline-block;
    touch-action: manipulation;
    transition: var(--transition);
}
.footer ul li a:hover { color: var(--accent); padding-right: 6px; }
[dir="rtl"] .footer ul li a:hover { padding-right: 6px; padding-left: 0; }
.footer .social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}
.footer .social-links a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
    touch-action: manipulation;
}
.footer .social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    margin-top: 24px;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .footer { padding: 60px 0 30px; text-align: left; }
    .footer h5 { font-size: 1.1rem; }
    .footer .social-links { justify-content: flex-start; }
    .footer .footer-bottom { font-size: 0.9rem; text-align: center; }
}
@media (min-width: 1024px) {
    .footer p { max-width: 80%; }
}

/* ============================================
   17. STICKY MOBILE BUTTONS
   ============================================ */
.sticky-mobile-buttons {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.sticky-mobile-buttons .btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    touch-action: manipulation;
}
.sticky-mobile-buttons .btn:active { transform: scale(0.97); }
.sticky-mobile-buttons .btn-call { background: var(--primary); color: #fff; }
.sticky-mobile-buttons .btn-call:hover { background: var(--primary-dark); }
.sticky-mobile-buttons .btn-whatsapp { background: #25D366; color: #fff; }
.sticky-mobile-buttons .btn-whatsapp:hover { background: #1DA851; }

@media (min-width: 768px) {
    .sticky-mobile-buttons { display: none !important; }
}

/* ============================================
   18. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    cursor: pointer;
    touch-action: manipulation;
}
[dir="rtl"] .back-to-top { right: auto; left: 16px; }
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}
.back-to-top:active { transform: scale(0.9); }

@media (min-width: 768px) {
    .back-to-top { bottom: 100px; right: 24px; width: 48px; height: 48px; font-size: 1.2rem; }
    [dir="rtl"] .back-to-top { right: auto; left: 24px; }
}

/* ============================================
   19. PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, rgba(45, 50, 80, 0.7) 0%, rgba(26, 30, 51, 0.8) 100%),
                url('/assets/images/hero-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1536 / 916;  /* ← Exact image ratio */
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    min-height: auto;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(103, 111, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
[dir="rtl"] .page-hero::before { right: auto; left: -20%; }
.page-hero h1 {
    color: #fff;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.7;
}
.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 12px 0 0;
}
.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.page-hero .breadcrumb-item a:hover { color: var(--accent); }
.page-hero .breadcrumb-item.active { color: var(--accent); font-size: 0.9rem; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

@media (min-width: 768px) {
    .page-hero { padding: 70px 0 50px; }
    .page-hero h1 { font-size: 2.8rem; }
    .page-hero p { font-size: 1.1rem; }
}
@media (min-width: 1024px) {
    .page-hero h1 { font-size: 3rem; }
}

/* ============================================
   SERVICE VIDEO BOX - 1cm Reduction
   ============================================ */

.service-detail .service-video-placeholder {
    min-height: 150px !important;  /* Reduced from 180px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px !important;  /* Reduced from 20px (1cm = ~10px) */
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    background: var(--gray-50);
    transition: all 0.3s ease;
    width: 100%;
    margin: 4px 0 !important;  /* Reduced margin */
}

.service-detail .service-video-placeholder:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.service-detail .service-video-placeholder i {
    font-size: 2rem !important;  /* Reduced from 2.8rem */
    color: var(--primary);
    margin-bottom: 6px !important;
    transition: all 0.3s ease;
}

.service-detail .service-video-placeholder:hover i {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.service-detail .service-video-placeholder p {
    margin: 1px 0 !important;
    text-align: center;
    line-height: 1.3;
}

.service-detail .service-video-placeholder .video-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.8rem !important;  /* Reduced from 0.9rem */
}

.service-detail .service-video-placeholder .video-subtitle {
    color: var(--text-light);
    font-size: 0.65rem !important;  /* Reduced from 0.75rem */
    opacity: 0.6;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .service-detail .service-video-placeholder {
        min-height: 120px !important;
        padding: 8px !important;
        margin-top: 10px !important;
    }
    
    .service-detail .service-video-placeholder i {
        font-size: 1.6rem !important;
        margin-bottom: 4px !important;
    }
    
    .service-detail .service-video-placeholder .video-title {
        font-size: 0.75rem !important;
    }
    
    .service-detail .service-video-placeholder .video-subtitle {
        font-size: 0.6rem !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .service-detail .service-video-placeholder {
        min-height: 100px !important;
        padding: 6px !important;
    }
    
    .service-detail .service-video-placeholder i {
        font-size: 1.4rem !important;
        margin-bottom: 3px !important;
    }
    
    .service-detail .service-video-placeholder .video-title {
        font-size: 0.7rem !important;
    }
    
    .service-detail .service-video-placeholder .video-subtitle {
        font-size: 0.55rem !important;
    }
}
/* Responsive - Mobile */
@media (max-width: 576px) {
    .service-detail .service-video-placeholder {
        min-height: 160px !important;
        padding: 20px !important;
    }
    
    .service-detail .service-video-placeholder i {
        font-size: 3rem;
    }
    
    .service-detail .service-video-placeholder .video-title {
        font-size: 0.95rem;
    }
    
    .service-detail .service-icon-large {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
    
    .service-detail h2 {
        font-size: 1.3rem;
    }
    
    .service-detail .service-list li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
}
/* ============================================
   21. CONTACT PAGE
   ============================================ */
.contact-info-card {
    background: #fff;
    padding: 20px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.contact-info-card .info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}
.contact-info-card:hover .info-icon {
    background: var(--primary);
    color: #fff;
}
.contact-info-card h5 { font-weight: 700; color: var(--secondary); font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.contact-info-card a { color: var(--primary); font-weight: 600; }

.contact-form-wrapper {
    background: #fff;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}
.contact-form-wrapper h3 { font-size: 1.3rem; font-weight: 800; color: var(--secondary); margin-bottom: 6px; }
.contact-form-wrapper .form-label { font-weight: 600; font-size: 0.9rem; color: var(--secondary); margin-bottom: 4px; }
.contact-form-wrapper .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    min-height: var(--touch-target);
    width: 100%;
    transition: var(--transition);
    font-family: inherit;
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.contact-form-wrapper textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.contact-form-wrapper .btn[type="submit"] {
    width: 100%;
    justify-content: center;
    min-height: var(--touch-target);
    padding: 16px;
    font-size: 1.1rem;
}

.form-side-image {
    border-radius: var(--radius);
    width: 100%;
    min-height: 200px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .contact-info-card { padding: 30px 24px; }
    .contact-info-card .info-icon { width: 72px; height: 72px; font-size: 2rem; }
    .contact-form-wrapper { padding: 40px 32px; border-radius: var(--radius); }
    .contact-form-wrapper .form-control { padding: 12px 16px; min-height: auto; }
    .contact-form-wrapper .btn[type="submit"] { width: auto; padding: 14px 40px; }
    .form-side-image { min-height: 300px; font-size: 5rem; }
}
@media (min-width: 1024px) {
    .form-side-image { min-height: 400px; font-size: 6rem; }
}

/* ============================================
   22. MAP SECTION
   ============================================ */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}
.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}

@media (min-width: 768px) {
    .map-container iframe { height: 350px; }
}
@media (min-width: 1024px) {
    .map-container iframe { height: 450px; }
}

/* ============================================
   23. WORKING HOURS
   ============================================ */
.hours-card {
    background: #fff;
    padding: 24px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
}
.hours-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.hours-card .hours-icon { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.hours-card h5 { font-weight: 700; color: var(--secondary); font-size: 1.1rem; }
.hours-card .hours-day {
    font-weight: 600;
    color: var(--text);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
}
.hours-card .hours-day:last-child { border-bottom: none; }
.hours-card .hours-day .day { color: var(--text); }
.hours-card .hours-day .time { color: var(--text-light); }
.hours-card .emergency-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .hours-card { padding: 30px; }
}

/* ============================================
   24. BLOG PAGE
   ============================================ */
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.blog-card .blog-image {
    height: 120px;  /* Smaller height for logo area */
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

.blog-card .blog-image i {
    font-size: 3rem;
    color: var(--primary);
}
.blog-card .blog-image .blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--secondary);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
[dir="rtl"] .blog-card .blog-image .blog-category { left: auto; right: 12px; }
.blog-card .blog-body {
    padding: 18px 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card .blog-body .blog-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}
.blog-card .blog-body .blog-meta i { margin-right: 4px; }
[dir="rtl"] .blog-card .blog-body .blog-meta i { margin-right: 0; margin-left: 4px; }
.blog-card .blog-body h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card .blog-body h3 a {
    color: var(--secondary);
    transition: var(--transition);
}
.blog-card .blog-body h3 a:hover { color: var(--primary); }
.blog-card .blog-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}
.blog-card .blog-body .read-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    align-self: flex-start;
    font-size: 0.9rem;
}
.blog-card .blog-body .read-more:hover { gap: 12px; }

.featured-post {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px 20px;
    margin-bottom: 30px;
    border: 1px solid var(--gray-100);
}
.featured-post .featured-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.featured-post h2 {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 10px;
}
.featured-post h2 a {
    color: var(--secondary);
    transition: var(--transition);
}
.featured-post h2 a:hover { color: var(--primary); }
.featured-post .featured-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
}
.featured-post .featured-meta i { margin-right: 4px; }
[dir="rtl"] .featured-post .featured-meta i { margin-right: 0; margin-left: 4px; }
.featured-post p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .blog-card .blog-image { height: 140px; font-size: 4rem; }
    .blog-card .blog-image img { max-width: 100px;  max-height: 100px; }
    .blog-card .blog-body { padding: 24px 24px 20px; }
    .blog-card .blog-body h3 { font-size: 1.15rem; }
    .featured-post { padding: 30px; }
    .featured-post h2 { font-size: 1.6rem; }
}
@media (min-width: 1024px) {
    .blog-card .blog-image { height: 150px; }
    .featured-post { padding: 40px; }
    .featured-post h2 { font-size: 1.8rem; }
}

/* ============================================
   25. AREA CARDS (Service Areas)
   ============================================ */
.area-card {
    background: #fff;
    padding: 20px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}
.area-card:hover::before { opacity: 1; }
.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.area-card .area-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}
.area-card:hover .area-icon {
    background: var(--primary);
    color: #fff;
}
.area-card h5 { font-weight: 700; color: var(--secondary); font-size: 1rem; margin-bottom: 4px; }
.area-card .area-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 4px;
}
.area-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.5; margin: 8px 0 0; }

@media (min-width: 768px) {
    .area-card { padding: 30px 24px; }
    .area-card .area-icon { width: 70px; height: 70px; font-size: 2rem; margin-bottom: 16px; }
}

/* ============================================
   26. COVERAGE CARDS
   ============================================ */
.coverage-card {
    background: #fff;
    padding: 24px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--gray-100);
}
.coverage-card .coverage-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1;
}
.coverage-card .coverage-label { font-size: 0.9rem; color: var(--text-light); font-weight: 600; margin-top: 4px; }
.coverage-card .coverage-icon { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }

@media (min-width: 768px) {
    .coverage-card { padding: 40px; }
    .coverage-card .coverage-number { font-size: 3.5rem; }
}

/* ============================================
   27. RESPONSE CARDS
   ============================================ */
.response-card {
    padding: 20px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}
.response-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.response-card .response-time { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.response-card .response-label { color: var(--text-light); font-weight: 600; font-size: 0.8rem; margin-top: 4px; }
.response-card .response-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }

@media (min-width: 768px) {
    .response-card { padding: 24px; }
    .response-card .response-time { font-size: 2rem; }
}

/* ============================================
   28. LOGO - DUAL SPINNING APPLIANCES
   ============================================ */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0;
    direction: ltr;
}
.text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.line {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
}
.line .char {
    display: inline-block;
    animation: colorWave 3s ease-in-out infinite;
}

/* Character delays */
.line-1 .char:nth-child(1) { animation-delay: 0s; }
.line-1 .char:nth-child(2) { animation-delay: 0.06s; }
.line-1 .char:nth-child(3) { animation-delay: 0.12s; }
.line-1 .char:nth-child(4) { animation-delay: 0.18s; }
.line-1 .char:nth-child(5) { animation-delay: 0.24s; }
.line-1 .char:nth-child(6) { animation-delay: 0.3s; }
.line-1 .char:nth-child(7) { animation-delay: 0.36s; }
.line-1 .char:nth-child(8) { animation-delay: 0.42s; }
.line-1 .char:nth-child(9) { animation-delay: 0.48s; }
.line-1 .char:nth-child(10) { animation-delay: 0.54s; }
.line-1 .char:nth-child(11) { animation-delay: 0.6s; }
.line-1 .char:nth-child(12) { animation-delay: 0.66s; }
.line-1 .char:nth-child(13) { animation-delay: 0.72s; }
.line-1 .char:nth-child(14) { animation-delay: 0.78s; }
.line-1 .char:nth-child(15) { animation-delay: 0.84s; }
.line-1 .char:nth-child(16) { animation-delay: 0.9s; }
.line-1 .char:nth-child(17) { animation-delay: 0.96s; }

.line-2 .char:nth-child(1) { animation-delay: 0.05s; }
.line-2 .char:nth-child(2) { animation-delay: 0.11s; }
.line-2 .char:nth-child(3) { animation-delay: 0.17s; }
.line-2 .char:nth-child(4) { animation-delay: 0.23s; }
.line-2 .char:nth-child(5) { animation-delay: 0.29s; }
.line-2 .char:nth-child(6) { animation-delay: 0.35s; }
.line-2 .char:nth-child(7) { animation-delay: 0.41s; }
.line-2 .char:nth-child(8) { animation-delay: 0.47s; }
.line-2 .char:nth-child(9) { animation-delay: 0.53s; }
.line-2 .char:nth-child(10) { animation-delay: 0.59s; }
.line-2 .char:nth-child(11) { animation-delay: 0.65s; }
.line-2 .char:nth-child(12) { animation-delay: 0.71s; }
.line-2 .char:nth-child(13) { animation-delay: 0.77s; }

.line-3 .char:nth-child(1) { animation-delay: 0.1s; }
.line-3 .char:nth-child(2) { animation-delay: 0.16s; }
.line-3 .char:nth-child(3) { animation-delay: 0.22s; }
.line-3 .char:nth-child(4) { animation-delay: 0.28s; }
.line-3 .char:nth-child(5) { animation-delay: 0.34s; }
.line-3 .char:nth-child(6) { animation-delay: 0.4s; }
.line-3 .char:nth-child(7) { animation-delay: 0.46s; }
.line-3 .char:nth-child(8) { animation-delay: 0.52s; }
.line-3 .char:nth-child(9) { animation-delay: 0.58s; }
.line-3 .char:nth-child(10) { animation-delay: 0.64s; }
.line-3 .char:nth-child(11) { animation-delay: 0.7s; }
.line-3 .char:nth-child(12) { animation-delay: 0.76s; }
.line-3 .char:nth-child(13) { animation-delay: 0.82s; }
.line-3 .char:nth-child(14) { animation-delay: 0.88s; }
.line-3 .char:nth-child(15) { animation-delay: 0.94s; }
.line-3 .char:nth-child(16) { animation-delay: 1s; }
.line-3 .char:nth-child(17) { animation-delay: 1.06s; }
.line-3 .char:nth-child(18) { animation-delay: 1.12s; }
.line-3 .char:nth-child(19) { animation-delay: 1.18s; }
.line-3 .char:nth-child(20) { animation-delay: 1.24s; }
.line-3 .char:nth-child(21) { animation-delay: 1.3s; }
.line-3 .char:nth-child(22) { animation-delay: 1.36s; }
.line-3 .char:nth-child(23) { animation-delay: 1.42s; }
.line-3 .char:nth-child(24) { animation-delay: 1.48s; }
.line-3 .char:nth-child(25) { animation-delay: 1.54s; }
.line-3 .char:nth-child(26) { animation-delay: 1.6s; }
.line-3 .char:nth-child(27) { animation-delay: 1.66s; }
.line-3 .char:nth-child(28) { animation-delay: 1.72s; }
.line-3 .char:nth-child(29) { animation-delay: 1.78s; }

@keyframes colorWave {
    0%, 100% {
        color: #F59E0B;
        transform: translateY(0px);
    }
    25% {
        color: #FBBF24;
        transform: translateY(-2px);
    }
    50% {
        color: #4A6CF7;
        transform: translateY(-4px);
    }
    75% {
        color: #6C4AF7;
        transform: translateY(-2px);
    }
}


/* ============================================
   29. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============================================
   30. PRINT STYLES
   ============================================ */
@media print {
    .sticky-mobile-buttons,
    .quick-contact-bar,
    .back-to-top,
    .site-header {
        display: none !important;
    }
    body { padding: 0 !important; }
    .hero-section { min-height: auto !important; padding: 20px 0 !important; }
}

/* ============================================
   ARABIC LOGO - RTL SUPPORT
   ============================================ */

/* RTL Logo Container */
[dir="rtl"] .logo-container {
    direction: rtl;
    flex-direction: row-reverse;
}

/* RTL Text Alignment */
[dir="rtl"] .text-group {
    align-items: center;
}

[dir="rtl"] .line {
    text-align: center;
}

/* RTL SVG Frames - Swap positions */
[dir="rtl"] .svg-frame {
    order: 0;  /* Washing machine moves to right */
}

[dir="rtl"] .svg-frame-right {
    order: 0;  /* Refrigerator moves to left */
}

[dir="rtl"] .text-group {
    order: 1;  /* Text stays in center */
}

/* RTL Navigation */
[dir="rtl"] .desktop-nav .nav-list {
    gap: 4px;
}

[dir="rtl"] .desktop-nav .nav-list li a {
    font-family: 'Cairo', sans-serif;
}

/* RTL Header Controls */
[dir="rtl"] .header-controls {
    flex-direction: row;
}

[dir="rtl"] .language-switcher {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .language-switcher .lang-link {
    font-family: 'Cairo', sans-serif;
}

/* RTL Mobile Menu */
[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}

[dir="rtl"] .mobile-menu.open {
    right: auto;
    left: 0;
}

[dir="rtl"] .mobile-nav li a {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

/* RTL Quick Contact Bar */
[dir="rtl"] .quick-contact-bar .contact-items {
    direction: rtl;
}

[dir="rtl"] .quick-contact-bar .contact-item {
    font-family: 'Cairo', sans-serif;
}

/* RTL Buttons */
[dir="rtl"] .btn {
    font-family: 'Cairo', sans-serif;
}

/* RTL Service Cards */
[dir="rtl"] .service-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .service-card .service-link {
    font-family: 'Cairo', sans-serif;
}

/* RTL Why Choose Us */
[dir="rtl"] .why-card {
    font-family: 'Cairo', sans-serif;
}

/* RTL Testimonials */
[dir="rtl"] .testimonial-card {
    font-family: 'Cairo', sans-serif;
}

/* RTL FAQ */
[dir="rtl"] .faq-accordion .accordion-button {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

[dir="rtl"] .faq-accordion .accordion-body {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

/* RTL Footer */
[dir="rtl"] .footer {
    text-align: right;
}

[dir="rtl"] .footer ul li a {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .footer ul li a:hover {
    padding-right: 6px;
    padding-left: 0;
}

/* RTL Social Links */
[dir="rtl"] .footer .social-links {
    justify-content: flex-start;
}

[dir="rtl"] .footer .social-links a {
    margin-left: 8px;
    margin-right: 0;
}

/* RTL Contact Form */
[dir="rtl"] .contact-form-wrapper {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .contact-form-wrapper .form-label {
    text-align: right;
}

[dir="rtl"] .contact-form-wrapper .form-control {
    text-align: right;
}

/* RTL Page Hero */
[dir="rtl"] .page-hero h1 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .page-hero p {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .page-hero .breadcrumb {
    font-family: 'Cairo', sans-serif;
}

/* RTL Service Detail */
[dir="rtl"] .service-detail h2 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .service-detail h2 i {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .service-detail .service-description {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .service-detail .service-list li {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .service-detail .service-list li i {
    margin-left: 12px;
    margin-right: 0;
}

/* RTL Service Video Placeholder */
[dir="rtl"] .service-detail .service-video-placeholder {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .service-detail .service-video-placeholder .video-title {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .service-detail .service-video-placeholder .video-subtitle {
    font-family: 'Cairo', sans-serif;
}

/* RTL Service Icon Large */
[dir="rtl"] .service-detail .service-icon-large {
    font-family: 'Cairo', sans-serif;
}

/* RTL Area Cards */
[dir="rtl"] .area-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .area-card .area-icon {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .area-card .area-badge {
    font-family: 'Cairo', sans-serif;
}

/* RTL Coverage Cards */
[dir="rtl"] .coverage-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .coverage-card .coverage-label {
    font-family: 'Cairo', sans-serif;
}

/* RTL Response Cards */
[dir="rtl"] .response-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .response-card .response-label {
    font-family: 'Cairo', sans-serif;
}

/* RTL Hours Card */
[dir="rtl"] .hours-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hours-card .emergency-badge {
    font-family: 'Cairo', sans-serif;
}

/* RTL Blog */
[dir="rtl"] .blog-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .blog-card .blog-category {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .blog-card .blog-body .blog-meta {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .blog-card .blog-body h3 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .blog-card .blog-body .read-more {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .featured-post {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .featured-post h2 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .featured-post .featured-meta {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .featured-post p {
    font-family: 'Cairo', sans-serif;
}

/* RTL Contact Info Card */
[dir="rtl"] .contact-info-card {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .contact-info-card h5 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .contact-info-card p {
    font-family: 'Cairo', sans-serif;
}

/* RTL Map */
[dir="rtl"] .map-container {
    font-family: 'Cairo', sans-serif;
}

/* RTL Working Hours */
[dir="rtl"] .hours-card .hours-day {
    font-family: 'Cairo', sans-serif;
}

/* RTL Final CTA */
[dir="rtl"] .final-cta h2 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .final-cta p {
    font-family: 'Cairo', sans-serif;
}

/* RTL Section Titles */
[dir="rtl"] .section-title {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .section-subtitle {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .section-badge {
    font-family: 'Cairo', sans-serif;
}

/* RTL Hero Section */
[dir="rtl"] .hero-title {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hero-subtitle {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hero-badge {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .hero-trust-item {
    font-family: 'Cairo', sans-serif;
}

/* RTL Steps */
[dir="rtl"] .step-item {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .step-content h4 {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .step-content p {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .step-arrow {
    transform: rotate(180deg);
}

/* RTL Steps Arrow Pulse */
@keyframes arrowPulseRTL {
    0%, 100% { transform: rotate(180deg) translateX(0); opacity: 0.5; }
    50% { transform: rotate(180deg) translateX(-5px); opacity: 1; }
}

[dir="rtl"] .step-arrow {
    animation: arrowPulseRTL 2s ease-in-out infinite;
}

/* RTL Brands */
[dir="rtl"] .brand-item {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .brand-item i {
    margin-left: 12px;
    margin-right: 0;
}
/* ============================================
   ARABIC WHOLE WORD ANIMATION
   ============================================ */

[dir="rtl"] .line {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
}

[dir="rtl"] .word {
    display: inline-block;
    animation: wordWave 3s ease-in-out infinite;
}

/* Each line has different delay */
[dir="rtl"] .line-1.word { animation-delay: 0s; }
[dir="rtl"] .line-2.word { animation-delay: 0.3s; }
[dir="rtl"] .line-3.word { animation-delay: 0.6s; }

@keyframes wordWave {
    0%, 100% {
        color: #F59E0B;
        transform: translateY(0px);
    }
    25% {
        color: #FBBF24;
        transform: translateY(-3px);
    }
    50% {
        color: #4A6CF7;
        transform: translateY(-6px);
    }
    75% {
        color: #6C4AF7;
        transform: translateY(-3px);
    }
}
/* ============================================
   ARABIC HEADER ONLY
   ============================================ */

.arabic-header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language block */
.arabic-header .header-controls {
    margin-right: 60px;
    flex-shrink: 0;
}

/* Logo block */
.arabic-header .text-group {
    margin-left: 60px;
    flex-shrink: 0;
}

/* Menu area */
.arabic-header .desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    padding-right: 40px;
}

/* Keep all menu items on one line */
.arabic-header .desktop-nav .nav-list {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 5px;
    padding: 0;
    margin: 0;
}

/* ============================================
   HERO SECTION - MOBILE FONT SIZE ONLY
   (Desktop remains unchanged)
   ============================================ */

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .hero-content {
         max-width: 60% !important;  /* Text only uses left portion */
    }
    /* Hero Title */
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.0 !important;
    }

    /* Hero Subtitle */
    .hero-subtitle {
       /* font-size: 0.3rem !important;
        line-height: 0.8 !important;*/
        display: none !important;
    }

    /* Hero Badge */
    .hero-badge {
        font-size: 0.6 rem !important;
        padding: 1px 3px !important;
    }

    /* Trust Badge Items */
    .hero-trust-item {
        font-size: 0.7rem !important;
        display: none !important;
    }

    .hero-trust-item i {
        font-size: 0.75rem !important;
        display: none !important;
    }
}
/* ============================================
   PAGE HERO - MOBILE FONT SIZE ONLY
   (Same as Homepage Styles)
   ============================================ */

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    /* Same as hero-content */
    .page-hero .container {
        max-width: 60% !important;  /* Text only uses left portion */
        padding: 0 !important;
        margin: 0 !important;
        padding-left: 15px !important;
    }

    .page-hero .col-lg-8 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Same as hero-title */
    .page-hero h1 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }

    /* Same as hero-subtitle - HIDDEN */
    .page-hero p {
        display: none !important;
    }

    /* Same as hero-badge */
    .page-hero .section-badge {
        font-size: 0.6rem !important;
        padding: 1px 3px !important;
    }

    /* Same as hero-trust-item */
    .page-hero .breadcrumb {
        font-size: 0.7rem !important;
    }

    .page-hero .breadcrumb-item a,
    .page-hero .breadcrumb-item.active {
        font-size: 0.7rem !important;
    }
}

/* ============================================
   HERO BUTTONS - MOBILE (Width fits text)
   ============================================ */

@media (max-width: 576px) {
    /* Keep buttons side by side, centered */
    .hero-buttons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Buttons only as wide as text */
    .hero-buttons .btn {
        width: auto !important;
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
        min-height: 28px !important;
        justify-content: center !important;
        border-radius: 50px !important;
        text-align: center !important;
        display: inline-flex !important;
        flex-shrink: 0 !important;
    }

    .hero-buttons .btn i {
        font-size: 0.85rem !important;
    }
}
@media (max-width: 576px) {
    /* Logo Container - Keep it flexible */
    .logo-container {
        gap: 6px !important;
        padding: 0 8px !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    /* Text Group - Working fine, keep it */
    .text-group {
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }

    /* Increase font sizes for all lines */
    .line {
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-align: left !important;
        display: block !important;
    }

    .line-1 { 
        font-size: 22px !important;  /* Increased */
        display: block !important;
    }
    .line-2 { 
        font-size: 20px !important;  /* Increased */
        display: block !important;
    }
    .line-3 { 
        font-size: 16px !important;  /* Increased */
        display: block !important;
    }

    /* Header Controls - Make them smaller to save space */
    .header-controls {
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    /* Language Switcher - Smaller */
    .language-switcher {
        font-size: 1.0rem !important;
        gap: 3px !important;
        padding-right: 0 !important;
    }

    .language-switcher .lang-link {
        padding: 2px 4px !important;
        font-size: 1.0rem !important;
    }

    .language-switcher .lang-divider {
        font-size: 1.0rem !important;
    }

    /* Hamburger Menu - Smaller */
    .menu-toggle {
        min-height: 40px !important;
        min-width: 40px !important;
        padding: 4px !important;
    }

    .menu-icon {
        width: 22px !important;
        gap: 3px !important;
    }

    .menu-icon span {
        height: 2px !important;
    }
}
@media (max-width: 400px) {
    .logo-container {
        gap: 4px !important;
        padding: 0 3px !important;
    }

    .text-group {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 60% !important;
    }

    .line-1 { font-size: 17px !important; }
    .line-2 { font-size: 16px !important; }
    .line-3 { font-size: 11px !important; }

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

    .language-switcher {
        font-size: 0.8rem !important;
        gap: 2px !important;
    }

    .language-switcher .lang-link {
        padding: 1px 3px !important;
        font-size: 0.8rem !important;
    }

    .menu-toggle {
        min-height: 30px !important;
        min-width: 30px !important;
        padding: 3px !important;
    }

    .menu-icon {
        width: 18px !important;
        gap: 2px !important;
    }

    .menu-icon span {
        height: 1.5px !important;
    }
}

/* ============================================
   ARABIC MOBILE HEADER (RTL)
   ============================================ */

@media (max-width: 576px) {
    /* Logo Container - Keep it flexible */
    [dir="rtl"] .logo-container {
        gap: 6px !important;
        padding: 0 8px !important;
        justify-content: space-between !important;
        width: 100% !important;
        flex-direction: row-reverse !important;  /* RTL: Logo on right */
    }

    /* Text Group - Working fine, keep it */
    [dir="rtl"] .text-group {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        padding-right: 15px !important; 
        order: 2 !important;  /* ← ADD THIS - Logo is THIRD */
    }

    /* Increase font sizes for all lines - RTL */
    [dir="rtl"] .line {
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-align: right !important;  /* ← RTL: Right aligned */
        display: block !important;
    }

    [dir="rtl"] .line-1 { 
        font-size: 30px !important;
        display: block !important;
    }
    [dir="rtl"] .line-2 { 
        font-size: 28px !important;
        display: block !important;
    }
    [dir="rtl"] .line-3 { 
        font-size: 22px !important;
        display: block !important;
    }

    /* Header Controls - Make them smaller to save space */
    [dir="rtl"] .header-controls {
        gap: 4px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        order: 0 !important;  /* Controls on LEFT for RTL */
    }
    /* Hamburger Menu - Smaller */
    [dir="rtl"] .menu-toggle {
        min-height: 40px !important;
        min-width: 40px !important;
        padding: 4px !important;
        order: 0 !important;
    }

    [dir="rtl"] .menu-icon {
        width: 22px !important;
        gap: 3px !important;
    }

    [dir="rtl"] .menu-icon span {
        height: 2px !important;
    }

    /* Language Switcher - Smaller */
    [dir="rtl"] .language-switcher {
        font-size: 1.0rem !important;
        gap: 3px !important;
        padding-left: 0 !important;  /* RTL: padding on left */
        padding-right: 0 !important;
        order: 1 !important;
    }

    [dir="rtl"] .language-switcher .lang-link {
        padding: 2px 4px !important;
        font-size: 1.0rem !important;
    }

    [dir="rtl"] .language-switcher .lang-divider {
        font-size: 1.0rem !important;
    }
   /* RTL: Mobile Menu - Slides from LEFT */
    [dir="rtl"] .mobile-menu {
        right: auto !important;
        left: -100% !important;
        transition: left 0.3s ease !important;
    }

    [dir="rtl"] .mobile-menu.open {
        right: auto !important;
        left: 0 !important;
    }

    [dir="rtl"] .mobile-nav li a {
        text-align: right !important;
        font-family: 'Cairo', sans-serif !important;
    }
/* Hide navigation on mobile */
    [dir="rtl"] .desktop-nav {
        display: none !important;
    }

}

/* ============================================
   ARABIC SMALL MOBILE (max-width: 400px)
   ============================================ */

@media (max-width: 400px) {
    [dir="rtl"] .logo-container {
        gap: 4px !important;
        padding: 0 3px !important;
    }

    [dir="rtl"] .text-group {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 60% !important;
        padding-left: 12px !important; 
        order: 2 !important;  /* ← ADD THIS after */
    }

    [dir="rtl"] .line-1 { font-size: 22px !important; }
    [dir="rtl"] .line-2 { font-size: 20px !important; }
    [dir="rtl"] .line-3 { font-size: 16px !important; }

    [dir="rtl"] .header-controls {
        gap: 2px !important;
    }
    [dir="rtl"] .menu-toggle {
        min-height: 30px !important;
        min-width: 30px !important;
        padding: 3px !important;
        order: 0 !important;  /* FIRST */
    }
    [dir="rtl"] .language-switcher {
        font-size: 0.8rem !important;
        gap: 2px !important;
        order: 1 !important;
    }

    [dir="rtl"] .language-switcher .lang-link {
        padding: 1px 3px !important;
        font-size: 0.8rem !important;
    }


    [dir="rtl"] .menu-icon {
        width: 18px !important;
        gap: 2px !important;
    }

    [dir="rtl"] .menu-icon span {
        height: 1.5px !important;
    }

    /* RTL Mobile Menu - Small screen */
    [dir="rtl"] .mobile-menu {
        max-width: 280px !important;
    }
}

/* ============================================
   BLOG DETAIL PAGE STYLES (English + Arabic)
   ============================================ */

/* Blog Container */
.blog-post {
    padding: 100px 0;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* Category Badge */
.blog-post .blog-category {
    display: inline-block;
    background: #F9B17A;
    color: #2D3250;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Title - Centered */
.blog-post .blog-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #2D3250;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center !important;
}

/* Blog Meta - Centered */
.blog-post .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #676F9D;
    font-size: 1.5rem;
    margin-bottom: 20px;
    justify-content: center !important;
}

.blog-post .blog-meta i {
    margin-right: 6px;
}

/* Featured Image */
.blog-post .blog-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-post .blog-featured-image img {
    width: 100%;
    height: auto;
}

/* Blog Body */
.blog-post .blog-body {
    font-size: 2.0rem;
    line-height: 1.8;
    color: #2D3250;
}

/* Intro Paragraph */
.blog-post .blog-intro {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2D3250;
    margin-bottom: 25px;
}

/* Headings */
.blog-post .blog-body h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2D3250;
    margin-top: 35px;
    margin-bottom: 15px;
}

.blog-post .blog-body h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D3250;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Lists */
.blog-post .blog-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-post .blog-body ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.blog-post .blog-body strong {
    color: #676F9D;
}

/* Blog Footer */
.blog-post .blog-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    margin-top: 35px;
    border-top: 1px solid #DDE0EB;
}

/* Tags */
.blog-post .blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-post .blog-tags .tag {
    background: #EEF0F7;
    color: #676F9D;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 1.0rem;
    font-weight: 600;
}

.blog-post .blog-tags .tag:hover {
    background: #676F9D;
    color: #fff;
}

/* Share Buttons */
.blog-post .blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-post .blog-share span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #676F9D;
}

.blog-post .blog-share a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: #EEF0F7;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #676F9D;
    transition: all 0.3s ease;
}

.blog-post .blog-share a:hover {
    background: #676F9D;
    color: #fff;
    transform: translateY(-2px);
}

/* Call to Action */
.blog-post .blog-cta {
    background: #F8F9FC;
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    margin-top: 35px;
    border: 1px solid #DDE0EB;
}

.blog-post .blog-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2D3250;
    margin-bottom: 10px;
}

.blog-post .blog-cta p {
    color: #676F9D;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Table Styles */
.blog-post .table {
    width: 100%;
    margin: 20px 0 30px;
    font-size: 0.9rem;
    border-collapse: collapse;
}

.blog-post .table thead {
    background: #676F9D;
    color: #fff;
}

.blog-post .table thead th {
    padding: 12px 15px;
    text-align: center;
    font-weight: 700;
}

.blog-post .table tbody td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #DDE0EB;
}

.blog-post .table tbody tr:nth-child(even) {
    background: #F8F9FC;
}

.blog-post .table tbody tr:hover {
    background: #E8EBF5;
}

/* ============================================
   RTL SUPPORT (ARABIC)
   ============================================ */

/* Arabic - Text alignment */
[dir="rtl"] .blog-post .blog-body {
    text-align: right;
}

[dir="rtl"] .blog-post .blog-body h2 {
    text-align: right;
}

[dir="rtl"] .blog-post .blog-body h3 {
    text-align: right;
}

/* Arabic - Lists */
[dir="rtl"] .blog-post .blog-body ul {
    padding-left: 0;
    padding-right: 20px;
}

/* Arabic - Meta icons */
[dir="rtl"] .blog-post .blog-meta i {
    margin-right: 0;
    margin-left: 6px;
}

/* Arabic - Footer */
[dir="rtl"] .blog-post .blog-footer {
    flex-direction: row-reverse;
}

/* Arabic - CTA */
[dir="rtl"] .blog-post .blog-cta h3 {
    text-align: center;
}

/* Arabic - Padding (right instead of left) */
[dir="rtl"] .blog-post {
    padding-left: 0 !important;
    padding-right: 20px !important;
}

/* Arabic - Title (already centered) */
[dir="rtl"] .blog-post .blog-title {
    text-align: center !important;
}

/* Arabic - Share Buttons */
[dir="rtl"] .blog-post .blog-share {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-post .blog-share span {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .blog-post .blog-tags {
    flex-direction: row-reverse;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .blog-post {
        padding: 30px 0;
        padding-left: 10px !important;
    }
    
    .blog-post .blog-title {
        font-size: 1.8rem;
    }

    .blog-post .blog-body {
        font-size: 0.95rem;
    }

    .blog-post .blog-intro {
        font-size: 1.0rem;
    }

    .blog-post .blog-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .blog-post .blog-cta {
        padding: 25px 20px;
    }

    .blog-post .blog-cta h3 {
        font-size: 1.2rem;
    }
    
    .blog-post .blog-cta p {
        font-size: 1.0rem;
    }

    .blog-post .table {
        font-size: 0.8rem;
    }
    
    .blog-post .table thead th,
    .blog-post .table tbody td {
        padding: 8px 10px;
    }

    /* Arabic - Responsive padding */
    [dir="rtl"] .blog-post {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }

    [dir="rtl"] .blog-post .blog-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-post .blog-title {
        font-size: 1.5rem;
    }

    .blog-post .blog-meta {
        font-size: 0.8rem;
        gap: 10px;
    }

    .blog-post .blog-body h2 {
        font-size: 1.2rem;
    }
    
    .blog-post .blog-body h3 {
        font-size: 1.0rem;
    }
    
    .blog-post .blog-tags .tag {
        font-size: 0.75rem;
    }
    
    .blog-post .blog-cta h3 {
        font-size: 1.2rem;
    }
    
    .blog-post .blog-cta p {
        font-size: 0.9rem;
    }
}