/* ==========================================================================
   FUTURE For General Supply - futurgs.com
   Core Design System & Responsive Stylesheet
   ========================================================================== */

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

:root {
  /* Brand Palette */
  --primary: #0062b3;
  --primary-dark: #0a2540;
  --primary-deep: #004077;
  --primary-light: #e6f2fb;
  --primary-gradient: linear-gradient(135deg, #0062b3 0%, #003766 100%);
  --accent-cyan: #0099ff;
  --accent-silver: #64748b;
  --accent-silver-light: #e2e8f0;
  --gold: #d97706;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* Neutral Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BILINGUAL VISIBILITY CONTROLS (AR / EN)
   ========================================================================== */
.ar-text { display: none; }
.en-text { display: block; }
.ar-inline { display: none; }
.en-inline { display: inline; }

html[dir="rtl"] .ar-text { display: block !important; }
html[dir="rtl"] .en-text { display: none !important; }
html[dir="rtl"] .ar-inline { display: inline !important; }
html[dir="rtl"] .en-inline { display: none !important; }

html[dir="ltr"] .en-text { display: block !important; }
html[dir="ltr"] .ar-text { display: none !important; }
html[dir="ltr"] .en-inline { display: inline !important; }
html[dir="ltr"] .ar-inline { display: none !important; }

html[lang="ar"] .ar-text { display: block !important; }
html[lang="ar"] .en-text { display: none !important; }
html[lang="ar"] .ar-inline { display: inline !important; }
html[lang="ar"] .en-inline { display: none !important; }

html[lang="en"] .en-text { display: block !important; }
html[lang="en"] .ar-text { display: none !important; }
html[lang="en"] .en-inline { display: inline !important; }
html[lang="en"] .ar-inline { display: none !important; }

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #2563eb 100%);
  width: 0%;
  z-index: 1000000;
  transition: width 0.08s ease-out;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* Page Preloader */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.preloader-spinner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(0, 98, 179, 0.12);
  border-top-color: var(--primary);
  animation: spin 1s infinite linear;
}

.preloader-spinner img {
  width: 44px;
  height: auto;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Select2 Custom Theme */
.select2-container--default .select2-selection--single {
  height: 46px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  background-color: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 0.5rem !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 98, 179, 0.15) !important;
  background-color: #ffffff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px !important;
  color: var(--text-main) !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  padding-right: 0.5rem !important;
  padding-left: 1.5rem !important;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 1.5rem !important;
  padding-left: 0.5rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
}

.select2-dropdown {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  z-index: 100000 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  padding: 0.4rem 0.75rem !important;
  font-family: inherit !important;
}

/* Flatpickr Custom Theme */
.flatpickr-calendar {
  font-family: inherit !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--border-color) !important;
  z-index: 100000 !important;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.flatpickr-day:hover {
  background: var(--primary-light) !important;
  color: var(--primary-dark) !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-arabic, 'Cairo'), 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="en"] body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* Top Notification / Contact Bar */
