/* ==========================================================================
   RAWASI ARCHITECTURAL GYPSUM & CEILING SYSTEMS
   VIP Corporate Design System - Pure White, Silver & Platinum Metallic Palette
   Apple iOS 26 Liquid Glass UI Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@400;600;700;800&display=swap');

:root {
  /* Color Palette - VIP White, Silver & Platinum Architectural Luxury */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-card: rgba(255, 255, 255, 0.72);
  --bg-glass-nav: rgba(255, 255, 255, 0.84);
  --bg-glass-dark: rgba(15, 23, 42, 0.85);

  /* Metallic Silver & Platinum Gradients */
  --metallic-silver: linear-gradient(135deg, #FFFFFF 0%, #F1F4F8 45%, #E2E8F0 80%, #CBD5E1 100%);
  --metallic-accent: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #94A3B8 100%);
  --metallic-chrome: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #E2E8F0 100%);
  --metallic-border: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(203, 213, 225, 0.65), rgba(255, 255, 255, 0.95));

  /* Typography Colors - Strict Black / Dark Charcoal for Contrast */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Borders & Shadows */
  --border-ultra-light: rgba(226, 232, 240, 0.8);
  --border-silver: rgba(203, 213, 225, 0.6);
  --border-glass: rgba(255, 255, 255, 0.9);
  --border-specular: rgba(255, 255, 255, 0.95);
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.6);
  --shadow-card-hover: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(203, 213, 225, 0.9);
  --shadow-glass: 0 14px 38px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 35px rgba(203, 213, 225, 0.45);

  /* Brand Accents */
  --silver-accent: #64748B;
  --silver-dark: #1E293B;
  --whatsapp-color: #25D366;
  --whatsapp-dark: #1EBE5D;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Tajawal', 'Cairo', -apple-system, sans-serif;

  /* Sizing & Transitions */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Arabic RTL Typography & Flow */
[dir="rtl"] body,
[dir="rtl"] {
  font-family: var(--font-arabic);
  letter-spacing: 0 !important;
}

[dir="rtl"] .font-display {
  font-family: 'Cairo', var(--font-arabic) !important;
}

/* Subtle architectural grid background overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(203, 213, 225, 0.25) 1px, transparent 1px),
    radial-gradient(rgba(226, 232, 240, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Apple iOS 26 Liquid Glass Navbar
   ========================================================================== */
.header-glass-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1240px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-glass-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 12px 35px -8px rgba(15, 23, 42, 0.08),
    0 4px 12px -2px rgba(15, 23, 42, 0.04),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(203, 213, 225, 0.35);
  transition: var(--transition-smooth);
}

.header-glass-nav.scrolled .nav-glass-container {
  padding: 0.5rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 
    0 16px 40px -10px rgba(15, 23, 42, 0.12),
    0 6px 16px -3px rgba(15, 23, 42, 0.06),
    inset 0 1px 1px 0 rgba(255, 255, 255, 1);
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #CBD5E1 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 1px 1px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
}

