/* ==========================================================================
   CSS Variables & Design System (GREEN & GOLD BRANDING)
   ========================================================================== */
:root {
  /* Colors - Cohesive Premium Royal Green & Warm Gold */
  --primary: #0a5c36; /* Royal Green */
  --primary-light: #127244; /* Brighter Green */
  --primary-dark: #064024; /* Dark Forest Green */
  --secondary: #d4a346; /* Warm Gold */
  --secondary-hover: #b8862f; /* Darker Gold */
  --accent: #f0f5f2; /* Light Sage Green */
  --text-dark: #141f19; /* Deep Green-Black for high-contrast text */
  --text-medium: #4c5c54; /* Medium Sage-Grey for body text */
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --border-light: rgba(10, 92, 54, 0.08);
  --glass: rgba(255, 255, 255, 0.85);
  
  /* Typography */
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  
  /* Shadows & Radii */
  --shadow-sm: 0 4px 12px rgba(10, 92, 54, 0.04);
  --shadow-lg: 0 16px 40px rgba(10, 92, 54, 0.08);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h2 { font-size: 36px; }
h3 { font-size: 24px; }
p { margin-bottom: 1rem; color: var(--text-medium); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.py-80 { padding: 80px 0; }
.mt-4 { margin-top: 1.5rem; }

/* Section Title with Gold Line */
.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 50px;
}
.section-title h2 {
  color: var(--primary);
  margin-bottom: 5px;
}
.section-title p {
    font-size: 18px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}
.section-title.left-align { text-align: right; } /* RTL base */
.section-title.left-align::after { left: auto; right: 0; transform: none; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  min-height: 48px;
  border: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background-color 0.3s ease;
  gap: 10px;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
}
.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(10, 92, 54, 0.15);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 10px 25px rgba(212, 163, 70, 0.25);
}

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

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

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}
.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-top {
  background-color: var(--accent);
  color: var(--text-medium);
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info { display: flex; gap: 20px; }
.contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-info a:hover { color: var(--primary); }

.site-header {
  position: sticky;
  top: 0;
  background-color: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 92, 54, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(10, 92, 54, 0.05);
  border-bottom-color: rgba(10, 92, 54, 0.1);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.logo {
  flex: 0 0 auto;
}

.logo a {
  font-family: var(--font-heading);
  font-weight: 800;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  min-width: 0;
  animation: headerLogoIn 0.65s ease both;
}

.site-logo .logo-svg {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--secondary);
  filter: drop-shadow(0 6px 12px rgba(212, 163, 70, 0.20));
  animation: logoMarkPulse 4s ease-in-out infinite;
  transition: transform 0.35s ease;
}

.site-logo:hover .logo-svg {
  transform: rotate(-6deg) scale(1.05);
}

.logo-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}

.logo-main {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 900;
  letter-spacing: 0;
}

.logo-text-green { color: var(--primary); }
.logo-text-gold { color: var(--secondary); }

.logo-tagline {
  color: var(--text-dark);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 800;
  white-space: nowrap;
  opacity: 0.82;
  letter-spacing: 0;
}

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

