/* ==========================================================================
   SHAKARI SHAR - Modern Industrial & Mining Design System
   Colors: Corporate Navy (#163b75), Slate Blue (#97a2b2), Deep Navy (#0c1d3b)
   Typography: Outfit, Plus Jakarta Sans, Cairo (Arabic & Kurdish)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root,
[data-theme="light"] {
  /* Brand Colors from Card & Logo */
  --color-primary: #163b75;
  --color-primary-dark: #0c1d3b;
  --color-primary-light: #23519c;
  --color-primary-rgb: 22, 59, 117;

  --color-slate-badge: #97a2b2;
  --color-slate-light: #e5ebf3;
  --color-slate-dark: #52637a;

  --color-accent: #0284c7;
  --color-accent-hover: #0369a1;
  --color-accent-light: #e0f2fe;

  --color-gold: #d97706;
  --color-gold-light: #fef3c7;

  /* Header Tokens */
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: rgba(22, 59, 117, 0.12);
  --header-text: #0c1d3b;
  --header-text-muted: #52637a;
  --header-nav-link: #1e293b;
  --header-nav-active: var(--color-primary);

  /* Neutrals (Light Theme) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-dark-section: #0a172c;

  --border-color: #e2e8f0;
  --border-color-dark: #1e293b;
  --border-focus: #163b75;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-rtl: 'Noto Sans Arabic', 'Vazirmatn', 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 38px -6px rgba(15, 23, 42, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(22, 59, 117, 0.25);

  /* Layout */
  --container-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --header-bg: rgba(10, 24, 48, 0.95);
  --header-border: rgba(255, 255, 255, 0.1);
  --header-text: #ffffff;
  --header-text-muted: var(--color-slate-badge);
  --header-nav-link: rgba(255, 255, 255, 0.85);
  --header-nav-active: #38bdf8;

  --bg-main: transparent;
  --bg-surface: rgba(14, 27, 48, 0.5);
  --bg-surface-elevated: rgba(19, 36, 64, 0.6);
  --bg-surface-alt: rgba(22, 42, 74, 0.6);
  --bg-dark-section: transparent;

  --border-color: #1e3557;
  --border-color-dark: #2d4a77;
  --border-focus: #38bdf8;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  --color-slate-light: #162a4a;
  --color-slate-dark: #97a2b2;
}

/* ==========================================================================
   BASE & RESET STYLES (OVERFLOW-X HIDDEN)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   RTL, KURDISH & ARABIC TYPOGRAPHY & CHARACTER SHAPING
   ========================================================================== */
html[dir="rtl"],
html[lang="ku"],
html[lang="ar"],
html[dir="rtl"] body,
html[lang="ku"] body,
html[lang="ar"] body {
  font-family: var(--font-rtl) !important;
  text-align: right;
}

/* Crucial: Disable letter-spacing across all elements in RTL to preserve Kurdish/Arabic cursive connections */
html[dir="rtl"] *,
html[lang="ku"] *,
html[lang="ar"] * {
  letter-spacing: normal !important;
}

html[dir="rtl"] .font-heading,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .hero-headline,
html[dir="rtl"] .brand-title,
html[dir="rtl"] .section-eyebrow,
html[dir="rtl"] .badge,
html[dir="rtl"] .btn,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[lang="ku"] .font-heading,
html[lang="ku"] h1,
html[lang="ku"] h2,
html[lang="ku"] h3,
html[lang="ku"] h4,
html[lang="ku"] h5,
html[lang="ku"] h6,
html[lang="ku"] .hero-headline,
html[lang="ku"] .brand-title,
html[lang="ku"] .section-eyebrow,
html[lang="ku"] .badge,
html[lang="ku"] .btn,
html[lang="ku"] button,
html[lang="ku"] input,
html[lang="ku"] textarea,
html[lang="ku"] select {
  font-family: var(--font-rtl) !important;
  letter-spacing: normal !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] .hero-headline,