.brand-emblem::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(241, 245, 249, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Dropdown Menu for Services */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 20px 45px -10px rgba(15, 23, 42, 0.15),
    0 8px 18px -4px rgba(15, 23, 42, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-dropdown-wrapper.open .nav-dropdown-menu,
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  color: inherit;
  padding: 0;
}

.nav-dropdown-toggle svg {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrapper.open .nav-dropdown-toggle svg,
.nav-dropdown-wrapper:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: rgba(241, 245, 249, 0.85);
  transform: translateX(3px);
}

[dir="rtl"] .nav-dropdown-item:hover {
  transform: translateX(-3px);
}

.nav-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FFFFFF, #F1F5F9);
  border: 1px solid var(--border-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.nav-dropdown-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.nav-dropdown-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

/* Nav Actions (Language Switcher & Quote Button) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Apple Liquid Glass Segmented Language Switcher */
.lang-switcher-pill {
  display: flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.9);
  padding: 0.22rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(203, 213, 225, 0.5);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-btn {
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.lang-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 1px #FFFFFF;
}

/* VIP Silver / Charcoal Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 16px rgba(15, 23, 42, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  box-shadow: 
    0 8px 24px rgba(15, 23, 42, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-silver {
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #E2E8F0 100%);
  color: var(--text-primary);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 
    0 4px 14px rgba(15, 23, 42, 0.05),
    inset 0 1.5px 1px rgba(255, 255, 255, 1);
}

.btn-silver:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 
    0 8px 24px rgba(15, 23, 42, 0.1),
    inset 0 1.5px 1px #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid var(--border-silver);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
}

/* Mobile Glass Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(-20px);
  transition: var(--transition-smooth);
}

.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateY(0);
}

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

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.7);
}

.mobile-link:hover {
  background: rgba(241, 245, 249, 1);
}

/* ==========================================================================
   Hero Section - Cinematic VIP Layout
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-color: #0F172A;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(0.96) contrast(1.08);
  transform: scale(1.01);
  transition: transform 10s ease-out;
}

.hero-section:hover .hero-bg-image,
.hero-section:hover .hero-bg-video {
  transform: scale(1.03);
}

/* Clear, sharp architectural view - subtle luxury dark side-scrim for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.58) 45%, rgba(15, 23, 42, 0.12) 80%, transparent 100%),
    linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 35%);
}

[dir="rtl"] .hero-overlay {
  background: 
    linear-gradient(to left, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.58) 45%, rgba(15, 23, 42, 0.12) 80%, transparent 100%),
    linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* VIP Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-color);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span.text-silver {
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #E2E8F0;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

/* Compact, refined hero buttons */
.hero-btn-compact {
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-btn-compact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Live Counter Strip - Ultra High Contrast & HD Visibility */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.6),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
}

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

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

[dir="rtl"] .hero-stat-item:not(:last-child)::after {
  right: auto;
  left: -0.75rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #F1F5F9 !important;
  margin-top: 0.4rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

/* ==========================================================================
   Full Cover Section Utilities (Cost Estimator & CTA)
   ========================================================================== */
.section-full-cover {
  width: 100%;
  padding-inline: 0 !important;
}

.section-full-cover .container-full {
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}

.section-full-cover .calculator-card {
  max-width: 100% !important;
  width: 100% !important;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4.5vw, 4.5rem) clamp(1.5rem, 5vw, 5rem) !important;
  box-shadow: var(--shadow-card-hover);
  border: 1px solid var(--border-silver);
}

.section-full-cover .calc-grid {
  max-width: 1350px;
  margin-inline: auto;
  gap: clamp(2rem, 4vw, 4rem);
}

#quote.section-full-cover {
  padding-block: 0 !important;
}

#quote.section-full-cover .cta-banner {
  border-radius: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(4.5rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem) !important;
}

#quote.section-full-cover .cta-content {
  max-width: 1100px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

#quote.section-full-cover .cta-actions {
  justify-content: center !important;
}

/* ==========================================================================
   Section Headers & Typography Utilities
   ========================================================================== */
.section {
  padding-block: 6rem;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-header.text-start {
  text-align: start;
  margin-inline: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-accent);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-silver);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Company Introduction & About Us Section
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.intro-image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.intro-image-frame:hover img {
  transform: scale(1.04);
}

/* Floating Glass Badge over Intro Image */
.intro-floating-glass {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-glass);
  max-width: 260px;
}

[dir="rtl"] .intro-floating-glass {
  right: auto;
  left: 1.75rem;
}

.intro-floating-glass strong {
  display: block;
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
}

.intro-floating-glass span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.intro-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-block: 2rem;
}

.intro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.intro-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.intro-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.intro-feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Three Dedicated Service Cards Showcase
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-ultra-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(203, 213, 225, 0.9);
}

.service-card-media {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.service-card-media img,
.service-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(1.02) contrast(1.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-media img,
.service-card:hover .service-card-media video {
  transform: scale(1.06);
}

.service-video-badge {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

[dir="rtl"] .service-video-badge {
  right: auto;
  left: 0.85rem;
}

.service-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[dir="rtl"] .service-card-tag {
  left: auto;
  right: 1rem;
}

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.service-card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.service-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-silver);
}

.service-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-ultra-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.card-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
}

.btn-card {
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  gap: 0.35rem;
  width: 100%;
  justify-content: center;
  box-shadow: none;
  text-decoration: none;
}

.btn-card svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .card-action-btns {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--silver-accent);
  gap: 0.7rem;
}

/* ==========================================================================
   Interactive Before / After Comparison Slider
   ========================================================================== */
.before-after-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 520px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  user-select: none;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  width: 50%;
  border-right: 2px solid #FFFFFF;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .ba-after {
  right: 0;
  left: auto;
  border-right: none;
  border-left: 2px solid #FFFFFF;
  box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
}