.topbar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Topbar Themes */
.topbar.topbar-theme-dark {
  background: var(--primary-dark, #0a2540);
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar.topbar-theme-primary {
  background: var(--primary, #0062b3);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.topbar.topbar-theme-primary .topbar-contact a,
.topbar.topbar-theme-primary .topbar-meta span,
.topbar.topbar-theme-primary .lang-switch {
  color: #ffffff;
}

.topbar.topbar-theme-light {
  background: #f8fafc;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}
.topbar.topbar-theme-light .topbar-contact a {
  color: #334155;
}
.topbar.topbar-theme-light .topbar-contact a:hover {
  color: var(--primary, #0062b3);
}
.topbar.topbar-theme-light .topbar-meta span {
  color: #64748b;
}
.topbar.topbar-theme-light .lang-switch {
  background: #e2e8f0;
  color: #0f172a;
}
.topbar.topbar-theme-light .lang-switch:hover {
  background: #cbd5e1;
  color: #000000;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.topbar-contact a:hover {
  color: #ffffff;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Topbar Center Announcement / Trust Badge */
.topbar-center-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.22rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.2px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-center-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.topbar-pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (max-width: 1100px) {
  .topbar-center-badge {
    display: none;
  }
}

/* Language Switch Styles */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.12);
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.lang-switch:hover {
  background: rgba(255,255,255,0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

.lang-switch.style-code_badge {
  padding: 0.15rem 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.5px;
}

.lang-switch.style-globe_only {
  padding: 0.25rem;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  justify-content: center;
}

/* Navbar Embedded Language Switch */
.lang-switch-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--primary-dark, #0a2540);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-switch-nav:hover {
  background: #ffffff;
  border-color: var(--primary, #0062b3);
  color: var(--primary, #0062b3);
  box-shadow: 0 2px 8px rgba(0, 98, 179, 0.12);
  transform: translateY(-1px);
}

/* ==========================================================================
   EXECUTIVE COMPACT STICKY HEADER & NAVBAR (70PX HEIGHT, SMOOTH ON SCROLL)
   ========================================================================== */
.site-header-sticky,
.site-header,
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10000;
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -4px rgba(11, 30, 61, 0.05);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  width: 100%;
}

.site-header.scrolled,
.navbar.navbar-scrolled {
  height: 62px;
  min-height: 62px;
  max-height: 62px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 26px -4px rgba(11, 30, 61, 0.1);
  border-bottom-color: rgba(203, 213, 225, 0.8);
}

.header-inner,
.navbar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  flex-wrap: nowrap;
}

/* Brand Identity */
.site-header-brand-wrap,
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.site-header-brand-wrap:hover,
.navbar-brand:hover {
  transform: translateY(-1px);
}

.site-header-logo-img,
.navbar-logo-img,
.navbar-brand img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50%;
  object-fit: contain;
  border: 1.5px solid rgba(200, 146, 42, 0.45);
  background: #ffffff;
  padding: 1px;
  box-shadow: 0 3px 10px rgba(11, 30, 61, 0.09);
  transition: all 0.25s ease;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.site-header.scrolled .site-header-logo-img,
.navbar.navbar-scrolled .navbar-logo-img,
.navbar.navbar-scrolled .navbar-brand img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
}

.site-header-brand-info,
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1;
}

html[dir="rtl"] .site-header-brand-info,
html[dir="rtl"] .navbar-brand-text {
  align-items: flex-start;
}

.brand-title-row {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.site-header-brand-name,
.brand-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #0b1e3d;
  line-height: 1.05;
}

.brand-reg-mark {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0b1e3d;
  transform: translateY(-4px);
  line-height: 1;
}

.brand-red-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #e11d48;
  border-radius: 2px;
  margin: 2px 0 3px;
  box-shadow: 0 1px 3px rgba(225, 29, 72, 0.25);
}

.site-header-brand-sub,
.brand-sub {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #1e3a8a;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

html[dir="rtl"] .site-header-brand-sub,
html[dir="rtl"] .brand-sub {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0.4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e3a8a;
}

/* Navigation Links */
.site-nav,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #475569;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover {
  color: #0b1e3d;
  background: rgba(2, 132, 199, 0.06);
}

.nav-link.active {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.09) !important;
  font-weight: 800;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2.5px;
  background: linear-gradient(90deg, #c8922a 0%, #0284c7 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Action Buttons */
.header-actions,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switcher-btn,
.lang-switch-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(200, 146, 42, 0.35);
  background: #ffffff;
  color: #0b1e3d;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.04);
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}

.lang-switcher-btn:hover,
.lang-switch-nav:hover {
  border-color: #c8922a;
  background: #fcf6e8;
  color: #a37016;
  transform: translateY(-1px);
}

.header-contact-btn,
.btn-quote-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b1e3d 0%, #1e3a8a 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(200, 146, 42, 0.45);
  box-shadow: 0 4px 12px rgba(11, 30, 61, 0.15);
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.header-contact-btn:hover,
.btn-quote-nav:hover {
  background: linear-gradient(135deg, #c8922a 0%, #a37016 100%);
  color: #0b1e3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 146, 42, 0.3);
}

/* Mobile Toggle & Responsive Drawer */
.mobile-nav-toggle,
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0b1e3d;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 992px) {
  .site-nav,
  .nav-links,
  .btn-open-3d-sidebar,
  .header-actions .header-contact-btn,
  .header-actions .btn-quote-nav {
    display: none !important;
  }
  .mobile-nav-toggle,
  .menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .site-header,
  .navbar {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }
  .site-header.scrolled,
  .navbar.navbar-scrolled {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }
  .header-inner,
  .navbar-inner {
    padding: 0 14px !important;
    gap: 8px !important;
  }
  .site-header-brand-wrap {
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  .site-header-logo-img {
    width: 40px !important;
    height: 40px !important;
  }
  .site-header-brand-name {
    font-size: 1.15rem !important;
  }
  .site-header-brand-sub {
    font-size: 0.65rem !important;
  }
  .header-actions,
  .nav-actions {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .lang-switcher-btn,
  .lang-switch-nav {
    padding: 5px 11px !important;
    font-size: 0.76rem !important;
  }
  .mobile-nav-toggle {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 480px) {
  .site-header-brand-wrap {
    gap: 8px !important;
  }
  .site-header-logo-img {
    width: 38px !important;
    height: 38px !important;
  }
  .site-header-brand-name {
    font-size: 1.15rem !important;
  }
  .brand-red-line {
    height: 1.5px !important;
    margin: 1.5px 0 2px !important;
  }
  .site-header-brand-sub {
    display: block !important;
    font-size: 0.56rem !important;
    letter-spacing: 1.2px !important;
  }
  html[dir="rtl"] .site-header-brand-sub {
    font-size: 0.65rem !important;
    letter-spacing: 0.3px !important;
  }
  .lang-switcher-btn,
  .lang-switch-nav {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
  }
}

.mobile-nav-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 32px rgba(11, 30, 61, 0.12);
  padding: 20px 24px 24px;
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s;
  z-index: 999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #0b1e3d;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
}
.menu-toggle:active {
  background: #f0f7ff;
  border-color: rgba(0, 98, 179, 0.35);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 98, 179, 0.16);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 98, 179, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #005299 0%, #00284d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 98, 179, 0.4);
  color: #fff;
}

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

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

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

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

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

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: #ffffff;
}

.section-dark {
  background: var(--primary-dark);
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.section-dark .section-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #38bdf8;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: #cbd5e1;
}

/* Hero Section (Conversion Focused & Chic Atmosphere) */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a2540 0%, #004077 50%, #0062b3 100%);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.hero-glow-orb-1 {
  width: 520px;
  height: 520px;
  top: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.4) 0%, rgba(0, 98, 179, 0) 70%);
}

.hero-glow-orb-2 {
  width: 440px;
  height: 440px;
  bottom: -20%;
  left: 5%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  animation-duration: 16s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
  100% { transform: translate(20px, -20px) scale(0.95); }
}

@media (max-width: 768px) {
  .hero-glow-orb {
    display: none !important;
  }
}

/* Hero Sectors Quick Chips Bar */
.hero-sectors-bar {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sectors-bar-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-sector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.hero-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ==========================================================================
   Modern Executive Light Page Hero Component (Matches Home About Section)
   ========================================================================== */
.page-hero {
  position: relative;
  background: 
    radial-gradient(ellipse at 15% 40%, rgba(200, 146, 42, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 60%, rgba(11, 30, 61, 0.04) 0%, transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #fcfdfd 50%, #f8fafc 100%);
  border-bottom: 1px solid rgba(200, 146, 42, 0.28);
  box-shadow: 
    0 10px 30px -10px rgba(11, 30, 61, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #0b1e3d;
  padding: 3.5rem 1rem 3rem;
  text-align: center;
  overflow: hidden;
}

/* Subtle Architectural Grid */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(11, 30, 61, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 30, 61, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Top Golden Hairline Highlight (Matches Home Hero) */
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 146, 42, 0.45) 20%, #c8922a 50%, rgba(200, 146, 42, 0.45) 80%, transparent 100%);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.page-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid rgba(200, 146, 42, 0.28);
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.04);
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  position: relative;
  z-index: 2;
}

.page-breadcrumbs a {
  color: #0b1e3d;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
  color: #c8922a;
}

.page-hero .section-badge {
  background: rgba(200, 146, 42, 0.12) !important;
  border: 1px solid rgba(200, 146, 42, 0.35) !important;
  color: #b45309 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #0b1e3d;
  margin: 0.5rem 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}

.page-hero-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: #475569;
  max-width: 760px;
  margin: 0 auto 1.6rem;
  line-height: 1.75;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.page-hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.page-hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid rgba(200, 146, 42, 0.3);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b1e3d;
  box-shadow: 0 4px 12px rgba(11, 30, 61, 0.04);
  transition: all 0.25s ease;
}

.page-hero-badge-item:hover {
  border-color: #c8922a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 146, 42, 0.15);
}

.page-hero-badge-item svg {
  stroke: #c8922a !important;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero-glow-orb-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(200, 146, 42, 0.12) 0%, transparent 70%);
}

.hero-glow-orb-2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: 10%;
  background: radial-gradient(circle, rgba(11, 30, 61, 0.06) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 2.75rem 1rem 2.25rem;
  }
  .page-hero-title {
    font-size: 1.75rem;
  }
  .page-hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  .page-hero-badges {
    gap: 0.45rem;
  }
  .page-hero-badge-item {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
}

/* ==========================================================================
   OFFICIAL CREDENTIALS & PDF DOWNLOAD CARD (Universal Responsive Component)
   ========================================================================== */
.pdf-download-card {
  width: 100%;
  max-width: 980px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #f0f7fe 100%);
  border: 1px solid rgba(2, 132, 199, 0.24);
  border-radius: 20px;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-decoration: none;
  box-shadow: 0 12px 35px -8px rgba(11, 30, 61, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  margin: 2rem auto 1rem;
}

.pdf-card-shine {
  position: absolute;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: right 0.75s ease;
}

.pdf-download-card:hover .pdf-card-shine {
  right: 150%;
}

.pdf-download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.55);
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.22), 0 0 25px rgba(200, 146, 42, 0.12);
  background: #ffffff;
}

.pdf-info-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
}

.pdf-badge-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.35);
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.pdf-download-card:hover .pdf-badge-icon {
  transform: scale(1.05) rotate(-2deg);
}

.pdf-badge-icon svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block;
}

.pdf-badge-icon .pdf-badge-label {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-top: 2px;
}

.pdf-text-wrap {
  text-align: inherit;
  flex-grow: 1;
}

.pdf-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.pdf-eyebrow-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px #0284c7;
  animation: adminPulse 1.6s infinite;
}

.pdf-main-title {
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  font-weight: 800;
  color: #0b1e3d;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-verified-pill,
.pdf-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.pdf-sub-title {
  font-size: clamp(0.8rem, 1.1vw, 0.88rem);
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 10px;
}

.pdf-chips-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.pdf-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.pdf-chip.highlight {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}

.pdf-action-pill,
.pdf-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1e3d 0%, #0062b3 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 98, 179, 0.25);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(200, 146, 42, 0.45);
  white-space: nowrap;
  text-decoration: none !important;
}

.pdf-cta-icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.pdf-cta-icon-box svg,
.pdf-action-pill svg,
.pdf-cta-button svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0;
  display: block;
}

.pdf-cta-texts {
  display: flex;
  flex-direction: column;
  text-align: right;
}

[dir="ltr"] .pdf-cta-texts {
  text-align: left;
}

.pdf-cta-main,
.pdf-cta-primary {
  font-weight: 800;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.25;
  color: #ffffff;
}

