/* ==========================================================
   وطن التطور - التصميم الرئيسي v2.0
   Wattan Al-Tatawwur - Main Styles v2.0
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== متغيرات / CSS Variables ========== */
:root {
  --primary: #1E3A5F;
  --primary-light: #2A5298;
  --primary-dark: #0F1F33;
  --accent: #D4A843;
  --accent-light: #F0C060;
  --accent-dark: #A07020;
  --danger: #EF4444;
  --success: #10B981;
  --warning: #F59E0B;
  --info: #3B82F6;
  --text-dark: #0F172A;
  --text-mid: #374151;
  --text-light: #6B7280;
  --text-xlight: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-off: #F8FAFC;
  --bg-light: #F1F5F9;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.20);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Inter', sans-serif;
  --header-h: 72px;
}

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

body {
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
body.lang-ar { font-family: var(--font-ar); direction: rtl; }
body.lang-en { font-family: var(--font-en); direction: ltr; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

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

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

/* ========== شريط الإعلانات / Announcement Bar ========== */
.announcement-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
}
.announcement-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.announcement-bar i { color: var(--accent); margin-inline-end: 6px; }
.announcement-bar .divider { opacity: 0.3; }

/* ========== الرأس / Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  height: var(--header-h);
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

/* الشعار */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.logo-sub { font-size: 11px; color: var(--text-light); font-weight: 400; }

/* القائمة */
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--bg-light);
}

/* أدوات الرأس */
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

.btn-quote {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-quote:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,67,0.4); }

.btn-admin {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-light);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 16px;
  transition: var(--transition);
}
.btn-admin:hover { background: var(--primary); color: white; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== قسم البطل / Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-image {
  position: absolute; inset: 0;
}
.hero-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 15s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,31,51,0.92) 0%,
    rgba(30,58,95,0.85) 50%,
    rgba(15,31,51,0.75) 100%
  );
}
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden;
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.4);
  color: var(--accent-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 300;
}

.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(212,168,67,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(212,168,67,0.5); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

/* الإحصائيات في البطل */
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 36px; font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 400; }

/* سهم التمرير */
.hero-scroll-arrow {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px;
  animation: bounce 2s infinite;
  transition: var(--transition);
  z-index: 1;
}
.hero-scroll-arrow:hover { background: var(--accent); border-color: var(--accent); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== شريط متحرك / Ticker ========== */
.ticker-wrapper {
  background: var(--primary);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.lang-ar .ticker-track { animation-direction: reverse; }
.ticker-item {
  padding: 0 30px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ticker-item i { color: var(--accent); margin-inline-end: 8px; }
.ticker-sep { color: var(--accent); font-size: 8px; align-self: center; }

/* ========== رأس الأقسام / Section Header ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(30,58,95,0.08);
  color: var(--primary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-badge.light {
  background: rgba(212,168,67,0.15);
  color: var(--accent);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== الخدمات / Services ========== */
.services-section {
  padding: 100px 0;
  background: var(--bg-off);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.1); }
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.service-icon-wrap {
  position: absolute;
  bottom: -20px;
  inset-inline-start: 20px;
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
  box-shadow: var(--shadow);
}
.service-body { padding: 30px 20px 20px; }
.service-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.service-desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--accent); }

/* ========== قسم لماذا نحن / Why Section ========== */
.why-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.why-bg {
  position: absolute; inset: 0;
}
.why-bg img { width: 100%; height: 100%; object-fit: cover; }
.why-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,31,51,0.95) 0%, rgba(30,58,95,0.88) 100%);
}
.why-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.why-text .section-badge { margin-bottom: 16px; }
.why-text h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; color: white; margin-bottom: 20px; }
.why-text p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 36px; }

.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.why-feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(212,168,67,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); font-size: 18px;
}
.why-feature h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
.why-feature p { font-size: 13px; color: rgba(255,255,255,0.6); }

.why-image { position: relative; }
.why-image img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  height: 500px;
}
.why-image-badge {
  position: absolute;
  bottom: -20px; inset-inline-end: -20px;
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(212,168,67,0.5);
}
.badge-num { font-size: 28px; font-weight: 900; line-height: 1; }
.badge-plus { font-size: 20px; font-weight: 700; color: var(--accent-light); }
.badge-text { font-size: 10px; font-weight: 600; text-align: center; }

/* ========== المشاريع / Projects ========== */
.projects-section { padding: 100px 0; }

.projects-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.project-card.hidden { display: none; }
.project-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img img { transform: scale(1.08); }
.project-status {
  position: absolute; top: 14px; inset-inline-start: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.project-status.completed { background: rgba(16,185,129,0.9); color: white; }
.project-status.ongoing { background: rgba(59,130,246,0.9); color: white; }
.project-status.planned { background: rgba(107,114,128,0.9); color: white; }

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(15,31,51,0.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 700; font-size: 14px;
  transform: translateY(10px); transition: var(--transition);
}
.project-card:hover .project-view { transform: translateY(0); }
.project-body { padding: 20px; }
.project-cat {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 12px; font-weight: 600;
  margin-bottom: 8px;
}
.project-title {
  font-size: 18px; font-weight: 700;
  color: var(--text-dark); line-height: 1.3;
  margin-bottom: 8px;
}
.project-location { font-size: 13px; color: var(--text-light); }
.project-location i { color: var(--danger); margin-inline-end: 4px; }

/* زر تفصيل */
.btn-outline-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  font-family: inherit;
}
.btn-outline-primary:hover {
  background: var(--primary); color: white;
  transform: translateY(-2px);
}

