/* ============================================
   شركة الصولجان للحلول البرمجية
   Stylesheet - تصميم احترافي
   ============================================ */

:root {
    /* نظام الألوان */
    --primary: #0a5c9e;
    --primary-dark: #073d6b;
    --primary-light: #1a7fd6;
    --secondary: #00b4d8;
    --secondary-dark: #0088a8;
    --accent: #f59e0b;
    --accent-dark: #d97706;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-500: #64748b;
    --neutral-400: #94a3b8;
    --neutral-300: #cbd5e1;
    --neutral-200: #e2e8f0;
    --neutral-100: #f1f5f9;
    --neutral-50: #f8fafc;

    --white: #ffffff;
    --dark: #0f172a;

    /* التدرجات */
    --gradient-primary: linear-gradient(135deg, #0a5c9e 0%, #00b4d8 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

    /* الخطوط */
    --font-main: 'Cairo', sans-serif;
    --font-alt: 'Tajawal', sans-serif;

    /* المسافات */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* الظلال */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

    /* الحدود */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== إعادة الضبط ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--neutral-700);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ====== الحاوي ====== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ====== الأزرار ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 92, 158, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 92, 158, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ====== الشريط العلوي ====== */
.top-bar {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-info {
    display: flex;
    gap: 1.5rem;
}
.top-bar-info a {
    color: var(--neutral-300);
    transition: color var(--transition);
}
.top-bar-info a:hover { color: var(--secondary); }
.top-bar-info i { margin-left: 0.3rem; color: var(--secondary); }

.top-bar-social {
    display: flex;
    gap: 0.75rem;
}
.top-bar-social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--neutral-300);
    transition: all var(--transition);
}
.top-bar-social a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ====== الهيدر ====== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(10, 92, 158, 0.3);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--neutral-900);
}
.logo-sub {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-menu a {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    background: var(--neutral-100);
}
.nav-menu a.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 12px rgba(10,92,158,0.25);
}
.nav-menu a.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10,92,158,0.35);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--neutral-800);
    border-radius: 3px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ====== الهيرو ====== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    color: var(--white);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0,180,216,0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(10,92,158,0.2) 0%, transparent 50%);
    pointer-events: none;
}
.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,180,216,0.05);
    animation: float 20s infinite ease-in-out;
}
.hero-bg-shapes .shape:nth-child(1) { width: 300px; height: 300px; top: 10%; right: 10%; animation-delay: 0s; }
.hero-bg-shapes .shape:nth-child(2) { width: 200px; height: 200px; bottom: 15%; left: 15%; animation-delay: 5s; }
.hero-bg-shapes .shape:nth-child(3) { width: 150px; height: 150px; top: 50%; left: 50%; animation-delay: 10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}
.hero-text { max-width: 600px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0,180,216,0.15);
    border: 1px solid rgba(0,180,216,0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.hero-badge i { font-size: 0.7rem; }
.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--neutral-300);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}
.hero-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-item:hover {
    background: rgba(0,180,216,0.1);
    transform: translateX(-5px);
}
.hero-card-item .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.hero-card-item h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.hero-card-item p { font-size: 0.8rem; color: var(--neutral-400); margin: 0; }

/* ====== الأقسام العامة ====== */
section {
    padding: var(--space-3xl) 0;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}
.section-tag {
    display: inline-block;
    padding: 0.3rem 1.2rem;
    background: rgba(10,92,158,0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ====== الإحصائيات ====== */
.stats-section {
    background: var(--gradient-primary);
    padding: var(--space-xl) 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {
    color: var(--white);
}
.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    font-size: 1.5rem;
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ====== بطاقات الخدمات ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10,92,158,0.08), rgba(0,180,216,0.08));
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}
.service-card h3 {
    font-size: 1.3rem;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.service-card p {
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--transition);
}
.service-link:hover { gap: 0.6rem; }

/* ====== لماذا نحن ====== */
.why-us {
    background: var(--neutral-50);
}
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.why-us-features {
    display: grid;
    gap: 1.5rem;
}
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 1.15rem;
    color: var(--neutral-900);
    margin-bottom: 0.3rem;
}
.feature-item p {
    color: var(--neutral-500);
    font-size: 0.95rem;
}

.why-us-visual {
    position: relative;
}
.why-us-image {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}
.why-us-image h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.why-us-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.why-us-list-item:last-child { border-bottom: none; }
.why-us-list-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ====== الأعمال ====== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gradient-dark);
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--white);
    transition: opacity var(--transition);
}
.portfolio-overlay h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.portfolio-overlay span {
    font-size: 0.85rem;
    color: var(--secondary);
}
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