@keyframes logoMarkPulse {
  0%, 100% {
    filter: drop-shadow(0 6px 12px rgba(212, 163, 70, 0.16));
  }
  50% {
    filter: drop-shadow(0 8px 16px rgba(212, 163, 70, 0.30));
  }
}

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 30px; margin-left: 20px; }
.nav-list a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}
.nav-list a:hover { color: var(--primary); }
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}
.nav-list a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 15px; }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 10% 20%, rgba(18, 114, 68, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(212, 163, 70, 0.2) 0%, transparent 50%),
              linear-gradient(135deg, #053b21 0%, #03130c 100%);
  color: var(--white);
  padding: 140px 0 100px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-container {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 5;
}

/* Right Column: Content styling */
.hero-content-col {
  text-align: right;
}

.hero-badge-container {
  margin-bottom: 20px;
}

.premium-badge {
  background: rgba(212, 163, 70, 0.15);
  border: 1px solid rgba(212, 163, 70, 0.3);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
  0%, 100% { border-color: rgba(212, 163, 70, 0.3); box-shadow: 0 0 0 rgba(212, 163, 70, 0); }
  50% { border-color: rgba(212, 163, 70, 0.6); box-shadow: 0 0 8px rgba(212, 163, 70, 0.2); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-brand-title {
  display: grid;
  gap: 8px;
  max-width: 820px;
  align-items: start;
}

.hero-brand-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid rgba(212, 163, 70, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.hero-brand-name {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 2px 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-brand-name::before {
  content: none;
}

.brand-word {
  position: relative;
  display: inline-block;
  color: #fff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.brand-word-primary {
  color: #fff;
}

.brand-word-gold {
  color: var(--secondary);
}

.hero-brand-service {
  display: block;
  width: fit-content;
  padding: 4px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.35;
  border-bottom: 3px solid rgba(212, 163, 70, 0.75);
}

.hero-subtitle {
  display: block;
  font-size: 34px;
  font-weight: 600;
  margin-top: 10px;
  color: var(--secondary);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 90%;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.feature-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.hero-buttons .btn {
  font-size: 16px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

/* Pulsing and glowing button actions */
.pulse-button {
  background: var(--whatsapp);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.pulse-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulseButtonAnim 2s infinite;
}

@keyframes pulseButtonAnim {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.glow-button {
  border: 2px solid var(--secondary) !important;
  color: var(--secondary) !important;
  background: transparent;
  transition: all 0.3s ease;
}

.glow-button:hover {
  background: var(--secondary);
  color: var(--primary-dark) !important;
  box-shadow: 0 0 20px rgba(212, 163, 70, 0.4);
}

.hero-reviews-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  opacity: 0.9;
}

.hero-reviews-badge .stars {
  color: var(--secondary);
  letter-spacing: 2px;
}

.hero-reviews-badge .reviews-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Left Column: Glassmorphism Quote Calculator styling */
.hero-widget-col {
  display: flex;
  justify-content: center;
}

.quote-calculator {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-calculator:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(212, 163, 70, 0.25);
}

.hero-calc-header {
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.hero-calc-header h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero-calc-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 0;
}

.hero-calc-form-group {
  margin-bottom: 20px;
}

.hero-calc-form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-calc-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px;
  color: var(--white) !important;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

/* Style options dropdown inside calculator */
.hero-calc-input option {
  background: #092e1e;
  color: #fff;
}

.hero-calc-input:focus {
  border-color: var(--secondary) !important;
  background: rgba(0, 0, 0, 0.3) !important;
}

.hero-calc-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-calc-checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 28px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  user-select: none;
}

.hero-calc-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.hero-calc-checkmark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  height: 18px;
  width: 18px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-calc-checkbox-container:hover input ~ .hero-calc-checkmark {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(212, 163, 70, 0.4);
}

.hero-calc-checkbox-container input:checked ~ .hero-calc-checkmark {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.hero-calc-checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.hero-calc-checkbox-container input:checked ~ .hero-calc-checkmark::after {
  display: block;
}

.hero-calc-checkbox-container .hero-calc-checkmark::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hero-calc-price-box {
  background: rgba(212, 163, 70, 0.1);
  border: 1px solid rgba(212, 163, 70, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-price-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.hero-price-value-container {
  display: flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
}

.hero-price-currency {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
}

.hero-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  line-height: 1;
}

.hero-price-discount-badge {
  position: absolute;
  top: -22px;
  left: 0;
  background: #e53e3e;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.hero-calc-btn {
  width: 100%;
  padding: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none;
  background: var(--secondary) !important;
  color: var(--primary-dark) !important;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(212, 163, 70, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-calc-btn:hover {
  background: var(--secondary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 70, 0.4);
}

/* ==========================================================================
   Section 2: Stats / Trust Bar
   ========================================================================== */
.stats-bar {
  background-color: var(--primary);
  padding: 50px 0;
  position: relative;
  z-index: 10;
  margin-top: -60px; /* Overlap hero */
  border-radius: var(--radius-lg);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--secondary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { padding: 10px; }
.stat-item:not(:last-child) {
  border-left: 1px solid rgba(255,255,255,0.1); /* RTL */
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--secondary); /* Gold numbers */
  margin-bottom: 5px;
}
.stat-text {
  font-size: 18px;
  color: var(--white); /* White text */
  font-weight: 500;
}

/* ==========================================================================
   Section 3: Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-top: 4px solid var(--primary); /* Green border-top mapped from Navy */
  border-radius: var(--radius-sm);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent);
  color: var(--secondary); /* Gold icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--white);
}
.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}
.service-card p {
  font-size: 16px;
  margin-bottom: 25px;
}
.service-card .btn {
    width: 100%;
}

/* ==========================================================================
   Section 4: Why Us Section
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-us-content .section-title {
    margin-bottom: 30px;
}
.features-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.features-list li {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}
.feature-icon {
  color: var(--secondary); /* Gold checkmark */
  font-size: 24px;
  flex-shrink: 0;
}

.why-us-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  border: 4px solid var(--white);
}

/* ==========================================================================
   Section 5: How We Work (Timeline)
   ========================================================================== */
.how-we-work {
    background-color: #F8F9FA; /* Light grey as requested */
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 1;
}
.how-step {
  position: relative;
  z-index: 2;
  padding: 10px;
}
.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border: 4px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(10, 92, 54, 0.12);
  transition: var(--transition);
}
.how-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
  box-shadow: 0 12px 30px rgba(212, 163, 70, 0.25);
}
.how-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary);
}
.how-step p {
    font-size: 16px;
    color: var(--text-medium);
}

/* ==========================================================================
   Section 6: Reviews Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.review-card {
  position: relative;
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--secondary);
  overflow: hidden;
  transition: var(--transition);
}
.review-card::before {
  content: '“';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 130px;
  font-family: 'Times New Roman', serif;
  color: rgba(10, 92, 54, 0.05);
  line-height: 1;
  pointer-events: none;
}
.review-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}
.review-rating {
  color: var(--secondary); /* Gold stars */
  font-size: 22px;
  margin-bottom: 15px;
}
.review-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.8;
}
.review-author {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

.reviews-link {
    margin-top: 40px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: var(--secondary);
}
.reviews-link:hover {
    color: var(--secondary);
}

/* ==========================================================================
   Section 7: Jeddah Coverage Areas
   ========================================================================== */
.neighborhoods {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 10% 15%, rgba(212, 163, 70, 0.14), transparent 30%),
    linear-gradient(180deg, #f7f8f4 0%, #ffffff 100%);
  color: var(--text-dark);
  overflow: visible;
  padding-bottom: 96px !important;
  margin-bottom: 0;
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.coverage-copy {
  text-align: right;
}

.coverage-copy h2 {
  color: var(--primary);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.35;
  margin-bottom: 16px;
}

.coverage-copy p {
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 22px;
}

.coverage-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.coverage-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(10, 92, 54, 0.08);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.coverage-highlights span::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 900;
}

.coverage-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.coverage-text-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(212, 163, 70, 0.85);
}

.coverage-card {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(10, 92, 54, 0.10);
  box-shadow: 0 18px 42px rgba(6, 64, 36, 0.10);
}

.coverage-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.coverage-card h3 {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
}

.coverage-neighborhoods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.neighborhood-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #f7f8f4;
  border: 1px solid rgba(10, 92, 54, 0.08);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.neighborhood-chip::before {
  content: "📍";
  margin-left: 6px;
  font-size: 13px;
}

.neighborhood-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 163, 70, 0.55);
  box-shadow: 0 10px 24px rgba(6, 64, 36, 0.09);
  color: var(--primary);
}