.pdf-cta-meta,
.pdf-cta-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.pdf-download-card:hover .pdf-action-pill,
.pdf-download-card:hover .pdf-cta-button {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

.pdf-download-card:hover .pdf-cta-icon-box {
  transform: translateY(3px);
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .pdf-download-card {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 20px 18px;
  }
  .pdf-info-group {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .pdf-eyebrow,
  .pdf-main-title,
  .pdf-chips-row {
    justify-content: center;
  }
  .pdf-action-pill,
  .pdf-cta-button {
    width: 100%;
    justify-content: center;
  }
  .pdf-cta-texts {
    text-align: center !important;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 2.75rem;
  position: relative;
  z-index: 2;
}

.hero .container {
  max-width: 1320px;
}

.hero-tag {
  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);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fef08a;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-title .highlight {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.hero-desc {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Live Stats Metric Ribbon in Hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(10px);
}

.h-stat-box {
  text-align: center;
}

.h-stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.2;
}

.h-stat-lbl {
  display: block;
  font-size: 0.74rem;
  color: #e2e8f0;
  margin-top: 0.2rem;
  font-weight: 600;
}

/* Corporate Guarantee & Capability Cards */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.hero-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.h-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-card h5 {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.hero-feature-card p {
  font-size: 0.72rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

.hero-trust-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.75rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.hero-trust-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* Quick Lead Card in Hero (Conversion Magnet) */
.hero-form-card {
  background: #ffffff;
  color: var(--text-main);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-form-card .form-header {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.6rem;
}

.hero-form-card .form-header h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.hero-form-card .form-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-form-card .rfq-dynamic-grid {
  gap: 0.55rem !important;
  margin-bottom: 0.75rem !important;
}

.hero-form-card .form-control {
  padding: 0.52rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 7px;
  background: #f8fafc;
}

.hero-form-card textarea.form-control {
  min-height: 48px;
  max-height: 68px;
  resize: none;
}

.hero-form-card .dropzone-box {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border-width: 1.5px;
  min-height: auto;
  background: #f8fafc;
}

.hero-form-card .dropzone-placeholder {
  flex-direction: row;
  gap: 0.75rem;
  text-align: right;
  justify-content: flex-start;
}

.hero-form-card .dropzone-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0;
}

.hero-form-card .dropzone-icon svg {
  width: 16px;
  height: 16px;
}

.hero-form-card .dropzone-main-text {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-form-card .dropzone-sub-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

.hero-form-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-weight: 600;
}

.hero-form-trust span {
  opacity: 0.85;
}


.quick-form .form-group {
  margin-bottom: 1rem;
}

.quick-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  background: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 98, 179, 0.15);
}

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

/* ==========================================================================
   FormValidator & Custom Validation Styling (No Native Browser Tooltips)
   ========================================================================== */
.form-control.is-invalid,
.select2-container.is-invalid .select2-selection,
.dropzone-box.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fffafb !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16) !important;
}

.select2-container.is-invalid .select2-selection {
  border-color: #ef4444 !important;
}

.dropzone-box.is-invalid {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.form-control.is-valid {
  border-color: #10b981 !important;
  background-color: #f7fee7 !important;
}

.field-error-msg {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.38rem;
  line-height: 1.4;
  animation: fieldFadeIn 0.22s ease-out forwards;
}

.field-error-msg svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  stroke: #ef4444;
}

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

@keyframes shakeInputAnim {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake-field {
  animation: shakeInputAnim 0.38s ease-in-out;
}


/* Stats Ribbon */
.stats-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
  border-left: 1px solid var(--border-color);
}

html[dir="rtl"] .stat-item {
  border-left: none;
  border-right: 1px solid var(--border-color);
}

.stat-item:first-child {
  border: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.cat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.category-card:hover .cat-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}

.cat-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

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

.cat-items-list {
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.cat-items-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.cat-items-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.cat-card-action {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Why Choose Us & Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.value-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

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

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

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

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.mission-vision-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-box {
  background: var(--primary-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--primary);
}

html[dir="ltr"] .mv-box {
  border-right: none;
  border-left: 4px solid var(--primary);
}

.mv-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mv-box p {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0;
  line-height: 1.6;
}

.about-card-banner {
  background: linear-gradient(135deg, #0a2540 0%, #004077 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-card-banner img.main-logo {
  max-width: 280px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* Partners Showcase */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-card img {
  max-height: 70px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  margin-bottom: 0.85rem;
  filter: grayscale(30%);
  transition: var(--transition);
}

.partner-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.partner-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

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

/* Download Profile CTA Banner */
.cta-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.cta-banner-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner-text p {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 650px;
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Contact Details & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.contact-card-text p, .contact-card-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-card-text a:hover {
  color: var(--primary);
}

/* ==========================================================
   PREMIUM LIGHT DESIGN SYSTEM - FOOTER (EXACT USER SNIPPET)
   ========================================================== */
footer,
.footer,
footer.site-footer {
  background-color: #ffffff;
  color: #1e293b;
  padding: 55px 24px 115px;
  border-top: 3px solid #c8922a;
  position: relative;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 12% 22%, rgba(200, 146, 42, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(11, 30, 61, 0.04) 0%, transparent 45%);
}

/* Ambient Background Aura inside Footer */
.footer-bg-glow {
  position: absolute;
  top: -80px;
  right: 15%;
  width: 480px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(200, 146, 42, 0.09) 0%, rgba(11, 30, 61, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

footer.in-view .footer-bg-glow,
.footer.in-view .footer-bg-glow {
  opacity: 1;
  transform: scale(1);
}

/* Scroll-Driven High-Tech Laser Beam Accent on Top Golden Border */
.footer-scroll-laser {
  position: absolute;
  top: -2.5px;
  width: clamp(180px, 22vw, 320px);
  height: 5px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.95) 20%, 
    #fef08a 50%, 
    #c8922a 80%, 
    transparent 100%
  );
  box-shadow: 
    0 0 16px 3px rgba(200, 146, 42, 0.9), 
    0 0 32px 6px rgba(245, 158, 11, 0.6),
    0 1px 12px rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity 0.25s ease-out;
}

.footer-scroll-laser::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 35%;
  width: 30%;
  height: 11px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(254, 240, 138, 0.8) 45%, transparent 75%);
  filter: blur(1px);
  pointer-events: none;
}

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

html[dir="ltr"] .footer-scroll-laser,
html:not([dir="rtl"]) .footer-scroll-laser {
  left: 0;
  right: auto;
}

/* Hide legacy static after animation */
footer::after,
.footer::after {
  display: none !important;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 35px;
  align-items: start;
}

.footer-col {
  text-align: start;
}

/* Staggered Column Motion on Scroll */
.footer-anim-init .footer-col {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

footer.in-view .footer-col:nth-child(1),
.footer.in-view .footer-col:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

footer.in-view .footer-col:nth-child(2),
.footer.in-view .footer-col:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

footer.in-view .footer-col:nth-child(3),
.footer.in-view .footer-col:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

footer.in-view .footer-col:nth-child(4),
.footer.in-view .footer-col:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.40s;
}

.footer-col h4,
.footer-col-title,
.footer-title {
  color: #0b1e3d;
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  position: relative;
  text-align: start;
}

.footer-col h4::after,
.footer-col-title::after,
.footer-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, #c8922a, transparent);
  border-radius: 2px;
  margin-top: 7px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  transition: width 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .footer-col h4::after,
html[dir="rtl"] .footer-col-title::after,
html[dir="rtl"] .footer-title::after {
  background: linear-gradient(270deg, #c8922a, transparent);
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.footer-anim-init .footer-col h4::after,
.footer-anim-init .footer-col-title::after {
  width: 0px;
}

footer.in-view .footer-col h4::after,
footer.in-view .footer-col-title::after,
.footer.in-view .footer-col h4::after,
.footer.in-view .footer-col-title::after {
  width: 36px;
  transition-delay: 0.28s;
}

/* Brand Logo Image Styling */
.brand-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}

footer .brand-logo-img,
.footer .brand-logo-img {
  max-width: 180px;
  height: auto;
  display: block;
  filter: contrast(1.05);
}

.brand-desc {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Column 2: Navigation Links - Symmetrical 2-Column Grid */
.footer-links,
.footer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 7px 8px !important;
}

.footer-links li,
.footer-nav-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  min-width: 0;
}

.footer-links li:last-child:nth-child(odd),
.footer-nav-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.footer-links a,
.footer-nav-list a {
  color: #1e293b !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 6.5px 8.5px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(11, 30, 61, 0.02);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-links a::before,
.footer-nav-list a::before {
  content: '›' !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border-radius: 5px !important;
  background: rgba(200, 146, 42, 0.12) !important;
  color: #c8922a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.22s ease !important;
  flex-shrink: 0 !important;
}

html[dir="rtl"] .footer-links a::before,
html[dir="rtl"] .footer-nav-list a::before {
  content: '‹' !important;
}

.footer-links a:hover,
.footer-nav-list a:hover {
  background: #ffffff !important;
  border-color: rgba(200, 146, 42, 0.45) !important;
  color: #c8922a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(200, 146, 42, 0.12) !important;
}

.footer-links a:hover::before,
.footer-nav-list a:hover::before {
  background: #c8922a !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

/* Featured Last Item Accent (e.g. Contact Sales) */
.footer-links li:last-child:nth-child(odd) a,
.footer-nav-list li:last-child:nth-child(odd) a {
  background: rgba(200, 146, 42, 0.06) !important;
  border-color: rgba(200, 146, 42, 0.25) !important;
  justify-content: center !important;
}

.footer-links li:last-child:nth-child(odd) a:hover,
.footer-nav-list li:last-child:nth-child(odd) a:hover {
  background: #ffffff !important;
  border-color: #c8922a !important;
}

/* Column 3 & 4: Contact & Address Items */
.contact-item,
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.55;
}

.contact-icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 8px;
  background: #fcf6e8;
  border: 1px solid rgba(201, 147, 32, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-item svg,
.footer-contact-item svg,
.contact-icon-box svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  fill: #c99320;
  display: block;
}

.contact-item svg[fill="none"],
.footer-contact-item svg[fill="none"],
.contact-icon-box svg[fill="none"] {
  fill: none !important;
  stroke: #c99320;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item strong,
.footer-contact-item strong {
  color: #0b1e3d;
  font-weight: 700;
}

.contact-item a,
.footer-contact-item a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-item a:hover,
.footer-contact-item a:hover {
  color: #c99320;
}

/* Social Icons Styling */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(11, 30, 61, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1e3d;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  fill: currentColor;
}

.social-icon:hover {
  background: linear-gradient(135deg, #c99320 0%, #9e7215 100%);
  color: #ffffff;
  border-color: #c99320;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(201, 147, 32, 0.25);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(11, 30, 61, 0.08);
  padding-top: 26px;
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 600;
}

.footer-copy {
  color: #334155;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-bottom a {
  color: #9e7215;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(11, 30, 61, 0.04);
}

.footer-legal a {
  color: #0b1e3d !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-legal a:hover {
  color: #c99320 !important;
  transform: translateY(-1px);
}

.footer-legal span {
  color: #94a3b8;
  user-select: none;
  font-size: 13px;
}

/* ==========================================================
   CREATIVE FOOTER MICRO-INTERACTIONS & SEQUENTIAL REVEALS
   ========================================================== */

/* 1. Navigation Links Cascading Ripple (Column 2) */
.footer-anim-init .footer-links li {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

footer.in-view .footer-links li:nth-child(1),
.footer.in-view .footer-links li:nth-child(1) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.18s; }
footer.in-view .footer-links li:nth-child(2),
.footer.in-view .footer-links li:nth-child(2) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.23s; }
footer.in-view .footer-links li:nth-child(3),
.footer.in-view .footer-links li:nth-child(3) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.28s; }
footer.in-view .footer-links li:nth-child(4),
.footer.in-view .footer-links li:nth-child(4) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.33s; }
footer.in-view .footer-links li:nth-child(5),
.footer.in-view .footer-links li:nth-child(5) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.38s; }
footer.in-view .footer-links li:nth-child(6),
.footer.in-view .footer-links li:nth-child(6) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.43s; }
footer.in-view .footer-links li:nth-child(7),
.footer.in-view .footer-links li:nth-child(7) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.48s; }

/* 2. Contact & Plant Icon Boxes Elastic Pop */
.footer-anim-init .contact-icon-box {
  opacity: 0;
  transform: scale(0.55) rotate(-10deg);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
  will-change: transform, opacity;
}

footer.in-view .contact-icon-box,
.footer.in-view .contact-icon-box {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  box-shadow: 0 4px 12px rgba(200, 146, 42, 0.22);
}

footer.in-view .footer-col:nth-child(3) .contact-item:nth-of-type(1) .contact-icon-box,
.footer.in-view .footer-col:nth-child(3) .contact-item:nth-of-type(1) .contact-icon-box { transition-delay: 0.32s; }
footer.in-view .footer-col:nth-child(3) .contact-item:nth-of-type(2) .contact-icon-box,
.footer.in-view .footer-col:nth-child(3) .contact-item:nth-of-type(2) .contact-icon-box { transition-delay: 0.40s; }
footer.in-view .footer-col:nth-child(4) .contact-item:nth-of-type(1) .contact-icon-box,
.footer.in-view .footer-col:nth-child(4) .contact-item:nth-of-type(1) .contact-icon-box { transition-delay: 0.46s; }
footer.in-view .footer-col:nth-child(4) .contact-item:nth-of-type(2) .contact-icon-box,
.footer.in-view .footer-col:nth-child(4) .contact-item:nth-of-type(2) .contact-icon-box { transition-delay: 0.54s; }

/* 3. Social Media Icons Pearl Drop */
.footer-anim-init .social-icon {
  opacity: 0;
  transform: translateY(14px) scale(0.75);
  transition: opacity 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

footer.in-view .social-icon:nth-child(1),
.footer.in-view .social-icon:nth-child(1) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.16s; }
footer.in-view .social-icon:nth-child(2),
.footer.in-view .social-icon:nth-child(2) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.22s; }
footer.in-view .social-icon:nth-child(3),
.footer.in-view .social-icon:nth-child(3) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.28s; }
footer.in-view .social-icon:nth-child(4),
.footer.in-view .social-icon:nth-child(4) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.34s; }
footer.in-view .social-icon:nth-child(5),
.footer.in-view .social-icon:nth-child(5) { opacity: 1; transform: translateY(0) scale(1); transition-delay: 0.40s; }

