/* ==========================================================================
   MUDESIR MUHAMMAD BUILDING CLEANING L.L.C - STYLESHEET
   Domain: mudesircleaning.com | Abu Dhabi, UAE
   Fully Responsive Mobile Layout, Single Row Header, Submenu Dropdown & RTL
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors from Logo */
  --primary: #0f3d64;          /* Navy Blue */
  --primary-light: #185a93;
  --primary-dark: #071c30;
  
  --secondary: #43b02a;        /* Logo Green */
  --secondary-light: #52cf34;
  --secondary-dark: #2d821a;
  --secondary-bg: #f2fbf0;

  --accent: #f59e0b;           /* Amber Gold */
  --accent-hover: #d97706;

  --whatsapp: #25d366;         /* WhatsApp Green */
  --whatsapp-dark: #128c7e;

  /* Neutral Tones */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-family);
  --font-arabic: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s ease-in-out;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Arabic / RTL Override */
html[dir="rtl"] body,
body.arabic-mode {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title {
  font-family: var(--font-arabic);
  font-weight: 800;
}

/* Prevent phone numbers & WhatsApp links from reversing in Arabic RTL mode */
a[href^="tel:"],
a[href^="https://wa.me/"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --------------------------------------------------------------------------
   3. Decongested Topbar
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.84rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
}

.topbar-item a {
  color: #ffffff;
  font-weight: 600;
}

.topbar-item a:hover {
  color: var(--secondary-light);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.topbar-offer {
  background: linear-gradient(90deg, #d97706, #f59e0b);
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Language Toggle in Topbar */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-toggle-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Main Header Navigation (Strict 1-Row Layout in Mobile & Desktop)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Nav links (Desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
}

/* Dropdown Submenu (Desktop) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  display: none;
  z-index: 1100;
}

html[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.15rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--secondary-bg);
  color: var(--secondary-dark);
  padding-left: 1.4rem;
}

html[dir="rtl"] .dropdown-item:hover {
  padding-left: 1.15rem;
  padding-right: 1.4rem;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 0.4rem 0;
}

/* Header Actions Container (Book button + Hamburger) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1010;
}

.mobile-toggle {
  display: none;
  background: var(--bg-alt);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  line-height: 1;
  position: relative;
  z-index: 1010;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  flex-shrink: 0;
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mobile-toggle[aria-expanded="true"] {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

/* Hamburger icon bars (SVG replaced via JS, this is fallback style) */
.mobile-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/* Mobile Menu Close Icon inside drawer */
.mobile-nav-header {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-size: 0.925rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(67, 176, 42, 0.35);
}

.btn-secondary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

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

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  font-weight: 700;
}

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

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.btn-accent:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 1.025rem;
}

.btn-sm {
  padding: 0.38rem 0.85rem;
  font-size: 0.825rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-teal {
  background-color: #e2f8dc;
  color: #277717;
}

.badge-gold {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-navy {
  background-color: #e0eaf3;
  color: #0f3d64;
}

/* --------------------------------------------------------------------------
   6. Hero Sections & Photos
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #071c30 0%, #0f3d64 60%, #17542d 100%);
  color: #ffffff;
  padding: 3.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  color: #ffffff;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #52cf34, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.65rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  font-weight: 500;
}

.trust-icon {
  color: var(--secondary-light);
  font-size: 1.1rem;
}

.hero-media-wrapper {
  position: relative;
}

.hero-staff-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  max-height: 440px;
}

.hero-staff-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(15, 61, 100, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.825rem;
}

html[dir="rtl"] .hero-staff-badge {
  left: auto;
  right: 15px;
}

/* Page Sub-Hero Header */
.page-header {
  background: linear-gradient(135deg, #071c30 0%, #0f3d64 100%);
  color: #ffffff;
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 1.25rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: var(--secondary-light);
}

.breadcrumbs .current {
  color: var(--secondary-light);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Sections & Responsive Two-Column to Single-Column Stacks
   -------------------------------------------------------------------------- */
.section {
  padding: 3.75rem 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  color: var(--secondary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Reusable 2-Column Responsive Layout Block (Stacking cleanly on mobile) */
.split-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-content-img-wrapper {
  width: 100%;
}

.split-content-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Core Services Grid (Home) */
.core-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.core-service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.core-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.core-service-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.core-service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.core-service-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-checklist {
  margin-bottom: 1.25rem;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.service-checklist li::before {
  content: '✓';
  color: var(--secondary-dark);
  font-weight: 800;
}

.core-service-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-bg);
  color: var(--secondary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Step Cards */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

html[dir="rtl"] .step-card:hover {
  transform: translateX(-6px);
}

.step-number {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-number .step-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.step-number .step-digit {
  font-size: 1.5rem;
  line-height: 1;
}

.step-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.step-info p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. Pricing & Calculator
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.pricing-card.promo {
  border-color: var(--accent);
  background: linear-gradient(to bottom, #fffbeb, #ffffff 40%);
}

.card-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-duration {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.pricing-amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
}

.pricing-currency {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 44px;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.pricing-features {
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

html[dir="rtl"] .pricing-features {
  text-align: right;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--secondary-dark);
  font-weight: 800;
}

.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  margin: 0 auto;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.calc-select, .calc-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #fff;
  transition: var(--transition);
}

.calc-select:focus, .calc-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(67, 176, 42, 0.15);
}

.calc-summary {
  background: var(--secondary-bg);
  border: 1px dashed var(--secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.calc-total-label {
  font-size: 0.9rem;
  color: var(--secondary-dark);
  font-weight: 600;
}

.calc-total-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   9. Forms & Contact Cards
   -------------------------------------------------------------------------- */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(67, 176, 42, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

/* Contact Page Layout & Cards */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), #071c30);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-icon-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--secondary-light);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-info-item p, .contact-info-item a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
}

.contact-info-item a:hover {
  color: var(--secondary-light);
}

/* --------------------------------------------------------------------------
   10. Floating Sticky WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--whatsapp);
  color: #ffffff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 22px;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  background-color: var(--whatsapp-dark);
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   11. Footer (Enhanced Large Logo & Credits)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.95fr 1.15fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.footer-logo-wrapper {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  max-width: 280px;
}

.footer-brand-img {
  height: 65px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.4rem;
}

html[dir="rtl"] .footer-title {
  font-family: var(--font-arabic);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--secondary);
}

html[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.service-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.area-pill {
  background: rgba(255, 255, 255, 0.07);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom a {
  color: var(--secondary-light);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   12. Responsive Media Queries (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Topbar Mobile: Single Phone + Language Switcher Only */
  .topbar-info .topbar-item:not(.topbar-phone-primary) {
    display: none !important;
  }
  .topbar-right .topbar-offer {
    display: none !important;
  }
  .topbar .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  /* Header & Navigation Row */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .brand-logo-img {
    height: 40px;
    max-width: 170px;
  }

  .mobile-toggle {
    display: inline-flex;
    pointer-events: auto;
  }

  /* Mobile Nav Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 0.25rem;
    z-index: 2000;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }

  html[dir="rtl"] .nav-links {
    right: auto;
    left: 0;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(-105%);
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  html[dir="rtl"] .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile Drawer Header with Close Button */
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.75rem;
    border-bottom: 1.5px solid var(--border-color);
  }

  .mobile-drawer-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
  }

  .mobile-close-btn {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-close-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
  }

  .nav-item {
    position: relative;
    width: 100%;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: space-between;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(67, 176, 42, 0.15);
    display: flex;
    align-items: center;
  }

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

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

  .nav-link.active::after {
    display: none;
  }

  /* Mobile Submenu: COLLAPSED BY DEFAULT, expanded on click */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.5rem;
    background: var(--bg-alt);
    margin: 0.25rem 0 0.5rem;
    display: none; /* Collapsed */
    pointer-events: auto;
  }

  .nav-item.submenu-open .dropdown-menu {
    display: block; /* Expanded on click */
  }

  .nav-item:hover .dropdown-menu {
    display: none; /* Disable hover opening on mobile */
  }

  .nav-item.submenu-open:hover .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(67, 176, 42, 0.15);
    display: block;
  }

  /* Overlay backdrop when menu is open */
  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 995;
    display: none;
  }

  .nav-backdrop.active {
    display: block;
  }

  /* Mobile Layout Stacking (Single Column with Images First) */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .split-content-img-wrapper {
    order: -1; /* Display image on top */
  }

  .contact-split-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info-card-wrapper {
    order: -1; /* Direct Reach first */
  }

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

  .calc-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .step-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .step-number {
    margin: 0 auto;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .core-services-grid {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
    align-items: center;
  }
  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* Prevent phone numbers from being reversed in RTL Arabic mode */
a[href^="tel:"],
a[href^="https://wa.me/"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
