/* ============================================
   النافذة المميزة — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --green-900: #0a2e1c;
  --green-800: #0d3f26;
  --green-700: #115a34;
  --green-600: #177a48;
  --green-500: #1e9b5a;
  --green-400: #2ecc71;
  --green-300: #6edfa0;
  --green-200: #a8ecc8;
  --green-100: #e0f7ec;

  --gold-600: #9a7b3a;
  --gold-500: #c4a265;
  --gold-400: #d4b87a;
  --gold-300: #e5d0a0;
  --gold-200: #f0e4c8;
  --gold-100: #faf5ea;

  --dark-900: #0a0f0d;
  --dark-800: #111916;
  --dark-700: #1a2520;
  --dark-600: #243530;
  --dark-500: #2f4540;

  --neutral-900: #1a1a2e;
  --neutral-800: #2d2d44;
  --neutral-700: #4a4a5a;
  --neutral-600: #6b6b7b;
  --neutral-500: #8e8e9e;
  --neutral-400: #acacbc;
  --neutral-300: #d0d0dc;
  --neutral-200: #e8e8f0;
  --neutral-100: #f4f4f8;
  --neutral-50: #fafafe;

  --white: #ffffff;
  --black: #000000;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--green-900) 0%, var(--dark-800) 40%, var(--green-800) 100%);
  --gradient-section: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  --gradient-cta: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 50%, var(--gold-500) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 30px rgba(30, 155, 90, 0.15);
  --shadow-gold: 0 4px 20px rgba(196, 162, 101, 0.25);

  /* Typography */
  --font-family: 'Tajawal', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.25rem;
  --font-size-6xl: 4rem;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;
  --container-padding: 0 24px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--neutral-800);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: 16px;
  background: var(--green-100);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}

.section-badge i {
  font-size: 10px;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title span {
  background: linear-gradient(135deg, var(--green-600), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--white) !important;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(196, 162, 101, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-600);
  color: var(--white) !important;
}

.btn-green:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-800) !important;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-800) !important;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--neutral-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition-base);
  padding: 16px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
}

.header-logo img {
  height: 100%;
  width: auto;
  transition: opacity var(--transition-base), height var(--transition-base);
}

.logo-color {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.header.scrolled .header-logo {
  height: 42px;
}

.header.scrolled .logo-white {
  opacity: 0;
}

.header.scrolled .logo-color {
  opacity: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--white);
  transition: var(--transition-base);
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--neutral-800);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-500);
}

.nav-link.has-dropdown {
  cursor: pointer;
}

.nav-link.has-dropdown::after {
  content: '';
  width: 6px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  display: inline-block;
  margin-right: 6px;
  transition: var(--transition-fast);
}

.nav-link.has-dropdown:hover::after {
  transform: rotate(135deg);
}

.header-cta .btn {
  padding: 10px 24px;
  font-size: var(--font-size-sm);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
}

.header .container:has(.nav-link.has-dropdown:hover) .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mega-menu-item {
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.mega-menu-item:hover {
  background: var(--neutral-50);
}

.mega-menu-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  background: var(--green-100);
  color: var(--green-700);
}

.mega-menu-item h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.mega-menu-item p {
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
  line-height: 1.5;
}

.mega-menu-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: var(--transition-base);
  border-radius: 2px;
}

.header.scrolled .mobile-toggle span {
  background: var(--neutral-800);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(30, 155, 90, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-glow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(196, 162, 101, 0.4);
  border-radius: 50%;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: 24px;
  background: rgba(196, 162, 101, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(196, 162, 101, 0.3);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}


.hero-desc {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--gold-400);
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(196, 162, 101, 0.3), transparent, rgba(30, 155, 90, 0.2));
  z-index: -1;
  padding: 1px;
}

.hero-services-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
  color: var(--white);
}

.hero-service-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(196, 162, 101, 0.3);
  transform: translateX(-8px);
}

.hero-service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(196, 162, 101, 0.15);
  color: var(--gold-400);
  flex-shrink: 0;
}

.hero-service-item h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
}

.hero-service-item p {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--neutral-50);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  padding: 24px;
  background: var(--green-700);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-image-accent .number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--gold-400);
}

