/* =====================================================
   SOLUX — IT & Digital Marketing | Dubai SMB Partner
   Brand: Teal #4ABFBF / Dark #0D0D0D / White #FFFFFF
   Version: 2.0 — Full Website Rebuild
   ===================================================== */

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

:root {
  --teal:        #4ABFBF;
  --teal-light:  #6DCFCF;
  --teal-dark:   #33A0A0;
  --teal-muted:  rgba(74,191,191,0.12);
  --teal-glow:   rgba(74,191,191,0.25);
  --dark:        #0D0D0D;
  --dark-2:      #141414;
  --dark-3:      #1C1C1C;
  --dark-4:      #232323;
  --white:       #FFFFFF;
  --gray-50:     #FAFAFA;
  --gray-100:    #F7F8FA;
  --gray-200:    #EEEFF2;
  --gray-300:    #E1E3E8;
  --gray-600:    #6B7280;
  --gray-800:    #374151;
  --green:       #22C55E;
  --red:         #EF4444;
  --font-en:     'Inter', sans-serif;
  --font-ar:     'Tajawal', sans-serif;
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.16);
  --shadow-teal: 0 8px 32px rgba(74,191,191,0.3);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font-en);
  background: #0d0d0d;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

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

.section { padding: 96px 0; position: relative; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
.animate-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card, .problem-card, .industry-card, .case-card, .why-stat-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, box-shadow 0.3s;
}
.service-card.visible, .problem-card.visible, .industry-card.visible, .case-card.visible, .why-stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   SHARED COMPONENTS
   ===================================================== */
.section-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--teal-muted);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title span { color: var(--teal); }

.section-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(74,191,191,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--teal-muted); transform: translateY(-2px); }

/* =====================================================
   HEADER
   ===================================================== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all var(--transition); padding: 24px 0; background: transparent; }
.site-header.scrolled {
  background: rgba(10,10,10,0.97);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.logo-img, .footer-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding: 10px 12px; /* Better touch targets */
}
.nav-link:hover { color: var(--teal); }
.nav-link svg { transition: transform var(--transition); }

/* Dropdown Wrapper */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-wrap:hover .mega-menu,
.nav-dropdown-wrap:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-wrap:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 860px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
}

body.lang-ar .mega-menu {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(-8px);
}
body.lang-ar .nav-dropdown-wrap:hover .mega-menu {
  transform: translateX(50%) translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 24px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.mega-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74,191,191,0.2);
}

.mega-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  padding: 6px 0;
  transition: color var(--transition);
}
.mega-link:hover { color: var(--white); padding-left: 6px; }
body.lang-ar .mega-link:hover { padding-left: 0; padding-right: 6px; }

.mega-cta-col { min-width: 180px; }
.mega-cta-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--white);
}
.mega-cta-icon { font-size: 24px; margin-bottom: 10px; }
.mega-cta-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.mega-cta-card p { font-size: 12px; opacity: 0.85; margin-bottom: 16px; line-height: 1.5; }
.btn-mega-cta {
  display: block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition);
}
.btn-mega-cta:hover { background: rgba(255,255,255,0.35); }

/* Simple Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  width: 240px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 999;
}
body.lang-ar .dropdown-menu { left: auto; right: 0; }

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.dropdown-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,0.14); }
.lang-en, .lang-ar { font-size: 13px; font-weight: 700; }
.lang-en.active, .lang-ar.active { color: var(--teal); }
.lang-en:not(.active), .lang-ar:not(.active) { color: rgba(255,255,255,0.4); }
.lang-sep { color: rgba(255,255,255,0.2); font-size: 12px; }

.nav-cta { font-size: 14px; padding: 10px 22px; }

/* Mobile Nav */
.nav-mobile-actions { display: none; align-items: center; gap: 12px; }
.lang-toggle-mobile {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
}
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 24px;
  background: rgba(10,10,10,0.99);
  border-top: 1px solid rgba(255,255,255,0.06);
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  padding: 14px 0 6px;
}

.mobile-link {
  color: rgba(255,255,255,0.75);
  padding: 11px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--teal); }
