/* ==========================================================================
   Al Takamul International Trading LLC - Master Stylesheet
   Color: #025F73 | Fonts: Peyda & IRANSansX | Icons: FontAwesome
   Theme: Light & Dark | Multilingual: RTL & LTR
   Max-Width: 1440px | Lively Animated Elements & Ultra Mobile-Friendly
   ========================================================================== */

/* --- 1. LOCAL TYPOGRAPHY EMBEDS --- */
@font-face {
  font-family: 'Peyda';
  src: url('../fonts/PeydaWebFaNum-Regular.woff2') format('woff2'),
       url('../fonts/PeydaWebFaNum-Regular.woff') format('woff'),
       url('../fonts/PeydaFaNum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Peyda';
  src: url('../fonts/PeydaWebFaNum-Bold.woff2') format('woff2'),
       url('../fonts/PeydaWebFaNum-Bold.woff') format('woff'),
       url('../fonts/PeydaFaNum-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
       url('../fonts/IRANSansXFaNum-Regular.woff') format('woff'),
       url('../fonts/IRANSansXFaNum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
       url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
       url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- 2. CSS VARIABLES & TOKENS --- */
:root {
  /* Brand Core */
  --color-primary: #025F73;
  --color-primary-hover: #0388A6;
  --color-primary-dark: #013D4A;
  --color-primary-subtle: rgba(2, 95, 115, 0.08);
  --color-primary-border: rgba(2, 95, 115, 0.22);

  --color-accent: #C5A059;
  --color-accent-hover: #B38E46;
  --color-accent-subtle: rgba(197, 160, 89, 0.12);

  /* Surfaces & Backgrounds */
  --bg-page: #F6F9FA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-alt: #EDF3F5;
  --bg-header: rgba(255, 255, 255, 0.96);
  --bg-footer: #01242D;
  --bg-footer-card: rgba(255, 255, 255, 0.05);

  /* Text & Labels */
  --text-main: #141E24;
  --text-muted: #4A5B66;
  --text-dim: #7A8E99;
  --text-inverse: #FFFFFF;
  --text-on-primary: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: #E2E8EC;
  --border-strong: #CBD5DC;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(2, 95, 115, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(2, 95, 115, 0.12);
  --shadow-xl: 0 20px 32px -8px rgba(2, 95, 115, 0.16);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Peyda', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'IRANSansX', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-en: 'IRANSansX', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --color-primary: #0492B2;
  --color-primary-hover: #0FB1D8;
  --color-primary-dark: #025F73;
  --color-primary-subtle: rgba(4, 146, 178, 0.16);
  --color-primary-border: rgba(4, 146, 178, 0.35);

  --color-accent: #DFBA73;
  --color-accent-hover: #ECC983;
  --color-accent-subtle: rgba(223, 186, 115, 0.16);

  --bg-page: #060D11;
  --bg-surface: #0C171E;
  --bg-surface-elevated: #11222C;
  --bg-surface-alt: #162B37;
  --bg-header: rgba(12, 23, 30, 0.96);
  --bg-footer: #04090C;
  --bg-footer-card: rgba(255, 255, 255, 0.03);

  --text-main: #EEF4F8;
  --text-muted: #9EAFBA;
  --text-dim: #6E828E;
  --text-inverse: #060D11;

  --border-subtle: #192C36;
  --border-strong: #243D4B;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 20px 36px rgba(0, 0, 0, 0.75);
}

/* --- 3. BASE RESET & DIRECTIONAL DEFAULTS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.8;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

[dir="ltr"] body {
  font-family: var(--font-en);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  font-style: normal !important;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- 4. LAYOUT & CONTAINER (1440PX) --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2; /* STRICTLY ON TOP OF BACKGROUND SHAPES */
}

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-sm {
  padding: 3.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
  position: relative;
  z-index: 2;
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.badge-primary {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

.badge-gold {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

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

/* Section Title & Subtitle */
.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- 5. BUTTONS & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  line-height: 1.3;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-on-primary) !important;
  box-shadow: 0 4px 12px rgba(2, 95, 115, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--text-on-primary) !important;
  box-shadow: 0 6px 16px rgba(2, 95, 115, 0.35);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #0E1A20 !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: #0E1A20 !important;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text-main);
}

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

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

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

/* --- 6. HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  width: 100%;
}

.top-bar {
  background-color: var(--bg-footer);
  color: #A0B3BF;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #CCDCE6;
}

.top-bar-item i {
  color: var(--color-accent);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Phone LTR Display Isolator (Guarantees zero BiDi flipping in RTL languages) */
.phone-ltr,
bdi.phone-ltr,
a.phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  white-space: nowrap !important;
  text-align: left !important;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.25rem;
}

/* Clean Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Dark Mode Header Logo */
[data-theme="dark"] .brand-logo .brand-logo-img {
  background: #FFFFFF !important;
  padding: 6px 6px;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Footer Logo: Identical in both Light & Dark modes (Height: 74px, Padding: 6px, White Background) */
.footer-logo-box {
  display: inline-block;
  background: #FFFFFF !important;
  padding: 6px !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  line-height: 0;
}

.footer-logo-img {
  height: 74px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .footer-logo-box {
  background: #FFFFFF !important;
  padding: 6px !important;
}

[data-theme="dark"] .footer-logo-img {
  height: 74px !important;
  width: auto !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  white-space: nowrap !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger-row {
  display: flex;
  align-items: center;
}

.mobile-submenu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.mobile-submenu-toggle.rotated i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
  min-width: 320px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

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

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
}

.dropdown-item i {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.dropdown-item-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: 0.785rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.theme-toggle-btn, .lang-switch-btn {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover, .lang-switch-btn:hover {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-color: var(--color-primary-border);
}

.lang-dropdown-wrapper {
  position: relative;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1050;
  min-width: 140px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  display: none;
}

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

.lang-dropdown-wrapper.open .lang-dropdown-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 600;
}

.lang-option:hover, .lang-option.active {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  z-index: 1250;
  position: relative;
}

/* --- 7. HERO SECTION & LIVELY ANIMATED RADAR BOX --- */
.hero-section {
  position: relative;
  padding: 6rem 0 6.5rem 0;
  background: radial-gradient(circle at 80% 20%, var(--color-primary-subtle) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, var(--color-accent-subtle) 0%, transparent 50%),
              var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.ambient-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(2, 95, 115, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
  bottom: -80px;
  left: -40px;
  animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}

/* Floating Shapes in various sizes (Constraint 5) */
.floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.shape-ring {
  border: 2px solid var(--color-primary-border);
  border-radius: 50%;
}

.shape-square {
  border: 2px solid rgba(197, 160, 89, 0.3);
  transform: rotate(45deg);
}

.shape-dots {
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.shape-s1 {
  width: 70px;
  height: 70px;
  top: 15%;
  left: 6%;
  animation: floatSlow 12s ease-in-out infinite alternate;
}

.shape-s2 {
  width: 45px;
  height: 45px;
  bottom: 20%;
  right: 12%;
  animation: floatReverse 10s ease-in-out infinite alternate;
}

.shape-s3 {
  width: 110px;
  height: 80px;
  top: 65%;
  left: 45%;
  animation: floatSlow 15s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-22px) rotate(15deg); }
}

@keyframes floatReverse {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(20px) rotate(-20deg); }
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.25;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.hero-stat-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Animated Trade Hub Visual */
.trade-hub-visual {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade-radar-container {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--color-primary-subtle) 0%, transparent 70%);
}

.trade-radar-ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--color-primary-border);
  animation: pulseRadar 4s ease-in-out infinite;
}

.trade-radar-ring-inner {
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  border: 1px dashed rgba(197, 160, 89, 0.35);
  animation: spinSlow 28s linear infinite;
}

@keyframes pulseRadar {
  0% { transform: scale(0.96); opacity: 0.4; }
  50% { transform: scale(1.04); opacity: 0.8; }
  100% { transform: scale(0.96); opacity: 0.4; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.trade-nexus-core {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(2, 95, 115, 0.45);
  z-index: 5;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.2);
  animation: coreFloat 6s ease-in-out infinite alternate;
}

.trade-nexus-core i {
  font-size: 1.75rem;
  color: var(--color-accent);
}

.trade-nexus-core span {
  font-size: 0.685rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

@keyframes coreFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.trade-cards-cluster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-glass-card {
  position: absolute;
  pointer-events: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 6;
  min-width: 210px;
  transition: all var(--transition-fast);
}

.floating-glass-card:hover {
  transform: scale(1.05) translateY(-4px);
  border-color: var(--color-primary-border);
}

.floating-card-1 {
  top: 10px;
  right: -20px;
  animation: floatCard1 5.5s ease-in-out infinite alternate;
}

[dir="rtl"] .floating-card-1 {
  right: auto;
  left: -20px;
}

.floating-card-2 {
  bottom: 25px;
  right: -10px;
  animation: floatCard2 6.5s ease-in-out infinite alternate;
}

[dir="rtl"] .floating-card-2 {
  right: auto;
  left: -10px;
}

.floating-card-3 {
  bottom: 45px;
  left: -25px;
  animation: floatCard3 7s ease-in-out infinite alternate;
}

[dir="rtl"] .floating-card-3 {
  left: auto;
  right: -25px;
}

.floating-card-4 {
  top: 35px;
  left: -15px;
  animation: floatCard4 6s ease-in-out infinite alternate;
}

[dir="rtl"] .floating-card-4 {
  left: auto;
  right: -15px;
}

@keyframes floatCard1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes floatCard4 {
  0% { transform: translateY(0); }
  100% { transform: translateY(12px); }
}

.glass-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.glass-card-header i {
  color: var(--color-primary);
  font-size: 1rem;
}

.glass-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.glass-card-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.3;
}

/* --- 8. SERVICES SECTION & INTERACTIVE CARDS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-card-icon {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: rotate(6deg) scale(1.08);
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
}

.service-card-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-card-feature-item i {
  color: var(--color-accent);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
}

.service-card.highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-alt) 100%);
  border: 1px solid rgba(197, 160, 89, 0.45);
}

/* --- 9. OMAN STRATEGIC ADVANTAGE SECTION --- */
.oman-hub-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.oman-point-card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  padding: 2rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

.oman-point-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.oman-point-card:hover .oman-point-icon {
  transform: scale(1.1);
}

.oman-point-title {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.oman-point-desc {
  font-size: 0.925rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* --- 10. PROCESS STEPS --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.process-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

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

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.process-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.process-card-desc {
  font-size: 0.885rem;
  color: var(--text-dim);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- 11. RFQ & FORMS --- */
.rfq-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-xl);
  box-sizing: border-box;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.form-grid-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1.1rem;
  background-color: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
  background-color: var(--bg-surface);
}

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

.form-hint {
  font-size: 0.785rem;
  color: var(--text-dim);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .alert-success {
  color: #34D399;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .alert-danger {
  color: #F87171;
}

/* --- 12. FAQ ACCORDION --- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.35rem 1.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question i {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.65rem 1.35rem 1.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- 13. FOOTER --- */
.site-footer {
  background-color: var(--bg-footer);
  color: #94A3B8;
  padding: 5.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
  width: 100%;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-cr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  color: var(--color-accent);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 0.95rem;
  line-height: 1.55;
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

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

/* --- 14. FLOATING BACK TO TOP BUTTON (Constraint 2) --- */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(2, 95, 115, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

[dir="rtl"] .back-to-top-btn {
  right: auto;
  left: 28px;
}

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

.back-to-top-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(2, 95, 115, 0.5);
}

/* --- 15. CHIC TWO-BUTTON MOBILE ACTION BAR (WhatsApp & Submit RFQ) --- */
.mobile-dual-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1150;
  background-color: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

[data-theme="dark"] .mobile-dual-action-bar {
  background-color: rgba(12, 23, 30, 0.96);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

.mobile-dual-btn {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.885rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-dual-btn:active {
  transform: scale(0.98);
}

.mobile-dual-btn.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
}

.mobile-dual-btn.btn-rfq {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF !important;
  border: 1px solid var(--color-primary-border);
}

.service-card-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

/* --- 16. COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1250;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: none;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

[dir="rtl"] .cookie-banner {
  right: auto;
  left: 1.5rem;
}

.cookie-banner.show {
  display: block;
  transform: translateY(0);
}

.cookie-banner-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- 17. DEDICATED SERVICE DETAIL PAGE STYLES --- */
.service-hero {
  padding: 5.5rem 0 4.5rem 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-alt) 100%);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.service-scope-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  width: 100%;
}

.service-scope-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary);
}

.service-scope-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-scope-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.service-scope-item i {
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
  box-sizing: border-box;
}

.custom-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: start;
  font-size: 0.925rem;
}

.custom-table th {
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
  padding: 1rem 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-subtle);
}

.custom-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.custom-table tr:hover td {
  background-color: var(--color-primary-subtle);
}

.legal-boundary-card {
  background: rgba(2, 95, 115, 0.05);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
}

.legal-boundary-icon {
  font-size: 1.6rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.legal-boundary-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.legal-boundary-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* --- 18. RESPONSIVE BREAKPOINTS (ROBUST & NO OVERFLOW) --- */

/* Tablets / Laptops <= 1080px */
@media (max-width: 1080px) {
  .top-bar {
    display: none;
  }
  .nav-bar-inner {
    height: 70px;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1190;
    box-shadow: var(--shadow-xl);
    gap: 0.65rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-sm);
  }
  .nav-item-dropdown {
    width: 100%;
  }
  .nav-dropdown-trigger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-xs);
    font-size: 1rem;
  }

  /* Interactive Nested Accordion Submenu on Mobile (Constraint 1) */
  .dropdown-menu {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-alt) !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
  }

  .dropdown-menu.mobile-open {
    display: flex !important;
    animation: fadeInSubmenu 0.25s ease forwards;
  }

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

  .dropdown-item {
    padding: 0.65rem 0.75rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xs);
  }

  .mobile-nav-toggle {
    display: flex;
  }
  .d-none-mobile {
    display: none !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.highlight {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Screens <= 768px (Constraint 8) */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero-section {
    padding: 3.5rem 0;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card.highlight {
    grid-column: span 1;
  }
  .oman-hub-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    width: 100% !important;
  }
  .form-grid-full {
    grid-column: span 1 !important;
    width: 100% !important;
  }
  .rfq-box {
    padding: 1.5rem 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .service-scope-box {
    padding: 1.5rem 1.15rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .form-control, input, select, textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ambient-decor-wrapper {
    max-width: 100vw !important;
  }
  .decor-size-lg {
    width: 90px !important;
    height: 90px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .mobile-dual-action-bar {
    display: flex !important;
  }
  .service-card-features-grid {
    grid-template-columns: 1fr !important;
  }
  body {
    padding-bottom: 76px !important;
  }
  .back-to-top-btn {
    bottom: 76px !important; /* Right above the dual mobile bar */
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  [dir="rtl"] .back-to-top-btn {
    right: auto;
    left: 18px;
  }
  .cookie-banner {
    bottom: 76px;
    left: 0.75rem !important;
    right: 0.75rem !important;
    max-width: none;
  }

  /* Trade Hub Visual on Mobile: Stack neatly without overflow */
  .trade-hub-visual {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 0.5rem 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .trade-radar-container {
    width: 190px !important;
    height: 190px !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
  }

  .trade-nexus-core {
    width: 80px !important;
    height: 80px !important;
  }

  .trade-nexus-core i {
    font-size: 1.35rem !important;
  }

  .trade-nexus-core span {
    font-size: 0.6rem !important;
  }

  /* Cards Cluster on Mobile: Clean vertical card stack below the radar */
  .trade-cards-cluster {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
  }

  .floating-glass-card {
    position: static !important;
    transform: none !important;
    animation: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0.85rem 1rem !important;
    box-sizing: border-box !important;
    box-shadow: var(--shadow-sm) !important;
    border-radius: var(--radius-sm) !important;
  }

  .floating-card-1,
  .floating-card-2,
  .floating-card-3,
  .floating-card-4 {
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}

/* Extra Small Mobiles <= 375px */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .btn-lg {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .rfq-box {
    padding: 1.5rem 1rem !important;
  }
}

/* --- 19. REFINED TWO-LAYER AMBIENT PARALLAX SYSTEM --- */
/* Layer 1: Sits on top of section background, under container (z-index: 1 vs container z-index: 2) */
.section-shapes-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Outer Wrapper: Controlled smoothly by JavaScript scroll parallax */
.ambient-decor-wrapper {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
  transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.4, 1);
}

/* Inner Graphic: Performs continuous independent CSS floating animation (No JS transform conflict) */
.ambient-decor-graphic {
  display: block;
  pointer-events: none;
}

/* 1. Maritime Trade Ring (Clean, Elegant, Subtle) */
.decor-ring {
  border-radius: 50%;
  border: 2px solid rgba(2, 95, 115, 0.4);
  background: radial-gradient(circle, rgba(2, 95, 115, 0.08) 0%, transparent 75%);
  box-shadow: 0 10px 30px rgba(2, 95, 115, 0.12);
}

.decor-ring-gold {
  border-radius: 50%;
  border: 2px solid rgba(197, 160, 89, 0.55);
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 75%);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
  position: relative;
}
.decor-ring-gold::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  right: 20%;
  bottom: 20%;
  border-radius: 50%;
  border: 1px dashed rgba(197, 160, 89, 0.5);
}

/* 2. Sovereign Trade Diamond (Prestige Gold) */
.decor-diamond {
  border: 2px solid rgba(197, 160, 89, 0.65);
  transform: rotate(45deg);
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.16);
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.22);
}

/* 3. Ambient Luminous Aura Orb */
.decor-orb {
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.42;
}

/* Sizes: Minimal, purposeful, and uncluttered */
.decor-size-sm { width: 50px; height: 50px; }
.decor-size-md { width: 95px; height: 95px; }
.decor-size-lg { width: 155px; height: 155px; }
.decor-size-orb { width: 380px; height: 380px; background: radial-gradient(circle, rgba(2, 95, 115, 0.25) 0%, transparent 70%); }
.decor-size-orb-gold { width: 340px; height: 340px; background: radial-gradient(circle, rgba(197, 160, 89, 0.22) 0%, transparent 70%); }

/* Positions: Placed along outer edges to frame content gracefully */
.decor-pos-top-left { top: 8%; left: 3%; }
.decor-pos-top-right { top: 12%; right: 4%; }
.decor-pos-bottom-left { bottom: 10%; left: 4%; }
.decor-pos-bottom-right { bottom: 8%; right: 3%; }

[dir="rtl"] .decor-pos-top-left { left: auto; right: 3%; }
[dir="rtl"] .decor-pos-top-right { right: auto; left: 4%; }
[dir="rtl"] .decor-pos-bottom-left { left: auto; right: 4%; }
[dir="rtl"] .decor-pos-bottom-right { right: auto; left: 3%; }

/* Continuous Independent Floating Animations */
.anim-float-gentle {
  animation: floatGentle 8s ease-in-out infinite alternate;
}

.anim-float-drift {
  animation: floatDrift 10s ease-in-out infinite alternate;
}

.anim-spin-gentle {
  animation: spinGentle 24s linear infinite;
}

@keyframes floatGentle {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(6deg); }
  100% { transform: translateY(12px) rotate(-6deg); }
}

@keyframes floatDrift {
  0% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(22px) rotate(52deg); }
  100% { transform: translateY(-16px) rotate(38deg); }
}