.coverage-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(212, 163, 70, 0.10);
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.7;
}
.tag:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Inner Page Hero (Services)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, rgba(0, 115, 67, 0.95) 0%, rgba(0, 74, 43, 0.95) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 15px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--secondary);
}
.breadcrumb a {
  color: var(--white);
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--secondary);
}
.page-hero p {
  color: var(--white);
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ==========================================================================
   Inner Page Enhancements
   ========================================================================== */
.service-features-list {
  text-align: right; /* RTL */
  margin-bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}
.service-features-list li {
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-dark);
}
.service-features-list li::before {
  content: '✔';
  color: var(--secondary);
  font-size: 14px;
}

/* ==========================================================================
   Pricing Transparency Block
   ========================================================================== */
.pricing-block {
    background-color: var(--accent); /* Light gray/green mapped */
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}
.pricing-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
    transition: var(--transition);
}
.pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.pricing-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.pricing-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}
.pricing-item p {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0;
}
.pricing-note {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 30px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 1;
  clear: both;
  background-color: var(--accent);
  margin-top: 0;
}
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--border-light); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; padding: 20px; text-align: right; background: none; border: none; font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--primary); display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: var(--transition); }
.faq-question:hover { color: var(--secondary); background-color: rgba(212, 163, 70, 0.05); }
.faq-question::after { content: '▾'; font-size: 20px; font-weight: 700; color: var(--secondary); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-question.active::after { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--text-medium); line-height: 1.8; }
.faq-question.active + .faq-answer { padding: 0 20px 20px; max-height: 600px; }

