/* ============================================
   CSS Variables - الألوان والقيم الأساسية
   ============================================ */
:root {
    /* الألوان الأساسية - ظلال خضراء راقية محسّنة */
    --color-primary: #10B981;
    --color-primary-light: #34D399;
    --color-primary-dark: #059669;
    --color-secondary: #059669;
    --color-secondary-light: #10B981;
    --color-secondary-dark: #047857;
    --color-accent: #34D399;
    --color-accent-light: #6EE7B7;
    --color-accent-dark: #10B981;
    --color-teal: #14B8A6;
    --color-teal-light: #2DD4BF;
    --color-dark-blue: #047857;
    --color-bg-dark: #0F172A;
    --color-bg-secondary: #1E293B;
    --color-bg-tertiary: #334155;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #CBD5E1;
    --color-text-muted: #94A3B8;
    --color-text-dark: #64748B;
    
    /* التدرجات اللونية المحسّنة - ظلال متعددة */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #059669 50%, #34D399 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
    --gradient-cyan: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    --gradient-cyan-reverse: linear-gradient(135deg, #14B8A6 0%, #10B981 100%);
    --gradient-orange: linear-gradient(135deg, #34D399 0%, #4ADE80 100%);
    --gradient-radial: radial-gradient(circle at center, #10B981 0%, #059669 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.8) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(4, 120, 87, 0.85) 50%, rgba(16, 185, 129, 0.75) 100%);
    
    /* الخطوط المحسّنة */
    --font-primary: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.02em;
    
    /* المسافات المحسّنة */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 5rem;
    --spacing-3xl: 6rem;
    
    /* الحدود المحسّنة */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 50%;
    --border-width-thin: 1px;
    --border-width-medium: 2px;
    --border-width-thick: 3px;
    
    /* الظلال المحسّنة */
    --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.4);
    --shadow-glow-lg: 0 0 40px rgba(16, 185, 129, 0.5);
    --shadow-glow-xl: 0 0 60px rgba(16, 185, 129, 0.6);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 20px rgba(16, 185, 129, 0.25);
    --shadow-primary-lg: 0 8px 40px rgba(16, 185, 129, 0.35);
    
    /* الانتقالات المحسّنة */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* تأثيرات Blur */
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    --blur-lg: blur(12px);
    --blur-xl: blur(16px);
    
    /* التباين والشفافية */
    --opacity-light: 0.1;
    --opacity-medium: 0.3;
    --opacity-heavy: 0.5;
    --opacity-dark: 0.7;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Fluid Typography Base */
@media (min-width: 320px) and (max-width: 1920px) {
    html {
        font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1920 - 320)));
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-weight: var(--font-weight-regular);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 clamp(0.75rem, 4vw, 1.5rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 clamp(1.5rem, 3.5vw, 2.5rem);
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
}

/* Safe Area for Notched Devices */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(var(--spacing-md), env(safe-area-inset-left));
        padding-right: max(var(--spacing-md), env(safe-area-inset-right));
    }
    
    .navbar {
        padding-top: max(var(--spacing-sm), env(safe-area-inset-top));
    }
    
    .whatsapp-float {
        bottom: max(30px, env(safe-area-inset-bottom));
    }
    
    .scroll-top {
        bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* ============================================
   Loading Screen - شاشة التحميل
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    z-index: 2;
}

.logo-loader {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    animation: pulse 2s ease-in-out infinite;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.logo-loader img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(16, 185, 129, 0.2);
    border-top-color: var(--color-primary);
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-sm);
    animation: spin 1s linear infinite;
}

.loading-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    animation: float 3s ease-in-out infinite;
}

.particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particles::after {
    top: 60%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 1; }
}