@keyframes spinGentle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dark Mode Luminous Contrast */
[data-theme="dark"] .decor-ring {
  border-color: rgba(4, 146, 178, 0.7);
  box-shadow: 0 0 35px rgba(4, 146, 178, 0.4);
  background: radial-gradient(circle, rgba(4, 146, 178, 0.2) 0%, transparent 75%);
}

[data-theme="dark"] .decor-ring-gold {
  border-color: rgba(223, 186, 115, 0.8);
  box-shadow: 0 0 35px rgba(223, 186, 115, 0.35);
  background: radial-gradient(circle, rgba(223, 186, 115, 0.18) 0%, transparent 75%);
}

[data-theme="dark"] .decor-ring-gold::after {
  border-color: rgba(223, 186, 115, 0.75);
}

[data-theme="dark"] .decor-diamond {
  border-color: rgba(223, 186, 115, 0.9);
  background: rgba(223, 186, 115, 0.22);
  box-shadow: 0 0 30px rgba(223, 186, 115, 0.4);
}

[data-theme="dark"] .decor-size-orb {
  background: radial-gradient(circle, rgba(4, 146, 178, 0.4) 0%, transparent 70%);
}

[data-theme="dark"] .decor-size-orb-gold {
  background: radial-gradient(circle, rgba(223, 186, 115, 0.32) 0%, transparent 70%);
}

/* --- 20. REGIONAL DESKS STYLES & RESPONSIVENESS --- */
.regional-desks-section {
  position: relative;
  overflow: hidden;
}

.desks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.desk-card-highlight {
  grid-column: span 2;
}

.desk-card {
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-sizing: border-box;
}

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

.desk-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.desk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.desk-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-alt);
  font-size: 0.785rem;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .desks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .desk-card-highlight {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .desks-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }
  .desk-card-highlight {
    grid-column: span 1 !important;
  }
  .desk-card {
    padding: 1.5rem 1.15rem !important;
    width: 100% !important;
  }
}



