:root {
    /* ========================================
       HARMONIOUS COLOR SYSTEM - Purple & Warm
       ======================================== */

    /* Primary Colors - Elegant Purple */
    --primary-color: #667eea;
    /* Soft Purple - Main Brand */
    --primary-light: #8b9bf5;
    /* Light Purple */
    --primary-dark: #5568d3;
    /* Deep Purple */
    --primary-subtle: #e9ecfe;
    /* Very Light Purple Background */

    /* Secondary Colors - Warm Complement */
    --secondary-color: #f59e0b;
    /* Warm Amber - Energy */
    --secondary-light: #fbbf24;
    /* Light Amber */
    --secondary-dark: #d97706;
    /* Deep Amber */
    --secondary-subtle: #fef3c7;
    /* Light Amber Background */

    /* Accent Colors - Balanced Palette */
    --accent-teal: #10b981;
    /* Fresh Teal - Success */
    --accent-pink: #ec4899;
    /* Soft Pink - Highlights */
    --accent-indigo: #6366f1;
    /* Rich Indigo */
    --accent-rose: #f472b6;
    /* Gentle Rose */

    /* Neutral Colors - Professional & Comfortable */
    --text-color: #1e293b;
    /* Dark Slate */
    --text-light: #64748b;
    /* Medium Slate */
    --text-muted: #94a3b8;
    /* Light Slate */
    --light-text: #ffffff;
    /* Pure White */

    /* Background Colors - Clean & Fresh */
    --background-color: #ffffff;
    /* Pure White */
    --background-light: #f8fafc;
    /* Very Light Gray */
    --background-gray: #f1f5f9;
    /* Light Gray */
    --background-warm: #fef9f5;
    /* Warm White */

    /* Gradients - Smooth & Harmonious */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-pink: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-teal: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-warm: linear-gradient(135deg, #fef9f5 0%, #fef3c7 100%);

    /* Shadows - Soft & Natural */
    --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.08);
    --shadow-md: 0 4px 16px rgba(102, 126, 234, 0.12);
    --shadow-lg: 0 8px 24px rgba(102, 126, 234, 0.15);
    --shadow-xl: 0 12px 40px rgba(102, 126, 234, 0.18);
    --shadow-hover: 0 8px 28px rgba(245, 158, 11, 0.2);
    --shadow-card: 0 4px 20px rgba(30, 41, 59, 0.08);

    /* Typography - Excellent Readability */
    --font-main: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1.0625rem;
    /* 17px */
    --font-size-sm: 0.9375rem;
    /* 15px */
    --font-size-lg: 1.1875rem;
    /* 19px */
    --font-size-xl: 1.375rem;
    /* 22px */
    --line-height-base: 1.75;
    --line-height-heading: 1.3;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Border Radius - Modern & Consistent */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 999px;

    /* Spacing Scale - Consistent */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 0.75rem;
    /* 12px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */

    /* Transitions - Smooth & Professional */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

a:hover {
    opacity: 0.85;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    font-size: var(--font-size-base);
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-text);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1A3947 0%, #2C5F6F 100%);
    box-shadow: 0 6px 20px rgba(44, 95, 111, 0.25);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--light-text);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #B8573C 0%, #D97652 100%);
    box-shadow: 0 6px 20px rgba(217, 118, 82, 0.25);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--light-text);
}

.btn-success:hover {
    background: linear-gradient(135deg, #5A8968 0%, #6FA47D 100%);
    box-shadow: 0 6px 20px rgba(111, 164, 125, 0.25);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo img {
    height: 55px;
}

/* ===========================
   Premium Brand Logo Design
   =========================== */

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* Hexagonal icon badge */
.brand-icon {
    position: relative;
    width: 54px;
    height: 54px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.45);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Subtle glint effect */
    overflow: hidden;
}

.brand-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60%;
    height: 180%;
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(25deg);
    pointer-events: none;
}

.brand-link:hover .brand-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 6px 22px rgba(102, 126, 234, 0.55);
}

/* Text block */
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Main company name — gradient text */
.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    transition: opacity 0.3s;
}

/* Tagline underneath */
.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.4px;
    opacity: 0.85;
}

.brand-truck {
    color: var(--secondary-color);
    font-size: 0.8rem;
    animation: truckSlide 3s ease-in-out infinite;
}

@keyframes truckSlide {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(-4px); }
}

.brand-link:hover .brand-name {
    opacity: 0.85;
}