/* ============================================
   Navigation Bar - شريط التنقل
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.navbar.scrolled {
    padding: var(--spacing-xs) 0;
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-text-primary);
}

.logo-img {
    width: clamp(35px, 8vw, 50px);
    height: clamp(35px, 8vw, 50px);
    border-radius: var(--radius-full);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    padding: 2px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .logo-img {
        width: clamp(35px, 10vw, 42px);
        height: clamp(35px, 10vw, 42px);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logo-img {
        width: clamp(40px, 7vw, 48px);
        height: clamp(40px, 7vw, 48px);
    }
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.logo-text {
    font-size: clamp(0.9rem, 0.6rem + 1vw, 1.25rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .logo-text {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logo-text {
        font-size: clamp(1rem, 2.5vw, 1.15rem);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.lang-toggle {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.lang-toggle:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ============================================
   Hero Section - القسم الرئيسي
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-image-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-title {
    font-size: clamp(1.5rem, 2rem + 3vw, 4.5rem);
    font-weight: var(--font-weight-black);
    margin-bottom: clamp(1rem, 2vw, 2rem);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: clamp(3rem, 3.5vw, 4.5rem);
    }
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 0.5rem + 1vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-normal);
    font-weight: var(--font-weight-regular);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
        max-width: 95%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    }
}

@media (min-width: 769px) {
    .hero-subtitle {
        font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   Buttons - الأزرار
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.4rem, 1vw, 0.6rem);
    padding: clamp(0.7rem, 1.2vw, 1rem) clamp(1.2rem, 2vw, 2rem);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: clamp(0.9rem, 0.5rem + 0.5vw, 1.1rem);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 480px) {
    .btn {
        font-size: clamp(0.85rem, 4vw, 1rem);
        padding: clamp(0.75rem, 3vw, 0.9rem) clamp(1.25rem, 5vw, 1.5rem);
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .btn {
        font-size: clamp(0.95rem, 2.5vw, 1.05rem);
        padding: clamp(0.8rem, 2vw, 0.95rem) clamp(1.5rem, 4vw, 1.8rem);
    }
}

@media (min-width: 769px) {
    .btn {
        font-size: clamp(1rem, 1.1vw, 1.1rem);
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-primary-lg);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    border: var(--border-width-medium) solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Section Styles - أنماط الأقسام
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: var(--spacing-md) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(1.4rem, 1.2rem + 2vw, 2.8rem);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    position: relative;
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section-title {
        font-size: clamp(2rem, 3vw, 2.5rem);
    }
}

@media (min-width: 1025px) {
    .section-title {
        font-size: clamp(2.2rem, 2.5vw, 2.8rem);
    }
}

.section-subtitle {
    font-size: clamp(0.9rem, 0.5rem + 0.8vw, 1.2rem);
    color: var(--color-text-secondary);
    max-width: 90%;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-normal);
    font-weight: var(--font-weight-regular);
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        max-width: 95%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .section-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }
}

@media (min-width: 769px) {
    .section-subtitle {
        font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    }
}

/* ============================================
   Services Section - قسم الخدمات
   ============================================ */
.services {
    background: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-xs);
}

.service-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: var(--border-width-thin) solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    padding: clamp(1.2rem, 2.5vw, 2.5rem);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .service-card {
        padding: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service-card {
        padding: clamp(1.5rem, 3vw, 2rem);
    }
}

@media (min-width: 769px) {
    .service-card {
        padding: clamp(2rem, 2.5vw, 2.5rem);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-primary-lg);
    border-color: rgba(16, 185, 129, 0.6);
}