/* ====== الفريق ====== */
.team-section {
    background: var(--neutral-50);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.team-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-image-placeholder {
    font-size: 3rem;
    color: var(--neutral-300);
}
.team-info { padding: 1.25rem; }
.team-info h4 { color: var(--neutral-900); font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-info p { color: var(--primary); font-size: 0.85rem; margin-bottom: 0.75rem; }
.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.team-social a {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--neutral-100);
    color: var(--neutral-600);
    font-size: 0.8rem;
    transition: all var(--transition);
}
.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ====== نموذج التواصل ====== */
.contact-section {
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}
.contact-info-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
}
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-info-card > p { color: var(--neutral-400); margin-bottom: 2rem; }
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.contact-info-item .icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-item h5 { font-size: 0.85rem; color: var(--neutral-400); margin-bottom: 0.1rem; }
.contact-info-item p { font-size: 1rem; color: var(--white); }
.contact-info-item a { color: var(--white); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.form-group label .req { color: var(--error); }
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--neutral-800);
    transition: all var(--transition);
    background: var(--white);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10,92,158,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.form-error {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* ====== صفحة من نحن ====== */
.page-hero {
    background: var(--gradient-dark);
    color: var(--white);
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,180,216,0.1) 0%, transparent 70%);
}
.page-hero h1 {
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.page-hero p {
    position: relative;
    color: var(--neutral-400);
    font-size: 1.1rem;
}
.breadcrumb {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--neutral-400);
}
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { text-decoration: underline; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-text h2 {
    font-size: 2rem;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}
.about-text p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-visual {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}
.about-visual h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.about-mission {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.about-mission h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.about-mission p { color: var(--neutral-300); font-size: 0.95rem; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10,92,158,0.08), rgba(0,180,216,0.08));
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
}
.value-card h4 { font-size: 1.15rem; color: var(--neutral-900); margin-bottom: 0.5rem; }
.value-card p { color: var(--neutral-500); font-size: 0.9rem; }

/* ====== قسم CTA ====== */
.cta-section {
    background: var(--gradient-primary);
    padding: var(--space-2xl) 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1.5rem; }

/* ====== الفوتر ====== */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: var(--space-2xl) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-logo .logo-name { color: var(--white); }
.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.5rem;
}
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--neutral-300);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: var(--neutral-400);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-right: 0.3rem;
}
.footer-links a i { font-size: 0.7rem; color: var(--secondary); }
.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    align-items: flex-start;
}
.footer-contact i { color: var(--secondary); margin-top: 0.2rem; }
.footer-contact a:hover { color: var(--secondary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* ====== زر واتساب العائم ====== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}
@keyframes pulse-wa {
    0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
    70% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ====== زر العودة للأعلى ====== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ====== رسائل الفلاش ====== */
.flash-message {
    padding: 1rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    animation: slideDown 0.4s ease;
}
.flash-message .container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.flash-message i { font-size: 1.2rem; }
.flash-message .flash-close {
    margin-right: auto;
    color: inherit;
    opacity: 0.6;
}
.flash-message .flash-close:hover { opacity: 1; }
.flash-success { background: #d1fae5; color: #065f46; border-bottom: 3px solid var(--success); }
.flash-error { background: #fee2e2; color: #991b1b; border-bottom: 3px solid var(--error); }
.flash-info { background: #dbeafe; color: #1e40af; border-bottom: 3px solid var(--primary); }

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ====== الأنيميشن ====== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== لوحة التحكم ====== */
.admin-body {
    background: var(--neutral-100);
}
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    padding: 2rem;
}
.admin-login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}
.admin-login-box .logo {
    justify-content: center;
    margin-bottom: 1.5rem;
}
.admin-login-box h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 0.3rem;
}
.admin-login-box .subtitle {
    text-align: center;
    color: var(--neutral-500);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.admin-login-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}
.admin-login-box .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ====== تخطيط لوحة التحكم ====== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 250px;
    background: var(--neutral-900);
    color: var(--neutral-300);
    flex-shrink: 0;
    position: fixed;
    top: 0; bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform var(--transition);
}
.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-header .logo-name { color: var(--white); font-size: 1.1rem; }
.admin-sidebar-header .logo-sub { color: var(--secondary); }
.admin-sidebar-header .logo-icon { width: 40px; height: 40px; font-size: 1.1rem; }

.admin-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--neutral-400);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    border-right: 3px solid transparent;
}
.admin-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}
.admin-nav a.active {
    background: rgba(10,92,158,0.15);
    color: var(--secondary);
    border-right-color: var(--secondary);
}
.admin-nav a i { width: 20px; text-align: center; }
.admin-nav .badge {
    margin-right: auto;
    background: var(--error);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
}