/* ==========================================================================
   Detailed Coverage Areas Grid
   ========================================================================== */
.coverage-areas {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 30px;
    margin-bottom: 20px;
}
.coverage-region {
    margin-bottom: 20px;
}
.coverage-region h4 {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 10px;
}
.coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.coverage-tag-item {
    background-color: var(--accent);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
}

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gallery-tab {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary); /* Deep Green */
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.gallery-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: var(--secondary); /* Gold */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.gallery-tab:hover, .gallery-tab.active {
    color: var(--secondary);
}
.gallery-tab.active::after {
    transform: scaleX(1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    aspect-ratio: 4/3;
    display: block; /* Default state */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 115, 67, 0.85); /* Deep green overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-tag {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 0 15px;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: var(--white);
    font-size: 18px;
    margin-top: 15px;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    left: 0; /* RTL top-left */
    color: var(--white);
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    z-index: 10;
}
.lightbox-next { left: 20px; } /* RTL Next is left arrow */
.lightbox-prev { right: 20px; } /* RTL Prev is right arrow */

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; }
    .gallery-tab { flex-shrink: 0; }
    .lightbox-prev, .lightbox-next { display: none; /* Hide arrows on mobile to prefer swipe/tap */ }
}

/* ==========================================================================
   Reviews Page Styles
   ========================================================================== */
.rating-summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 800px;
    margin: -80px auto 40px; /* Overlap hero */
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.rating-overall {
    text-align: center;
    flex: 1;
}
.rating-number {
    font-size: 80px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    font-family: var(--font-heading);
}
.rating-stars {
    color: var(--secondary);
    font-size: 24px;
    margin: 10px 0;
    letter-spacing: 3px;
}
.rating-bars {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
}
.rating-bar-label {
    width: 60px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}
.rating-bar-track {
    flex: 1;
    height: 12px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 6px;
}
.rating-bar-percent {
    width: 40px;
    font-size: 14px;
    color: var(--text-medium);
    text-align: left;
}

.review-card-full {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}
.review-card-full:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.reviewer-info h4 {
    margin: 0 0 5px;
    color: var(--primary);
    font-size: 18px;
}
.reviewer-meta {
    font-size: 14px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}
.reviewer-source {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    color: var(--primary);
    font-size: 14px;
    font-weight: bold;
}
.review-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    flex-grow: 1;
    margin: 0;
}
@media (max-width: 768px) {
    .rating-summary-card {
        flex-direction: column;
        padding: 30px 20px;
        margin-top: -50px;
    }
    .rating-bars { width: 100%; }
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid var(--secondary);
    border-radius: var(--radius-lg);
    transform: translate(15px, 15px);
    z-index: -1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.team-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary);
    overflow: hidden;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-name {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 5px;
}
.team-role {
    font-size: 15px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}
.team-bio {
    font-size: 15px;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

.stats-section {
    background-color: var(--primary); /* Navy/Deep Green bg */
    color: var(--white);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary); /* Gold */
    font-family: var(--font-heading);
    margin-bottom: 10px;
    display: block;
}
.stat-title {
    font-size: 18px;
    font-weight: 600;
}

.diff-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.diff-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border-right: 4px solid var(--secondary);
    transition: var(--transition);
}
.diff-item:hover {
    transform: translateX(-5px); /* Move left in RTL */
    box-shadow: var(--shadow-md);
}
.diff-icon {
    font-size: 24px;
    color: var(--secondary);
    margin-left: 20px; /* Space between icon and text in RTL */
    font-weight: bold;
}
.diff-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

