/* ============================================
   إعدادات عامة وتصميم حديث ومتطور
   ============================================ */

/* Respect user preferences for 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;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Respect user preferences for 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;
    }
}

:root {
    /* ألوان حديثة - تدرجات زرقاء وذهبية */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #10b981;
    --accent-dark: #059669;
    --danger: #ef4444;
    
    /* ألوان النص */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* ألوان الخلفية */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    
    /* تأثيرات Glassmorphism محسّنة */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(14, 165, 233, 0.2);
    
    /* الظلال */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
    --shadow-2xl: 0 30px 60px -12px rgba(14, 165, 233, 0.3);
    
    /* الانتقالات */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* الخطوط */
    --font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;
}

[data-theme="dark"] {
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-dark: #020617;
    --bg-dark-secondary: #0f172a;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   شريط التنقل - تصميم ثلاثي الأبعاد
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--primary);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 2px solid var(--primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.6rem 0;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
    transition: var(--transition);
    opacity: 0.5;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover::after {
    width: 80%;
    right: 10%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.theme-toggle:hover::before {
    width: 300px;
    height: 300px;
}

.theme-toggle:hover {
    transform: translateY(-3px) rotate(180deg);
    box-shadow: var(--shadow-xl);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--primary);
}

/* ============================================
   Breadcrumb Navigation
   ============================================ */

.breadcrumb-nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    display: none;
    transition: var(--transition);
}

[data-theme="dark"] .breadcrumb-nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   قسم البطل - Hero Section - تصميم ثلاثي الأبعاد
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        var(--primary-light) 30%,
        var(--secondary) 60%,
        var(--accent) 100%);
    opacity: 0.95;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        background: linear-gradient(135deg, 
            var(--primary) 0%, 
            var(--primary-light) 30%,
            var(--secondary) 60%,
            var(--accent) 100%);
    }
    50% { 
        background: linear-gradient(225deg, 
            var(--secondary) 0%, 
            var(--accent) 30%,
            var(--primary) 60%,
            var(--primary-light) 100%);
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: patternMove 25s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, -30px) scale(1.1); }
    66% { transform: translate(30px, 30px) scale(0.9); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 50%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translate(50px, -50px) rotate(90deg);
        opacity: 1;
    }
    50% { 
        transform: translate(-30px, 30px) rotate(180deg);
        opacity: 0.8;
    }
    75% { 
        transform: translate(30px, 50px) rotate(270deg);
        opacity: 0.9;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 950px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    animation: fadeInDown 1s ease 0.3s both;
    box-shadow: var(--glass-shadow);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease 0.5s both;
    position: relative;
}

.title-line.highlight {
    background: linear-gradient(135deg, #fff, #f0f9ff, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    border-radius: 2px;
    animation: expandLine 1s ease 1.5s both;
}

@keyframes expandLine {
    from { width: 0; opacity: 0; }
    to { width: 200px; opacity: 1; }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.9;
    opacity: 0.98;
    animation: fadeInUp 1s ease 0.7s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.9s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.7s, height 0.7s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span, .btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.1s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    min-width: 150px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
    z-index: 1;
}

.mouse {
    width: 32px;
    height: 55px;
    border: 3px solid white;
    border-radius: 25px;
    margin: 0 auto 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wheel {
    width: 5px;
    height: 10px;
    background: white;
    border-radius: 3px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
    0% { top: 12px; opacity: 1; }
    100% { top: 35px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ============================================
   قسم عن الشركة - تصميم ثلاثي الأبعاد
   ============================================ */

.about {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    z-index: 0;
}

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

.section-badge {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-md); }
    50% { transform: scale(1.05); box-shadow: var(--shadow-lg); }
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.5);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-card {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.about-card:hover .card-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: var(--shadow-xl);
}

.about-card h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.2);
    box-shadow: var(--shadow-xl);
}

.feature-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 2.5rem;
    color: white;
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    animation: rotate 3s linear infinite;
}

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

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    padding: 1.2rem 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-primary);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 10;
    border: 2px solid var(--primary);
}

.floating-card i {
    color: var(--primary);
    font-size: 1.4rem;
}

.card-1 {
    top: 30px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

/* ============================================
   قسم الخدمات - تصميم ثلاثي الأبعاد
   ============================================ */

.services {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-primary);
    border-radius: 25px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
    top: -100%;
    right: -100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: var(--shadow-xl);
}

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-light);
    opacity: 0.15;
    line-height: 1;
    position: relative;
    z-index: 0;
}

