/* ==========================================================================
   ZAGROS INDUSTRIAL & MINING COMPLEX - DESIGN SYSTEM & STYLESHEET
   Adheres to UI-UX Pro Max Design Intelligence (Heavy Industrial Executive)
   - Zero Neon Colors | Zero Aggressive Gradients | High WCAG Contrast
   - Complete RTL/LTR Support (IRANSansX FaNum + Plus Jakarta Sans)
   ========================================================================== */

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

:root {
  /* Industrial Color Palette (Zagros Midnight Blue #072f61 & Steel Slate #737c87) */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --dark-hero: #05162e;
  --dark-surface: #0a1f3d;
  --dark-card: #0d274c;
  --dark-border: #183b6b;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #737c87;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;
  
  /* Primary Brand Color: #072f61 (Zagros Midnight Industrial Blue) */
  --brand-primary: #072f61;
  --brand-primary-hover: #05234a;
  --brand-primary-light: #154c8a;
  --brand-primary-subtle: rgba(7, 47, 97, 0.08);
  --brand-primary-border: rgba(7, 47, 97, 0.22);
  
  /* Secondary Brand Color: #737c87 (Zagros Industrial Steel Slate) */
  --brand-secondary: #737c87;
  --brand-secondary-hover: #58616c;
  --brand-secondary-light: #8e97a3;
  --brand-secondary-subtle: rgba(115, 124, 135, 0.12);
  --brand-secondary-border: rgba(115, 124, 135, 0.28);
  
  /* Aliased Accents */
  --accent-gold: #072f61;
  --accent-gold-hover: #05234a;
  --accent-gold-subtle: rgba(7, 47, 97, 0.08);
  --accent-gold-border: rgba(7, 47, 97, 0.22);
  
  --industrial-steel: #737c87;
  --industrial-slate: #072f61;
  --industrial-iron: #737c87;
  --industrial-copper: #072f61;
  --industrial-bronze: #737c87;
  
  /* Functional Colors */
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #072f61;
  --status-success: #1e7046;
  --status-warning: #9a6c1e;
  --status-danger: #991b1b;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  --shadow-dark: 0 12px 32px rgba(0, 0, 0, 0.35);
  
  /* Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography Variables */
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-fa: 'IRANSansX', 'IranSansX', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-current: var(--font-en);
}

[dir="rtl"], [lang="fa"] {
  --font-current: var(--font-fa);
  font-family: var(--font-fa);
}

[dir="rtl"] body, [lang="fa"] body {
  font-family: var(--font-fa);
}

[dir="rtl"] button, 
[dir="rtl"] input, 
[dir="rtl"] select, 
[dir="rtl"] textarea,
[dir="rtl"] table,
[dir="rtl"] .stat-number,
[dir="rtl"] .spec-value,
[dir="rtl"] .badge,
[dir="rtl"] .counter {
  font-family: var(--font-fa);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-current);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
  touch-action: manipulation;
}

ul, ol {
  list-style: none;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

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

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

.container-wide {
  max-width: 1440px;
}

/* Responsive Sub-Navigation & Tabs Bar */
.scrollable-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 2px solid var(--border-light);
  width: 100%;
}

.scrollable-tabs-bar .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  touch-action: manipulation;
  text-align: center;
}

.scrollable-tabs-bar .filter-btn:hover,
.scrollable-tabs-bar .filter-btn.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(7, 47, 97, 0.28);
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
}

.table-responsive .docs-table {
  margin-bottom: 0;
  border: none;
  min-width: 620px;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-announcement-bar {
  background-color: #080c12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #94a3b8;
  padding: 0.4rem 0;
}

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

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

.top-bar-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-link:hover {
  color: var(--accent-gold);
}

.header-top-accent {
  height: 2.5px;
  width: 100%;
  background: linear-gradient(90deg, #072f61 0%, #154c8a 35%, #3b82f6 50%, #154c8a 65%, #072f61 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 22, 46, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  max-width: 1440px;
  gap: 0.75rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.brand-icon-box {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  overflow: hidden;
  padding: 5px;
  transition: all var(--transition-fast);
}

.brand-icon-box:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  border-color: #ffffff;
}

.brand-icon-box img,
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-subtitle {
  font-size: 0.73rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.95;
}

[dir="rtl"] .brand-subtitle {
  letter-spacing: 0;
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.75rem;
}

/* Desktop Compact Quick Nav (Optional Key Pillars) */
.header-quick-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.quick-link-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: color var(--transition-fast);
}

.quick-link-item:hover, .quick-link-item.active {
  color: #60a5fa;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 40px;
  padding: 0 1rem;
  color: #f1f5f9;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-header-search:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-header-search .search-icon {
  color: #93c5fd;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.btn-header-search:hover .search-icon {
  color: #ffffff;
}

.search-btn-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #f8fafc;
}