@media (max-width: 992px) {
    .about-story-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-img-wrapper { margin-bottom: 20px; }
    .about-img-wrapper::after { display: none; }
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ==========================================================================
   Contact Us Page Styles
   ========================================================================== */
.contact-hero {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}
.contact-hero h1 { color: var(--white); }
.contact-hero p { color: rgba(255,255,255,0.9); }

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
}
.contact-method-card {
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.contact-method-card:hover {
    transform: translateY(-5px);
}
.contact-method-card.gold-card {
    background-color: var(--secondary);
    color: var(--white);
}
.contact-method-card.green-card {
    background-color: #25D366; /* WhatsApp Green */
    color: var(--white);
}
.contact-method-card.navy-card {
    background-color: var(--primary);
    color: var(--white);
}
.contact-method-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}
.contact-method-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: inherit;
}
.contact-method-desc {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}
.contact-method-number {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    display: block;
    direction: ltr; /* Keep numbers readable */
}
.contact-method-card .btn {
    width: 100%;
}
.btn-whatsapp-solid {
    background-color: var(--white);
    color: #075e54;
    border-color: var(--white);
}
.btn-whatsapp-solid:hover {
    background-color: #f0f0f0;
    color: #075e54;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--secondary);
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}
.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    background-color: var(--bg-light);
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 163, 70, 0.2);
    background-color: var(--white);
}
textarea.form-control {
    resize: vertical;
}
.form-note {
    font-size: 14px;
    color: var(--text-medium);
    text-align: center;
    margin-top: 15px;
}
.trust-signal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #28a745;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.hours-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-light);
    font-size: 18px;
}
.hours-row:last-child {
    border-bottom: none;
}
.hours-row.emergency {
    background-color: var(--secondary);
    color: var(--white);
    font-weight: 700;
}

.whatsapp-cta-section {
    background-color: #25D366;
    color: var(--white);
    text-align: center;
}
.whatsapp-cta-section h2 {
    color: var(--white);
}

@media (max-width: 992px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map-wrapper { min-height: 350px; }
}
@media (max-width: 768px) {
    .contact-cards-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .contact-hero { padding-bottom: 40px; }
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.blog-category-link {
    background: var(--bg-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.blog-category-link:hover, .blog-category-link.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.featured-article {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    display: flex;
    transition: var(--transition);
}
.featured-article:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.featured-img-wrap {
    flex: 1;
    min-height: 300px;
    position: relative;
}
.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.featured-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-meta {
    display: flex;
    gap: 15px;
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 15px;
}
.featured-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}
.featured-excerpt {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}
.article-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-card:hover .article-img img {
    transform: scale(1.05);
}
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px; /* RTL right */
    background: var(--secondary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}
.article-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-title {
    font-size: 20px;
    color: var(--primary);
    margin: 10px 0 15px;
    line-height: 1.5;
}
.article-excerpt {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}
.article-link {
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    transition: color 0.3s;
}
.article-link:hover {
    color: var(--primary);
}

/* Article Page Specifics */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}
.reading-progress-bar {
    height: 100%;
    background: var(--secondary);
    width: 0%;
}
.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}
.article-tags-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-medium);
}
.article-main-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px; /* Content left, Sidebar right */
    gap: 50px;
    align-items: start;
}
/* TOC Sidebar */
.toc-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 25px;
}
.toc-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    display: inline-block;
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-list li {
    margin-bottom: 10px;
}
.toc-list a {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
    display: block;
    transition: color 0.3s;
}
.toc-list a:hover {
    color: var(--secondary);
}
.toc-list ul {
    list-style: none;
    padding-right: 15px;
    margin-top: 5px;
}
.toc-list ul a {
    font-size: 13px;
    color: var(--text-medium);
}