.service-card h3 {
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.service-image {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.15) rotate(2deg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    gap: 18px;
    color: var(--secondary);
    transform: translateX(-5px);
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ============================================
   قسم معرض الصور - تصميم ثلاثي الأبعاد
   ============================================ */

.gallery {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.gallery-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(5deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(245, 158, 11, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content i {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    transform: scale(0.5) rotate(-180deg);
    transition: var(--transition);
}

.gallery-item:hover .gallery-content i {
    transform: scale(1) rotate(0deg);
}

.gallery-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
}

/* ============================================
   قسم الأسئلة الشائعة
   ============================================ */

.faq {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: scaleY(0);
    transition: var(--transition);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ============================================
   قسم المناطق
   ============================================ */

.areas {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.areas-content {
    display: flex;
    justify-content: center;
}

.area-card-main {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5rem;
    border-radius: 35px;
    text-align: center;
    color: white;
    max-width: 900px;
    width: 100%;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.area-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

.area-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.area-card-main h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.area-card-main p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.area-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.city-tag {
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.05rem;
}

.city-tag:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   قسم الاتصال
   ============================================ */

.contact {
    padding: 120px 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 2rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: var(--shadow-xl);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.contact-card a:hover {
    color: var(--secondary);
    transform: translateX(-5px);
}

.social-media {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
}

.social-media h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: var(--transition);
    flex: 1;
    min-width: 160px;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-link:hover::before {
    width: 300px;
    height: 300px;
}

.social-link span, .social-link i {
    position: relative;
    z-index: 1;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.social-link:hover i {
    transform: scale(1.3) rotate(15deg);
}

.social-link i {
    transition: var(--transition);
    font-size: 1.3rem;
}

.contact-map {
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.contact-map:hover iframe {
    box-shadow: var(--shadow-2xl);
}

.map-note {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   زر العودة للأعلى
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-2xl);
}

/* ============================================
   تذييل الصفحة
   ============================================ */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

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

.footer-section ul li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li:hover,
.footer-section ul li a:hover {
    color: white;
    padding-right: 8px;
    transform: translateX(-5px);
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
    border: 2px solid transparent;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px) scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-xl);
    border-color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

/* ============================================
   Developer Credits Buttons
   ============================================ */

.developer-credits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.credit-item {
    text-align: center;
}

.credit-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.credit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.credit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.credit-button:hover::before {
    width: 300px;
    height: 300px;
}

.credit-button span,
.credit-button i {
    position: relative;
    z-index: 1;
}

.designer-btn {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.designer-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(236, 72, 153, 0.4));
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.designer-btn i.fa-code {
    color: #818cf8;
    transition: var(--transition);
}

.designer-btn:hover i.fa-code {
    transform: rotate(360deg) scale(1.2);
    color: #a78bfa;
}

.company-btn {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(245, 158, 11, 0.2));
    border: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.company-btn:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(245, 158, 11, 0.4));
    border-color: rgba(14, 165, 233, 0.6);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.company-btn i.fa-building {
    color: #38bdf8;
    transition: var(--transition);
}

.company-btn:hover i.fa-building {
    transform: scale(1.2) rotate(5deg);
    color: #60a5fa;
}

.credit-button .button-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.credit-button i.fa-phone-alt {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.credit-button:hover i.fa-phone-alt {
    opacity: 1;
    transform: scale(1.2);
}

.credit-button i.fa-code,
.credit-button i.fa-building {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Responsive for Developer Credits */
@media (max-width: 768px) {
    .developer-credits {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .credit-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
    border-color: white;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-2xl);
        z-index: 1000;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 2rem;
        width: 100%;
    }
    
    .stat-item {
        flex: 1;
        min-width: 120px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .area-card-main {
        padding: 3rem 2rem;
    }
    
    .area-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .area-card-main h3 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        width: 100%;
        min-width: auto;
    }

    .back-to-top {
        bottom: 25px;
        left: 25px;
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .title-line {
        font-size: 1.6rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-card,
    .service-card,
    .faq-item {
        padding: 2rem 1.5rem;
    }
    
    .area-card-main {
        padding: 2.5rem 1.5rem;
    }
    
    .area-card-main h3 {
        font-size: 1.6rem;
    }
    
    .city-tag {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   قسم محتوى SEO إضافي
   ============================================ */

.seo-content {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.seo-content article {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 900;
}

.seo-content > .container > article > div {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1.15rem;
}

.seo-content p {
    margin-bottom: 1.5rem;
}

.seo-content p:first-of-type {
    font-size: 1.2rem;
}

.seo-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    font-weight: 800;
}

.seo-content ul {
    margin: 2rem 0;
    padding-right: 2.5rem;
    line-height: 2.2;
}

.seo-content li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.seo-content .contact-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    border-right: 5px solid var(--primary);
    font-size: 1.2rem;
    line-height: 2;
}

.seo-content .contact-box a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.seo-content .contact-box a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    display: none;
}

[data-theme="dark"] .breadcrumb-nav {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Map iframe */
.contact-map iframe {
    border: 0;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .seo-content h2 {
        font-size: 2rem;
    }
    
    .seo-content h3 {
        font-size: 1.5rem;
    }
    
    .seo-content > .container > article > div {
        font-size: 1rem;
    }
    
    .seo-content ul {
        padding-right: 1.5rem;
    }
}