/* 4. Footer Bottom Bar Soft Reveal */
.footer-anim-init .footer-bottom {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.45s;
  will-change: transform, opacity;
}

footer.in-view .footer-bottom,
.footer.in-view .footer-bottom {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .footer-anim-init .footer-col,
  .footer-anim-init .footer-links li,
  .footer-anim-init .contact-icon-box,
  .footer-anim-init .social-icon,
  .footer-anim-init .footer-bottom,
  .footer-anim-init .footer-col h4::after,
  .footer-anim-init .footer-col-title::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    width: 36px !important;
  }
  footer::after,
  .footer::after {
    display: none !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  footer,
  .footer {
    padding: 40px 18px 22px;
  }

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

  .brand-logo-link {
    margin: 0 auto 14px;
    display: block;
    text-align: center;
  }

  footer .brand-logo-img,
  .footer .brand-logo-img {
    margin: 0 auto;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h4::after,
  .footer-col-title::after,
  .footer-title::after {
    margin: 8px auto 0;
  }

  .contact-item,
  .footer-contact-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Floating Action Bar (Sticky on Mobile for Ads & High Conversion) */
.floating-actions {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.12);
  z-index: 999;
  border-top: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.floating-actions-inner {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.floating-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.floating-btn.call {
  background: #0284c7;
  color: #ffffff;
}

.floating-btn.whatsapp {
  background: #25D366;
  color: #ffffff;
}

.floating-btn.quote {
  background: var(--primary-dark);
  color: #ffffff;
}

/* ==========================================================================
   Advanced Floating Actions & WhatsApp Widget
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 2rem;
  z-index: 995;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float-container.pos-bottom_left {
  left: 2rem;
  right: auto;
  flex-direction: row;
}

.whatsapp-float-container.pos-bottom_right {
  right: 2rem;
  left: auto;
  flex-direction: row-reverse;
}

.whatsapp-float-container a,
.whatsapp-float-container button {
  pointer-events: auto;
}

/* Greeting Speech Bubble / High-Conversion Luxury Badge */
.whatsapp-float-badge {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0b1e3d;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 8px 24px rgba(11, 30, 61, 0.12), 0 2px 8px rgba(37, 211, 102, 0.15);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: waLuxuryFloat 3.2s ease-in-out infinite;
  overflow: hidden;
}

/* Shimmer Light Sweep across badge */
.whatsapp-float-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.85) 50%, 
    rgba(37, 211, 102, 0.3) 80%, 
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: waBadgeShimmer 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Live Active Pulse Dot */
.wa-live-dot {
  width: 9px;
  height: 9px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.6);
  animation: waLivePulse 1.8s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

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

/* Smooth organic levitation & glow */
@keyframes waLuxuryFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(11, 30, 61, 0.12), 0 2px 8px rgba(37, 211, 102, 0.15);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 30, 61, 0.18), 0 6px 16px rgba(37, 211, 102, 0.3);
    border-color: rgba(37, 211, 102, 0.55);
  }
}