.article-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-dark);
}
.article-content h2 {
    color: var(--primary);
    font-size: 28px;
    margin: 40px 0 20px;
    padding-right: 15px;
    border-right: 4px solid var(--secondary);
}
.article-content h3 {
    color: var(--primary);
    font-size: 22px;
    margin: 30px 0 15px;
}
.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-right: 20px;
}
.article-content li {
    margin-bottom: 10px;
}
.article-content p {
    margin-bottom: 25px;
}
.article-cta-box {
    background: linear-gradient(135deg, rgba(201,147,58,0.1) 0%, rgba(201,147,58,0.2) 100%);
    border: 2px dashed var(--secondary);
    border-radius: var(--radius-sm);
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}
.article-cta-box h3 {
    margin-top: 0;
    border: none;
    padding: 0;
}
.social-share {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    margin: 50px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 992px) {
    .featured-article { flex-direction: column; }
    .featured-img-wrap { min-height: 250px; }
    .featured-img-wrap img { position: relative; }
    .article-layout { grid-template-columns: 1fr; }
    .toc-sidebar { position: static; margin-bottom: 40px; }
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-categories { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; }
    .blog-category-link { flex-shrink: 0; }
}
@media (max-width: 576px) {
    .blog-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Section 8: Final CTA Banner
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
}
.cta-banner h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 15px;
}
.cta-banner p {
    color: var(--white);
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cta-buttons .btn {
    font-size: 20px;
    padding: 15px 40px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  background-color: #1A1A1A;
  color: var(--white);
  padding: 70px 0 0;
  border-top: 5px solid var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  display: block;
}
.footer-logo span { color: var(--primary); }
.footer-logo span:last-child { color: var(--secondary); }
.footer-about { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

.footer-grid h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-grid h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0; /* RTL */
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}
.footer-links ul li, .footer-services ul li { margin-bottom: 15px; }
.footer-links a, .footer-services a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover, .footer-services a:hover {
  color: var(--secondary);
  padding-right: 5px; /* RTL Slide effect */
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
}
.footer-contact-icon {
  color: var(--secondary);
  font-size: 20px;
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-list { gap: 15px; margin-left: 10px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .services-grid, .reviews-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item:nth-child(even) { border-left: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-content-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-features-list {
    align-items: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-reviews-badge {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-top { display: none; } 
  .mobile-menu-toggle { display: block; }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 30px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  .main-nav.active { right: 0; }
  .nav-list { flex-direction: column; width: 100%; gap: 15px; margin-left: 0; }
  .nav-list a {
    font-size: 18px;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
  }
  
  .header-actions .btn { display: none; } /* Hide DT CTA */

  .why-us-grid { grid-template-columns: 1fr; }
  
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-grid::before { display: none; }
  .how-step { display: flex; flex-direction: column; align-items: center; }

  .hero { padding: 100px 0 100px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 22px; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 380px; margin: 0 auto 35px; }
  .hero-buttons .btn { width: 100%; }
  
  .cta-buttons { flex-direction: column; }
  .cta-banner h2 { font-size: 32px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 576px) {
  .services-grid, .reviews-grid, .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none !important; }
}

/* ---- NAVBAR DROPDOWN (added for full-nav) ---- */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 200px;
    padding: 8px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.has-dropdown .dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.has-dropdown .dropdown li a:hover {
    background: var(--accent);
    color: var(--secondary);
}

/* ==========================================================================
   Interactive Quote Calculator Section
   ========================================================================== */
.quote-calculator-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 40px auto 0;
  border: 1px solid var(--border-light);
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .quote-calculator-section {
    padding: 24px 16px;
    margin-top: 24px;
  }
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.calc-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.calc-input, .calc-select {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 92, 54, 0.15);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}
.calc-input:focus, .calc-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 92, 54, 0.1);
}
.calc-result-box {
  background: var(--accent);
  border: 1px dashed var(--secondary);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 25px;
  text-align: center;
  display: none;
  animation: slideDownFade 0.4s ease forwards;
}
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.calc-price-range {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0;
  font-family: var(--font-heading);
}
.calc-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}
.calc-note {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 8px;
  display: block;
}


/* ==========================================================================
   Premium 3D Visuals & Floating Badges
   ========================================================================== */
.hero-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 10;
    animation: floatBubble 6s ease-in-out infinite;
    text-align: right;
}
.badge-1 {
    top: 22%;
    right: 8%;
}
.badge-2 {
    bottom: 25%;
    left: 8%;
    animation-delay: 3s;
}
@media (max-width: 1200px) {
    .hero-floating-badge {
        display: none;
    }
}
.hero-floating-badge .badge-icon {
    font-size: 26px;
    background: rgba(212, 163, 70, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-floating-badge h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 2px;
    font-weight: 700;
    font-family: var(--font-heading);
}
.hero-floating-badge p {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin: 0;
    font-family: var(--font-body);
}
@keyframes floatBubble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

/* Premium Gradient Headers */
.section-title h2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.section-title.left-align h2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.reasons-section .section-title h2 {
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3D Card Depth configuration */
.service-card, .reason-card, .b-card, .m-service-card, .quote-calculator-section {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* ==========================================================================
   Testimonials Slider Carousel
   ========================================================================== */
.testimonials-slider-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0 30px;
}
.testimonials-wrapper {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}
.testimonial-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 10px 20px;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(10, 92, 54, 0.15);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dots .dot.active {
    background: var(--secondary);
    transform: scale(1.3);
    width: 24px;
    border-radius: 5px;
}

/* Logo SVG Hover Micro-animation */
.logo a:hover .logo-svg {
    transform: rotate(12deg) scale(1.1);
    color: var(--secondary) !important;
}
.logo-svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}

/* ==========================================================================
   Multi-step Wizard Calculator Styles
   ========================================================================== */
.calc-wizard-steps {
    position: relative;
    overflow: hidden;
    min-height: 250px;
}
.calc-step {
    display: none;
    animation: slideInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.calc-step.active {
    display: block;
}
@keyframes slideInStep {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.calc-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.calc-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(10, 92, 54, 0.1);
    z-index: 1;
    transform: translateY(-50%);
}
.calc-progress-line {
    position: absolute;
    top: 50%;
    right: 0; /* RTL support */
    width: 0%;
    height: 3px;
    background: var(--primary);
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.4s ease;
}
.calc-p-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(10, 92, 54, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-medium);
    position: relative;
    z-index: 3;
    transition: var(--transition);
}
.calc-p-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(10, 92, 54, 0.15);
}
.calc-p-step.completed {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
}
.calc-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .calc-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.calc-card-select {
    background: #fff;
    border: 1px solid rgba(10, 92, 54, 0.1);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.calc-card-select:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}