.about-image-accent .label {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.about-content .section-badge {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: right;
  font-size: var(--font-size-3xl);
}

.about-text {
  font-size: var(--font-size-lg);
  color: var(--neutral-600);
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--neutral-800);
}

.about-feature i {
  color: var(--green-600);
  font-size: 18px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-base);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 40px 32px 32px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Elegant Icon overlapping image and body */
.service-icon {
  position: absolute;
  top: -36px;
  right: 32px;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--white);
  color: var(--green-600);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-base);
  z-index: 2;
  border: 2px solid var(--neutral-100);
}

.service-card:hover .service-icon {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-5px);
  border-color: var(--green-500);
  box-shadow: 0 15px 30px rgba(30, 155, 90, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition-base);
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Support ghost numbers better */
.service-number {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(30, 155, 90, 0.04);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  transition: var(--transition-base);
}

.service-card:hover .service-number {
  color: rgba(30, 155, 90, 0.08);
  transform: translateX(-10px);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: var(--font-size-base);
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-600);
  font-size: var(--font-size-base);
  margin-top: auto;
  position: relative;
  z-index: 1;
  width: fit-content;
  transition: var(--transition-base);
}

.service-card:hover .service-link {
  color: var(--gold-500);
  gap: 12px;
}

/* ============================================
   HOW WE WORK SECTION
   ============================================ */
.process {
  background: var(--gradient-section);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process .section-title span {
  -webkit-text-fill-color: var(--gold-400);
}

.process .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin: 0 auto 24px;
  background: var(--green-800);
  color: var(--gold-400);
  border: 3px solid rgba(196, 162, 101, 0.4);
  transition: var(--transition-base);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--green-800);
}

.process-step:hover .process-number {
  background: var(--gold-500);
  color: var(--green-900);
  border-color: var(--gold-400);
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(196, 162, 101, 0.3), 0 0 0 8px var(--green-800);
}

/* Connector arrows between steps */
.process-connector {
  display: none;
}

.process-step h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Stats grid kept — enhanced styles override below */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients {
  background: var(--neutral-50);
  padding: 80px 0;
  overflow: hidden;
  /* Prevent horizontal scroll from slider */
}

.clients-logos {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll-clients 30s linear infinite;
  padding-bottom: 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clients-logos:hover {
  animation-play-state: paused;
}

@keyframes scroll-clients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 2));
    /* Move half the width to loop seamlessly */
  }
}

.client-logo {
  flex: 0 0 220px;
  /* Fixed width for each slide */
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-base);
  text-align: center;
  font-weight: 700;
  color: var(--neutral-700);
  font-size: var(--font-size-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: default;
}

.client-logo .client-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--white);
  transition: var(--transition-base);
}

.client-logo .client-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-base);
}

.client-logo:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
  color: var(--green-700);
  transform: translateY(-6px);
}

.client-logo:hover .client-icon img {
  transform: scale(1.1);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--white);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  position: relative;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.testimonial-quote {
  font-size: var(--font-size-3xl);
  color: var(--green-300);
  margin-bottom: 16px;
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: var(--font-size-base);
  color: var(--neutral-700);
  line-height: 1.9;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
}

.testimonial-info h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--neutral-900);
}

.testimonial-info p {
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-cta);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(196, 162, 101, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 155, 90, 0.1) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-900);
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-base);
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: var(--gold-400);
  padding-right: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

.footer-contact li i {
  color: var(--gold-500);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-bounce);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-800);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  margin-bottom: 8px;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 1001;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500), var(--green-400));
  transition: width 0.1s linear;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 10px rgba(196, 162, 101, 0.4);
}

/* ============================================
   HERO GRADIENT TEXT ANIMATION
   ============================================ */