@keyframes waBadgeShimmer {
  0% { left: -120%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

.whatsapp-float-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(11, 30, 61, 0.2);
  border-color: #25D366;
  color: #075e54;
}

.whatsapp-float-badge .wa-badge-text {
  position: relative;
  z-index: 1;
  letter-spacing: -0.2px;
}

/* Desktop & Universal WhatsApp Float Button */
.desktop-whatsapp-float {
  background: #25D366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.desktop-whatsapp-float.size-large {
  width: 66px;
  height: 66px;
}

.desktop-whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Pulse / Glow Radar Ripple Effect */
.desktop-whatsapp-float.whatsapp-pulse {
  animation: waPulseRadar 2.2s infinite;
}

@keyframes waPulseRadar {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.4);
  }
}

/* Floating Call Button */
.call-float-container {
  position: fixed;
  z-index: 994;
  bottom: 2rem;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.call-float-container.pos-bottom_left {
  left: 2rem;
  bottom: 6.5rem;
}

.call-float-container.pos-bottom_right {
  right: 2rem;
  bottom: 6.5rem;
}

.desktop-call-float {
  background: #0284c7;
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.desktop-call-float:hover {
  transform: scale(1.1);
  background: #0369a1;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.55);
}

/* Circular Scroll Progress Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  z-index: 989;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s, bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1px solid rgba(2, 132, 199, 0.12);
  text-decoration: none;
  padding: 0;
  outline: none;
}

.back-to-top.back-to-top-rounded {
  border-radius: 14px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.28), 0 4px 10px rgba(0, 0, 0, 0.08);
  border-color: rgba(2, 132, 199, 0.35);
}

.back-to-top-right {
  right: 2rem;
  left: auto;
}

.back-to-top-left {
  left: 2rem;
  right: auto;
}

/* SVG Progress Ring Styles */
.btt-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
  overflow: visible;
}

.btt-progress-bg {
  fill: none;
  stroke: rgba(2, 132, 199, 0.12);
  stroke-width: 3.2;
}

.btt-progress-bar {
  fill: none;
  stroke: #0284c7;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset 0.12s linear;
}

.btt-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #0284c7;
  position: relative;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.back-to-top:hover .btt-icon-wrap {
  transform: translateY(-3px);
  color: #0369a1;
}

/* Back to Top Styles (Admin Switchable) */
.back-to-top.btt-style-pulse.show {
  animation: bttPulseRadar 2.4s infinite;
}

@keyframes bttPulseRadar {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5), 0 6px 20px rgba(15, 23, 42, 0.15);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(2, 132, 199, 0), 0 6px 20px rgba(15, 23, 42, 0.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), 0 6px 20px rgba(15, 23, 42, 0.15);
  }
}

.back-to-top.btt-style-minimal {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.15);
}

.back-to-top.btt-style-minimal .btt-icon-wrap {
  color: #ffffff;
}

.back-to-top.btt-style-minimal .btt-progress-bg {
  stroke: rgba(255, 255, 255, 0.15);
}

.back-to-top.btt-style-minimal .btt-progress-bar {
  stroke: #38bdf8;
}

/* Avoid collision with bottom left elements */
.whatsapp-float-container.pos-bottom_left ~ .back-to-top-left,
.whatsapp-float-container.pos-bottom_right ~ .back-to-top-right {
  bottom: 6.8rem;
}

/* Floating Language Switcher Capsule (Zero-Collision & Adaptive RTL/LTR) */
.floating-lang-pill {
  position: fixed;
  bottom: 25px;
  right: 25px !important;
  left: auto !important;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(11, 30, 61, 0.14);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(11, 30, 61, 0.12);
  transform: translateZ(0);
  padding: 4px 6px;
  display: flex;
  gap: 4px;
  align-items: center;
  transition: right 0.3s ease, left 0.3s ease, bottom 0.3s ease, box-shadow 0.25s ease;
}

/* In RTL (Arabic), anchor explicitly to the RIGHT to give full clearance to WhatsApp & Back-To-Top on the left */
html[dir="rtl"] .floating-lang-pill {
  right: 25px !important;
  left: auto !important;
  direction: rtl;
}

/* In LTR (English), anchor to the RIGHT by default (when WhatsApp is on left) */
html[dir="ltr"] .floating-lang-pill {
  right: 25px !important;
  left: auto !important;
  direction: ltr;
}

/* If WhatsApp is customized to bottom_right in admin, flip language pill to left to prevent collision */
body:has(.whatsapp-float-container.pos-bottom_right) .floating-lang-pill,
.whatsapp-float-container.pos-bottom_right ~ .floating-lang-pill {
  left: 25px !important;
  right: auto !important;
}

/* Button order inside pill according to reading flow */
html[dir="rtl"] .floating-lang-pill #flang-ar { order: 1; }
html[dir="rtl"] .floating-lang-pill #flang-en { order: 2; }
html[dir="ltr"] .floating-lang-pill #flang-en { order: 1; }
html[dir="ltr"] .floating-lang-pill #flang-ar { order: 2; }

.flang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  color: #64748b;
  line-height: 1.35;
  transition: all 0.25s ease;
}

.flang-btn:hover {
  color: #0b1e3d;
  background: rgba(11, 30, 61, 0.05);
}

.flang-btn.active {
  background: #0b1e3d;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.28);
}

@media (max-width: 768px) {
  .floating-lang-pill {
    bottom: 5.2rem !important;
    right: 16px !important;
    left: auto !important;
    padding: 3px 5px;
    z-index: 9999 !important;
  }
  .cookie-reopen-btn.cookie-reopen-right,
  .cookie-reopen-btn {
    bottom: calc(5.2rem + 46px) !important;
    right: 18px !important;
    z-index: 99990 !important;
  }
}

/* ==========================================================================
   Cookie Banner Clearance System (Floating CTAs Elevation)
   Prevents banner from obscuring WhatsApp, Call & Back-To-Top buttons
   ========================================================================== */
body.has-cookie-banner .whatsapp-float-container {
  bottom: calc(var(--cookie-banner-lift, 130px) + 1.25rem) !important;
  z-index: 100001 !important;
}

body.has-cookie-banner .call-float-container {
  bottom: calc(var(--cookie-banner-lift, 130px) + 6rem) !important;
  z-index: 100000 !important;
}

body.has-cookie-banner .back-to-top {
  bottom: calc(var(--cookie-banner-lift, 130px) + 1.25rem) !important;
  z-index: 100000 !important;
}