.service-icon {
    font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    margin-bottom: clamp(0.8rem, 2vw, 1.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .service-icon {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service-icon {
        font-size: clamp(2.5rem, 6vw, 3rem);
    }
}

.service-title {
    font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
    font-weight: 700;
    margin-bottom: clamp(0.6rem, 1.5vw, 1rem);
    color: var(--color-text-primary);
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .service-title {
        font-size: clamp(1.05rem, 5vw, 1.25rem);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service-title {
        font-size: clamp(1.2rem, 3vw, 1.4rem);
    }
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: clamp(0.8rem, 2vw, 1.5rem);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: clamp(0.85rem, 0.5rem + 0.6vw, 1.05rem);
}

@media (max-width: 480px) {
    .service-description {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
        line-height: 1.7;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-link:hover {
    gap: var(--spacing-sm);
    color: var(--color-accent);
}

/* ============================================
   Gallery Section - قسم المعرض
   ============================================ */
.gallery {
    background: var(--color-bg-secondary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    padding: var(--spacing-xs);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    cursor: pointer;
    min-height: 250px;
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    will-change: transform;
}

/* Optimize images for performance */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.gallery-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.85rem, 1vw, 1rem);
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    color: white;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.gallery-link:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

/* ============================================
   About Section - قسم من نحن
   ============================================ */
.about {
    background: var(--color-bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: var(--spacing-md) 0;
}

.about-text {
    padding: var(--spacing-md);
}

.about-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
}

.feature-item i {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 2vw, 2rem);
}

.stat-card {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(16, 185, 129, 0.5);
}

.stat-icon {
    font-size: clamp(2rem, 3vw, 2.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

/* ============================================
   FAQ Section - قسم الأسئلة الشائعة
   ============================================ */
.faq {
    background: var(--color-bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.faq-question {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.5;
}

.faq-question i {
    color: var(--color-primary);
    transition: transform var(--transition-normal);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
}

/* ============================================
   Contact Section - قسم التواصل
   ============================================ */
.contact {
    background: var(--color-bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: var(--border-width-thin) solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: var(--shadow-glow-lg);
}

.info-icon {
    font-size: clamp(2rem, 3vw, 2.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.info-card h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.info-card a,
.info-card p {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.info-card a:hover {
    color: var(--color-primary);
}

.contact-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.contact-buttons .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.contact-form-wrapper {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    color: var(--color-text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* ============================================
   Footer - التذييل
   ============================================ */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-left: var(--spacing-xs);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-left: var(--spacing-xs);
}

.footer-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-title {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    padding: var(--spacing-xs) 0;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-right: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    color: var(--color-text-muted);
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    text-decoration: none;
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: clamp(48px, 12vw, 55px);
        height: clamp(48px, 12vw, 55px);
        font-size: clamp(1.3rem, 6vw, 1.5rem);
        bottom: 85px;
        left: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .whatsapp-float {
        width: clamp(52px, 9vw, 58px);
        height: clamp(52px, 9vw, 58px);
        bottom: 25px;
        left: 20px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
    }
}

/* ============================================
   Scroll to Top Button - زر العودة للأعلى
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: clamp(45px, 7vw, 50px);
    height: clamp(45px, 7vw, 50px);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    animation: fadeInScale 0.3s ease-out;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-glow-lg);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   Progress Bar - مؤشر التقدم
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
    z-index: 9999;
    transition: width var(--transition-fast);
    transform-origin: left;
}

/* ============================================
   Breadcrumbs - مسار التنقل
   ============================================ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.breadcrumb-item a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-separator {
    color: var(--color-text-muted);
    margin: 0 var(--spacing-xs);
}

.breadcrumb-item.active {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: clamp(45px, 7vw, 50px);
    height: clamp(45px, 7vw, 50px);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

/* ============================================
   Responsive Design - التصميم المتجاوب
   ============================================ */

/* Extra Large Screens (4K and above) */
@media (min-width: 1921px) {
    .container {
        max-width: 1600px;
        padding: 0 3rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: clamp(4.5rem, 4vw, 5.5rem);
    }
    
    .section-title {
        font-size: clamp(3rem, 2.5vw, 3.5rem);
    }
    
    .section-subtitle {
        font-size: clamp(1.25rem, 1.2vw, 1.4rem);
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .service-card,
    .info-card,
    .stat-card {
        padding: 3rem;
    }
    
    .btn {
        font-size: 1.2rem;
        padding: 1.1rem 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Large Desktop (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: 0 clamp(2rem, 2vw, 2.5rem);
    }
    
    section {
        padding: clamp(4rem, 4.5vw, 5rem) 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(2.5rem, 2.5vw, 3rem);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(2.5rem, 2.5vw, 3rem);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(2.5rem, 2.5vw, 3rem);
    }
    
    .hero-title {
        font-size: clamp(3.5rem, 3.5vw, 4.5rem);
    }
    
    .section-title {
        font-size: clamp(2.5rem, 2.5vw, 3rem);
    }
}

/* Desktop (1025px - 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        padding: 0 clamp(2rem, 2.5vw, 2.5rem);
    }
    
    section {
        padding: clamp(3.5rem, 4.5vw, 4.5rem) 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(2rem, 2.5vw, 2.5rem);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(2rem, 2.5vw, 2.5rem);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(2rem, 2.5vw, 2.5rem);
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --spacing-xl: 3.5rem;
        --spacing-lg: 2.5rem;
        --spacing-md: 1.75rem;
    }
    
    .container {
        max-width: 960px;
        padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    }
    
    section {
        padding: clamp(3rem, 5vw, 4rem) 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(2rem, 2.5vw, 2.5rem);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(2rem, 2.5vw, 2.5rem);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 4vw, 3rem);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.5rem, 2.5vw, 2rem);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(2rem, 3vw, 2.5rem);
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        gap: clamp(1.25rem, 2vw, 1.75rem);
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 200px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 200px;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }
    
    .container {
        padding: 0 clamp(1.25rem, 4vw, 2rem);
    }
    
    section {
        padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.25rem, 2.5vw, 1.75rem);
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1.75rem, 3vw, 2.25rem);
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        gap: clamp(1rem, 2.5vw, 1.5rem);
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 180px;
    }
}

/* Mobile Landscape (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.75rem;
        --spacing-md: 1.25rem;
        --spacing-sm: 0.875rem;
        --spacing-xs: 0.5rem;
    }
    
    .container {
        padding: 0 clamp(0.75rem, 4vw, 1.25rem);
    }
    
    section {
        padding: clamp(2rem, 8vw, 3rem) 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: clamp(1.5rem, 5vw, 2rem);
        transition: right var(--transition-normal);
        border-top: 1px solid rgba(16, 185, 129, 0.2);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: clamp(1rem, 4vw, 1.15rem);
        padding: clamp(0.75rem, 3vw, 1rem) 0;
        width: 100%;
        display: block;
    }
    
    .hero-content {
        padding: clamp(2rem, 6vw, 3rem) clamp(1rem, 4vw, 1.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: clamp(0.75rem, 3vw, 1rem);
        padding: 0 clamp(0.5rem, 2vw, 1rem);
    }
    
    .hero-image-mobile {
        display: block;
    }
    
    .hero-video,
    .hero-image {
        display: none;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: clamp(1.25rem, 5vw, 2rem);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: clamp(1.25rem, 4vw, 1.75rem);
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: clamp(0.75rem, 3vw, 1rem);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 5vw, 2rem);
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: clamp(0.75rem, 3vw, 1rem);
        width: 100%;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) and (orientation: portrait) {

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
        --spacing-xs: 0.5rem;
    }
    
    .container {
        padding: 0 clamp(0.75rem, 5vw, 1rem);
    }
    
    section {
        padding: clamp(1.75rem, 7vw, 2.5rem) 0;
    }
    
    .navbar {
        padding: clamp(0.5rem, 2vw, 0.75rem) 0;
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-content {
        padding: clamp(1.5rem, 5vw, 2.5rem) clamp(0.75rem, 3vw, 1.25rem);
    }
    
    .nav-menu {
        width: 90%;
        max-width: 300px;
        padding: clamp(1.25rem, 4vw, 1.75rem);
    }
    
    .lang-toggle {
        padding: clamp(0.35rem, 2vw, 0.5rem) clamp(0.65rem, 3vw, 0.85rem);
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    }
    
    .stat-card,
    .info-card,
    .faq-item {
        padding: clamp(1rem, 4vw, 1.5rem);
    }
    
    .filter-btn {
        padding: clamp(0.5rem, 2.5vw, 0.7rem) clamp(0.9rem, 4vw, 1.2rem);
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
        min-height: 42px;
    }
    
    .gallery-filters {
        gap: clamp(0.5rem, 2vw, 0.75rem);
        padding: 0 clamp(0.75rem, 3vw, 1rem);
    }
    
    .footer-logo {
        font-size: clamp(1.2rem, 5vw, 1.4rem);
    }
    
    .footer-title {
        font-size: clamp(1.1rem, 4.5vw, 1.25rem);
    }
    
    .footer-logo-img {
        width: clamp(35px, 9vw, 40px);
        height: clamp(35px, 9vw, 40px);
    }
}

/* Very Small Mobile (320px - 360px) */
@media (max-width: 360px) {
    :root {
        --spacing-xl: 1.5rem;
        --spacing-lg: 1rem;
        --spacing-md: 0.75rem;
        --spacing-sm: 0.5rem;
        --spacing-xs: 0.25rem;
    }
    
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .service-card,
    .info-card,
    .stat-card,
    .faq-item {
        padding: var(--spacing-sm);
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 70px;
        left: 8px;
        font-size: 1.3rem;
    }
    
    .scroll-top {
        width: 35px;
        height: 35px;
        bottom: 8px;
        right: 8px;
        font-size: 0.9rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .navbar {
        padding: var(--spacing-xs) 0;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .navbar,
    .whatsapp-float,
    .scroll-top,
    .hero-video,
    .hero-image,
    .hero-image-mobile,
    .menu-toggle,
    .lang-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    .btn {
        border: 1px solid black;
        padding: 0.5rem 1rem;
    }
    
    a {
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img img,
    .footer-logo-img,
    .gallery-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* تحسين الخطوط للشاشات عالية الدقة */
    body {
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
    }
    
    /* تحسين الحدود والظلال */
    .service-card,
    .gallery-item,
    .info-card {
        border-width: 0.5px;
    }
}

/* 4K and Ultra High Resolution Displays */
@media (min-resolution: 288dpi) {
    :root {
        font-size: 18px;
    }
    
    .hero-title {
        letter-spacing: -0.03em;
    }
    
    .section-title {
        letter-spacing: -0.03em;
    }
}

/* Retina Displays Optimization */
@media only screen and (-webkit-min-device-pixel-ratio: 3),
       only screen and (min-resolution: 3dppx) {
    .logo-img,
    .footer-logo-img {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .spinner {
        animation: none;
    }
    
    .particles::before,
    .particles::after {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-dark: #0F172A;
        --color-bg-secondary: #1E293B;
        --color-text-primary: #FFFFFF;
        --color-text-secondary: #CBD5E1;
    }
}

/* Light Mode Support */
@media (prefers-color-scheme: light) {
    :root {
        --color-bg-dark: #0F172A;
        --color-bg-secondary: #1E293B;
    }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary,
    .filter-btn.active {
        border-width: 3px;
    }
    
    .nav-link::after {
        height: 3px;
    }
}

/* Focus Visible for Keyboard Navigation */
@media (any-hover: none) {
    .btn:focus-visible,
    .nav-link:focus-visible,
    .filter-btn:focus-visible {
        outline: 3px solid var(--color-primary);
        outline-offset: 2px;
    }
}

/* ============================================
   Animations on Scroll
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ============================================
   Performance Optimizations
   ============================================ */
.hero-background,
.gallery-image,
.service-card,
.info-card {
    will-change: transform;
    transform: translateZ(0);
}

/* GPU Acceleration for smooth animations */
.hero-content,
.navbar,
.btn,
.service-card:hover,
.gallery-item:hover {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ============================================
   Accessibility Improvements
   ============================================ */
/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ============================================
   Loading States
   ============================================ */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ============================================
   Skeleton Loading - تأثيرات التحميل
   ============================================ */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(30, 41, 59, 0.4) 0%,
        rgba(30, 41, 59, 0.6) 50%,
        rgba(30, 41, 59, 0.4) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: var(--spacing-xs);
    border-radius: var(--radius-sm);
}

.skeleton-title {
    height: 2rem;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
}

.skeleton-card {
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

/* ============================================
   Image Lazy Loading - تحسين تحميل الصور
   ============================================ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.3);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(16, 185, 129, 0.1) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
    z-index: 1;
}

.image-wrapper.loaded::before {
    display: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ============================================
   Container Queries (Future-proof)
   ============================================ */
@container (min-width: 600px) {
    .service-card {
        padding: var(--spacing-lg);
    }
}

@container (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