.hero-title .highlight {
  background: linear-gradient(270deg, var(--gold-300), var(--gold-500), var(--green-400), var(--gold-400));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Typing cursor */
.typing-wrapper {
  display: inline;
}

.typing-text {
  border-left: 2px solid var(--gold-400);
  padding-left: 4px;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {

  0%,
  100% {
    border-color: var(--gold-400);
  }

  50% {
    border-color: transparent;
  }
}

/* ============================================
   SERVICE CARD ENHANCEMENTS
   ============================================ */
.service-card {
  position: relative;
}

.service-card .service-number {
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: var(--transition-base);
}

.service-card:hover .service-number {
  color: rgba(23, 122, 72, 0.06);
  transform: scale(1.1);
}

/* Animated gradient border on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, var(--green-400), var(--gold-500), var(--green-600), var(--gold-400));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradient-border 3s ease infinite;
}

.service-card:hover::after {
  opacity: 1;
}

@keyframes gradient-border {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ============================================
   PROCESS STEP ICONS
   ============================================ */
.process-icon {
  display: block;
  margin: 0 auto 8px;
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   STATS SECTION ENHANCEMENTS
   ============================================ */
.stats {
  background: var(--gradient-section);
  color: var(--white);
  padding: 80px 0;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
  position: relative;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(196, 162, 101, 0.3);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  background: rgba(196, 162, 101, 0.15);
  color: var(--gold-400);
  transition: var(--transition-base);
}

.stat-card:hover .stat-icon {
  background: var(--gold-500);
  color: var(--green-900);
  transform: scale(1.15);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--gold-400);
  margin-bottom: 8px;
  transition: var(--transition-base);
}

.stat-label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
}

.stat-card:hover .stat-label {
  color: var(--white);
}

/* Gold dividers between stat cards */
.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  left: -12px;
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(196, 162, 101, 0.3), transparent);
}

/* ============================================
   TESTIMONIAL STARS
   ============================================ */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: var(--gold-500);
  font-size: 14px;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(196, 162, 101, 0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}

.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: var(--gold-500);
  background: rgba(196, 162, 101, 0.1);
}

/* ============================================
   NEWSLETTER IN FOOTER
   ============================================ */
.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  outline: none;
  transition: var(--transition-base);
}

.newsletter-form input:focus {
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--gold-500);
  color: var(--white);
  border: none;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: var(--transition-base);
}

.newsletter-form button:hover {
  background: var(--gold-400);
}

/* ============================================
   SERVICE DETAILS PAGE
   ============================================ */
.service-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
  /* Offset for header */
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.service-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 74, 46, 0.95) 0%, rgba(26, 107, 66, 0.85) 100%);
}

.service-hero-content {
  max-width: 800px;
}

.service-hero-content .service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 162, 101, 0.2);
  color: var(--gold-400);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1px solid rgba(196, 162, 101, 0.3);
  margin-bottom: 24px;
}

.service-hero-content h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-hero-content p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 80px 0;
}

.service-main h2 {
  font-size: var(--font-size-2xl);
  color: var(--green-900);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.service-main h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
}

.service-section {
  margin-bottom: 64px;
}

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--font-size-base);
  color: var(--neutral-700);
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-base);
}

.check-list li:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.check-list li i {
  color: var(--green-600);
  margin-top: 4px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.deliverable-card {
  background: var(--neutral-50);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-base);
}

.deliverable-card:hover {
  background: var(--white);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-lg);
}

.deliverable-card .icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-500);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.deliverable-card h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 12px;
  color: var(--neutral-900);
}

.deliverable-card p {
  color: var(--neutral-600);
  line-height: 1.7;
}

.work-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-steps .step {
  display: flex;
  gap: 24px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-200);
  position: relative;
}

.work-steps .step::before {
  content: '';
  position: absolute;
  top: 60px;
  right: 50px;
  width: 2px;
  height: calc(100% + 24px);
  background: var(--neutral-200);
  z-index: 0;
}

.work-steps .step:last-child::before {
  display: none;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
  z-index: 1;
}

.step-content {
  padding-top: 14px;
}

.step-content h4 {
  font-size: var(--font-size-xl);
  color: var(--neutral-900);
  margin-bottom: 12px;
}

.step-content p {
  color: var(--neutral-600);
  line-height: 1.7;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--neutral-200);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: var(--font-size-xl);
  color: var(--green-900);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-100);
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--neutral-700);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-list li:last-child {
  margin-bottom: 0;
}

.sidebar-list li i {
  color: var(--gold-500);
  margin-top: 4px;
}