.calc-card-select.selected {
    border-color: var(--primary);
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(10, 92, 54, 0.08);
}
.calc-card-select .c-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}
.calc-card-select h4 {
    font-size: 15px;
    color: var(--primary);
    margin: 0;
    font-family: var(--font-heading);
}
.calc-wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

/* ==========================================================================
   Antigravity Premium Aesthetics Layer (Awwwards-quality Overhaul)
   ========================================================================== */

/* 1. Custom Cursor Styles (Desktop Only) */
@media (pointer: fine) {
  body.custom-cursor-active {
    cursor: none !important;
  }
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active select,
  body.custom-cursor-active input,
  body.custom-cursor-active textarea,
  body.custom-cursor-active .calc-card-select,
  body.custom-cursor-active .service-card,
  body.custom-cursor-active .review-card,
  body.custom-cursor-active .dot,
  body.custom-cursor-active .gallery-tab,
  body.custom-cursor-active .gallery-item {
    cursor: none !important;
  }
  
  .custom-cursor-dot,
  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.3s ease, 
                border-color 0.3s ease, 
                opacity 0.3s ease;
    opacity: 0;
  }
  
  .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
  }
  
  .custom-cursor-ring {
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(212, 163, 70, 0.5);
    background-color: transparent;
  }
  
  /* Hover States */
  .custom-cursor-ring.hovering {
    width: 48px;
    height: 48px;
    background-color: rgba(10, 92, 54, 0.08);
    border-color: var(--primary);
  }
  
  .custom-cursor-ring.hovering-gold {
    width: 52px;
    height: 52px;
    background-color: rgba(212, 163, 70, 0.12);
    border-color: var(--secondary);
  }

  .custom-cursor-ring.drag-state {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-color: var(--primary);
  }
  
  .custom-cursor-ring.drag-state::after {
    content: 'اسحب';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 10px;
    font-family: var(--font-heading);
    font-weight: bold;
    white-space: nowrap;
  }
}

/* 2. Hover Pill Navbar */
.nav-list {
  position: relative;
}
.nav-hover-pill {
  position: absolute;
  background: rgba(10, 92, 54, 0.06);
  border: 1.5px solid rgba(10, 92, 54, 0.08);
  border-radius: 6px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              width 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              height 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.2s ease;
}
.nav-list li {
  position: relative;
  z-index: 1;
}

