/* Tajawal Font Local Setup */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/tajawal-arabic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/tajawal-arabic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/tajawal-arabic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/tajawal-arabic-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/tajawal-arabic-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/tajawal-arabic-900.woff2') format('woff2');
}

/* Fallback Google Font if fonts directory is relocated */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* CSS Variables */
:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --primary-light: #2563eb;
  --primary-rgb: 30, 58, 138;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-rgb: 249, 115, 22;
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --call-blue: #0284c7;
  --call-blue-hover: #0369a1;
  --gold: #936a44;
  --bg: #f8fafc;
  --bg-secondary: #f1f5f9;
  --card: #ffffff;
  --foreground: #0f172a;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --container-max: 1200px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color: var(--foreground);
  background-color: var(--bg);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  color: var(--foreground);
  background-color: var(--bg);
  min-height: 100vh;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Space for fixed bottom mobile bar */
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

input, select, textarea {
  font-family: inherit;
  font-size: 15px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Section Common Styling */
.section {
  padding: 72px 0;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  margin-bottom: 44px;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--foreground);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.65;
}

.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .section-desc {
    font-size: 0.95rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  line-height: 1.4;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 13px 30px;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.35);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--foreground);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline-primary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
}

/* ========================================================
   HEADER & NAVBAR
======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  padding: 7px 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--foreground);
  background-color: var(--bg-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.header-btn-phone:hover {
  background-color: rgba(var(--primary-rgb), 0.16);
  color: var(--primary);
}

.header-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--whatsapp);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.header-btn-wa:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  color: var(--foreground);
  border-radius: var(--radius-sm);
}

@media (max-width: 991px) {
  .nav-desktop {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-inner {
    height: 64px;
  }
  .brand-logo {
    height: 40px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  background-color: #ffffff;
  z-index: 210;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
  padding: 8px;
  color: var(--muted);
  border-radius: var(--radius-sm);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--bg-secondary);
  color: var(--primary);
}

.mobile-drawer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ========================================================
   HERO SECTION & SLIDER
======================================================== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b1120;
}

.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 600px;
}

@media (max-width: 991px) {
  .hero-slider-wrap {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .hero-slider-wrap {
    height: 480px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(11, 17, 32, 0.92) 0%, rgba(11, 17, 32, 0.72) 48%, rgba(11, 17, 32, 0.35) 100%);
  display: flex;
  align-items: center;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(11, 17, 32, 0.78);
  }
}

.hero-content {
  max-width: 680px;
  color: #ffffff;
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  background-color: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: var(--radius-full);
  color: #6ee7b7;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .hero-desc {
    display: none;
  }
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-feature-item svg {
  color: #34d399;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  right: 16px;
}

.slider-next {
  left: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 26px;
  background-color: var(--primary-light);
}

/* ========================================================
   SERVICES SECTION
======================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.12);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================================
   PRODUCTS SECTION
======================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 12px;
}

.product-bullets {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-bullet-item {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding-right: 18px;
  line-height: 1.5;
}

.product-bullet-item::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ========================================================
   HOW WE WORK (PROCESS)
======================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  text-align: center;
  position: relative;
}

.process-step-num {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.25);
  transition: transform 0.3s ease;
}

.process-card:hover .process-step-num {
  transform: scale(1.1);
}

.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================================
   GALLERY SECTION
======================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: opacity 0.3s ease;
}

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

.gallery-card-caption {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

/* ========================================================
   FAQ SECTION (ACCORDION)
======================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  gap: 16px;
}

.faq-question-text {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--foreground);
}

.faq-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================================
   CTA BANNER SECTION
======================================================== */
.cta-banner-section {
  background-color: var(--primary);
  color: #ffffff;
  padding: 72px 0;
  text-align: center;
}

.cta-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.cta-banner-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========================================================
   CONSULTATION FORM SECTION
======================================================== */
.consultation-wrap {
  background-color: var(--primary);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.25);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  color: #ffffff;
}

@media (max-width: 991px) {
  .consultation-wrap {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.consultation-info-title {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.25;
}

.consultation-info-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}

.consultation-trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consultation-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.consultation-trust-item svg {
  color: #34d399;
  flex-shrink: 0;
}

.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-select option {
  background-color: #ffffff;
  color: var(--foreground);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.form-buttons-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .form-buttons-row {
    flex-direction: column;
  }
}

/* ========================================================
   FOOTER
======================================================== */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding-top: 56px;
  color: var(--foreground);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.95rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--foreground);
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ========================================================
   DEVELOPER CREDIT CARD (LIGHT MODE - KHALED DIGITAL SOLUTIONS)