.kbd-shortcut {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  background-color: rgba(7, 47, 97, 0.85);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 4px;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background-color: rgba(4, 16, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xs);
  overflow: hidden;
  padding: 3px;
  height: 40px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lang-btn {
  padding: 0 0.85rem;
  height: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  border-radius: 4px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  background: transparent;
}

.lang-btn.active {
  background: linear-gradient(135deg, #072f61 0%, #154c8a 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(7, 47, 97, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Header Contact CTA */
.btn-contact-header {
  height: 40px;
  padding: 0 1.25rem;
  background-color: #072f61;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 12px rgba(7, 47, 97, 0.4);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-contact-header:hover {
  background-color: #05234a;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Executive Hamburger Menu Button (Visible Everywhere) */
.btn-menu-trigger {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.15rem;
  background: linear-gradient(135deg, #0d274c 0%, #154c8a 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xs);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
  box-shadow: 0 3px 12px rgba(7, 47, 97, 0.45);
}

.btn-menu-trigger:hover {
  background: linear-gradient(135deg, #072f61 0%, #1d4ed8 100%);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 39, 76, 0.6), 0 0 12px rgba(59, 130, 246, 0.3);
}

.menu-trigger-icon {
  color: #93c5fd;
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.btn-menu-trigger:hover .menu-trigger-icon {
  color: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .search-btn-label, .kbd-shortcut {
    display: none;
  }
  .btn-header-search {
    padding: 0 0.75rem;
  }
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #8e97a3;
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   OFF-CANVAS EXECUTIVE NAVIGATION DRAWER & MEGA MENU
   ========================================================================== */
.executive-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 10, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.executive-drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(180deg, #07172e 0%, #051020 100%);
  border-left: 2px solid var(--brand-primary-light);
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  z-index: 3001;
}

[dir="rtl"] .executive-drawer-panel {
  border-left: none;
  border-right: 2px solid var(--brand-primary-light);
}

.executive-drawer-overlay.active .executive-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #040e1c;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  touch-action: manipulation;
}

.drawer-close-btn:hover {
  color: #ffffff;
  border-color: #60a5fa;
  background-color: rgba(96, 165, 250, 0.15);
}

.drawer-body {
  padding: 1.25rem 1.35rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer-nav-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 47, 97, 0.6);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #93c5fd;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.drawer-nav-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Simple Navigation Item (Home) */
.drawer-nav-item-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(115, 124, 135, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.drawer-nav-item-simple:hover {
  background: #0f2747;
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-1px);
}

.drawer-nav-item-simple.active {
  background: #12345e;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.drawer-nav-item-simple:hover .drawer-nav-icon-box {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: #60a5fa;
}

.drawer-nav-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.drawer-nav-item-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 1px;
}

/* Contact Block with Quick Form Chips */
.drawer-nav-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-quick-forms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  padding: 0 0.25rem;
}

.drawer-quick-form-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(115, 124, 135, 0.2);
  border-radius: var(--radius-xs);
  color: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: start;
}

.drawer-quick-form-chip i {
  color: #93c5fd;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.drawer-quick-form-chip:hover {
  background: rgba(96, 165, 250, 0.12);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   MEGA MENU IN DRAWER (About 10 Sections)
   ========================================================================== */
.drawer-mega-wrapper {
  background: rgba(10, 27, 53, 0.65);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.drawer-mega-wrapper.active {
  border-color: rgba(96, 165, 250, 0.45);
}

.drawer-mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-mega-header-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-grow: 1;
  min-width: 0;
}

.drawer-mega-header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-mega-header-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.drawer-mega-header-subtitle {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Toggle Button for Mega Menu (replaces old .drawer-mega-header) */
.drawer-mega-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: start;
  gap: 0.5rem;
}

.drawer-mega-chevron {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform var(--transition-normal), color var(--transition-fast);
  flex-shrink: 0;
}

.drawer-mega-wrapper.expanded .drawer-mega-chevron {
  transform: rotate(180deg);
  color: #93c5fd;
}

/* Collapsible Panel — hidden by default, shown when .expanded */
.drawer-mega-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
  opacity: 0;
  pointer-events: none;
  padding-top: 0;
}

.drawer-mega-wrapper.expanded .drawer-mega-panel {
  max-height: 1200px;
  opacity: 1;
  pointer-events: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

/* Mega Menu 2-Column Responsive Card Grid */
.drawer-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.drawer-mega-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(115, 124, 135, 0.18);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.drawer-mega-card:hover {
  background: #142a4a;
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.drawer-mega-card.active {
  background: #153a6b;
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px #60a5fa;
}

.drawer-mega-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(7, 47, 97, 0.5);
  border: 1px solid rgba(96, 165, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.drawer-mega-card:hover .drawer-mega-icon {
  background: #072f61;
  color: #ffffff;
  border-color: #60a5fa;
  transform: scale(1.05);
}

.drawer-mega-card.active .drawer-mega-icon {
  background: #3b82f6;
  color: #ffffff;
  border-color: #93c5fd;
}

.drawer-mega-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.drawer-mega-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.drawer-mega-title {
  font-size: 0.835rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-mega-desc {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 1px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-mega-arrow {
  font-size: 0.68rem;
  color: #64748b;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.drawer-mega-card:hover .drawer-mega-arrow {
  color: #93c5fd;
  transform: translateX(2px);
}

[dir="rtl"] .drawer-mega-card:hover .drawer-mega-arrow {
  transform: translateX(-2px);
}

/* Mega Menu Bottom Link */
.drawer-mega-footer {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-mega-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(7, 47, 97, 0.35);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.drawer-mega-all-btn:hover {
  background: #072f61;
  color: #ffffff;
  border-color: #60a5fa;
}

/* Drawer Extra Info in Footer */
.drawer-extra-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: #040e1c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.drawer-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cbd5e1;
}

.drawer-info-item i {
  color: #60a5fa;
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .drawer-mega-grid {
    grid-template-columns: 1fr;
  }
  .drawer-quick-forms-grid {
    grid-template-columns: 1fr;
  }
  .executive-drawer-panel {
    max-width: 100%;
  }
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  transition: all var(--transition-normal);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: 1px solid var(--brand-primary);
  box-shadow: 0 4px 14px rgba(7, 47, 97, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 47, 97, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(115, 124, 135, 0.5);
}

.btn-outline:hover {
  background-color: rgba(115, 124, 135, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}

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

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

.badge-industrial {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: rgba(7, 47, 97, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(7, 47, 97, 0.22);
  border-radius: var(--radius-xs);
}

[dir="rtl"] .badge-industrial {
  letter-spacing: 0;
}

.badge-dark {
  background-color: #0d274c;
  color: #cbd5e1;
  border: 1px solid rgba(115, 124, 135, 0.3);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--dark-hero);
  color: #ffffff;
  padding: 5.5rem 0 6rem 0;
  border-bottom: 2px solid var(--brand-primary);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(7, 47, 97, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(13, 39, 76, 0.5) 0%, transparent 60%),
    linear-gradient(to right, rgba(115, 124, 135, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(115, 124, 135, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

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

.hero-tag {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-title span.highlight {
  color: #8e97a3;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

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

/* Strategic Pillars Bar under Hero */
.hero-pillars-bar {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

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

.pillar-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pillar-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.pillar-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ==========================================================================
   SECTIONS & LAYOUT UTILITIES
   ========================================================================== */
.section {
  padding: 5rem 0;
}

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

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

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

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 760px;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* ==========================================================================
   VALUE CHAIN / MINE-TO-MARKET COMPONENT
   ========================================================================== */
.value-chain-wrapper {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-dark);
}

.value-chain-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  position: relative;
}

.chain-step {
  background-color: #161e2e;
  border: 1px solid #28354b;
  border-radius: var(--radius-xs);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.chain-step:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  background-color: #1c263a;
}

.chain-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.chain-step-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 0.75rem auto;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chain-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.chain-step-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* ==========================================================================
   CARDS & INDUSTRIAL COMPONENTS
   ========================================================================== */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-dark {
  background-color: var(--dark-card);
  border-color: var(--dark-border);
  color: #ffffff;
}

.card-dark:hover {
  border-color: var(--brand-secondary-light);
  box-shadow: var(--shadow-dark);
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.card:hover .card-icon {
  background-color: rgb(7 47 97 / 20%);
  border-color: rgb(7 47 97 / 20%);
  color: #ffffff;
}

.card-dark .card-icon {
  background-color: #101622;
  border-color: #243044;
  color: var(--accent-gold);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

.card-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-dark .card-text {
  color: #94a3b8;
}

.card-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--industrial-slate);
}

.card-dark .card-footer-link {
  color: var(--accent-gold);
}

.card-footer-link:hover {
  gap: 0.65rem;
}

/* ==========================================================================
   MINERALS CATALOG (30+ Minerals)
   ========================================================================== */
.minerals-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--industrial-slate);
  color: #ffffff;
  border-color: var(--industrial-slate);
}

.mineral-search-input {
  flex-grow: 1;
  min-width: 240px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background-color: #ffffff;
}

.minerals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.mineral-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 1.25rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mineral-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.mineral-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.mineral-symbol {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  color: var(--industrial-slate);
}

.mineral-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

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

.mineral-apps {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  line-height: 1.45;
  border-top: 1px solid var(--border-light);
  padding-top: 0.65rem;
}

/* ==========================================================================
   MODAL & INSPECTOR
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-strong);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

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

.modal-header {
  padding: 1.25rem 1.75rem;
  background-color: #0b0f17;
  color: #ffffff;
  border-bottom: 2px solid var(--accent-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.75rem;
}

/* ==========================================================================
   FORMS & INPUT CONTROLS
   ========================================================================== */
.form-container {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-label span.req {
  color: var(--status-danger);
  margin-left: 0.2rem;
}

[dir="rtl"] .form-label span.req {
  margin-left: 0;
  margin-right: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background-color: #ffffff;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-gold-subtle);
  outline: none;
}

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

.file-upload-box {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 1.5rem;
  text-align: center;
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload-box:hover {
  border-color: var(--accent-gold);
  background-color: #ffffff;
}

/* ==========================================================================
   DOWNLOAD CENTER & DOCUMENTS
   ========================================================================== */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.docs-table th {
  background-color: #0b0f17;
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--accent-gold);
}

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

.docs-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

/* ==========================================================================
   CMS ADMIN INTERFACE
   ========================================================================== */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #1e293b;
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  border: 1px solid #334155;
}

.admin-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  margin-bottom: 1rem;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

[dir="rtl"] .slider:before {
  left: auto;
  right: 3px;
}

input:checked + .slider {
  background-color: var(--status-success);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

[dir="rtl"] input:checked + .slider:before {
  transform: translateX(-24px);
}

/* ==========================================================================
   FOOTER (Premium Industrial Architecture)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #05162e 0%, #030d1d 100%);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  margin-top: auto;
  font-size: 0.9rem;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-primary-light) 25%, #60a5fa 50%, var(--brand-primary-light) 75%, transparent 100%);
}

.footer-top {
  padding: 4.5rem 0 3.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

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

.footer-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #93c5fd;
  transition: all var(--transition-fast);
}

.footer-badge-item:hover {
  background: rgba(147, 197, 253, 0.1);
  border-color: rgba(147, 197, 253, 0.3);
  color: #ffffff;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, #60a5fa, transparent);
  border-radius: 2px;
}

[dir="rtl"] .footer-col-title::after {
  left: auto;
  right: 0;
  background: linear-gradient(-90deg, #60a5fa, transparent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-links a i.link-arrow {
  font-size: 0.65rem;
  color: #64748b;
  transition: all var(--transition-fast);
}

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

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

.footer-links a:hover i.link-arrow {
  color: #60a5fa;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: rgba(147, 197, 253, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact-body {
  flex: 1;
}

.footer-contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.footer-contact-val {
  font-size: 0.885rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-contact-val a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-val a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  padding: 1.5rem 0;
  font-size: 0.835rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copyright {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  color: #cbd5e1;
  font-size: 0.815rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-back-to-top:hover {
  background: rgba(147, 197, 253, 0.12);
  border-color: rgba(147, 197, 253, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-back-to-top i {
  color: #93c5fd;
  transition: transform var(--transition-fast);
}

.footer-back-to-top:hover i {
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (320px to 2560px)
   Zagros Industrial & Mining Complex - Mobile First Precision
   ========================================================================== */

/* --- Tablet Landscape & Small Desktop (1025px - 1200px) --- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

/* --- Tablet Portrait & Medium Screens (769px - 1024px) --- */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .value-chain-flow {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-actions .btn-contact-header {
    padding: 0 0.85rem;
    font-size: 0.8rem;
  }
}

/* --- Mobile Landscape & Large Smartphones (641px - 768px) --- */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 4vw, 1.85rem);
  }

  .hero-section {
    padding: 3.5rem 0 3.75rem 0;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .hero-pillars-bar {
    grid-template-columns: 1fr;
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .value-chain-flow {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

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

  .footer-top {
    padding: 3rem 0 2rem 0;
  }

  .top-announcement-bar {
    display: none;
  }

  .header-actions .btn-contact-header {
    display: none;
  }

  .header-container {
    height: 4.25rem;
  }

  .brand-icon-box {
    width: 38px;
    height: 38px;
  }

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

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .card {
    padding: 1.5rem;
  }

  .form-container {
    padding: 1.75rem;
  }
  /* Tabs as Structured Grid of Cards on Mobile (NO Horizontal Scroll) */
  .scrollable-tabs-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    overflow-x: visible;
    white-space: normal;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
    width: 100%;
  }

  .scrollable-tabs-bar .filter-btn {
    width: 100%;
    min-height: 52px;
    padding: 0.65rem 0.65rem;
    font-size: 0.825rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    border-radius: var(--radius-xs);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  }

  .scrollable-tabs-bar .filter-btn i {
    font-size: 0.9rem;
    flex-shrink: 0;
  }
}

/* --- Standard Smartphones (481px - 640px) --- */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .header-container {
    height: 4rem;
  }

  .brand-logo {
    gap: 0.6rem;
  }

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

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .btn-menu-trigger {
    padding: 0 0.75rem;
    font-size: 0.8rem;
    height: 38px;
  }

  .btn-header-search {
    height: 38px;
    padding: 0 0.65rem;
  }

  .lang-switcher {
    height: 38px;
  }

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

  .executive-drawer-panel {
    max-width: min(88vw, 360px);
  }

  .drawer-header {
    padding: 1rem 1.25rem;
  }

  .drawer-body {
    padding: 1.25rem;
    gap: 1.5rem;
  }

  .drawer-footer {
    padding: 1rem 1.25rem;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-container {
    max-height: 88vh;
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem 1rem;
  }

  .card {
    padding: 1.25rem !important;
  }

  .form-container {
    padding: 1.25rem !important;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: calc(100vw - 2rem);
  }

  [dir="rtl"] .toast-container {
    left: 1rem;
    right: 1rem;
  }

  .toast {
    padding: 0.75rem 1rem;
    font-size: 0.825rem;
  }

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

  .scrollable-tabs-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .scrollable-tabs-bar .filter-btn {
    min-height: 48px;
    font-size: 0.8rem;
    padding: 0.6rem 0.5rem;
  }
}

/* --- Compact Smartphones (361px - 480px) --- */
@media (max-width: 480px) {
  .header-container {
    height: 3.75rem;
    gap: 0.35rem;
  }

  .brand-icon-box {
    width: 36px;
    height: 36px;
    padding: 3px;
  }

  .brand-title {
    font-size: 0.825rem;
    max-width: 155px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .btn-header-search {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .lang-switcher {
    height: 36px;
  }

  .lang-btn {
    padding: 0 0.45rem;
    font-size: 0.7rem;
  }

  .btn-menu-trigger {
    height: 36px;
    padding: 0 0.55rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  .hero-section {
    padding: 2.75rem 0 3rem 0;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem;
  }

  .btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 0.65rem 0.85rem;
  }

  .mineral-search-input {
    min-width: 100%;
    font-size: 16px;
  }

  .minerals-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .minerals-filter-bar .filter-btn {
    text-align: center;
  }

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

  .scrollable-tabs-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .scrollable-tabs-bar .filter-btn {
    min-height: 48px;
    font-size: 0.78rem;
    padding: 0.55rem 0.4rem;
  }

  .scrollable-tabs-bar .filter-btn i {
    font-size: 0.85rem;
  }
}

/* --- Ultra-Compact Smartphones (320px - 360px) --- */
@media (max-width: 360px) {
  .header-container {
    height: 3.5rem;
  }

  .brand-title {
    font-size: 0.75rem;
    max-width: 125px;
  }

  .btn-menu-trigger span {
    display: none;
  }

  .btn-menu-trigger {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .lang-btn {
    padding: 0 0.35rem;
    font-size: 0.68rem;
  }

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

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .scrollable-tabs-bar {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .scrollable-tabs-bar .filter-btn {
    min-height: 42px;
    font-size: 0.8rem;
    justify-content: flex-start;
    padding: 0.55rem 0.85rem;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}

.toast {
  background-color: #0b0f17;
  color: #ffffff;
  border-left: 4px solid var(--accent-gold);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-dark);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease forwards;
}

[dir="rtl"] .toast {
  border-left: none;
  border-right: 4px solid var(--accent-gold);
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   EXECUTIVE INDUSTRIAL COMPONENT SYSTEM (ZAGROS SPECIFICATION V4.0)
   ========================================================================== */

/* Desktop Main Navigation */
.desktop-main-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1080px) {
  .desktop-main-nav {
    display: flex;
  }
}

.desktop-main-nav .nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.desktop-main-nav .nav-item:hover {
  color: var(--brand-primary);
  background: var(--bg-subtle);
}

/* Tabs Layout (About & Dedicated views) */
.tabs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .tabs-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.tabs-nav-col {
  position: sticky;
  top: 5.5rem;
}

.tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.tab-btn i {
  color: var(--brand-secondary);
  width: 18px;
  text-align: center;
  transition: color var(--transition-fast);
}

.tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--brand-primary);
}

.tab-btn:hover i {
  color: var(--brand-primary);
}

.tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 600;
}

.tab-btn.active i {
  color: #ffffff;
}

.tabs-content-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  min-height: 480px;
}

@media (max-width: 600px) {
  .tabs-content-col {
    padding: 1.5rem 1.25rem;
  }
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Business Cards (Section 4) */
.card-business {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.card-business-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-primary-light);
  margin-bottom: 1rem;
  line-height: 1;
}

.card-business-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}

.card-business-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: 0.65rem;
}

/* Approach Chain (Section 5) */
.approach-chain-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chain-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 140px;
  transition: all var(--transition-fast);
}

.chain-step-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.chain-step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.chain-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chain-arrow {
  color: var(--brand-primary);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .chain-arrow {
    display: none;
  }
}

/* Minerals Cloud & Cards (Section 6) */
.minerals-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.mineral-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.mineral-tag:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.card-mineral {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.mineral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.mineral-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.mineral-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.mineral-secondary-name {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: block;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-tab-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.filter-tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--brand-primary);
}

.filter-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.filter-search-box {
  min-width: 260px;
}

/* Strategy List (Section 23) */
.strategy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.strategy-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.strategy-item:hover {
  background: var(--bg-surface);
  border-color: var(--brand-primary-border);
  box-shadow: var(--shadow-sm);
}

.strategy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.strategy-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Chips Grid */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.chip-item:hover {
  background: var(--bg-surface);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

/* Styled List */
.styled-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.styled-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.styled-list li i {
  color: var(--brand-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Engineering Services (Section 9) */
.card-service-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.card-service-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-primary-light);
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* Technology Cards (Section 10) */
.card-tech-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card-tech-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tech-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-primary-light);
  margin-bottom: 0.75rem;
}

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

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

/* Sustainability Sections (Section 12) */
.card-sus-sec {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sus-sec-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

/* Form Container & Tabs (Section 17) */
.form-tabs-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.form-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.form-tab-btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.form-tab-btn:hover {
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
}

.form-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.form-card-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.form-card-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 1.75rem;
}

.form-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

/* Table Custom (Section 43) */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table-custom th {
  background: var(--bg-subtle);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  text-align: inherit;
}

.table-custom td {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

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

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

/* Footer Components (Section 18) */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-col-main {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-col-main {
    grid-column: span 1;
  }
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--brand-primary);
  display: inline-block;
  padding-bottom: 0.35rem;
}

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

.footer-links li a {
  color: var(--text-inverse-muted);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

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

.link-arrow {
  font-size: 0.7rem;
  color: var(--brand-primary-light);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--text-inverse-muted);
  font-size: 0.85rem;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-inverse-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-back-to-top:hover {
  color: #ffffff;
}

/* Badge Tags & Industrial */
.badge-industrial {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(147, 197, 253, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

[dir="rtl"] .badge-hero {
  letter-spacing: 0;
}

.badge-gold {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(7, 47, 97, 0.08);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   PAGE HEADER & CONTRAST REFINEMENTS
   ========================================================================== */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #05162e 0%, #0a254a 55%, #071f3d 100%);
  color: #ffffff;
  padding: 4.5rem 0 4.5rem 0;
  border-bottom: 2px solid var(--brand-primary-light);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
}

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

.page-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0.75rem 0;
  letter-spacing: -0.01em;
}

.page-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 780px;
}

.hero-title span.highlight {
  color: #93c5fd !important;
  display: inline-block;
}

.card-feature-spotlight {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px rgba(7, 47, 97, 0.08);
}

.spotlight-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.formula-box {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  border-left-width: 4px;
}

[dir="rtl"] .formula-box {
  border-left-width: 1px;
  border-right-width: 4px;
  border-right-color: var(--brand-primary);
}

/* ==========================================================================
   EXECUTIVE CONTACT US PAGE COMPONENT SUITE
   ========================================================================== */
.contact-hero {
  padding: 5rem 0 4.5rem 0;
}

.contact-notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef3c7;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(7, 47, 97, 0.12);
  border-color: var(--brand-primary-border);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(7, 47, 97, 0.25);
}

.contact-info-body {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

[dir="rtl"] .contact-info-label {
  letter-spacing: 0;
}

.contact-info-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Department Cards */
.card-department {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.dept-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.dept-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.dept-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-dept-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-dept-inquiry:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Form Suite */
.form-suite-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
  .form-suite-wrapper {
    padding: 2rem 1.25rem;
  }
}

.form-suite-header {
  margin-bottom: 2rem;
}

.selected-dept-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary-subtle);
  border: 1px solid var(--brand-primary-border);
  color: var(--brand-primary);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.form-pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}

.form-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 30px;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.form-pill-btn:hover {
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
  border-color: var(--brand-primary-border);
}

.form-pill-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(7, 47, 97, 0.3);
}

.form-card-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.form-card-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 2rem;
}

.form-card-title-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

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

.required-star {
  color: #b91c1c;
  font-weight: 800;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(7, 47, 97, 0.15);
}

.file-input-custom {
  display: none;
}

/* ==========================================================================
   EXECUTIVE FILE DROPZONE & INTERACTIVE UPLOADER
   ========================================================================== */

.executive-file-dropzone {
  position: relative;
  width: 100%;
  min-height: 135px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px dashed var(--border-strong);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-sizing: border-box;
}

.executive-file-dropzone:hover {
  border-color: var(--brand-primary);
  background: linear-gradient(145deg, #ffffff 0%, rgba(7, 47, 97, 0.04) 100%);
  box-shadow: 0 6px 20px rgba(7, 47, 97, 0.08);
  transform: translateY(-1px);
}

.executive-file-dropzone:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(7, 47, 97, 0.18);
}

.executive-file-dropzone.dragover {
  border-color: var(--brand-primary);
  border-style: solid;
  background: rgba(7, 47, 97, 0.07);
  box-shadow: 0 8px 24px rgba(7, 47, 97, 0.15);
  transform: scale(1.01);
}

.executive-file-dropzone.has-file {
  border-style: solid;
  border-color: #10b981;
  background: #f0fdf4;
  cursor: default;
  padding: 1.15rem 1.25rem;
}

.executive-file-dropzone.has-error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  animation: dropzoneShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes dropzoneShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.dropzone-real-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.executive-file-dropzone.has-file .dropzone-real-input {
  display: none;
}

/* Empty State Content */
.dropzone-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  width: 100%;
}

.dropzone-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(7, 47, 97, 0.08);
}

.executive-file-dropzone:hover .dropzone-icon-circle {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(7, 47, 97, 0.25);
}

.executive-file-dropzone.dragover .dropzone-icon-circle {
  background: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.15) rotate(-6deg);
}

.dropzone-main-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.dropzone-browse-btn {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.15s ease;
}

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

.dropzone-formats-badge {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.15rem;
}

.dropzone-format-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(115, 124, 135, 0.12);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* File Active / Selected State Card */
.dropzone-preview-content {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: dropzoneFadeIn 0.3s ease-out forwards;
}

.executive-file-dropzone.has-file .dropzone-empty-content {
  display: none;
}

.executive-file-dropzone.has-file .dropzone-preview-content {
  display: flex;
}

@keyframes dropzoneFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropzone-file-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  text-align: right;
}

[dir="ltr"] .dropzone-file-info-group {
  text-align: left;
}

.dropzone-file-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.dropzone-file-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.dropzone-file-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: left;
}

[dir="rtl"] .dropzone-file-name {
  text-align: right;
}

.dropzone-file-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.dropzone-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

.dropzone-actions-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-dropzone-action {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-dropzone-action:hover {
  background: #f8fafc;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-dropzone-remove {
  color: #b91c1c;
  border-color: #fecaca;
  background: #ffffff;
}

.btn-dropzone-remove:hover {
  background: #fee2e2;
  color: #991b1b;
  border-color: #f87171;
}

@media (max-width: 640px) {
  .dropzone-preview-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .dropzone-actions-group {
    justify-content: flex-end;
  }
}

.form-actions-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}


/* ==========================================================================
   CORPORATE CONFIRMATION MODAL — Glass Alert System
   Executive-grade success / error feedback modal (pure vanilla, no deps)
   ========================================================================== */

/* --- Overlay --- */
.glass-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 13, 26, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.glass-alert-overlay.is-visible {
  opacity: 1;
}

/* --- Modal Card --- */
.glass-alert-modal {
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 24px 64px rgba(5, 13, 26, 0.32), 0 4px 16px rgba(5, 13, 26, 0.14);
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.34, 1.18, 0.64, 1);
}

.glass-alert-overlay.is-visible .glass-alert-modal {
  transform: scale(1) translateY(0);
}

/* --- Header Bar --- */
.glass-alert-header-bar {
  background: #091932;
  border-bottom: 2px solid var(--brand-primary);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.glass-alert-corp-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  flex: 1;
  min-width: 0;
}

.glass-alert-corp-brand i {
  color: #4a85c4;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.glass-alert-close-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 6px;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.glass-alert-close-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.5);
}

/* --- Body --- */
.glass-alert-body {
  padding: 1.5rem 1.4rem 1.25rem;
  background: #ffffff;
}

/* --- Status Row --- */
.glass-alert-status-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.glass-alert-status-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: none;
}

.glass-alert-status-icon.type-error {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}

.glass-alert-title-wrap {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.glass-alert-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  margin: 0 0 0.3rem;
}

.glass-alert-subtitle {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* --- Receipt Card --- */
.glass-alert-receipt-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.glass-alert-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #EDF2F7;
}

.glass-alert-receipt-row:last-child {
  border-bottom: none;
}

.glass-alert-receipt-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.glass-alert-receipt-label i {
  color: #94A3B8;
  font-size: 0.82rem;
  width: 14px;
  text-align: center;
}

.glass-alert-receipt-val {
  font-size: 0.83rem;
  color: #1E293B;
  font-weight: 500;
  text-align: end;
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

/* Tracking row right-side wrapper */
.glass-alert-receipt-tracking {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.glass-alert-receipt-code {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: #072f61;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.glass-alert-copy-btn {
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.glass-alert-copy-btn:hover {
  background: #F1F5F9;
  color: #072f61;
  border-color: #93C5FD;
}

.glass-alert-copy-btn.copied {
  background: #ECFDF5;
  border-color: #6EE7B7;
  color: #059669;
}

/* Status pill */
.glass-alert-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 20px;
  padding: 0.22rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
}

.glass-alert-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
}

/* --- Footer --- */
.glass-alert-footer {
  padding: 0 1.4rem 1.4rem;
  background: #ffffff;
}

.glass-alert-btn-primary {
  display: block;
  width: 100%;
  background: #091932;
  color: #f8fafc;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
  font-family: var(--font-current);
}

.glass-alert-btn-primary:hover {
  background: #0d274c;
  transform: translateY(-1px);
}

.glass-alert-btn-primary:active {
  transform: translateY(0);
  background: #050d1a;
}

/* --- RTL overrides --- */
[dir="rtl"] .glass-alert-corp-brand {
  letter-spacing: 0;
  font-family: var(--font-fa);
  text-transform: none;
}

[dir="rtl"] .glass-alert-receipt-label {
  letter-spacing: 0;
  font-family: var(--font-fa);
  text-transform: none;
}

[dir="rtl"] .glass-alert-copy-btn {
  font-family: var(--font-fa);
}

[dir="rtl"] .glass-alert-btn-primary {
  letter-spacing: 0;
}

[dir="rtl"] .glass-alert-receipt-val {
  text-align: start;
}

[dir="rtl"] .glass-alert-receipt-tracking {
  justify-content: flex-start;
}

/* --- Mobile responsive --- */
@media (max-width: 580px) {
  .glass-alert-modal {
    border-radius: 12px;
  }

  .glass-alert-body {
    padding: 1.15rem 1rem 1rem;
  }

  .glass-alert-footer {
    padding: 0 1rem 1rem;
  }

  .glass-alert-header-bar {
    padding: 0.75rem 0.9rem;
  }

  .glass-alert-corp-brand {
    font-size: 0.66rem;
  }

  .glass-alert-receipt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
  }

  .glass-alert-receipt-val {
    text-align: start;
  }

  .glass-alert-receipt-tracking {
    justify-content: flex-start;
  }


/* ==========================================================================
   CORPORATE CONTACT INFORMATION CARDS & GRID
   Executive-grade structured contact details (RTL & LTR compatible)
   ========================================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.contact-info-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
  padding: 1.35rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal, 250ms ease);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(7, 47, 97, 0.08);
  border-color: rgba(7, 47, 97, 0.25);
}

.contact-info-card:hover::before {
  background: var(--brand-primary, #072f61);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(7, 47, 97, 0.08);
  color: var(--brand-primary, #072f61);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: var(--brand-primary, #072f61);
  color: #ffffff;
}

.contact-info-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-info-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[dir="rtl"] .contact-info-label {
  font-family: var(--font-fa);
  letter-spacing: 0;
  text-transform: none;
}

.contact-info-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.55;
}

.contact-emails-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #072f61;
  text-decoration: none;
  transition: all 0.15s ease;
  padding: 0.15rem 0;
  word-break: break-all;
}

.contact-info-link:hover {
  color: #154c8a;
  text-decoration: underline;
}

.contact-phone-link {
  font-size: 1rem;
  letter-spacing: 0.03em;
  direction: ltr;
  display: inline-flex;
  align-items: center;
}

[dir="rtl"] .contact-phone-link {
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