.contact-widget {
  background: var(--gradient-section);
  color: var(--white);
  border: none;
  text-align: center;
}

.contact-widget h3 {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.contact-widget .widget-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  color: var(--gold-400);
}

.contact-widget p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

/* FAQ Accordion Basic */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--neutral-50);
}

.faq-question h3 {
  font-size: var(--font-size-lg);
  margin: 0;
  color: var(--neutral-900);
  font-weight: 600;
}

.faq-answer {
  padding: 0 24px 24px;
  display: none;
  border-top: 1px solid var(--neutral-200);
  padding-top: 20px;
}

.faq-answer p {
  color: var(--neutral-600);
  line-height: 1.8;
  margin: 0;
}

/* Other Services Section */
.other-services {
  padding: 80px 0;
  background: var(--neutral-100);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --section-padding: 60px 0;
  }

  .header-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .header-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--dark-900);
    padding: 80px 24px 24px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }

  .header-nav.active .nav-link {
    color: var(--white);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .clients-logos {
    /* marquee keeps working on mobile (no grid override) */
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-card {
    max-width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --container-padding: 0 16px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PARTNERS / SUCCESS PARTNERS SECTION
   قسم شركاء النجاح - تصميم مميز
   ============================================ */

.partners-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50, #f0f7f3) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.partners-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(23, 122, 72, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.partners-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.partners-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid var(--green-200);
}

.partners-header .section-badge i {
  color: var(--gold-500);
  font-size: 8px;
}

.partners-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-900);
  margin-bottom: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.partners-header h2 .gold-accent {
  color: var(--gold-500);
  position: relative;
}

.partners-header p {
  font-size: var(--font-size-lg);
  color: var(--neutral-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* بطاقات إحصائيات سريعة */
.partners-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.partners-stat-item {
  text-align: center;
}

.partners-stat-item .stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 6px;
}

.partners-stat-item .stat-value .gold { color: var(--gold-500); }

.partners-stat-item .stat-label {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  font-weight: 500;
}

/* شبكة الشركاء */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--neutral-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.partner-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 46, 28, 0.12);
  border-color: var(--green-300);
}

.partner-card-icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--neutral-50);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.partner-card:hover .partner-card-icon {
  background: var(--green-50);
  transform: scale(1.05);
}

.partner-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.partner-card:hover .partner-card-icon img {
  transform: scale(1.08);
}

.partner-card-name {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 6px;
  line-height: 1.3;
}

.partner-card-name-en {
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
  font-weight: 500;
  margin-bottom: 14px;
  direction: ltr;
}

.partner-card-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500));
  margin: 0 auto 14px;
  border-radius: 2px;
}

.partner-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.partner-card-badge i { color: var(--gold-500); font-size: 6px; }

.partner-card-desc {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 60px;
}

.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-600);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.partner-card-link:hover {
  gap: 10px;
  color: var(--green-700);
}

.partner-card-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-card-link i {
  transform: translateX(-4px); /* RTL: arrow goes left */
}

/* CTA في الأسفل */
.partners-cta {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.partners-cta p {
  font-size: var(--font-size-base);
  color: var(--neutral-600);
  margin-bottom: 20px;
}

.partners-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Modal لشريك معين */
.partner-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 46, 28, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-modal.active {
  display: flex;
  opacity: 1;
}

.partner-modal-content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.partner-modal.active .partner-modal-content {
  transform: scale(1);
}

.partner-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neutral-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-700);
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 2;
}

.partner-modal-close:hover {
  background: var(--green-100);
  color: var(--green-700);
  transform: rotate(90deg);
}