body.has-cookie-banner .whatsapp-float-container.pos-bottom_left ~ .back-to-top-left,
body.has-cookie-banner .whatsapp-float-container.pos-bottom_right ~ .back-to-top-right {
  bottom: calc(var(--cookie-banner-lift, 130px) + 6.25rem) !important;
}

/* Lift Floating Language Switcher cleanly above Cookie Banner */
body.has-cookie-banner .floating-lang-pill {
  bottom: calc(var(--cookie-banner-lift, 130px) + 1.25rem) !important;
  z-index: 100001 !important;
}

@media (min-width: 769px) {
  body.has-cookie-banner-bottom_left .whatsapp-float-container.pos-bottom_right {
    bottom: 2rem !important;
  }
  body.has-cookie-banner-bottom_left .call-float-container.pos-bottom_right {
    bottom: 6.5rem !important;
  }
  body.has-cookie-banner-bottom_left .back-to-top-right {
    bottom: 2rem !important;
  }
  body.has-cookie-banner-bottom_left .floating-lang-pill {
    bottom: 25px !important;
  }

  body.has-cookie-banner-bottom_right .whatsapp-float-container.pos-bottom_left {
    bottom: 2rem !important;
  }
  body.has-cookie-banner-bottom_right .call-float-container.pos-bottom_left {
    bottom: 6.5rem !important;
  }
  body.has-cookie-banner-bottom_right .back-to-top-left {
    bottom: 2rem !important;
  }
}

@media (max-width: 768px) {
  .whatsapp-float-container.mobile-never {
    display: none !important;
  }
  .whatsapp-float-container.mobile-auto {
    display: none;
  }
  .whatsapp-float-container.mobile-always {
    display: flex;
    bottom: 5.5rem;
  }
  .whatsapp-float-container.mobile-always .desktop-whatsapp-float {
    display: flex !important;
  }
  .whatsapp-float-badge {
    display: none;
  }
  .call-float-container {
    display: none;
  }
  .back-to-top {
    bottom: 5rem !important;
    width: 42px;
    height: 42px;
  }

  /* Mobile Cookie Banner clearance: cleanly hide all floating elements so they don't hover in the middle of forms/screen */
  body.has-cookie-banner .floating-actions,
  body.has-cookie-banner .whatsapp-float-container,
  body.has-cookie-banner .call-float-container,
  body.has-cookie-banner .back-to-top,
  body.has-cookie-banner .cookie-reopen-btn,
  body.has-cookie-banner .floating-lang-pill {
    display: none !important;
  }
}

/* ==========================================================
   EXECUTIVE MODAL ARCHITECTURE & 3D SPRING ANIMATIONS
   Applied to all site modals (Certificates, RFQ, Dialogs)
   ========================================================== */
.modal-overlay,
.cert-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at center, rgba(11, 30, 61, 0.72) 0%, rgba(4, 12, 24, 0.88) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
}

.modal-overlay.active,
.cert-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Card Component with 3D Elastic Elevation Entrance */
.modal-box,
.cert-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(200, 146, 42, 0.32);
  box-shadow: 
    0 25px 70px -15px rgba(11, 30, 61, 0.42),
    0 0 35px rgba(200, 146, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  width: 92%;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.85) translateY(28px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.34, 1.42, 0.64, 1);
  will-change: transform, opacity;
}

/* Specific sizing for RFQ Form Modal */
.modal-box {
  max-width: 700px !important;
  padding: 2.2rem 2.4rem !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 146, 42, 0.4) #f8fafc;
}

.modal-box::-webkit-scrollbar {
  width: 6px;
}
.modal-box::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 999px;
}
.modal-box::-webkit-scrollbar-thumb {
  background: rgba(200, 146, 42, 0.45);
  border-radius: 999px;
}
.modal-box::-webkit-scrollbar-thumb:hover {
  background: #c8922a;
}

/* Specific sizing for Certificate Image Modal */
.cert-modal-content {
  max-width: 580px !important;
  overflow: hidden !important;
}

/* Top Architectural Gold & Royal Navy Hairline Accent */
.modal-box::before,
.cert-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b1e3d 0%, #c8922a 35%, #f59e0b 65%, #0b1e3d 100%);
  z-index: 10;
}

/* Active State: Spring in with rich physics */
.modal-overlay.active .modal-box,
.cert-modal-overlay.active .cert-modal-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* RFQ Modal Top Bar & Badge */
.rfq-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  gap: 1rem;
}

.rfq-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(200, 146, 42, 0.1);
  border: 1px solid rgba(200, 146, 42, 0.32);
  padding: 4px 13px;
  border-radius: 999px;
}

.rfq-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: rfqPulse 1.6s infinite ease-in-out;
}

@keyframes rfqPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.modal-box .form-header {
  text-align: start;
  margin-bottom: 1.4rem;
}

.rfq-modal-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0b1e3d;
  margin-bottom: 0.35rem;
  letter-spacing: -0.3px;
}

.rfq-modal-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Form Controls Inside Modal */
.modal-box .form-control {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  color: #0f172a;
  transition: all 0.2s ease;
  width: 100%;
}

.modal-box .form-control:focus {
  background: #ffffff;
  border-color: #c8922a;
  box-shadow: 0 0 0 3.5px rgba(200, 146, 42, 0.16);
  outline: none;
}

.modal-box label {
  color: #0b1e3d !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  margin-bottom: 0.35rem !important;
}

.modal-box small {
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  display: block;
}

/* Submit Button */
.rfq-submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 0.95rem 1.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #0b1e3d 0%, #0062b3 100%) !important;
  border: 1px solid rgba(200, 146, 42, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(11, 30, 61, 0.35) !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
  margin-top: 0.5rem;
}

.rfq-submit-btn:hover {
  background: linear-gradient(135deg, #c8922a 0%, #d97706 100%) !important;
  border-color: #c8922a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px -5px rgba(200, 146, 42, 0.4) !important;
}

.rfq-privacy-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

/* Dynamic Grid Spacing inside RFQ Modal */
.modal-box .rfq-dynamic-grid {
  gap: 1.15rem 1rem !important;
  margin-bottom: 1.25rem !important;
}

/* Select2 Custom Styling inside Modal */
.modal-box .select2-container--default .select2-selection--single {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 0.75rem !important;
  transition: all 0.2s ease !important;
}

.modal-box .select2-container--default.select2-container--open .select2-selection--single,
.modal-box .select2-container--default .select2-selection--single:focus {
  background: #ffffff !important;
  border-color: #c8922a !important;
  box-shadow: 0 0 0 3.5px rgba(200, 146, 42, 0.16) !important;
  outline: none !important;
}

.modal-box .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #0f172a !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 46px !important;
  padding: 0 !important;
}

.modal-box .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  right: 12px !important;
}

html[dir="rtl"] .modal-box .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: auto !important;
  left: 12px !important;
}

@media (max-width: 640px) {
  .modal-box {
    padding: 1.5rem 1.15rem !important;
    border-radius: 20px !important;
    max-height: 94vh !important;
    max-height: 94dvh !important;
    width: 95% !important;
  }
  .modal-box .rfq-dynamic-grid {
    gap: 0.9rem !important;
  }
  .modal-box .rfq-field-col {
    grid-column: span 12 !important;
  }
  .rfq-modal-title {
    font-size: 1.2rem !important;
  }
}

/* Header Bar */
.cert-modal-header,
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(11, 30, 61, 0.08);
  position: relative;
  z-index: 2;
}

.cert-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(200, 146, 42, 0.15) 0%, rgba(200, 146, 42, 0.05) 100%);
  border: 1px solid rgba(200, 146, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8922a;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(200, 146, 42, 0.12);
}

.cert-modal-title-texts {
  display: flex;
  flex-direction: column;
}

.cert-modal-badge,
.modal-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(200, 146, 42, 0.1);
  border: 1px solid rgba(200, 146, 42, 0.28);
  padding: 2.5px 10px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 3px;
}

.cert-modal-badge .pulse-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
}

.cert-modal-title,
.modal-cert-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: #0b1e3d;
  letter-spacing: -0.2px;
}