/* Responsive: shrink on tablet/mobile */
@media (max-width: 768px) {
    .brand-name {
        font-size: 1rem;
    }
    .brand-tagline {
        display: none;
    }
    .brand-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 11px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 0.9rem;
    }
}

/* White variant (for gradient-background headers in cities / services) */
.brand-link-white {
    text-decoration: none;
}

.brand-icon-glass {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.brand-link-white:hover .brand-icon-glass {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.08) rotate(-4deg);
}

.brand-name-white {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: block;
    line-height: 1.1;
}

.brand-tagline-white {
    color: rgba(255, 255, 255, 0.85) !important;
}

@media (max-width: 768px) {
    .brand-name-white {
        font-size: 1rem;
    }
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li a {
    font-weight: 500;
    font-size: var(--font-size-base);
    position: relative;
    padding-bottom: 5px;
    color: var(--text-color);
    transition: color var(--transition-base);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    border: 2px solid var(--primary-color);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    transition: all var(--transition-speed);
}

.lang-switch:hover {
    background: var(--gradient-primary);
    color: white;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    font-size: var(--font-size-sm);
}

.contact-btn:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1A3947 0%, #2C5F6F 100%);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600518464441-9154a4dea21b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-speed) var(--transition-smooth);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* Cities Section */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.city-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.city-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-card:hover img {
    transform: scale(1.08);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(44, 95, 111, 0.92) 0%, rgba(44, 95, 111, 0.3) 70%, transparent 100%);
    color: white;
    padding: 25px;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 28px 25px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--secondary-color);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-right-color: var(--primary-color);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Quote Form */
.quote-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,160C1248,139,1344,85,1392,58.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.quote-form {
    background: white;
    padding: 45px;
    border-radius: var(--radius-xl);
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 111, 0.12);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-color) 0%, #1a1d2e 100%);
    color: #B8C5D6;
    padding: 70px 0 25px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Arabic layout */
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}



/* Responsive */
/* Tablet (Portrait and Landscape) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .services-grid,
    .cities-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Mobile (Landscape and Portrait) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }

    .logo img {
        height: 45px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .services-grid,
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Better spacing for mobile */
    .section-padding {
        padding: 40px 0;
    }

    .quote-form {
        padding: 25px 20px;
    }

    /* Ensure buttons are easily tappable */
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Hide language switch on very small screens */
    .lang-switch {
        display: none;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .testimonial-card {
        padding: 20px;
    }

    /* Larger tap targets for mobile */
    .contact-btn,
    .btn {
        min-height: 44px;
    }

    /* Hide header contact btn on mobile to prevent layout overflow */
    .header-actions .contact-btn {
        display: none !important;
    }
}

/* =========================================
   New Homepage Sections Overhaul
   ========================================= */

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Section */
.process-section .process-timeline {
    position: relative;
    padding-top: 20px;
}

@media (min-width: 992px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 65px;
        left: 50px;
        right: 50px;
        height: 3px;
        background-image: linear-gradient(to right, #e2e8f0 50%, transparent 50%);
        background-position: top;
        background-size: 20px 3px;
        background-repeat: repeat-x;
        z-index: 0;
    }
}

.process-step {
    position: relative;
    z-index: 1;
}

/* Stats Section */
.stats-grid .stat-item {
    transition: transform 0.3s ease;
}

.stats-grid .stat-item:hover {
    transform: translateY(-5px);
}

/* Furniture Types */
.furniture-card i {
    transition: transform 0.3s ease;
}

.furniture-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