/* ========== العملاء / Clients ========== */
.clients-section { padding: 60px 0; background: var(--bg-light); }
.clients-section .section-header h3 { color: var(--text-light); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 30px; }
.clients-track-wrapper { overflow: hidden; }
.clients-track {
  display: flex; gap: 0;
  animation: clients 20s linear infinite;
  width: max-content;
}
.lang-ar .clients-track { animation-direction: reverse; }
@keyframes clients {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-logo {
  padding: 12px 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-inline-end: 16px;
  flex-shrink: 0;
}
.client-name { font-size: 14px; font-weight: 700; color: var(--text-mid); white-space: nowrap; }

/* ========== من نحن / About ========== */
.about-section { padding: 100px 0; background: var(--bg-off); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-images { position: relative; }
.about-img-main img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.about-img-secondary {
  position: absolute;
  bottom: -30px; inset-inline-end: -30px;
  width: 55%; z-index: 1;
}
.about-img-secondary img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 5px solid white;
  box-shadow: var(--shadow-lg);
}
.about-experience-badge {
  position: absolute;
  top: 20px; inset-inline-end: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.exp-num { font-size: 28px; font-weight: 900; line-height: 1; }
.exp-plus { font-size: 18px; color: var(--accent-light); }
.exp-text { font-size: 10px; text-align: center; opacity: 0.85; }

.about-content .section-badge { margin-bottom: 16px; }
.about-content h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--text-dark); margin-bottom: 20px; }
.about-lead { font-size: 17px; font-weight: 500; color: var(--text-mid); margin-bottom: 16px; }
.about-content > p { color: var(--text-light); margin-bottom: 30px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.about-value {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-value-icon { font-size: 20px; }
.about-value span { font-size: 14px; font-weight: 700; color: var(--text-dark); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,95,0.35); }

/* ========== نموذج الطلب / Request Section ========== */
.request-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.request-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.request-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: start;
}
.request-info .section-badge { margin-bottom: 16px; }
.request-info h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: white; margin-bottom: 16px; }
.request-info p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.request-features { display: flex; flex-direction: column; gap: 14px; }
.request-feature {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.85); font-size: 15px;
}
.request-feature i { color: var(--accent); font-size: 18px; width: 20px; }

/* Form */
.request-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.form-group label .req { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-off);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 10px;
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: var(--transition);
  font-family: inherit;
  border: none; cursor: pointer;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,67,0.4); }

.alert-success {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  color: #34D399;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  margin-bottom: 30px;
}

/* ========== تواصل معنا / Contact ========== */
.contact-section { padding: 100px 0; background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-icon {
  width: 60px; height: 60px;
  background: rgba(30,58,95,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px; color: var(--primary);
}
.contact-icon.whatsapp { background: rgba(37,211,102,0.1); color: #25D366; }
.contact-icon.email { background: rgba(59,130,246,0.1); color: var(--info); }
.contact-icon.location { background: rgba(239,68,68,0.1); color: var(--danger); }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.contact-card a, .contact-card p { font-size: 14px; color: var(--text-light); display: block; margin-bottom: 6px; }
.contact-card a:hover { color: var(--primary); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: #25D366; color: white;
  border-radius: 8px; font-size: 13px; font-weight: 700;
}
.btn-whatsapp:hover { background: #128C7E !important; color: white !important; }

/* ========== التذييل / Footer ========== */
.footer-top {
  background: var(--primary-dark);
  padding: 70px 0 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .logo-text span { color: white; font-size: 18px; font-weight: 800; display: block; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.5); font-size: 12px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 15px;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: white; }

.footer-links-col h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.footer-links-col a:hover { color: var(--accent); padding-inline-start: 4px; }

.footer-contact-col h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-items div {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.6); font-size: 14px;
}
.footer-contact-items i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-lang { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600; transition: var(--transition); }
.footer-lang:hover { color: var(--accent); }

/* ========== عائم / Floating Elements ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px; inset-inline-start: 30px;
  width: 56px; height: 56px;
  background: #25D366;
  color: white; font-size: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  animation: pulse 2s infinite;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8); }
}

.back-to-top {
  position: fixed;
  bottom: 30px; inset-inline-end: 30px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white; font-size: 16px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ========== لوحة التحكم / Admin ========== */
.admin-layout { display: flex; min-height: 100vh; }

/* ========== استجابة الموقع / Responsive ========== */
@media (max-width: 1024px) {
  .why-content { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-secondary { position: static; width: 100%; margin-top: 20px; }
  .about-img-secondary img { height: 200px; }
  .about-experience-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .request-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .announcement-bar { display: none; }
  .nav-main {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-main.open { display: flex; }
  .nav-link { width: 100%; font-size: 16px; padding: 12px 16px; }
  .hamburger { display: flex; }
  .lang-toggle span:last-child { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .why-content { gap: 30px; }
  .request-form-wrap { padding: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .projects-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-btn { flex-shrink: 0; }
}

/* إنجليزي خاص */
.lang-en .logo-name { font-family: var(--font-en); }
.lang-en .hero-title { font-family: var(--font-en); letter-spacing: -1px; }
.lang-en .section-title { font-family: var(--font-en); letter-spacing: -0.5px; }