/* 3. Card Spotlight Hover Effect */
.service-card, .reason-card, .review-card, .calc-card-select, .gallery-item {
  position: relative;
  overflow: hidden;
}
.service-card::before, .reason-card::before, .review-card::before, .calc-card-select::before, .gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(212, 163, 70, 0.08),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover::before, .reason-card:hover::before, .review-card:hover::before, .calc-card-select:hover::before, .gallery-item:hover::before {
  opacity: 1;
}
/* Ensure inner content sits above Spotlight */
.service-card > *, .reason-card > *, .review-card > *, .calc-card-select > *, .gallery-item > * {
  position: relative;
  z-index: 2;
}

/* 4. Vertical Dot Navigation (Desktop Only) */
.vertical-nav {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10000;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 15px 8px;
  border-radius: 30px;
  border: 1px solid rgba(10, 92, 54, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 1024px) {
  .vertical-nav {
    display: none;
  }
}

.v-nav-item {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.v-nav-dot {
  width: 7px;
  height: 7px;
  background-color: rgba(10, 92, 54, 0.25);
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.v-nav-item:hover .v-nav-dot,
.v-nav-item.active .v-nav-dot {
  background-color: var(--secondary);
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(212, 163, 70, 0.8);
}

.v-nav-tooltip {
  position: absolute;
  right: 28px;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              visibility 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.v-nav-item:hover .v-nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

/* ==========================================================================
   Antigravity Premium Footer & Back-to-Top Styles
   ========================================================================== */

/* Footer Social Icons */
.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social-icons .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-social-icons .social-icon:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(212, 163, 70, 0.08);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 14px rgba(212, 163, 70, 0.2);
}

/* Footer Contact SVG icon hover */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact li svg {
  transition: transform 0.3s ease, color 0.3s ease;
}
.footer-contact li:hover svg {
  transform: scale(1.18) rotate(6deg);
  color: var(--secondary-light) !important;
}

/* Footer Grid override */
.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
}

/* Back to Top with Scroll Progress Circle */
#back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  border: none;
  box-shadow: 0 8px 24px rgba(10, 92, 54, 0.12);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease;
}

#back-to-top.b2t-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(10, 92, 54, 0.22);
}

.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.arrow-up {
  color: var(--primary);
  font-size: 18px;
  font-weight: bold;
  position: relative;
  z-index: 10;
  transition: transform 0.3s ease;
}

#back-to-top:hover .arrow-up {
  transform: translateY(-3px);
}

/* ==========================================================================
   Antigravity Premium Stats-Bar Overhaul (3D Cards)
   ========================================================================== */
.stats-bar {
  background: #f7f8f4 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 0 54px !important;
}

.stats-grid {
  gap: 16px !important;
}

.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf4 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(10, 92, 54, 0.10) !important;
  border-radius: 16px !important;
  padding: 24px 18px !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.3s ease !important;
  box-shadow: 0 14px 34px rgba(6, 64, 36, 0.10) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  border-color: rgba(212, 163, 70, 0.40) !important;
  box-shadow: 0 18px 38px rgba(6, 64, 36, 0.14) !important;
  transform: translateY(-4px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 163, 70, 0.1);
  border: 1px solid rgba(212, 163, 70, 0.2);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.3s ease, 
              border-color 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(6deg);
  background: rgba(212, 163, 70, 0.18);
  border-color: var(--secondary);
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--secondary);
}

.stat-number {
  font-size: 42px !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, var(--primary-dark) 20%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px !important;
  display: inline-block;
  font-family: var(--font-heading) !important;
}

.stat-text {
  font-size: 16px !important;
  color: var(--text-dark) !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 163, 70, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card {
  animation: statCardRise 0.7s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0.08s; }
.stat-card:nth-child(2) { animation-delay: 0.16s; }
.stat-card:nth-child(3) { animation-delay: 0.24s; }
.stat-card:nth-child(4) { animation-delay: 0.32s; }

@keyframes statCardRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Stat Underline span injected by JS */
.stat-underline {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  z-index: 10;
}

.stat-item.in-view .stat-underline {
  opacity: 1;
  transform: scaleX(1);
}

/* Remove side borders on mobile / desktop */
.stat-item:not(:last-child) {
  border-left: none !important;
}

/* ==========================================================================
   Sticky Footer global flexbox layout and desktop element hiding
   ========================================================================== */
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-footer {
  margin-top: auto !important;
}
.sticky-mobile-bar,
.custom-fab-container {
  display: none !important;
}
