/* Cairo is loaded via <link> in index.html's <head> so the browser can
   discover and fetch it in parallel instead of waiting on this file to
   parse (an @import can only be requested after styles.css itself loads). */

/* Custom font faces for Arabic */
@font-face {
    font-family: 'Air Strip Arabic';
    src: url('fonts/Air Strip Arabic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
}

/* CSS Variables for Brand Colors and Viewport Heights */
:root {
    --primary-color: #2D5A5A;
    --primary-light: #3D7373;
    --primary-dark: #1D4040;
    --secondary-color: #F5F5DC;
    --accent-color: #D4AF37;
    --olive-color: #556B2F;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-border: #E5E5E5;
    --shadow-light: rgba(45, 90, 90, 0.1);

    /* Viewport height variables for mobile browser support */
    --vh: 1vh;
    --real-vh: 1vh;
    --shadow-medium: rgba(45, 90, 90, 0.2);
    --shadow-heavy: rgba(45, 90, 90, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* RTL Support */
body.rtl {
    direction: rtl;
    font-family: 'Cairo', 'Noto Sans Arabic', 'Tahoma', 'Arial Unicode MS', 'Helvetica Neue Arabic', 'Dubai', 'Space Grotesk', sans-serif;
    font-weight: normal;
}

/* RTL Text Alignment - Only for specific paragraphs that should be right-aligned */
body.rtl .about-text,
body.rtl .footer-text,
body.rtl .footer p,
body.rtl .about p:not(.service-card p):not(.client-card p):not(.feature-card p):not(.section-header p) {
    text-align: right;
}

/* Enhanced Arabic Typography */
body.rtl .lang-ar,
body.rtl .mv-hero-statement .lang-ar,
body.rtl .mv-hero-title .lang-ar {
    font-family: 'Cairo', 'Noto Sans Arabic', 'Tahoma', 'Arial Unicode MS', 'Helvetica Neue Arabic', 'Dubai', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Arabic Title Alignment */
body.rtl .mv-hero-title {
    direction: rtl;
    text-align: right;
    display: block !important;
    align-self: baseline !important;
}

body.rtl .mv-hero-title .lang-ar {
    direction: rtl;
    text-align: right;
    display: block;
    width: 100%;
    align-self: unset !important;
}

body.rtl .mv-hero-main {
    text-align: right;
    display: block;
    width: 100%;
    align-self: unset !important;
}

body.rtl .mv-hero-our {
    text-align: right;
    display: block;
    width: 100%;
    align-self: unset !important;
}

/* Specific override for mv-hero-main align-self */
body.rtl .mv-hero-main {
    align-self: unset !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Keep these elements centered in RTL */
body.rtl .section-header,
body.rtl .section-header h2,
body.rtl .section-header p,
body.rtl .hero-content,
body.rtl .hero-text h1,
body.rtl .hero-text p,
body.rtl .mission-content,
body.rtl .mission-content h3,
body.rtl .mission-content blockquote,
body.rtl .vision-content,
body.rtl .vision-content h3,
body.rtl .vision-content blockquote,
body.rtl .mv-card-title,
body.rtl .mv-statement,
body.rtl .mv-highlight,
body.rtl .service-card,
body.rtl .service-card h3,
body.rtl .service-card p,
body.rtl .client-card,
body.rtl .client-info,
body.rtl .client-info h4,
body.rtl .client-info p,
body.rtl .feature-card,
body.rtl .feature-card h4,
body.rtl .feature-card p,
body.rtl .gallery-filters,
body.rtl .filter-btn,
body.rtl .project-years,
body.rtl .gallery-overlay,
body.rtl .gallery-overlay h4 {
    text-align: center !important;
}

/* RTL Mission/Vision Title Colors */
body.rtl .mv-card-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.3);
}

/* RTL Mission/Vision Section Full Width Fix */
body.rtl .mission-vision-hero {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* RTL Mission/Vision Content Alignment */
body.rtl .mv-hero-content {
    text-align: right;
    align-items: flex-end;
}

/* Force RTL alignment for Arabic titles */
body.rtl .mv-hero-title {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
    align-self: baseline !important;
}

body.rtl .mv-hero-title .mv-hero-main {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    width: 100% !important;
    align-self: unset !important;
}

body.rtl .mv-hero-title .mv-hero-our {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    width: 100% !important;
    align-self: unset !important;
}

body.rtl .mv-hero-section {
    float: right;
}

body.rtl .hero-content,
body.rtl .about-content,
body.rtl .contact-content {
    flex-direction: row-reverse;
}

/* RTL Navigation fixes */
body.rtl .nav-container {
    flex-direction: row-reverse;
}

body.rtl .logo {
    order: 3;
}

body.rtl .nav-menu {
    order: 2;
    direction: rtl;
}

body.rtl .language-toggle {
    order: 1;
    margin-left: 0;
    margin-right: 0;
}

/* RTL Mobile Navigation */
@media (max-width: 768px) {
    body.rtl .nav-container {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    body.rtl .logo {
        order: 3;
        text-align: right;
    }
    
    body.rtl .mobile-center-language {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    body.rtl .mobile-toggle {
        order: 1;
        text-align: left;
    }
    
    body.rtl .nav-menu {
        flex-direction: column;
        text-align: right;
        direction: rtl;
    }
    
    body.rtl .nav-menu a {
        text-align: right;
    }
    
    body.rtl .logo {
        order: unset;
    }
    
    body.rtl .nav-menu {
        order: unset;
    }
    
    body.rtl .language-toggle {
        order: unset;
    }
    
}

/* RTL Desktop Navigation */
@media (min-width: 769px) {
    body.rtl .nav-menu a {
        text-align: center;
    }
    
    body.rtl .nav-container {
        justify-content: space-between;
    }
}



/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Arabic Typography - No Bold */
body.rtl h1, 
body.rtl h2, 
body.rtl h3, 
body.rtl h4, 
body.rtl h5, 
body.rtl h6 {
    font-weight: normal;
}

body.rtl .hero-text h1 {
    font-weight: normal;
}

body.rtl .btn-primary, 
body.rtl .btn-secondary {
    font-weight: normal;
}

body.rtl .nav-menu a {
    font-weight: normal;
}

body.rtl .filter-btn {
    font-weight: normal;
}

body.rtl .language-toggle button {
    font-weight: normal;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #E4BF4A);
    color: var(--text-dark);
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35);
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E4BF4A, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    color: var(--text-dark);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-light);
    border-bottom: 1px solid var(--gray-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(245, 245, 220, 0.8);
}

.navbar.scrolled .nav-menu a::after {
    background-color: var(--primary-color);
    box-shadow: none;
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-toggle button {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled .language-toggle button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.language-toggle button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar.scrolled .language-toggle button:hover {
    background-color: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-color);
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

/* Hide mobile elements on desktop */
.mobile-language-toggle {
    display: none;
}

.mobile-center-language {
    display: none;
}

/* Hero Loading Animation */
.hero-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: calc(var(--real-vh, 1vh) * 100);
    min-height: 100dvh;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hero-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Simplified Background */
.loader-background {
    display: none;
}

/* Logo Animation */
.logo-animation {
    margin-bottom: 3rem;
    animation: logo-entrance 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loader-logo {
    height: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Ripple Dot */
.ripple-dot {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    animation: ripple-pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}


/* Loading Text */
.loader-container {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 10;
}

.loader-text {
    color: var(--white);
    animation: text-fade-in 1.5s ease-out 0.5s both;
}

.premium-tagline {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--white);
    text-transform: uppercase;
}

.loading-message {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

.loading-progress {
    margin: 0 auto;
    text-align: center;
}

/* Keyframe Animations */
@keyframes logo-entrance {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}




@keyframes text-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.8);
        opacity: 0.6;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    }
}

/* Hide hero content initially */
.hero.loading .hero-content,
.hero.loading .hero-slider,
.hero.loading .slider-nav {
    opacity: 0;
    visibility: hidden;
}

/* Show hero content when loaded */
.hero.loaded .hero-content,
.hero.loaded .hero-slider,
.hero.loaded .slider-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease 0.3s, visibility 0.8s ease 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--real-vh, 1vh) * 100); /* Fallback for older browsers */
    min-height: 100dvh; /* Dynamic viewport height for modern mobile browsers */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    padding: 12px 28px;
    font-size: 0.95rem;
    min-width: 160px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* Enhanced Section Styling with Segregation */
section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section:not(.hero):not(:first-child) {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

section:not(.hero):not(:first-child)::before {
    display: none;
}

/* Subtle alternating section backgrounds */
section:nth-child(even):not(.hero) {
    background: linear-gradient(135deg, 
        rgba(245, 245, 220, 0.015) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(245, 245, 220, 0.015) 100%
    );
}

section:nth-child(odd):not(.hero) {
    background: linear-gradient(135deg, 
        rgba(45, 90, 90, 0.008) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(45, 90, 90, 0.008) 100%
    );
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

/* Hidden section divider */
.section-header h2::after {
    display: none;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}


/* Services Section */
.services {
    background-color: var(--gray-light);
}

/* Mission & Vision Section - Full Impact Design */
.mission-vision {
    padding: 0 !important;
}

.mission-vision-hero {
    margin-top: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.mv-hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex: 1;
    z-index: 2;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Desktop: Full width background with slightly left content */
@media (min-width: 1024px) {
    .mission-vision-hero {
        display: flex;
        flex-direction: column;
        position: relative;
        height: auto;
        min-height: 90vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .mv-hero-section {
        width: 60%;
        height: auto;
        min-height: 45vh;
        position: relative;
        float: left;
        padding: 2rem 0;
        margin-left: 20%;
    }
    
    /* Full width parallax background using background-attachment fixed */
    .mission-vision-hero {
        background-image: 
            linear-gradient(135deg, 
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.6) 25%,
                rgba(0, 0, 0, 0.5) 50%,
                rgba(0, 0, 0, 0.7) 75%,
                rgba(0, 0, 0, 0.9) 100%),
            url('mission_vision_images/image003.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
    }
    
    .mv-hero-bg {
        display: none; /* Hide the img element since we're using CSS background */
    }
    
    /* Overlay is now built into the parallax background */
    .mv-hero-overlay {
        display: none;
    }
}

.mv-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.mv-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mv-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%,
        rgba(45, 90, 90, 0.6) 25%,
        rgba(45, 90, 90, 0.4) 50%,
        rgba(212, 175, 55, 0.5) 75%,
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.mv-hero-content {
    position: relative;
    z-index: 4;
    max-width: 1000px;
    margin: 0;
    text-align: left;
    padding: 3rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
}

/* Desktop: Adjust content for slightly left layout */
@media (min-width: 1024px) {
    .mv-hero-content {
        max-width: 500px;
        padding: 1rem 0;
        margin-left: 0;
    }
    
    .mv-hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .mv-hero-our {
        font-size: 1em;
        letter-spacing: 1.5px;
    }
    
    .mv-hero-statement {
        font-size: 1.1rem;
        max-width: 700px;
        line-height: 1.6;
        font-weight: 400;
    }
    
    /* RTL Desktop Mission/Vision Fix */
    body.rtl .mission-vision-hero {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
    }
    
    body.rtl .mv-hero-section {
        float: right;
        margin-left: 0;
        margin-right: 20%;
    }
    
    body.rtl .mv-hero-content {
        text-align: right;
        align-items: flex-end;
    }
}


.mv-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
    transition: all 0.3s ease;
    display: flex;
    align-items: baseline;
    text-align: left;
    white-space: nowrap;
}

.mv-hero-our {
    font-size: 1em;
    font-weight: 400;
    opacity: 0.6;
    margin-right: 0.3em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mv-hero-main {
    font-size: 1em;
    font-weight: 800;
    opacity: 1;
    letter-spacing: -0.5px;
}

.mv-hero-statement {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
    max-width: 750px;
    margin: 0 auto;
    font-style: normal;
    transition: all 0.3s ease;
    text-align: justify;
}


/* Hover Effects */
.mv-hero-section:hover .mv-hero-bg img {
    transform: scale(1.05);
}


/* Unified hover effect for both sections */
.mission-hero:hover .mv-hero-overlay,
.vision-hero:hover .mv-hero-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 25%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 75%,
        rgba(0, 0, 0, 0.5) 100%);
}


.mv-hero-section:hover .mv-hero-title {
    transform: translateY(-1px);
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.8),
        0 6px 12px rgba(0, 0, 0, 0.6);
}

.mv-hero-section:hover .mv-hero-statement {
    transform: translateY(-1px);
    color: rgba(255, 255, 255, 1);
}


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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
}

/* Service Card Background Images and Overlays */
.service-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
    transition: all 0.3s ease;
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: center;
}

.service-card:hover .service-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

/* Individual Service Background Images */
.construction-service {
    background-image: url('service_images/construction.jpg');
}

.housing-service {
    background-image: url('service_images/housing.jpg');
}

.laundry-service {
    background-image: url('service_images/laundry.jpg');
}

.catering-service {
    background-image: url('service_images/catering.jpg');
}

.cleaning-service {
    background-image: url('service_images/cleaning.jpg');
}

.transportation-service {
    background-image: url('service_images/transportation.png');
}

.maintenance-service {
    background-image: url('service_images/maintenance.png');
}

.security-service {
    background-image: url('service_images/security-checkpoint.jpg?v=3');
}

/* Service Card Text Colors with Overlay */
.service-card h3 {
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.service-card p {
    color: var(--white) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.service-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon i {
    color: var(--white) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
    padding: 0;
}

/* Hide filter buttons for native gallery look */
.gallery-filters {
    display: none;
}

/* Native iOS/Android style gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: none;
    border-radius: 4px;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.gallery-item:hover {
    opacity: 0.9;
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.gallery-item:hover img {
    transform: none;
}

/* Hide overlay for clean native look */
.gallery-overlay {
    display: none;
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}


/* Simplified gallery item loading - no complex animations */
.gallery-item {
    opacity: 1;
    transform: none;
    animation: none;
    display: block;
}

/* Remove all animation delays for instant loading */
.gallery-item:nth-child(n) { 
    animation-delay: 0s; 
}

/* Remove shine effect for native look */
.gallery-item::before {
    display: none;
}

.gallery-item img {
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1);
}

.gallery-item:hover img {
    filter: brightness(1.1) contrast(1.1);
}


/* Image Loading States - Simplified */
.gallery-item img {
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-item.loading img {
    opacity: 0.5;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Gallery Filter Animation */
.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item.show {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Mobile Gallery - Keep same native look */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
        margin: 0;
    }
    
    .gallery-item {
        aspect-ratio: 1;
        border-radius: 4px;
        box-shadow: none;
    }
    
    .gallery-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .gallery-overlay {
        display: none;
    }
    
    .gallery-filters {
        display: none;
    }
    
    /* Mobile section spacing adjustment */
    section {
        padding: 80px 0;
    }
    
    .mission-vision-hero {
        display: flex;
        flex-direction: column;
        height: auto;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        background-image: 
            linear-gradient(135deg, 
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.6) 25%,
                rgba(0, 0, 0, 0.5) 50%,
                rgba(0, 0, 0, 0.7) 75%,
                rgba(0, 0, 0, 0.9) 100%),
            url('mission_vision_images/image003.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        min-height: auto;
    }
    
    .mv-hero-section {
        height: auto;
        width: 100%;
        min-height: 40vh;
        position: relative;
        z-index: 2;
        padding: 1rem 0;
    }
    
    .mv-hero-content {
        text-align: left;
        align-items: flex-start;
        padding: 1.5rem 2rem;
        z-index: 4;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: auto;
        max-width: 80%;
        margin: 0 auto;
    }
    
    /* RTL Mobile Mission/Vision Fix */
    body.rtl .mission-vision-hero {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
    }
    
    body.rtl .mv-hero-content {
        text-align: right;
        align-items: flex-end;
    }
    
    .mv-hero-bg {
        display: none; /* Hide the img element since we're using CSS background */
    }
    
    /* Overlay is now built into the parallax background */
    .mv-hero-overlay {
        display: none;
    }
    
    
    .mv-hero-title {
        font-size: 2.5rem;
    }
    
    .mv-hero-our {
        font-size: 1em;
        letter-spacing: 1.8px;
    }
    
    .mv-hero-statement {
        font-size: 1.2rem;
        max-width: 90%;
    }
    
    .mv-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 3rem 2rem 2.5rem 2rem;
        margin-top: 30px;
    }
    
    .mission-icon,
    .vision-icon {
        top: -30px;
        width: 60px;
        height: 60px;
    }
    
    .mission-icon i,
    .vision-icon i {
        font-size: 1.7rem;
    }
    
    /* Mobile RTL centering */
    body.rtl .service-card,
    body.rtl .client-card,
    body.rtl .feature-card,
    body.rtl .gallery-item,
    body.rtl .mission-card,
    body.rtl .vision-card {
        text-align: center !important;
    }
}

/* Clients Section */
.clients {
    background-color: var(--white);
}

/* Partners Projects */
.partners-projects {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.project-item {
    flex: 1 1 300px;
    max-width: 360px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-item h4 {
    margin-bottom: 0.75rem;
}

.project-name {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.project-duration {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.project-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* RTL Partners Projects */
body.rtl .project-item {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

/* Mobile Partners Projects */
@media (max-width: 768px) {
    .partners-projects {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .project-item {
        flex-basis: 100%;
        max-width: 100%;
        padding: 1.25rem;
    }
    
    .project-name {
        font-size: 1rem;
    }

    .project-item p {
        font-size: 0.9rem;
    }
}

/* Corporate-style Partners Grid */
.partners-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.partner-logo {
    padding: 1.5rem 1rem 1rem 1rem;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(0%) opacity(1);
    flex-shrink: 0;
}

.partner-logo h4 {
    margin: 0.75rem 0 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    opacity: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}


/* Ensure no layout conflicts */
.partner-logo * {
    box-sizing: border-box;
}

/* Override any conflicting styles */
.partners-logos-grid .partner-logo {
    margin: 0;
    flex-shrink: 0;
    width: 180px;
}

/* Responsive Partners Grid */
@media (max-width: 1024px) {
    .partners-logos-grid {
        gap: 1.25rem 0.75rem;
        padding: 1.5rem 0;
    }

    .partners-logos-grid .partner-logo {
        width: 168px;
    }

    .partner-logo {
        height: 120px;
        padding: 1rem 0.75rem 0.75rem 0.75rem;
        background: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .partner-logo h4 {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .partners-logos-grid {
        gap: 1rem 0.75rem;
        padding: 1rem 0;
    }

    .partners-logos-grid .partner-logo {
        width: 100px;
    }

    .partner-logo {
        height: 100px;
        padding: 0.75rem 0.5rem 0.5rem 0.5rem;
        background: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .partner-logo img {
        max-height: 50px;
    }
    
    .partner-logo h4 {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .partners-logos-grid {
        gap: 0.75rem 0.5rem;
        padding: 1rem 0;
    }

    .partners-logos-grid .partner-logo {
        width: 90px;
    }

    .partner-logo {
        height: 90px;
        padding: 0.5rem 0.25rem 0.25rem 0.25rem;
        background: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .partner-logo img {
        max-height: 40px;
    }
    
    .partner-logo h4 {
        font-size: 0.75rem;
        margin-top: 0.5rem;
        line-height: 1.2;
    }
}

.client-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 
        0 10px 30px rgba(45, 90, 90, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.02) 0%, 
        rgba(45, 90, 90, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(45, 90, 90, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.client-card:hover::before {
    opacity: 1;
}

.client-logo {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 4px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-card:hover .client-logo {
    background: rgba(45, 90, 90, 0.05);
    transform: scale(1.05);
}

.client-card:hover .client-logo img {
    transform: scale(1.1);
}

.client-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.client-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-years {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #E4BF4A);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Why Us Section */
.why-us {
    background-color: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 1.5rem 0;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(45, 90, 90, 0.3);
    text-align: center;
}

.email-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 90, 90, 0.4);
    color: var(--white);
    text-decoration: none;
}

.email-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* Ensure footer-bottom is always centered */
body.rtl .footer-bottom,
html[dir="rtl"] .footer-bottom {
    text-align: center !important;
}

/* Language Display Logic */
.lang-en, .lang-ar {
    display: none;
}

html[lang="en"] .lang-en,
html[lang="ar"] .lang-ar {
    display: inline;
}

/* RTL Specific Adjustments */
html[dir="rtl"] .hero-content,
html[dir="rtl"] .about-content,
html[dir="rtl"] .contact-content {
    flex-direction: row-reverse;
}


html[dir="rtl"] .feature,
body.rtl .feature {
    flex-direction: row-reverse;
    text-align: right;
}


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

html[dir="rtl"] .nav-menu a::after,
body.rtl .nav-menu a::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Additional Gallery Responsive Breakpoints */
/* Tablet Gallery - 4 columns */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
    }
}

/* Small Mobile - 3 columns for very small screens */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1px;
    }
}

/* Large Desktop - 5 columns for very wide screens */
@media (min-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    /* Show mobile center language toggle */
    .mobile-center-language {
        display: block;
        order: 2;
    }
    
    .mobile-center-language button {
        background: none;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 6px 12px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.3s ease;
        min-width: 40px;
    }
    
    .navbar.scrolled .mobile-center-language button {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    
    .mobile-center-language button:hover {
        background-color: var(--white);
        color: var(--primary-color);
    }
    
    .navbar.scrolled .mobile-center-language button:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }
    
    /* Adjust nav container for three items */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .mobile-toggle {
        order: 3;
        flex: 1;
        text-align: right;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 200px;
        max-height: calc(100vh - 80px);
        max-height: calc(100dvh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px var(--shadow-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9999;
        border-radius: 4px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar.scrolled .nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
    }
    
    .nav-menu a {
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--gray-border);
        text-align: center;
        color: var(--primary-color);
    }
    
    .nav-menu a:hover {
        color: var(--accent-color);
    }
    
    /* Mobile language toggle */
    .mobile-language-toggle {
        display: block;
        padding: 1rem 0;
        text-align: center;
        border-top: 2px solid var(--primary-color);
        margin-top: 1rem;
    }
    
    .mobile-language-toggle button {
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        padding: 12px 24px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-language-toggle button:hover {
        background-color: var(--primary-dark);
        transform: translateY(-1px);
    }
    
    /* Hide desktop language toggle on mobile */
    .language-toggle {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        min-height: 150px;
        padding: 1rem;
    }
    
    .email-link {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .mv-hero-section {
        height: auto;
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .mv-hero-title {
        font-size: 2.2rem;
    }
    
    .mv-hero-our {
        font-size: 1em;
        letter-spacing: 1.5px;
    }
    
    .mv-hero-statement {
        font-size: 1.1rem;
        max-width: 95%;
    }
    
    .mv-hero-content {
        padding: 1rem 1.5rem;
        max-width: 85%;
        margin: 0 auto;
    }
    
    .values-showcase {
        padding: 3rem 2rem;
    }
    
    .values-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .value-image {
        height: 100px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        min-width: 240px;
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .slider-nav {
        bottom: 80px;
        z-index: 2;
    }
    
    /* Scroll down indicator - lower z-index on mobile */
    .scroll-down {
        z-index: 1 !important;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 1.8rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Very short screens (landscape phones) */
@media (max-height: 500px) and (max-width: 768px) {
    .nav-menu {
        padding: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    .mobile-language-toggle {
        padding: 0.5rem 0;
    }
    
    .mobile-language-toggle button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px;
    transition: all 0.2s ease;
    z-index: 1001;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: none;
}

/* Native-style lightbox navigation */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 16px 12px;
    transition: all 0.2s ease;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    z-index: 1001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%);
}

.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 4px;
    backdrop-filter: blur(20px);
    font-weight: 500;
}

/* Lightbox image container */
.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-image.loaded {
    opacity: 1;
}

/* Lightbox loader */
.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #c9a227;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Swipe indicators for mobile */
.swipe-indicator {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    animation: swipe-hint-show 4s ease-in-out 1s forwards;
}

.swipe-hint {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
}

.swipe-arrows {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 0.9rem;
}

.swipe-arrow {
    font-size: 1.8rem;
    font-weight: bold;
    animation: swipe-arrow-pulse 2s ease-in-out infinite;
}

.swipe-arrow.left {
    animation-delay: 0s;
}

.swipe-arrow.right {
    animation-delay: 1s;
}

.swipe-text {
    font-size: 0.85rem;
    text-align: center;
    min-width: 120px;
}

.mobile-only {
    display: none;
}

@keyframes swipe-hint-show {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes swipe-arrow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Mobile lightbox - native iOS/Android style */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .lightbox-close {
        top: 40px;
        right: 20px;
        background: rgba(0, 0, 0, 0.7);
        font-size: 1.3rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none; /* Hide navigation arrows on mobile - use swipe gestures instead */
    }

    .lightbox-counter {
        bottom: 40px;
        background: rgba(0, 0, 0, 0.7);
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .lightbox-content {
        padding: 0;
    }
    
    .lightbox-content img {
        max-width: 100vw;
        max-height: 100vh;
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-toggle,
    .language-toggle {
        display: none;
    }
    
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* Image Loading Animation */
.image-loading {
    position: relative;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 8px;
    overflow: hidden;
    min-height: 100px;
}

.image-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: loading-sweep 1.5s infinite;
    z-index: 1;
}

.image-loading img {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 0;
}

.image-loaded {
    background: none !important;
    animation: none !important;
    min-height: auto;
}

.image-loaded::before {
    display: none;
}

.image-loaded img {
    opacity: 1;
    z-index: 1;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes loading-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Specific loading states for different image types */
.gallery-item .image-loading {
    aspect-ratio: 1;
    min-height: 200px;
}

.service-card .image-loading {
    height: 200px;
    border-radius: 8px 8px 0 0;
}

.partner-logo .image-loading {
    height: 60px;
    width: 60px;
    border-radius: 8px;
    margin: 0 auto;
}

/* Hero Slider - Clean and Simple */

/* RTL Loading Animation */
body.rtl .image-loading {
    background: linear-gradient(270deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

body.rtl .image-loading::before {
    background: linear-gradient(270deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}

/* Mobile Hero and Loading Animation */
@media (max-width: 768px) {
    .hero {
        /* Ensure proper mobile viewport handling */
        min-height: calc(var(--real-vh, 1vh) * 100);
        min-height: 100dvh;
    }

    .hero-loader {
        /* Ensure loader covers full mobile viewport */
        min-height: calc(var(--real-vh, 1vh) * 100);
        min-height: 100dvh;
    }

    .hero-text h1 {
        font-size: 2.2rem !important;
    }

    .loader-spinner {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
    }

    .loader-text {
        font-size: 1rem;
    }

    .gallery-item .image-loading {
        min-height: 150px;
    }

    .service-card .image-loading {
        height: 150px;
    }

    .partner-logo .image-loading {
        height: 50px;
        width: 50px;
    }
}

/* Specific handling for mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero,
    .hero-loader {
        min-height: calc(var(--real-vh, 1vh) * 100);
        min-height: 100dvh;
    }
}