/* Close Button */
.cert-modal-close-btn,
.modal-close,
.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  position: static;
}

.cert-modal-close-btn:hover,
.modal-close:hover,
.modal-close-btn:hover {
  background: #0b1e3d;
  color: #ffffff;
  border-color: #0b1e3d;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 12px rgba(11, 30, 61, 0.22);
}

/* Body Canvas */
.cert-modal-body,
.modal-body {
  padding: 22px 18px;
  background: radial-gradient(circle at center, #ffffff 0%, #f4f6fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  flex: 1;
  text-align: center;
}

.cert-modal-img-wrap,
.modal-img-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.cert-modal-img,
.modal-cert-img {
  display: block;
  margin: 0 auto;
  max-height: 60vh;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 5px solid #ffffff;
  box-shadow: 0 16px 45px -10px rgba(11, 30, 61, 0.24), 0 0 0 1px rgba(11, 30, 61, 0.08);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cert-modal-overlay.active .cert-modal-img,
.cert-modal-overlay.active .modal-cert-img {
  transform: scale(1);
  opacity: 1;
  transition-delay: 0.12s;
}

/* Footer Bar */
.cert-modal-footer,
.modal-footer {
  padding: 14px 22px;
  background: #ffffff;
  border-top: 1px solid rgba(11, 30, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.cert-modal-notice,
.modal-footer-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.cert-modal-notice-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.cert-modal-btn-download,
.modal-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b1e3d 0%, #0062b3 100%);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid rgba(200, 146, 42, 0.35);
  box-shadow: 0 4px 14px rgba(11, 30, 61, 0.2);
  transition: all 0.25s ease;
}

.cert-modal-btn-download:hover,
.modal-btn-download:hover {
  background: linear-gradient(135deg, #c8922a 0%, #d97706 100%);
  color: #ffffff !important;
  border-color: #c8922a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 146, 42, 0.35);
}

.cert-modal-btn-close,
.modal-btn-close {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-modal-btn-close:hover,
.modal-btn-close:hover {
  background: #e2e8f0;
  color: #0b1e3d;
}

/* Alert Boxes */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-features-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .topbar.topbar-mobile-show {
    display: block;
    font-size: 0.76rem;
    padding: 0.4rem 0;
  }
  .topbar.topbar-mobile-show .topbar-inner {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    justify-content: center;
  }
  .topbar.topbar-mobile-show .topbar-contact,
  .topbar.topbar-mobile-show .topbar-meta {
    justify-content: center;
    gap: 0.75rem;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .btn-open-3d-sidebar {
    display: none !important;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-actions .btn-quote-nav {
    display: none;
  }
  .hero {
    padding: 3rem 0 4.5rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.25rem 1.5rem;
  }
  .cta-banner-actions {
    justify-content: center;
  }
  .floating-actions {
    display: block;
  }
  body {
    padding-bottom: 60px; /* Space for floating bar */
  }
  .whatsapp-float-container:not(.mobile-always) .desktop-whatsapp-float {
    display: none;
  }
  .mission-vision-boxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .navbar-inner {
    padding: 0.65rem 0;
    gap: 0.75rem;
  }
  .navbar-brand {
    gap: 0.6rem;
  }
  .navbar-brand img,
  .navbar-logo-img {
    height: 40px;
  }
  .brand-title {
    font-size: 0.92rem !important;
    line-height: 1.25;
    white-space: nowrap !important;
  }
  .brand-sub {
    display: none !important;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 1.75rem 1rem;
  }
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .nav-actions {
    gap: 0.45rem;
  }
}

@media (max-width: 420px) {
  .navbar-inner {
    padding: 0.55rem 0;
    gap: 0.45rem;
  }
  .navbar-brand {
    gap: 0.45rem;
  }
  .navbar-brand img,
  .navbar-logo-img {
    height: 35px;
  }
  .brand-title {
    font-size: 0.84rem !important;
    white-space: nowrap !important;
  }
  .brand-sub {
    display: none !important;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .menu-toggle svg {
    width: 19px;
    height: 19px;
  }
  .btn-open-3d-sidebar {
    display: none !important;
  }
}

/* ==========================================================================
   Modern Drag & Drop File Upload Component
   ========================================================================== */
.dropzone-box {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.dropzone-box:hover,
.dropzone-box.dragover {
  border-color: var(--primary);
  background: #eff6ff;
  transform: scale(1.008);
}

.dropzone-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.dropzone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: none;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  transition: transform 0.2s ease;
}

.dropzone-box:hover .dropzone-icon,
.dropzone-box.dragover .dropzone-icon {
  transform: translateY(-3px) scale(1.08);
}

.dropzone-main-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.dropzone-browse-link {
  color: var(--primary);
  text-decoration: underline;
}

.dropzone-sub-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dropzone-file-preview {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  position: relative;
  z-index: 15;
  box-shadow: var(--shadow-sm);
}

.dropzone-file-details {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  text-align: right;
}

.dropzone-file-thumb {
  max-height: 38px;
  max-width: 45px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.dropzone-file-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.dropzone-file-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
  margin-top: 2px;
}

.dropzone-remove {
  background: #fee2e2;
  color: #b91c1c;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 20;
}

.dropzone-remove:hover {
  background: #fca5a5;
  transform: scale(1.1);
}

/* ==========================================================================
   14. 3D Smooth Animated Sliding Sidebar (القائمة الجانبية ثلاثية الأبعاد)
   ========================================================================== */
.sidebar-3d-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(8, 20, 37, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.42s;
  perspective: 1400px;
}

.sidebar-3d-overlay:not(.active) {
  display: none !important;
}

.sidebar-3d-overlay.active {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidebar-3d-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: 440px;
  max-width: 90vw;
  background: linear-gradient(175deg, #091e34 0%, #061524 60%, #030c17 100%);
  color: #f8fafc;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.65), inset 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  will-change: transform;
  transform-style: preserve-3d;
  overflow: hidden;
}

/* RTL default: drawer comes from the right */
html[dir="rtl"] .sidebar-3d-drawer,
.sidebar-3d-drawer {
  right: 0;
  left: auto;
  transform-origin: right center;
  transform: translate3d(100%, 0, 0) rotateY(-22deg) scale(0.96);
}

/* LTR: drawer comes from the left */
html[dir="ltr"] .sidebar-3d-drawer {
  left: 0;
  right: auto;
  transform-origin: left center;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.65), inset -1px 0 0 rgba(255, 255, 255, 0.08);
  transform: translate3d(-100%, 0, 0) rotateY(22deg) scale(0.96);
}

/* Active State for 3D Perspective Rotate (Default) */
.sidebar-3d-overlay.active .sidebar-3d-drawer {
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1) !important;
}

/* Style Variant: Depth Zoom */
.sidebar-3d-overlay[class*="depth-zoom"] .sidebar-3d-drawer {
  transform-origin: center center;
  transform: translate3d(100%, 0, -100px) scale(0.85);
}
html[dir="ltr"] .sidebar-3d-overlay[class*="depth-zoom"] .sidebar-3d-drawer {
  transform: translate3d(-100%, 0, -100px) scale(0.85);
}
.sidebar-3d-overlay[class*="depth-zoom"].active .sidebar-3d-drawer {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Style Variant: Smooth Slide */
.sidebar-3d-overlay[class*="smooth-slide"] .sidebar-3d-drawer {
  transform: translate3d(100%, 0, 0);
}
html[dir="ltr"] .sidebar-3d-overlay[class*="smooth-slide"] .sidebar-3d-drawer {
  transform: translate3d(-100%, 0, 0);
}
.sidebar-3d-overlay[class*="smooth-slide"].active .sidebar-3d-drawer {
  transform: translate3d(0, 0, 0) !important;
}

/* Drawer Header */
.sidebar-3d-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.sidebar-3d-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sidebar-3d-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

/* Drawer Body */
.sidebar-3d-body {
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  scroll-behavior: smooth;
}

.sidebar-3d-body::-webkit-scrollbar {
  width: 5px;
}
.sidebar-3d-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.sidebar-3d-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Drawer Sections */
.sidebar-3d-section {
  display: flex;
  flex-direction: column;
}

.sidebar-3d-section-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-3d-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Navigation Links */
.sidebar-3d-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-3d-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-3d-link svg {
  color: #38bdf8;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.sidebar-3d-link:hover,
.sidebar-3d-link.active {
  background: linear-gradient(90deg, rgba(0, 98, 179, 0.35), rgba(0, 98, 179, 0.1));
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
}

html[dir="rtl"] .sidebar-3d-link:hover,
html[dir="rtl"] .sidebar-3d-link.active {
  transform: translateX(-5px);
}

html[dir="ltr"] .sidebar-3d-link:hover,
html[dir="ltr"] .sidebar-3d-link.active {
  transform: translateX(5px);
}

.sidebar-3d-link:hover svg {
  transform: scale(1.15);
}

/* Supply Sectors List */
.sidebar-3d-sectors {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sidebar-3d-sector-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.sector-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

.sector-name {
  flex: 1;
}

.sector-arrow {
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s;
  flex-shrink: 0;
}

.sidebar-3d-sector-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #38bdf8;
  color: #ffffff;
}

html[dir="rtl"] .sidebar-3d-sector-item:hover {
  transform: translateX(-4px);
}

html[dir="ltr"] .sidebar-3d-sector-item:hover {
  transform: translateX(4px);
}

.sidebar-3d-sector-item:hover .sector-arrow {
  color: #38bdf8;
  transform: translateX(-3px);
}
html[dir="ltr"] .sidebar-3d-sector-item:hover .sector-arrow {
  transform: translateX(3px);
}

/* Contact Details in Drawer */
.sidebar-3d-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-line svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.contact-line:hover {
  color: #38bdf8;
}

html[dir="rtl"] .contact-line:hover {
  transform: translateX(-3px);
}
html[dir="ltr"] .contact-line:hover {
  transform: translateX(3px);
}

/* Drawer Footer */
.sidebar-3d-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.sidebar-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

.sidebar-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
  color: #ffffff;
}

/* Navbar 3D Menu Button */
.btn-open-3d-sidebar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.52rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0b2545;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.04);
}

.btn-open-3d-sidebar:hover {
  background: rgba(0, 98, 179, 0.07);
  border-color: rgba(0, 98, 179, 0.25);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 98, 179, 0.15);
}

@media (max-width: 992px) {
  .btn-open-3d-sidebar {
    display: none !important;
  }
}

/* ==========================================================================
   15. 3D Swiper Carousel Component (سلايدر القطاعات ثلاثي الأبعاد)
   ========================================================================== */
.home-3d-slider-container {
  width: 100%;
  max-width: 100% !important;
  position: relative;
  padding: 1rem 0 2rem;
  overflow: hidden !important;
}

.home-3d-swiper {
  width: 100%;
  padding-top: 1.5rem !important;
  padding-bottom: 3.5rem !important;
  perspective: 1400px;
}

.home-3d-swiper .swiper-slide {
  width: 350px;
  max-width: 86vw;
  border-radius: var(--radius);
  transition: all 0.35s ease;
  background: transparent;
}

.home-3d-swiper .category-card {
  height: 100%;
  margin-bottom: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.home-3d-swiper .swiper-slide-active .category-card {
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(0, 98, 179, 0.22);
}

.home-3d-swiper .swiper-button-next,
.home-3d-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.home-3d-swiper .swiper-button-next:after,
.home-3d-swiper .swiper-button-prev:after {
  font-size: 1.1rem;
  font-weight: 900;
}

.home-3d-swiper .swiper-button-next:hover,
.home-3d-swiper .swiper-button-prev:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.home-3d-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  transition: all 0.25s ease;
  background: #cbd5e1;
  opacity: 1;
}

.home-3d-swiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 6px;
  background: var(--primary);
}

.cat-view-switcher {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 1.75rem;
}

.cat-view-btn {
  border: none;
  background: transparent;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-view-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Dynamic RFQ Form Grid */
.rfq-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .rfq-dynamic-grid .rfq-field-col {
    grid-column: span 12 !important;
  }
}

/* ==========================================================================
   Cross-Page Responsive Utility Styles (About, Services, Partners, Contact, Legal)
   ========================================================================== */

/* 2-Column Form Row (Common to Contact, Index, Modals) */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* About Page Cards & Mission/Vision */
.about-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 640px) {
  .about-card {
    padding: 1.5rem 1.15rem;
  }
}

.mission-vision-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
}
.mission-vision-box.vision-box {
  border-top: 5px solid var(--primary);
}
.mission-vision-box.mission-box {
  border-top: 5px solid var(--gold, #d97706);
}
@media (max-width: 640px) {
  .mission-vision-box {
    padding: 1.5rem 1.15rem;
  }
}

/* Services Page Detailed Category Card */
.service-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .service-detail-card {
    padding: 1.35rem 1rem;
    gap: 1.25rem;
  }
}

/* Partners Page Features Grid */
.partners-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .partners-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 640px) {
  .partners-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Contact Page Form Card & Map Banner */
.contact-form-card {
  background: #ffffff;
  padding: 2.75rem 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) {
  .contact-form-card {
    padding: 1.5rem 1.15rem;
  }
}

.contact-map-banner {
  background: linear-gradient(135deg, #0a2540 0%, #004077 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 640px) {
  .contact-map-banner {
    padding: 2rem 1.15rem;
  }
}

/* Legal Pages Layout (Privacy & Terms) */
.legal-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-page-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .legal-page-layout aside {
    position: static !important;
  }
}
@media (max-width: 640px) {
  .legal-page-layout > div:last-child {
    padding: 1.5rem 1.15rem !important;
  }
}

/* Landing Page Bullets Grid */
.landing-bullet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.92rem;
}
@media (max-width: 540px) {
  .landing-bullet-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* Landing Page Header Responsive */
@media (max-width: 520px) {
  .landing-header-inner {
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    text-align: center;
  }
  .landing-header-inner .navbar-brand {
    justify-content: center;
  }
  .landing-header-inner .navbar-brand img {
    height: 40px !important;
  }
  .landing-header-inner .brand-sub {
    display: none;
  }
}

/* Modal Responsive Sizing on Mobile */
@media (max-width: 640px) {
  .modal-box {
    padding: 1.5rem 1.15rem;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: var(--radius-md);
  }
  .modal-close {
    top: 1rem;
    left: 1rem;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  html[dir="ltr"] .modal-close {
    left: auto;
    right: 1rem;
  }
}

/* Thank You Page Responsive Styles */
.thank-you-section {
  padding: 6rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.thank-you-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 1rem 0 0.5rem;
  line-height: 1.3;
}
.thank-you-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .thank-you-section {
    padding: 3.5rem 0;
    min-height: 60vh;
  }
  .thank-you-title {
    font-size: 1.45rem;
  }
  .thank-you-card {
    padding: 1.5rem 1.15rem;
    margin-bottom: 1.75rem;
  }
}

/* Extra Small Screen Floating Actions */
@media (max-width: 380px) {
  .floating-btn {
    padding: 0.55rem 0.35rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
  .floating-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* 3D Sidebar Mobile Precision Alignment */
@media (max-width: 640px) {
  .sidebar-3d-drawer {
    width: 320px !important;
    max-width: 86vw !important;
    transform: translateX(100%) !important;
  }
  html[dir="ltr"] .sidebar-3d-drawer {
    transform: translateX(-100%) !important;
  }
  .sidebar-3d-overlay.active .sidebar-3d-drawer {
    transform: translateX(0) !important;
  }
  .sidebar-3d-header {
    padding: 1rem 1rem !important;
  }
  .sidebar-3d-body {
    padding: 1rem 1rem !important;
  }
}

/* Home 3D Swiper Overflow Guard */
.home-3d-slider-container {
  overflow: hidden !important;
  max-width: 100%;
}