.mobile-link.mobile-all { color: var(--teal); font-weight: 600; }
.mobile-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 8px 0; }
.mobile-cta { margin-top: 16px; text-align: center; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.hero-bg { display: none; }
.hero-image {
  position: absolute; inset: 0;
  background-image: url('images/hero-bg-new.png');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(74,191,191,0.08) 0%, transparent 70%);
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.3) 0%, var(--dark) 100%);
}
.hero-particles {
  position: absolute; inset: 0; z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 36px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

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

.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-typed {
  color: var(--teal);
  display: inline-block;
  min-height: 1.1em;
}

.hero-typed::after {
  content: '|';
  animation: blink 0.8s infinite;
  margin-left: 2px;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

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

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.9s ease 0.5s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  transition: all var(--transition);
  box-shadow: var(--shadow-teal);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(74,191,191,0.45); }

.btn-hero-secondary {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.btn-hero-secondary:hover { color: var(--white); border-color: var(--teal); }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 24px 40px;
  animation: fadeInUp 0.9s ease 0.7s both;
  max-width: 950px; /* Increased to fit Professional Services */
  margin: 0 auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: transparent;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.trust-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  white-space: nowrap;
}
.trust-logo:hover { color: var(--teal-dark); }

/* =====================================================
   PROBLEM SECTION
   ===================================================== */
.problem-section { background: transparent; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  cursor: default;
}

.problem-card:hover {
  border-color: rgba(74,191,191,0.4);
  background: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.problem-solution {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section { background: transparent; }

/* Service Tabs */
.service-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.svc-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--gray-200);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition);
}

.svc-tab:hover { border-color: var(--teal); color: var(--teal-dark); }
.svc-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-card { padding: 32px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); transition: all var(--transition); height: 100%; }

.service-card:hover { transform: translateY(-8px); border-color: var(--teal); background: rgba(255,255,255,0.08); box-shadow: var(--shadow-lg); }

.service-card.featured {
  border-color: rgba(74,191,191,0.3);
  background: linear-gradient(135deg, rgba(74,191,191,0.04) 0%, var(--white) 100%);
}

.service-badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #FF6B35, #FF8C00);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
body.lang-ar .service-badge-new { right: auto; left: 12px; }

.service-icon-wrap {
  padding: 24px 24px 0;
}

.service-icon {
  font-size: 32px;
  display: block;
}

.service-content {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.service-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  transition: color var(--transition);
}
.service-card:hover .service-title { color: var(--teal-dark); }

.service-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  flex-grow: 1;
}

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}
.service-link:hover { gap: 8px; }

.service-card.hidden { display: none; }

.services-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =====================================================
   INDUSTRIES SECTION
   ===================================================== */
.industries-section { background: transparent; }
.industries-section .section-badge { background: rgba(74,191,191,0.15); }
.industries-section .section-title { color: var(--white); }
.industries-section .section-desc { color: rgba(255,255,255,0.6); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); transition: all var(--transition); cursor: pointer; }

.industry-card:hover { background: rgba(255,255,255,0.08); border-color: var(--teal); transform: translateY(-4px); }

.industry-icon { font-size: 32px; }

.industry-card h3 { font-size: 18px; font-weight: 700; color: var(--white); }

.industry-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* =====================================================
   WHY SOLUX SECTION
   ===================================================== */
.why-section { background: transparent; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-point-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.why-point p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.why-stats-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-stat-card {
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.why-stat-card:hover {
  border-color: rgba(74,191,191,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--teal-dark);
  margin-bottom: 8px;
  line-height: 1;
}

.why-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  line-height: 1.4;
}

/* =====================================================
   CASE STUDIES / RESULTS
   ===================================================== */
.results-section { background: transparent; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-card {
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(74,191,191,0.3);
  transform: translateY(-4px);
}

.case-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--teal-muted);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.case-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.case-challenge {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.case-results {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.case-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.case-result-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--teal-dark);
  line-height: 1;
}

.case-result-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  line-height: 1.3;
}

blockquote {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  border-left: 3px solid var(--teal);
  padding-left: 12px;
  line-height: 1.6;
}
body.lang-ar blockquote {
  border-left: none;
  border-right: 3px solid var(--teal);
  padding-left: 0;
  padding-right: 12px;
}

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

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section { background: transparent; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden; }

.faq-item.open {
  border-color: rgba(74,191,191,0.4);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}
body.lang-ar .faq-q { text-align: right; flex-direction: row-reverse; }

.faq-q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q { color: var(--teal-dark); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
}

.faq-a p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* =====================================================
   CONSULTATION FORM SECTION
   ===================================================== */
.consultation-section { background: transparent; }
.consultation-section .section-badge { background: rgba(74,191,191,0.15); color: var(--teal-light); }
.consultation-section .section-title { color: var(--white); }
.consultation-section .section-desc { color: rgba(255,255,255,0.6); }

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.consult-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.consult-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}

.cf-icon { font-size: 18px; flex-shrink: 0; }