/* Before / After Floating Badges */
.ba-badge {
  position: absolute;
  top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ba-badge-before {
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
}

[dir="rtl"] .ba-badge-before {
  right: auto;
  left: 1.25rem;
}

.ba-badge-after {
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  border: 1px solid #FFFFFF;
}

[dir="rtl"] .ba-badge-after {
  left: auto;
  right: 1.25rem;
}

/* Slider Handle */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-top: auto;
  margin-bottom: auto;
  transform: translate(-50%, 0);
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px #fff;
  z-index: 20;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(226, 232, 240, 0.9);
}

.ba-handle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
}

/* ==========================================================================
   Filterable Projects Gallery
   ========================================================================== */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-silver);
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-ultra-light);
  height: 480px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(203, 213, 225, 0.9);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(1.02) contrast(1.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover img {
  transform: scale(1.06);
}

/* Gradient color removed from upper image - bottom-anchored subtle scrim only for typography */
.project-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.75rem 1.5rem;
  color: #FFFFFF;
  transition: var(--transition-smooth);
}

.project-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  margin-bottom: 0.65rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.project-location {
  font-size: 0.85rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Why Choose Us & Process Sections
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-ultra-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(203, 213, 225, 0.9);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #E2E8F0 100%);
  border: 1px solid var(--border-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1px 1px #fff;
}

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

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Process Timeline Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  position: relative;
  background: var(--bg-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-ultra-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(203, 213, 225, 0.9);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: #E2E8F0;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Cost Estimator & Quote Calculator
   ========================================================================== */
.calculator-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-ultra-light);
  max-width: 980px;
  margin-inline: auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-silver);
  background: var(--bg-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.calc-output-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.calc-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-block: 0.5rem;
}

.calc-currency {
  font-size: 1.1rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ==========================================================================
   Testimonials & FAQ Accordions
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-ultra-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.stars-row {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-ultra-light);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
}

.author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Accordion */
.accordion-wrapper {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-ultra-light);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  cursor: pointer;
}

[dir="rtl"] .accordion-header {
  text-align: right;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.75rem 1.35rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* ==========================================================================
   Quotation CTA & WhatsApp Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.15rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0B1120;
  color: #94A3B8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-title {
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #CBD5E1;
}

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

/* ==========================================================================
   Dual Floating Action Buttons (Right: WhatsApp | Left: Call Now)
   ========================================================================== */
/* Right: Floating WhatsApp Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  z-index: 990;
  transition: var(--transition-smooth);
  text-decoration: none;
}

[dir="rtl"] .floating-whatsapp-btn {
  right: 2rem;
  left: auto;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.7);
  color: #FFFFFF;
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* Left: Floating Call Now Button */
.floating-call-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 990;
  transition: var(--transition-smooth);
  text-decoration: none;
}

[dir="rtl"] .floating-call-btn {
  left: 2rem;
  right: auto;
}

.floating-call-btn:hover {
  transform: scale(1.1);
  background: #1E293B;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
}

.floating-call-btn svg {
  width: 26px;
  height: 26px;
}

/* Tooltip on hover */
.floating-tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-whatsapp-btn .floating-tooltip {
  right: 100%;
  left: auto;
  margin-right: 0.75rem;
}

.floating-call-btn .floating-tooltip {
  left: 100%;
  right: auto;
  margin-left: 0.75rem;
}

.floating-whatsapp-btn:hover .floating-tooltip,
.floating-call-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1rem;
    left: auto;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
  .floating-call-btn {
    bottom: 1.25rem;
    left: 1rem;
    right: auto;
    width: 52px;
    height: 52px;
  }
  .floating-call-btn svg {
    width: 22px;
    height: 22px;
  }
  .floating-tooltip {
    display: none;
  }
}

/* ==========================================================================
   Quotation Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.25rem;
}

/* Service Detail Page Specific Styles */
.service-hero-section {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  background-color: #0F172A;
  color: #FFFFFF;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0F172A 10%, rgba(15, 23, 42, 0.7) 100%);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.service-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-block: 2rem;
}

.specs-table th, 
.specs-table td {
  padding: 1.15rem 1.5rem;
  text-align: start;
  border-bottom: 1px solid var(--border-ultra-light);
}

[dir="rtl"] .specs-table th, 
[dir="rtl"] .specs-table td {
  text-align: right;
}

.specs-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-table td {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Comprehensive Mobile & Multi-Device Responsiveness (All Screen Sizes)
   ========================================================================== */

/* Global overflow and image safeguards */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* 1. Medium Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .features-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .intro-image-frame img {
    height: 420px;
  }
}