html[lang="ku"] h1,
html[lang="ku"] .hero-headline {
  line-height: 1.35 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  font-size: clamp(0.72rem, 1.2vw, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: var(--color-slate-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR & HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1rem;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  color: var(--header-text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.brand-subtitle-text {
  color: var(--header-text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   NAVBAR RESPONSIVE DEFAULT (MOBILE-FIRST)
   By default: All desktop navbar elements are strictly hidden on mobile!
   The top navbar on mobile displays ONLY:
   [Logo + SHAKARI SHAR] on Left ----------------- [Hamburger Menu Button] on Right
   -------------------------------------------------------------------------- */
.desktop-nav-wrap,
nav[aria-label="Primary Navigation"],
.desktop-quote-btn,
.desktop-only {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

.mobile-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.nav-item-link {
  color: var(--header-nav-link);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--header-nav-active);
  transition: width var(--transition-fast);
}

html[dir="rtl"] .nav-item-link::after {
  left: auto;
  right: 0;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--header-nav-active);
}

.nav-item-link:hover::after,
.nav-item-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Desktop Theme Toggle Button (44x44px min touch target) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--header-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--header-text);
  padding: 0;
  flex-shrink: 0;
}

[data-theme="light"] .theme-toggle-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #e2e8f0;
  color: var(--color-primary);
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fbbf24;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fde047;
}

/* Desktop Language Selector Dropdown */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.lang-caret {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f2448;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  list-style: none;
  min-width: 165px;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 2005;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

html[dir="rtl"] .lang-option-btn {
  text-align: right;
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.lang-option-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

/* Action Buttons (All min-height 44px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #163b75 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Mobile Hamburger Toggle Button (44x44px touch target) */
.mobile-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  color: var(--header-text);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

[data-theme="light"] .mobile-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   SLEEK DARK-THEMED MOBILE DRAWER (Slide-Out Menu)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #0b1329;
  /* Exact rich dark theme background requested */
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html[dir="rtl"] .mobile-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(-100%);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
  transform: translateX(0);
}

html[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-drawer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-brand .brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}

.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  /* Generous touch padding */
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active,
.mobile-drawer-link.active {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding-left: 1.25rem;
}

html[dir="rtl"] .mobile-drawer-link:hover,
html[dir="rtl"] .mobile-drawer-link:active,
html[dir="rtl"] .mobile-drawer-link.active {
  padding-left: 1rem;
  padding-right: 1.25rem;
}

/* Drawer Controls: Language & Theme */
.mobile-drawer-controls {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-control-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.drawer-lang-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-lang-btn {
  min-height: 42px;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  color: #cbd5e1;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.drawer-lang-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
}

.mobile-theme-toggle {
  width: auto !important;
  min-width: unset;
  padding: 0.45rem 1rem !important;
  gap: 0.5rem;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
}

.mobile-drawer-footer {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-quote-btn {
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
}

.mobile-drawer-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.drawer-contact-phone:hover {
  color: #38bdf8;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1999;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: 80vh;
  min-height: 560px;
  max-height: 800px;
  background-color: var(--color-primary-dark);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 24, 48, 0.92) 0%,
      rgba(10, 24, 48, 0.8) 45%,
      rgba(10, 24, 48, 0.45) 100%);
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg,
      rgba(10, 24, 48, 0.92) 0%,
      rgba(10, 24, 48, 0.8) 45%,
      rgba(10, 24, 48, 0.45) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  color: #ffffff;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.hero-headline {
  color: #ffffff;
  font-size: clamp(1.85rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  color: #e2e8f0;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Slider Controls (48x48px min touch target) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 2rem;
}

.slider-arrow.next {
  right: 2rem;
}

html[dir="rtl"] .slider-arrow.prev {
  left: auto;
  right: 2rem;
  transform: translateY(-50%) scaleX(-1);
}

html[dir="rtl"] .slider-arrow.next {
  right: auto;
  left: 2rem;
  transform: translateY(-50%) scaleX(-1);
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.slider-dot {
  width: 32px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 6px 0;
  background-clip: content-box;
}

.slider-dot.active {
  width: 52px;
  background-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* ==========================================================================
   STATS BAR SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  padding-bottom: 3.5rem;
}

.stats-card-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-box {
  padding: 2.25rem 1.75rem;
  text-align: center;
  border-right: 1px solid var(--border-color);
  position: relative;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

html[dir="rtl"] .stat-box {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.stat-box:last-child {
  border-right: none;
}

html[dir="rtl"] .stat-box:last-child {
  border-left: none;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.stat-box:hover {
  background: #f8fafc;
}

.stat-box:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.section-pad {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-content p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-media-stack {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: #0f2448;
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
  max-width: 320px;
}

html[dir="rtl"] .about-floating-card {
  left: auto;
  right: -2rem;
}

.about-floating-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #38bdf8;
  margin-bottom: 0.4rem;
}

.about-floating-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.mv-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.mv-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-slate-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.mv-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.mv-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: #f1f5f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--color-slate-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrap {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card-desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card-link {
  gap: 0.75rem;
}

/* ==========================================================================
   EQUIPMENT & PRODUCT CATEGORIES
   ========================================================================== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.equip-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.equip-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.equip-number-tag {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 1rem;
}

.equip-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.equip-desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE SHAKARI SHAR
   ========================================================================== */
.why-us-section {
  background-color: #f8fafc;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-slate-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-title {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.why-desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT & QUOTE SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.office-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.business-card-preview {
  background: linear-gradient(135deg, #102a56 0%, #163b75 100%);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.business-card-preview::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.bc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bc-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.bc-badge {
  font-size: 0.7rem;
  background: var(--color-slate-badge);
  color: #0f172a;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.bc-phone-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.4rem;
  display: block;
}

.bc-web {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  display: block;
}

.bc-addr {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-slate-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.channel-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.channel-val a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.quick-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-head {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #334155;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  font-size: 16px;
  /* Prevents auto-zoom on iOS mobile browsers */
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(22, 59, 117, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

/* ==========================================================================
   NEWSLETTER BAND
   ========================================================================== */
.newsletter-band {
  background: linear-gradient(135deg, #0c1d3b 0%, #163b75 100%);
  color: #ffffff;
  padding: 4.5rem 0;
}

.nl-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.nl-text-side {
  max-width: 580px;
}

.nl-title {
  color: #ffffff;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin-bottom: 0.65rem;
}

.nl-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.nl-form-side {
  flex: 1;
  max-width: 480px;
}

.nl-input-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nl-input {
  flex: 1;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.nl-input:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.nl-consent-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #081120;
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand-logo {
  height: 44px;
  width: auto;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: #94a3b8;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #38bdf8;
  padding-inline-start: 4px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ==========================================================================
   INTERACTIVE SERVICE DETAIL MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-normal);
  padding: 2.5rem;
  position: relative;
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.25rem;
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.modal-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-slate-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.modal-body-desc {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-specs-box {
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-inline-start: 4px solid var(--color-primary);
}

.modal-specs-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-specs-text {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}

html[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}

.toast {
  background: #0f2448;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  animation: slideToast 0.3s ease-out;
}

.toast.success {
  border-inline-start: 4px solid #10b981;
}

.toast.error {
  border-inline-start: 4px solid #ef4444;
}

@keyframes slideToast {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   THEME SPECIFIC OVERRIDES (LIGHT & DARK MODES)
   ========================================================================== */
[data-theme="light"] .lang-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

[data-theme="light"] .lang-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

[data-theme="light"] .lang-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .lang-option-btn {
  color: #1e293b;
}

[data-theme="light"] .lang-option-btn:hover {
  background: #f1f5f9;
  color: var(--color-primary);
}

[data-theme="light"] .lang-option-btn.active {
  background: var(--color-primary);
  color: #ffffff;
}

[data-theme="light"] .mobile-toggle .hamburger-line {
  background-color: #0f172a;
}

/* Dark Mode Specific Overrides */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .section-title {
  color: #f8fafc;
}

[data-theme="dark"] .section-subtitle {
  color: #94a3b8;
}

[data-theme="dark"] .services-section {
  background-color: #081120;
}

[data-theme="dark"] .stats-card-container {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .stat-box {
  border-color: #1e3557;
}

[data-theme="dark"] .stat-box:hover {
  background: #132440;
}

[data-theme="dark"] .stat-number {
  color: #38bdf8;
}

[data-theme="dark"] .about-text-content p {
  color: #94a3b8;
}

[data-theme="dark"] .mv-card {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .mv-icon-badge {
  background: #162a4a;
  color: #38bdf8;
}

[data-theme="dark"] .mv-desc {
  color: #94a3b8;
}

[data-theme="dark"] .service-card {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .service-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .service-icon-wrap {
  background: #162a4a;
  color: #38bdf8;
}

[data-theme="dark"] .service-card:hover .service-icon-wrap {
  background: #0284c7;
  color: #ffffff;
}

[data-theme="dark"] .service-card-desc {
  color: #94a3b8;
}

[data-theme="dark"] .service-card-link {
  color: #38bdf8;
}

[data-theme="dark"] .equip-card {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .equip-number-tag {
  color: #1e3557;
}

[data-theme="dark"] .equip-title {
  color: #f1f5f9;
}

[data-theme="dark"] .equip-desc {
  color: #94a3b8;
}

[data-theme="dark"] .why-card {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .why-icon-box {
  background: #162a4a;
  color: #38bdf8;
}

[data-theme="dark"] .why-title {
  color: #f1f5f9;
}

[data-theme="dark"] .why-desc {
  color: #94a3b8;
}

[data-theme="dark"] .office-info-card {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .channel-icon {
  background: #162a4a;
  color: #38bdf8;
}

[data-theme="dark"] .channel-val {
  color: #ffffff;
}

[data-theme="dark"] .quote-form-wrap {
  background: #0e1b30;
  border-color: #1e3557;
}

[data-theme="dark"] .form-label {
  color: #e2e8f0;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #0a1424;
  border-color: #1e3557;
  color: #ffffff;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  background: #0d1a30;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

[data-theme="dark"] .modal-card {
  background: #0e1b30;
  border-color: #1e3557;
  color: #f1f5f9;
}

[data-theme="dark"] .modal-body-desc {
  color: #e2e8f0;
}

[data-theme="dark"] .modal-specs-box {
  background: #162a4a;
  border-inline-start-color: #38bdf8;
}

[data-theme="dark"] .modal-specs-title {
  color: #38bdf8;
}

[data-theme="dark"] .modal-specs-text {
  color: #cbd5e1;
}

[data-theme="dark"] .modal-close-btn {
  background: #162a4a;
  border-color: #1e3557;
  color: #cbd5e1;
}

[data-theme="dark"] .modal-close-btn:hover {
  background: #38bdf8;
  color: #070e1c;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESKTOPS & LAPTOPS (1024px and wider)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {

  /* Show center navigation links, desktop quote button & desktop dropdowns */
  .desktop-nav-wrap,
  nav[aria-label="Primary Navigation"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
  }

  .desktop-quote-btn,
  .desktop-only {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Hide mobile hamburger and mobile drawer */
  .mobile-toggle {
    display: none !important;
  }

  .mobile-drawer {
    display: none !important;
  }

  .mobile-drawer-overlay {
    display: none !important;
  }

  /* 4-column layout for desktop */
  .stats-card-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
  }

  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

/* --------------------------------------------------------------------------
   MOBILE & TABLET VIEWPORT (Under 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {

  /* Strictly hide all desktop navigation elements */
  .desktop-nav-wrap,
  .desktop-nav,
  nav[aria-label="Primary Navigation"],
  nav[aria-label="Primary Navigation"] ul,
  .desktop-quote-btn,
  .desktop-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  /* Navbar row: Clean layout with Logo on left and Hamburger on right */
  .nav-inner {
    height: 70px;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .brand-logo-img {
    height: 40px;
  }

  .brand-title {
    font-size: 1.12rem;
  }

  .brand-subtitle-text {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .theme-toggle-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .lang-btn {
    min-height: 42px;
    padding: 0.4rem 0.75rem;
    font-size: 0.84rem;
  }

  /* Show hamburger button prominently */
  .mobile-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  /* Hide slider arrows to prevent content collisions on touch devices */
  .slider-arrow {
    display: none !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .about-floating-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nl-container {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .nl-form-side {
    max-width: 100%;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   TABLETS / iPADS (481px - 1023.98px)
   -------------------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 1023.98px) {

  /* 2-column cards & grids on tablet */
  .stats-card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-bottom: 1px solid var(--border-color);
  }

  .stat-box:nth-child(2n) {
    border-right: none;
  }

  html[dir="rtl"] .stat-box:nth-child(2n) {
    border-left: none;
  }

  .stat-box:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   MOBILE PHONES (320px - 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Compact navbar row: Logo on Left & Consolidated Controls on Right */
  .nav-inner {
    height: 66px;
    gap: 0.4rem;
  }

  .brand-link {
    gap: 0.45rem;
  }

  .brand-logo-img {
    height: 36px;
  }

  .brand-title {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 1.05rem;
  }

  .lang-btn {
    min-height: 38px;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  /* Fluid typography and spacing */
  .hero-slider-section {
    min-height: 480px;
    height: auto;
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 6.8vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-badge-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    max-width: 100%;
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-pad {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.8vw, 1.95rem);
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Stats cards: 2 columns on 380px+, 1 column below */
  .stats-section {
    margin-top: -2rem;
    padding-bottom: 2rem;
  }

  .stats-card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    padding: 1.5rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
  }

  .stat-box:nth-child(2n) {
    border-right: none;
  }

  html[dir="rtl"] .stat-box:nth-child(2n) {
    border-left: none;
  }

  .stat-box:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-number {
    font-size: 1.9rem;
  }

  .stat-label {
    font-size: 0.82rem;
  }

  /* 1-column cards on mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .equip-card {
    padding: 1.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mv-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quote-form-wrap {
    padding: 1.75rem 1.25rem;
  }

  .office-info-card {
    padding: 1.75rem 1.25rem;
  }

  .business-card-preview {
    padding: 1.35rem 1.15rem;
  }

  .bc-logo-text {
    font-size: 1.1rem;
  }

  .bc-phone-highlight {
    font-size: 1.1rem;
  }

  .nl-input-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nl-input-row .btn {
    width: 100%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .quick-contact-actions {
    grid-template-columns: 1fr;
  }

  /* Modal scaling */
  .modal-card {
    padding: 1.5rem 1.25rem;
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }

  .toast-container {
    right: 1rem;
    bottom: 1rem;
    max-width: calc(100vw - 2rem);
  }

  html[dir="rtl"] .toast-container {
    left: 1rem;
    right: auto;
  }
}

/* --------------------------------------------------------------------------
   EXTRA SMALL MOBILE PHONES (320px - 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .nav-inner {
    gap: 0.25rem;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-logo-img {
    height: 32px;
  }

  .nav-actions {
    gap: 0.25rem;
  }

  .theme-toggle-btn {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    font-size: 0.95rem;
  }

  .lang-btn {
    min-height: 35px;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.2rem;
  }

  .mobile-toggle {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
  }

  .stats-card-container {
    grid-template-columns: 1fr;
  }

  .stat-box {
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid var(--border-color);
  }

  .stat-box:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   INTERACTIVE 3D BACKGROUND (BODY LEVEL)
   ========================================================================== */
[data-theme="light"] #interactive-bg {
  display: none !important;
}

#interactive-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: #050b16;
  z-index: -1;
  pointer-events: none;
}

.ibg-grid {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-size: 30px 30px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  z-index: 2;
  will-change: transform;
  transform: translate3d(calc(var(--mouseX, 0) * -25px), calc(var(--mouseY, 0) * -25px), 0);
}

.ibg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: 1;
  will-change: transform;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: #312e81;
  top: -150px;
  left: -150px;
  animation: floatOrb1 20s infinite ease-in-out alternate;
}

.orb-2 {
  width: 1000px;
  height: 1000px;
  background: #0f766e;
  bottom: -200px;
  right: -200px;
  animation: floatOrb2 25s infinite ease-in-out alternate-reverse;
}

.orb-3 {
  width: 700px;
  height: 700px;
  background: #4c1d95;
  top: 25%;
  left: 20%;
  animation: floatOrb3 22s infinite ease-in-out alternate;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(150px, 200px) scale(1.15);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-200px, -150px) scale(1.2);
  }
}

@keyframes floatOrb3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(250px, -250px) scale(0.9);
  }
}

/* Ensure body and certain sections let the background show through in Dark Theme */
[data-theme="dark"] body,
[data-theme="dark"] .services-section,
[data-theme="dark"] .why-us-section,
[data-theme="dark"] .newsletter-band {
  background: transparent !important;
  background-color: transparent !important;
}