.consult-contact-alts {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.consult-contact-alts p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.consult-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
}
.consult-wa-btn:hover { background: #128C7E; transform: translateY(-2px); }

/* Form Styles */
.consult-form-wrap { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-lg); }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group select option {
  background: transparent;
  color: var(--white);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(74,191,191,0.07);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.btn-form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-teal);
  font-family: inherit;
}
.btn-form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(74,191,191,0.45); }
.btn-form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.form-success {
  text-align: center;
  padding: 40px;
}
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.form-success p { font-size: 15px; color: rgba(255,255,255,0.6); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: transparent; padding: 72px 0 28px; border-top: 1px solid rgba(255,255,255,0.1); }

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 340px;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-contact-item:hover { color: var(--teal); }

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 20px;
}

.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-nav-col a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* =====================================================
   RTL OVERRIDES
   ===================================================== */
body.lang-ar .section-title,
body.lang-ar .hero-title { letter-spacing: 0; }
body.lang-ar .section-header { direction: rtl; }
body.lang-ar .trust-bar .container { flex-direction: row-reverse; }
body.lang-ar .why-grid,
body.lang-ar .consult-grid,
body.lang-ar .problem-card { direction: rtl; }
body.lang-ar .why-point { direction: rtl; }
body.lang-ar .mega-link:hover { padding-left: 0; padding-right: 6px; }
body.lang-ar .hero-badge { direction: rtl; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
  .mega-menu { width: 720px; }
  .mega-inner { grid-template-columns: 1fr 1fr auto; }
  .mega-cta-col { grid-column: 1 / -1; display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > *:last-child { display: none; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-stats-wrap { grid-template-columns: repeat(4, 1fr); }
  .consult-grid { grid-template-columns: 1fr; gap: 40px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-mobile-actions { display: flex; }

  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { padding: 16px 20px; gap: 0; }
  .hero-stat { padding: 0 16px; margin-bottom: 8px; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat-label { font-size: 10px; white-space: nowrap; }
  .hero-stat-divider { display: none; }

  .trust-bar .container { flex-direction: column; gap: 16px; }
  .trust-logos { justify-content: center; }

  .problems-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .why-stats-wrap { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; justify-content: center; }
  .services-cta-wrap { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat-divider { display: none; }
  .hero-stat { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px 0; width: 50%; }
  .industries-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .why-stats-wrap { grid-template-columns: 1fr; }
  .consult-form-wrap { padding: 24px 20px; }
}

/* =====================================================
   BLOG & ARTICLE STYLES
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal);
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  background: #1a1a1a;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-title {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
  transition: color var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--teal-light);
}

.blog-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.read-more span {
  transition: transform var(--transition);
}

.blog-card:hover .read-more span {
  transform: translateX(4px);
}
[dir="rtl"] .blog-card:hover .read-more span {
  transform: translateX(-4px);
}

/* Single Article Layout */
.article-header {
  padding: 160px 0 60px;
  background: linear-gradient(to bottom, rgba(13,13,13,1) 0%, rgba(20,20,20,1) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.article-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 24px auto;
  max-width: 900px;
}

.article-meta-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

.article-content {
  max-width: 800px;
  margin: 60px auto;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

.article-content h2 {
  font-size: 32px;
  color: var(--white);
  margin: 48px 0 24px;
}

.article-content h3 {
  font-size: 24px;
  color: var(--white);
  margin: 32px 0 16px;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content a {
  color: var(--teal-light);
  text-decoration: underline;
  text-decoration-color: rgba(74,191,191,0.3);
  transition: all var(--transition);
}

.article-content a:hover {
  text-decoration-color: var(--teal-light);
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
[dir="rtl"] .article-content ul, [dir="rtl"] .article-content ol {
  padding-left: 0;
  padding-right: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-content blockquote {
  border-left: 4px solid var(--teal);
  background: rgba(74,191,191,0.05);
  padding: 24px;
  margin: 32px 0;
  font-size: 20px;
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
[dir="rtl"] .article-content blockquote {
  border-left: none;
  border-right: 4px solid var(--teal);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1001;
}

.reading-progress-bar {
  height: 100%;
  background: var(--teal);
  width: 0%;
  transition: width 0.1s;
}

/* =====================================================
   RESPONSIVE & LAYOUT FIXES
   ===================================================== */
.svc-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px; /* Pushes content below the fixed header */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(74,191,191,0.03) 0%, transparent 100%);
}

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

@media (max-width: 768px) {
  .industries-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .consult-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero { padding-top: 120px; }
  
  /* Make sure titles fit on small screens */
  .section-title { font-size: clamp(24px, 6vw, 32px); }
  .article-title { font-size: clamp(28px, 6vw, 36px); }
  .article-meta-large { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .svc-hero { padding-top: 100px; min-height: 30vh; }
  .article-header { padding: 120px 0 40px; }
  .service-card { padding: 24px; }
}

@media (max-width: 768px) {
  .hero-badge {
    font-size: 12px !important;
    padding: 6px 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .hero-badge {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
}