======================================================== */
.developer-credit-card {
  direction: ltr !important;
  text-align: left !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.developer-credit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  border-top-left-radius: var(--radius-xl);
  border-bottom-left-radius: var(--radius-xl);
}

.developer-credit-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.dev-card-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.dev-logo-badge {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}

.dev-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dev-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ea580c;
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 3px 10px;
  border-radius: 9999px;
  width: fit-content;
}

.dev-tag svg {
  color: #f97316;
}

.dev-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 2px 0 0;
}

.dev-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.dev-title a:hover {
  color: #ea580c;
}

.dev-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 2px;
}

.dev-tagline svg {
  color: #f97316;
  flex-shrink: 0;
}

.dev-desc {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.55;
  max-width: 640px;
  margin-bottom: 6px;
}

.dev-meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dev-meta strong {
  color: #334155;
}

.dev-meta-sep {
  color: #cbd5e1;
}

.dev-meta a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

.dev-meta a:hover {
  color: #0369a1;
  text-decoration-color: #0369a1;
}

.dev-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 175px;
}

.dev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dev-btn-call {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.25);
}

.dev-btn-call:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35);
  color: #ffffff;
}

.dev-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.dev-btn-whatsapp:hover {
  background: linear-gradient(135deg, #34d399 0%, #25d366 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

@media (max-width: 900px) {
  .developer-credit-card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 18px;
  }

  .dev-card-actions {
    flex-direction: row;
    width: 100%;
  }

  .dev-btn {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .dev-card-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dev-logo-badge {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .dev-title {
    font-size: 1.2rem;
  }

  .dev-card-actions {
    flex-direction: column;
  }

  .dev-btn {
    width: 100%;
  }

  .dev-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .dev-meta-sep {
    display: none;
  }
}

.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================================================
   FIXED BOTTOM MOBILE ACTION BAR (REQUIRED)
   فوتار بار الموبايل المثبت: اليسار اتصال - اليمين واتساب
======================================================== */
.mobile-fixed-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-fixed-bottom-bar {
    display: flex;
    direction: ltr !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 6px));
    gap: 10px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }

  /* Left button: Call button (الجانب الأيسر - زر الاتصال) */
  .mobile-bar-btn-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
    order: 1; /* Left visually in RTL or LTR when flex direction handles it */
  }

  /* Right button: WhatsApp button (الجانب الأيمن - زر الواتساب) */
  .mobile-bar-btn-whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.35);
    order: 2;
  }

  .mobile-bar-btn-call:active, .mobile-bar-btn-whatsapp:active {
    transform: scale(0.97);
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  padding: 10px;
}

/* ========================================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS (<= 768px)
======================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    position: relative;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .header-inner {
    height: 60px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand-wrapper {
    gap: 8px;
    max-width: calc(100% - 48px);
    overflow: hidden;
  }

  .brand-logo {
    height: 38px;
    max-width: 160px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
  }

  .brand-info {
    display: none !important;
  }

  .hero-section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-slider-wrap {
    height: 480px;
    width: 100%;
    overflow: hidden;
  }

  .hero-overlay {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-content {
    padding: 16px 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-badge {
    font-size: 0.74rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    line-height: 1.4 !important;
  }

  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-stats {
    gap: 16px !important;
    margin-bottom: 18px !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.74rem;
  }

  .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .hero-features {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 0.78rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-feature-item {
    white-space: normal !important;
    max-width: 100% !important;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-prev {
    right: 8px;
  }

  .slider-next {
    left: 8px;
  }

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

  .service-card {
    padding: 20px 18px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .gallery-card {
    height: 220px;
  }

  .btn {
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .btn-lg {
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
  }

  .consultation-wrap {
    padding: 24px 16px !important;
    border-radius: 16px !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .consultation-info {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .consultation-trust-item {
    font-size: 0.88rem !important;
    word-break: break-word !important;
  }

  .consultation-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .consultation-info-title {
    font-size: 1.5rem;
  }

  .consultation-info-desc {
    font-size: 0.92rem;
  }

  .form-buttons-row {
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-buttons-row .btn {
    width: 100% !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .cta-banner-title {
    font-size: 1.6rem;
  }

  .cta-banner-desc {
    font-size: 0.98rem;
  }

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

  .cta-banner-buttons .btn {
    width: 100%;
  }

  .footer-top {
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}