.service-card,
.city-card,
.feature-item,
.testimonial-card,
.section-padding {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Polished Layout */
.hero-content {
    background: rgba(0, 0, 0, 0.4);
    /* Darker overlay for text readability */
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.btn {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* LTR Support */
html[dir="ltr"] {
    font-family: 'Roboto', sans-serif;
}

html[dir="ltr"] .header-actions {
    margin-right: 0;
    margin-left: auto;
}

html[dir="ltr"] .contact-btn {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="ltr"] .footer-links li i {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="ltr"] .service-icon,
html[dir="ltr"] .feature-icon {
    margin-left: 0;
    margin-right: 0;
    /* Centered in flex/grid usually */
}

/* Ensure flex directions key off dir attribute naturally, 
   but manual margins need flipping if not logical properties. */



/* Fix for Hero Slider Overlap (Defensive CSS) */
/* This ensures/forces horizontal layout even if Swiper JS/CSS is delayed or fails */
.hero-swiper {
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

.hero-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    flex-shrink: 0 !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

/* =========================================
   Visual Audit Fixes
   ========================================= */

/* Fix Hero Slider Text Sizes */
.hero-slider-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
}

.hero-slider-section p {
    font-size: clamp(1rem, 3vw, 1.5rem) !important;
}

/* Prevent Floating Stats from swallowing Hero text on Tablet/Mobile */
@media (max-width: 1024px) {
    .hero-slider-section {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 220px !important; /* create space below for absolute stats */
    }
}
@media (max-width: 768px) {
    .hero-slider-section {
        padding-bottom: 80px !important;
    }
    .hero-floating-stats {
        position: static !important;
        transform: none !important;
        margin-top: -30px;
    }
}

/* Fix CTA buttons width on mobile */
@media (max-width: 480px) {
    .cta-section .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   MOBILE COMPREHENSIVE FIX PACKAGE
   ========================================= */

/* 1. Fix header crowding on mobile */
@media (max-width: 768px) {
    header {
        padding: 0;
    }
    .navbar {
        height: 65px;
        padding: 0 12px;
        gap: 8px;
    }
    /* Hide the "EN" language button */
    .lang-switch {
        display: none !important;
    }
    /* Contact button in header: show only icon + one number */
    .contact-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 5px;
    }
    /* Hide second phone line in header */
    .contact-btn span:last-child {
        display: none;
    }
    /* Brand icon size */
    .brand-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
        border-radius: 9px !important;
    }
    .brand-name {
        font-size: 0.85rem !important;
    }
}

/* 2. Fix the huge white gap after hero (Swiper height issue) */
.hero-slider-section {
    overflow: hidden !important;
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    height: 100% !important;
}
@media (max-width: 768px) {
    .hero-slider-section {
        min-height: 420px !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }
    .hero-swiper {
        min-height: 420px !important;
    }
    .hero-swiper .swiper-slide {
        min-height: 420px !important;
    }
    /* Reduce swiper arrows size on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px !important;
        height: 30px !important;
        background: rgba(255,255,255,0.2) !important;
        border-radius: 50% !important;
    }
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 12px !important;
    }
    /* Make floating stats relative on mobile */
    .hero-floating-stats {
        position: static !important;
        transform: none !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 15px !important;
        padding: 0 !important;
    }
    /* Reduce hero text on mobile */
    .hero-slider-section h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    .hero-slider-section p {
        font-size: 0.95rem !important;
    }
}

/* 3. Fix floating bottom buttons overlap */
@media (max-width: 768px) {
    /* WhatsApp float button - move it up and away from call button */
    .whatsapp-float {
        bottom: 85px !important;
        left: 20px !important;
        right: auto !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 1.5rem !important;
        z-index: 9999 !important;
    }
    /* Back to top button - position it so it doesn't overlap call buttons */
    #backToTop {
        bottom: 90px !important;
        right: 15px !important;
        left: auto !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        z-index: 9998 !important;
    }
    /* Fixed call/whatsapp bar at bottom - ensure it has enough padding */
    .fixed-bottom-cta,
    [style*="position: fixed"][style*="bottom: 0"] {
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }
}

/* 4. Fix stats grid on mobile - 2 columns instead of 4 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    /* Blog grid - 1 column on mobile */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
    /* Cities grid - 1 column on mobile */
    .cities-grid {
        grid-template-columns: 1fr !important;
    }
    /* Sections padding */
    .section-padding {
        padding: 40px 0 !important;
    }
}

/* 5. Fix images in showcases on mobile */
@media (max-width: 768px) {
    /* Real work showcase grid - 1 column */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    /* About section image + text stack */
    [style*="display: flex"][style*="gap: 50px"],
    [style*="display: flex"][style*="gap: 60px"],
    [style*="display: flex"][style*="gap: 80px"] {
        flex-direction: column !important;
    }
    /* Service cards in services.html */
    [style*="display: flex; flex-wrap: wrap; gap: 40px"] {
        flex-direction: column !important;
    }
}

/* 6. Fix form on mobile */
@media (max-width: 768px) {
    .quote-form {
        padding: 20px 15px !important;
        margin: 0 10px !important;
    }
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

/* 7. Prevent horizontal scroll */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* 8. Mobile typography improvements */
@media (max-width: 480px) {
    h1 { font-size: 1.6rem !important; }
    h2 { font-size: 1.4rem !important; }
    h3 { font-size: 1.15rem !important; }
    .container {
        padding: 0 12px !important;
    }
}