.admin-main {
    flex: 1;
    margin-right: 250px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.admin-topbar {
    background: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar h1 {
    font-size: 1.25rem;
    color: var(--neutral-900);
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.admin-user-info { text-align: left; }
.admin-user-info .name { font-weight: 600; color: var(--neutral-800); font-size: 0.9rem; }
.admin-user-info .role { font-size: 0.75rem; color: var(--neutral-500); }
.admin-user-avatar {
    width: 40px; height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.admin-content {
    padding: 1.5rem;
    flex: 1;
}
.admin-menu-toggle {
    display: none;
    font-size: 1.3rem;
    color: var(--neutral-700);
}

/* ====== بطاقات لوحة التحكم ====== */
.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition);
}
.admin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.admin-card-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}
.admin-card-icon.blue { background: var(--gradient-primary); }
.admin-card-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.admin-card-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.admin-card-icon.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.admin-card-info h3 { font-size: 1.8rem; color: var(--neutral-900); font-weight: 900; }
.admin-card-info p { font-size: 0.85rem; color: var(--neutral-500); }

/* ====== جدول لوحة التحكم ====== */
.admin-panel {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.admin-panel-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-panel-header h2 {
    font-size: 1.15rem;
    color: var(--neutral-900);
}
.admin-panel-body { padding: 0; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    background: var(--neutral-50);
    padding: 0.875rem 1.5rem;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neutral-600);
    text-transform: uppercase;
    border-bottom: 1px solid var(--neutral-200);
}
.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--neutral-100);
    font-size: 0.9rem;
    color: var(--neutral-700);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--neutral-50); }
.admin-table .status-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}
.status-unread { background: #fee2e2; color: #991b1b; }
.status-read { background: #d1fae5; color: #065f46; }
.status-active { background: #d1fae5; color: #065f46; }
.status-inactive { background: var(--neutral-100); color: var(--neutral-500); }

.admin-actions {
    display: flex;
    gap: 0.4rem;
}
.admin-action-btn {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
}
.action-view { background: #dbeafe; color: #1e40af; }
.action-view:hover { background: #bfdbfe; }
.action-edit { background: #fef3c7; color: #92400e; }
.action-edit:hover { background: #fde68a; }
.action-delete { background: #fee2e2; color: #991b1b; }
.action-delete:hover { background: #fecaca; }

/* ====== نموذج الإدارة ====== */
.admin-form {
    padding: 1.5rem;
}
.admin-form .form-row {
    grid-template-columns: 1fr 1fr;
}
.admin-form .form-group label {
    font-size: 0.85rem;
    color: var(--neutral-700);
}
.admin-form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
}
.btn-secondary {
    background: var(--neutral-200);
    color: var(--neutral-700);
}
.btn-secondary:hover { background: var(--neutral-300); }
.btn-danger {
    background: var(--error);
    color: var(--white);
}
.btn-danger:hover { background: #dc2626; }

/* ====== رسالة فارغة ====== */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--neutral-400);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 0.95rem; }

/* ====== تصميم متجاوب ====== */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-content { flex-direction: column; gap: 0.5rem; }
    .top-bar-info { font-size: 0.8rem; gap: 1rem; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 4rem 1rem 1rem;
        gap: 0.3rem;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right var(--transition);
        align-items: stretch;
    }
    .nav-menu.active { right: 0; }
    .nav-menu a { padding: 0.875rem 1rem; }
    .nav-toggle { display: flex; z-index: 1001; }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }
    section { padding: 3rem 0; }

    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .form-row { grid-template-columns: 1fr; }

    .admin-sidebar {
        transform: translateX(100%);
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-right: 0; }
    .admin-menu-toggle { display: block; }
    .admin-cards { grid-template-columns: 1fr; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.6rem 0.75rem; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.6rem; }
    .hero-badge { font-size: 0.75rem; }
    .logo-name { font-size: 1.1rem; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; }
    .scroll-top { width: 38px; height: 38px; }
}