/* 2. Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  /* Prevent iOS Safari input zoom */
  input, select, textarea {
    font-size: 16px !important;
  }

  .nav-menu-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  /* Compact Hero Buttons on Tablet */
  .hero-actions,
  .service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn,
  .hero-actions .hero-btn-compact,
  .service-hero-actions .btn {
    min-height: 38px;
    height: 38px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .hero-actions .btn svg,
  .hero-actions .hero-btn-compact svg {
    width: 15px;
    height: 15px;
  }

  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }

  /* Clear dividers for 2x2 grid */
  .hero-stat-item:nth-child(2)::after {
    display: none;
  }

  [dir="rtl"] .hero-stat-item:nth-child(2)::after {
    display: none;
  }

  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .features-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card-media img,
  .service-card-media video {
    height: 250px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom > div {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .before-after-wrapper {
    height: 320px;
  }

  .calculator-card {
    padding: 1.5rem;
  }

  .cta-banner {
    padding: 2.25rem 1.5rem;
  }

  .intro-image-frame img {
    height: 320px;
  }

  .intro-floating-glass {
    padding: 1rem;
    bottom: 1rem;
    right: 1rem;
    max-width: 220px;
  }

  [dir="rtl"] .intro-floating-glass {
    right: auto;
    left: 1rem;
  }
}

/* 3. Standard Mobile Phones (<= 576px) — iPhone 12/13/14/15/16, Samsung Galaxy, Pixel */
@media (max-width: 576px) {
  .container {
    padding-inline: 1rem;
  }

  /* Compact Apple Glass Navbar */
  .header-glass-nav {
    top: 0.6rem;
    width: 96%;
  }

  .nav-glass-container {
    padding: 0.45rem 0.85rem;
  }

  .brand-emblem {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand-emblem svg {
    width: 20px;
    height: 20px;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-subtitle {
    display: none; /* Hide subtitle on small phones to prevent horizontal compression */
  }

  /* In navbar, hide duplicate WhatsApp button on small phones since persistent floating buttons exist */
  .nav-actions .btn-whatsapp.btn-sm {
    display: none;
  }

  .lang-switcher-pill {
    padding: 0.18rem;
  }

  .lang-btn {
    padding: 0.26rem 0.55rem;
    font-size: 0.72rem;
  }

  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
  }

  /* Hero Section Elements */
  .hero-content {
    text-align: right; /* RTL default */
  }

  [dir="ltr"] .hero-content {
    text-align: left;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.15rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.2rem);
    line-height: 1.25;
  }

  /* Small & Sleek Hero Action Buttons on Mobile (2x2 Grid) */
  .hero-actions,
  .service-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn,
  .hero-actions .hero-btn-compact,
  .service-hero-actions .btn {
    width: 100%;
    min-height: 35px;
    height: auto;
    padding: 0.35rem 0.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.25;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    box-sizing: border-box;
    gap: 0.35rem;
  }

  .hero-actions .btn svg,
  .hero-actions .hero-btn-compact svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .hero-actions .btn span {
    display: inline-block;
    line-height: 1.2;
    text-align: center;
  }

  /* Hero Stats Strip on Mobile */
  .hero-stats-strip {
    padding: 1rem;
    gap: 0.85rem;
  }

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

  .stat-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Project Swipable Tabs */
  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }

  /* Card Action Buttons (WhatsApp & Call) on Mobile */
  .card-action-btns {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .btn-card {
    min-height: 44px;
    font-size: 0.86rem;
    padding: 0.65rem 1rem;
    justify-content: center;
    box-sizing: border-box;
  }

  .service-card-body {
    padding: 1.25rem 1rem;
  }

  .service-card-title {
    font-size: 1.2rem;
  }

  .service-card-text {
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
  }

  /* Interactive Before/After on Mobile */
  .before-after-wrapper {
    height: 260px;
  }

  .ba-badge {
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
  }

  /* Floating WhatsApp & Call Buttons on Mobile */
  .floating-whatsapp-btn {
    bottom: max(1.15rem, env(safe-area-inset-bottom, 1.15rem));
    right: 0.9rem;
    left: auto;
    width: 48px;
    height: 48px;
  }

  [dir="rtl"] .floating-whatsapp-btn {
    right: auto;
    left: 0.9rem;
  }

  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }

  .floating-call-btn {
    bottom: max(1.15rem, env(safe-area-inset-bottom, 1.15rem));
    left: 0.9rem;
    right: auto;
    width: 48px;
    height: 48px;
  }

  [dir="rtl"] .floating-call-btn {
    left: auto;
    right: 0.9rem;
  }

  .floating-call-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Modal on Mobile */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-dialog {
    padding: 1.5rem 1.15rem;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  /* Direct Consultation Desk & Forms on Mobile */
  .cta-banner {
    padding: 1.75rem 1rem;
    border-radius: var(--radius-md);
  }

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

  .cta-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* 4. Compact Mobile Devices (<= 380px) — iPhone SE, Galaxy Fold cover, 320px - 360px */
@media (max-width: 380px) {
  .container {
    padding-inline: 0.75rem;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-stats-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stat-item::after {
    display: none !important;
  }

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

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

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  /* Ultra-compact Hero Buttons on Small Screen Phones (<=380px) */
  .hero-actions,
  .service-hero-actions {
    gap: 0.35rem;
    margin-bottom: 1.15rem;
  }

  .hero-actions .btn,
  .hero-actions .hero-btn-compact,
  .service-hero-actions .btn {
    min-height: 32px;
    padding: 0.25rem 0.35rem;
    font-size: 0.67rem;
    border-radius: 6px;
    gap: 0.25rem;
  }

  .hero-actions .btn svg,
  .hero-actions .hero-btn-compact svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================================================
   Jeddah & Saudi Service Locations Coverage Section
   Matching Screenshot: Deep Navy Blue Circle Pins, Centered Layout & Decorative Divider
   ========================================================================== */
.jeddah-locations-section {
  background-color: var(--bg-primary);
  position: relative;
  padding: 5rem 0 5.5rem 0;
  border-top: 1px solid var(--border-ultra-light);
  border-bottom: 1px solid var(--border-ultra-light);
}

.jeddah-loc-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  text-align: center;
}

/* Decorative Divider: 3 dots + bar in Deep Royal Blue (#10367D) */
.loc-decorative-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 1.15rem auto 1.5rem auto;
}

.loc-decorative-divider .divider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10367D;
  display: inline-block;
}

.loc-decorative-divider .divider-bar {
  width: 44px;
  height: 5px;
  border-radius: 4px;
  background-color: #10367D;
  display: inline-block;
}

.jeddah-loc-subtitle {
  max-width: 740px;
  margin: 0 auto 3.25rem auto;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
  text-align: center;
}

.jeddah-locations-container {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.loc-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}

.location-pin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: 82px;
  cursor: pointer;
  padding: 0.5rem 0.65rem;
  border-radius: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.location-pin-card:hover {
  transform: translateY(-6px);
  background-color: rgba(16, 54, 125, 0.04);
}

.pin-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #10367D;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 16px rgba(16, 54, 125, 0.28);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.location-pin-card:hover .pin-icon-circle {
  transform: scale(1.12);
  background: #0B2556;
  box-shadow: 0 9px 24px rgba(16, 54, 125, 0.45);
}