.partner-modal-header {
  padding: 40px 32px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--gold-100, #faf5ea) 100%);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.partner-modal-icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.partner-modal-icon img { width: 100%; height: 100%; object-fit: contain; }

.partner-modal-title {
  font-size: var(--font-size-2xl);
  color: var(--green-900);
  margin-bottom: 4px;
  font-weight: 900;
}

.partner-modal-subtitle {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  direction: ltr;
  font-weight: 500;
}

.partner-modal-body {
  padding: 28px 32px 32px;
}

.partner-modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.partner-modal-meta-item {
  background: var(--neutral-50);
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
}

.partner-modal-meta-item .meta-label {
  font-size: 12px;
  color: var(--neutral-500);
  margin-bottom: 4px;
  font-weight: 500;
}

.partner-modal-meta-item .meta-value {
  font-size: var(--font-size-base);
  color: var(--green-700);
  font-weight: 700;
}

.partner-modal-section {
  margin-bottom: 20px;
}

.partner-modal-section h4 {
  font-size: var(--font-size-base);
  color: var(--green-900);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-modal-section h4 i { color: var(--gold-500); }

.partner-modal-section p {
  color: var(--neutral-700);
  line-height: 1.7;
  font-size: var(--font-size-sm);
}

.partner-modal-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.partner-modal-cta .btn {
  flex: 1;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-section { padding: 60px 0; }
  .partners-grid { grid-template-columns: 1fr; gap: 16px; }
  .partners-stats { gap: 30px; }
  .partner-modal-meta { grid-template-columns: 1fr; }
  .partner-modal-cta { flex-direction: column; }
  .partner-card-icon { width: 110px; height: 110px; }
}

/* ============================================
   LEGAL PAGES (Terms, Privacy)
   الصفحات القانونية
   ============================================ */

.page-header {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-800) 100%);
  padding: 100px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(196, 162, 101, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb i { font-size: 10px; opacity: 0.7; }

.breadcrumb span { color: var(--white); }

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-header-subtitle {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  max-width: 700px;
  line-height: 1.6;
}

.legal-content {
  padding: 60px 0 80px;
  background: var(--neutral-50);
}

.legal-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.legal-toc {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.legal-toc h3 {
  font-size: var(--font-size-base);
  color: var(--green-900);
  margin-bottom: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gold-500);
  border-radius: 2px;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc li { margin-bottom: 6px; }

.legal-toc a {
  display: block;
  padding: 8px 12px;
  color: var(--neutral-700);
  text-decoration: none;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
}

.legal-toc a:hover {
  background: var(--green-50);
  color: var(--green-700);
  border-right-color: var(--green-600);
  padding-right: 16px;
}

.legal-article {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gold-100, #faf5ea);
  color: var(--gold-600);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 32px;
}

.legal-article section {
  margin-bottom: 36px;
  scroll-margin-top: 100px;
}

.legal-article h2 {
  font-size: var(--font-size-2xl);
  color: var(--green-900);
  margin-bottom: 16px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-100);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-article h2::before {
  content: '';
  width: 5px;
  height: 24px;
  background: linear-gradient(180deg, var(--green-600), var(--gold-500));
  border-radius: 3px;
}

.legal-article h3 {
  font-size: var(--font-size-lg);
  color: var(--green-800);
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.legal-article p {
  color: var(--neutral-700);
  margin-bottom: 12px;
  font-size: var(--font-size-base);
}

.legal-article a {
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1px dashed var(--green-300);
  transition: color 0.3s ease;
}

.legal-article a:hover { color: var(--green-900); }

.legal-article ul, .legal-article ol {
  margin: 12px 0 12px 24px;
  color: var(--neutral-700);
}

.legal-article li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-article strong { color: var(--green-800); font-weight: 700; }

.legal-highlight {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
  border-right: 4px solid var(--green-600);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  align-items: flex-start;
}

.legal-highlight i {
  font-size: 24px;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 4px;
}

.legal-highlight p { margin: 0; color: var(--green-900); font-weight: 500; }

.legal-highlight strong { color: var(--green-900); }

.contact-list {
  list-style: none !important;
  margin-left: 0 !important;
  background: var(--green-50);
  padding: 20px !important;
  border-radius: var(--radius-md);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--green-100);
}

.contact-list li:last-child { border-bottom: none; }

.contact-list i {
  color: var(--green-700);
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.legal-acknowledgment {
  background: linear-gradient(135deg, var(--gold-100, #faf5ea) 0%, var(--green-50) 100%);
  border: 1px solid var(--gold-300);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
}

.legal-acknowledgment i {
  color: var(--green-700);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-acknowledgment p { margin: 0; color: var(--green-900); font-weight: 500; }

@media (max-width: 1024px) {
  .legal-wrapper { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 768px) {
  .legal-article { padding: 24px; }
  .legal-article h2 { font-size: var(--font-size-xl); }
  .page-header { padding: 80px 0 40px; }
  .page-header h1 { font-size: 2rem; }
}

/* ============================================
   UNIFIED SERVICE REQUEST MODAL
   نافذة طلب الخدمة الموحدة
   ============================================ */

/* زر اطلب الان الموحد في كل صفحات الخدمات */
.service-cta-box {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 46, 28, 0.2);
  margin: 40px 0;
}

.service-cta-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-cta-box::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-cta-box > * {
  position: relative;
  z-index: 1;
}

.service-cta-box h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
}

.service-cta-box .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.service-cta-box .btn-cta-primary {
  background: var(--white);
  color: var(--green-700);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: var(--font-size-base);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-cta-box .btn-cta-primary:hover {
  background: var(--gold-500);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(196, 162, 101, 0.4);
}

/* Modal الخاص بنموذج الطلب */
.service-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 46, 28, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.service-modal.active {
  display: flex;
  opacity: 1;
}

.service-modal-content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  margin: auto;
}

.service-modal.active .service-modal-content {
  transform: scale(1) translateY(0);
}

.service-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-modal-close:hover {
  background: var(--gold-500);
  color: var(--white);
  transform: rotate(90deg);
}

.service-modal-header {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  color: var(--white);
  padding: 36px 32px 28px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-modal-header::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-modal-header > * {
  position: relative;
  z-index: 1;
}

.service-modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(196, 162, 101, 0.4);
}

.service-modal-icon i {
  font-size: 28px;
  color: var(--gold-400);
}

.service-modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  margin: 0;
  line-height: 1.3;
}

.service-modal-subtitle {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

.service-modal-body {
  padding: 28px 32px 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--green-900);
}

.form-group label .required {
  color: #e74c3c;
  margin-right: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--font-size-base);
  color: var(--green-900);
  background: var(--white);
  transition: all 0.3s ease;
  direction: rtl;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(23, 122, 72, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-400);
  font-size: var(--font-size-sm);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23115a34'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 20px;
  padding-left: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

/* مربعات اختيار الخدمات الفرعية */
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
}

.sub-services-grid::-webkit-scrollbar { width: 6px; }
.sub-services-grid::-webkit-scrollbar-track { background: var(--neutral-100); border-radius: 3px; }
.sub-services-grid::-webkit-scrollbar-thumb { background: var(--green-500); border-radius: 3px; }

.sub-service-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--neutral-50);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
  user-select: none;
}

.sub-service-checkbox:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}

.sub-service-checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--green-600);
  cursor: pointer;
}

.sub-service-checkbox.checked {
  background: var(--green-100);
  border-color: var(--green-600);
  color: var(--green-800);
  font-weight: 600;
}

.service-modal-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: 24px;
  box-shadow: 0 4px 12px rgba(23, 122, 72, 0.3);
}

.service-modal-submit:hover {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 122, 72, 0.4);
}

.service-modal-submit:disabled {
  background: var(--neutral-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.service-modal-submit i {
  font-size: 18px;
}

.service-modal-note {
  text-align: center;
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.service-modal-note i {
  color: var(--green-600);
}

.service-modal .error-msg {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.service-modal .form-group.has-error .form-input,
.service-modal .form-group.has-error .form-select {
  border-color: #e74c3c;
}

.service-modal .form-group.has-error .error-msg {
  display: block;
}

@media (max-width: 600px) {
  .service-modal-content { max-width: 100%; }
  .service-modal-header { padding: 28px 20px 20px; }
  .service-modal-body { padding: 20px; }
  .sub-services-grid { grid-template-columns: 1fr; }
  .service-cta-box { padding: 28px 20px; }
  .service-cta-box h3 { font-size: 1.2rem; }
  .service-cta-box .btn-cta-primary { padding: 12px 24px; font-size: 14px; }
}

/* تنبيه: إخفاء زر "اتصل بنا هاتفياً" الموحد */
.btn-call-phone { display: none !important; }