.pin-icon-circle svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.location-pin-card:hover .pin-icon-circle svg {
  transform: translateY(-1px);
}

.pin-district-name {
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.location-pin-card:hover .pin-district-name {
  color: #10367D;
}

/* Coverage Assurance Banner Below Pins */
.coverage-assurance-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--border-silver);
  border-radius: 20px;
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}

.coverage-assurance-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.coverage-assurance-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 54, 125, 0.08);
  color: #10367D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coverage-assurance-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.coverage-assurance-text p {
  font-size: 0.92rem;
  color: #64748B;
  margin: 0;
}

.coverage-assurance-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .jeddah-locations-section {
    padding: 3.5rem 0 4rem 0;
  }
  .loc-row {
    gap: 1.15rem 1.35rem;
  }
  .location-pin-card {
    min-width: 68px;
    padding: 0.35rem 0.45rem;
  }
  .pin-icon-circle {
    width: 44px;
    height: 44px;
  }
  .pin-icon-circle svg {
    width: 19px;
    height: 19px;
  }
  .pin-district-name {
    font-size: 0.95rem;
    margin-top: 0.55rem;
  }
  .coverage-assurance-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem 1.25rem;
    margin-top: 2.5rem;
  }
  .coverage-assurance-info {
    flex-direction: column;
    text-align: center;
  }
  .coverage-assurance-actions {
    justify-content: center;
  }
  .coverage-assurance-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

