/* ==========================================================================
   GACHSARAN GLASS COMPLEX - CORE DESIGN SYSTEM & RESPONSIVE ARCHITECTURE
   Theme: Precision Architectural Glass - Balanced White & Deep Brand Navy Theme
   Design System Standard: UI/UX Pro Max Architecture
   No Neon Colors | High Contrast | WCAG 2.1 AA Compliant | Pure LTR & RTL
   Zero-Horizontal-Scroll Guarantee | Mobile First & Responsive Grid
   ========================================================================== */

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

:root {
  /* Architectural Color Palette - Balanced Pure White & Deep Brand Sapphire */
  --bg-primary: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-light: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-glass-card: rgba(255, 255, 255, 0.95);
  
  /* Brand Navy & Deep Glass Tokens */
  --brand-navy-dark: #050D1A;
  --brand-navy: #091932;
  --brand-navy-light: #0F284E;
  --brand-card-dark: rgba(14, 28, 52, 0.85);
  
  /* Precision Borders & Hairlines */
  --border-subtle: #E2E8F0;
  --border-glass: rgba(2, 132, 199, 0.16);
  --border-active: #0284C7;
  --border-glow: rgba(2, 132, 199, 0.25);
  --border-light: #F1F5F9;
  
  /* Text & Typographic Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  /* Refined Glass & Crystal Accents */
  --accent-cyan: #0284C7;        /* Primary Gachsaran Crystal Glass Blue */
  --accent-cyan-light: #0369A1;  /* High Contrast Deep Blue for Text */
  --accent-cyan-glow: #38BDF8;   /* Luminous Ice Cyan */
  --accent-cyan-dark: #075985;   /* Deep Architectural Blue */
  --accent-teal: #0D9488;        /* Natural glass edge green/teal */
  --accent-steel: #64748B;       /* Industrial steel */
  --accent-gold: #D97706;        /* Subtle industrial warmth */
  
  /* Functional Colors */
  --success: #059669;
  --warning: #D97706;
  --error: #DC2626;
  --info: #0284C7;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 35px rgba(15, 23, 42, 0.09), 0 8px 16px rgba(15, 23, 42, 0.04);
  --shadow-glass: 0 10px 30px rgba(2, 132, 199, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.15);
  
  /* Typography Variables - Dual Bilingual Engine */
  --font-sans-en: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-sans-fa: 'IranSansX', 'IRANSansXFaNum', 'IRANSansX', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-primary: var(--font-sans-en);
  
  /* Layout Dimensions */
  --header-height: 84px;
  --max-width: 1320px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Direction & Language Typography Routing */
html[lang="en"],
[dir="ltr"] {
  --font-primary: var(--font-sans-en);
}

html[lang="fa"],
[dir="rtl"] {
  --font-primary: var(--font-sans-fa);
}

/* ==========================================================================
   Base & Global Zero-Overflow Architecture
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

.container,
.grid,
[class*="-grid"],
[class*="-container"],
[class*="-col"],
.glass-card,
.metric-card,
.product-card,
.intro-text-col,
.why-text-col,
.contact-info-col,
.form-card {
  min-width: 0;
}

/* ==========================================================================
   Universal Typography & Multi-Language Support
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
p, span:not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab),
a, button, input, select, textarea, optgroup,
table, td, th, label, small, strong, b, em,
code, pre, kbd, samp,
.metric-value, .spec-val, .badge, .nav-drawer-link, .tab-btn, .form-tab-btn {
  font-family: var(--font-primary);
}

/* Specific LTR override (English numbers and Latin letters) */
[dir="ltr"],
[dir="ltr"] body,
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] h4, [dir="ltr"] h5, [dir="ltr"] h6,
[dir="ltr"] p, [dir="ltr"] span:not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab),
[dir="ltr"] a, [dir="ltr"] button, [dir="ltr"] input,
[dir="ltr"] select, [dir="ltr"] textarea, [dir="ltr"] table, [dir="ltr"] td, [dir="ltr"] th,
[dir="ltr"] .metric-value, [dir="ltr"] .spec-val, [dir="ltr"] .badge,
[dir="ltr"] .nav-drawer-link, [dir="ltr"] .tab-btn, [dir="ltr"] .form-tab-btn {
  font-family: var(--font-sans-en);
}

/* Specific RTL override (Persian typography with Persian FaNum) */
[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] p, [dir="rtl"] span:not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab),
[dir="rtl"] a, [dir="rtl"] button, [dir="rtl"] input,
[dir="rtl"] select, [dir="rtl"] textarea, [dir="rtl"] table, [dir="rtl"] td, [dir="rtl"] th,
[dir="rtl"] .metric-value, [dir="rtl"] .spec-val, [dir="rtl"] .badge,
[dir="rtl"] .nav-drawer-link, [dir="rtl"] .tab-btn, [dir="rtl"] .form-tab-btn {
  font-family: var(--font-sans-fa);
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ==========================================================================
   Font Awesome Protection & Icon Preservation
   ========================================================================== */
.fa, .fas, .far, .fal, .fat, .fad, .fab,
.fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-brands,
i[class*="fa-"], span[class*="fa-"],
[class^="fa-"]::before, [class*=" fa-"]::before,
[class^="fa-"]::after, [class*=" fa-"]::after,
.fa::before, .fas::before, .far::before, .fab::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fab, .fa-brands,
.fab::before, .fa-brands::before {
  font-family: "Font Awesome 6 Brands" !important;
}

/* ==========================================================================
   Section Background Utilities (Harmonious White & Brand Navy Rhythm)
   ========================================================================== */
.section-py {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
}

/* Pure Clean White Section */
.section-light {
  background-color: #FFFFFF;
}

/* Subtle Ice Crystal Section */
.section-ice {
  background: #F0F9FF;
  border-top: 1px solid #E0F2FE;
  border-bottom: 1px solid #E0F2FE;
}

/* Alternating Soft Neutral Section */
.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Deep Architectural Brand Navy Section */
.section-dark-brand {
  background: radial-gradient(circle at 50% 20%, #0E2447 0%, #08162C 65%, #050D1A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.section-dark-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.section-dark-brand h1,
.section-dark-brand h2,
.section-dark-brand h3,
.section-dark-brand h4 {
  color: #FFFFFF !important;
}

.section-dark-brand p,
.section-dark-brand .section-header p,
.section-dark-brand .product-desc,
.section-dark-brand .app-card p,
.section-dark-brand .glass-card p,
.section-dark-brand .feature-checklist li {
  color: #CBD5E1 !important;
}

.section-dark-brand .section-subtitle {
  color: var(--accent-cyan-glow) !important;
}

/* Highlighted Supporting Statement Box */
.supporting-statement-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-left: 4px solid #0284C7;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06);
}

.supporting-statement-box p {
  color: #0369A1 !important;
  font-weight: 500;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0 !important;
}

[dir="rtl"] .supporting-statement-box {
  border-left: 1px solid #BAE6FD;
  border-right: 4px solid #0284C7;
}

.section-dark-brand .glass-card {
  background: rgba(14, 28, 52, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.section-dark-brand .glass-card:hover {
  background: rgba(19, 38, 70, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.15);
}

.section-dark-brand .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
}

.section-dark-brand .product-icon-wrap,
.section-dark-brand .app-card-icon {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan-glow);
}

.section-dark-brand .badge {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7DD3FC;
}

.section-dark-brand .badge-dot {
  background-color: var(--accent-cyan-glow);
}

/* Background Patterns */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ==========================================================================
   Container & Layout Sizing
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 62px;
  }
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  letter-spacing: 0;
  line-height: 1.4;
}

h1 { font-size: clamp(1.85rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.2rem); }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

a:hover {
  color: var(--accent-cyan-dark);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}

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

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0284C7;
  flex-shrink: 0;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-header .section-subtitle {
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

[dir="rtl"] .section-header .section-subtitle {
  letter-spacing: 0;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  min-height: 48px;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-color: #0284C7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background-color: #F8FAFC;
  border-color: #94A3B8;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-outline {
  background-color: rgba(2, 132, 199, 0.04);
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.35);
}

.btn-outline:hover {
  background-color: rgba(2, 132, 199, 0.12);
  border-color: #0284C7;
  color: #0369A1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.2);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  min-height: 38px;
}

/* Glass Card */
.glass-card {
  margin-bottom: 25px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08), 0 0 20px rgba(2, 132, 199, 0.08);
}

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

/* ==========================================================================
   Header & Sticky Navbar (Clean White Glass)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #CBD5E1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

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

.logo-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[dir="rtl"] .logo-title {
  font-family: var(--font-sans-fa);
  letter-spacing: 0;
}

.logo-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #0284C7;
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[dir="rtl"] .logo-subtitle {
  font-family: var(--font-sans-fa);
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .navbar {
    gap: 0.5rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .logo-symbol {
    width: 38px;
    height: 38px;
    border-radius: 6px;
  }

  .logo-title {
    font-size: clamp(0.85rem, 3.2vw, 1.02rem);
  }

  .logo-subtitle {
    font-size: clamp(0.52rem, 1.9vw, 0.62rem);
    letter-spacing: 0.02em;
    display: block;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    gap: 0.35rem;
  }

  .logo-symbol {
    width: 32px;
    height: 32px;
  }

  .logo-title {
    font-size: 0.8rem;
  }

  .logo-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0;
  }
}

/* Header Actions & Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: none;
}

@media (min-width: 1100px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
  }

  .nav-link:hover, .nav-link.active {
    color: #0284C7;
    background: #F0F9FF;
  }

  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

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

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

  .dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .dropdown-link:hover {
    color: #0284C7;
    background: #F0F9FF;
    padding-inline-start: 1.45rem;
  }
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  color: #0F172A;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 40px;
  flex-shrink: 0;
}

.lang-switch-btn:hover {
  background: #E0F2FE;
  border-color: #BAE6FD;
}

.lang-switch-btn span.active-lang {
  color: #0284C7;
  font-weight: 800;
}

.lang-opt {
  display: inline-flex;
  align-items: center;
}

.lang-sep {
  color: #94A3B8;
  font-size: 0.75rem;
  user-select: none;
}

.lang-fa {
  font-family: var(--font-sans-fa) !important;
  font-size: 0.75rem;
  color: #475569;
}

.lang-en {
  font-family: var(--font-sans-en) !important;
  font-size: 0.825rem;
  font-weight: 700;
}

/* Universal Hamburger Toggle Button */
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  color: #0F172A;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  background: #E0F2FE;
  border-color: #0284C7;
  color: #0284C7;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .header-actions {
    gap: 0.4rem;
  }

  .lang-switch-btn {
    padding: 0.35rem 0.6rem;
    min-height: 36px;
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .hamburger-btn {
    padding: 0.35rem 0.75rem;
    min-height: 36px;
    gap: 0.4rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .hamburger-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .hamburger-btn .hamburger-label {
    display: none;
  }

  .lang-switch-btn {
    padding: 0.3rem 0.45rem;
    min-height: 38px;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .header-actions {
    gap: 0.25rem;
  }

  .lang-switch-btn {
    padding: 0.25rem 0.35rem;
    min-height: 34px;
    font-size: 0.68rem;
  }

  .hamburger-btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
  flex-shrink: 0;
}

.hamburger-lines .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0284C7;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-label {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.825rem;
}

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

/* ==========================================================================
   Off-Canvas Luxury Drawer
   ========================================================================== */
.nav-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
}

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

.nav-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-drawer-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: min(400px, 100vw);
  background: #FFFFFF;
  border-left: 1px solid #E2E8F0;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  box-sizing: border-box;
}

[dir="rtl"] .nav-drawer-container {
  border-left: none;
  border-right: 1px solid #E2E8F0;
}

.nav-drawer-overlay.active .nav-drawer-container {
  transform: translateX(0);
}

.nav-drawer-header {
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  flex-shrink: 0;
}

.nav-drawer-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.nav-drawer-close-btn:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #DC2626;
  transform: rotate(90deg);
}

.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  color: #334155;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  min-height: 48px;
}

[dir="rtl"] .nav-drawer-link {
  border-left: none;
  border-right: 3px solid transparent;
}

.nav-drawer-num {
  font-family: var(--font-primary) !important;
  font-size: 0.8rem;
  color: #0284C7;
  font-weight: 700;
  width: 24px;
  flex-shrink: 0;
}

.nav-drawer-text {
  transition: color 0.2s;
}

.nav-drawer-link:hover, .nav-drawer-link.active {
  color: #0284C7;
  background: #F0F9FF;
  border-left-color: #0284C7;
  padding-left: 1.35rem;
}

[dir="rtl"] .nav-drawer-link:hover, [dir="rtl"] .nav-drawer-link.active {
  border-left-color: transparent;
  border-right-color: #0284C7;
  padding-left: 1.15rem;
  padding-right: 1.35rem;
}

/* Drawer Dropdown Submenu */
.nav-drawer-item.has-dropdown {
  display: flex;
  flex-direction: column;
}

.nav-drawer-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-drawer-item-head .nav-drawer-link {
  flex: 1;
  min-width: 0;
}

.nav-drawer-dropdown-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #64748B;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-inline-end: 0.25rem;
}

.nav-drawer-dropdown-btn:hover {
  color: #0284C7;
  background: #F0F9FF;
  border-color: #BAE6FD;
}

.nav-drawer-dropdown-btn i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer-item.has-dropdown.is-open .nav-drawer-dropdown-btn i {
  transform: rotate(180deg);
  color: #0284C7;
}

.nav-drawer-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-inline-start: 2px solid #E2E8F0;
  margin-inline-start: 2.75rem;
  padding-inline-start: 0.75rem;
}

.nav-drawer-item.has-dropdown.is-open .nav-drawer-submenu {
  max-height: 500px;
  opacity: 1;
  padding-top: 0.4rem;
  padding-bottom: 0.5rem;
  border-inline-start-color: #BAE6FD;
}

.nav-drawer-sublink {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: normal;
}

.nav-drawer-sublink:hover,
.nav-drawer-sublink:focus {
  color: #0284C7;
  background: #F0F9FF;
  padding-inline-start: 1.15rem;
}

[dir="rtl"] .nav-drawer-sublink:hover,
[dir="rtl"] .nav-drawer-sublink:focus {
  padding-inline-start: 1.15rem;
}

/* ==========================================================================
   Hero Section (Deep Space Brand Sapphire Navy)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5.5rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 20%, #0F2A52 0%, #08172D 60%, #050D1A 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 1.75rem;
}

.hero-section .badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7DD3FC;
}

.hero-section .badge-dot {
  background-color: #38BDF8;
}

.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[dir="rtl"] .hero-title {
  letter-spacing: 0;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #CBD5E1;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-section .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* ==========================================================================
   Multi-Page Inner Hero Banner
   ========================================================================== */
.page-hero-banner {
  position: relative;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 0%, #0F284E 0%, #08162C 75%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  text-align: center;
  overflow: hidden;
}

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

.breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.breadcrumb-trail a {
  color: #38BDF8;
}

.page-hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: #CBD5E1;
}

/* ==========================================================================
   Pillars & Company Intro Components
   ========================================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

@media (max-width: 860px) {
  .intro-pillars {
    grid-template-columns: 1fr;
  }
}

.pillar-item {
  border-left: 3px solid #0284C7;
  padding: 1.25rem 1rem;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  border-left: 3px solid #0284C7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[dir="rtl"] .pillar-item {
  border-left: 1px solid #E2E8F0;
  border-right: 3px solid #0284C7;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.intro-visual-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Values Grid (About Page Mission & Vision) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Value Chain Benefits Grid */
.value-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}

/* Quality & HSE Split Grid */
.quality-hse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .quality-hse-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.hse-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .hse-points-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* Technology Cards Grid */
.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
}

/* Strategic Highlights Grid (Sustainability & Investments) */
.strategic-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 860px) {
  .strategic-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
}

.sus-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  font-size: 0.875rem;
}

@media (max-width: 520px) {
  .sus-points-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ==========================================================================
   Products Grid
   ========================================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284C7;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.product-desc {
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ==========================================================================
   Checklists & Feature Lists
   ========================================================================= */
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-check-item, .feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-icon {
  color: #0284C7;
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.section-dark-brand .check-icon {
  color: #38BDF8;
}

/* ==========================================================================
   Highlight CTA Banner
   ========================================================================= */
.cta-ribbon-banner {
  background: linear-gradient(135deg, #0369A1 0%, #0C4A6E 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-ribbon-banner h2 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.cta-ribbon-banner p {
  color: #E0F2FE;
  max-width: 680px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
}

.cta-ribbon-banner .btn-secondary {
  background: #FFFFFF;
  color: #0369A1;
  font-weight: 700;
  border-color: #FFFFFF;
}

.cta-ribbon-banner .btn-secondary:hover {
  background: #F0F9FF;
  color: #0284C7;
}

/* ==========================================================================
   Sustainability Grid
   ========================================================================= */
.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.sus-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.sus-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #CCFBF1;
  border: 1px solid #99F6E4;
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  flex-shrink: 0;
}

.sus-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Investment Banner & Partnership Models
   ========================================================================= */
.investment-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.model-pill {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.model-pill:hover {
  border-color: #0284C7;
  background: #E0F2FE;
  color: #0369A1;
}

.discipline-tag {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  display: inline-block;
}

/* ==========================================================================
   Contact Center & Interactive Forms System
   ========================================================================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

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

.contact-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  color: #0284C7;
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1.25rem;
}

.contact-email-list,
.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.contact-email-link,
.contact-phone-link {
  color: var(--accent-cyan, #0284C7);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

[dir="rtl"] .contact-email-link,
[dir="rtl"] .contact-phone-link {
  text-align: right;
}

.contact-email-link:hover,
.contact-phone-link:hover {
  color: var(--accent-cyan-light, #0369A1);
  text-decoration: underline;
}

.contact-dept-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0;
}

.dept-badge {
  font-size: 0.8rem;
  color: #334155;
  padding: 0.35rem 0.75rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full, 9999px);
  text-align: center;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
  transition: all var(--transition-fast);
}

.dept-badge:hover {
  background: #E2E8F0;
  color: #0284C7;
  border-color: #CBD5E1;
}

.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-tab-btn {
  flex: 1 1 calc(33.333% - 0.5rem);
  min-width: 120px;
  padding: 0.6rem 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  box-sizing: border-box;
}

.form-tab-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.form-tab-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  font-weight: 700;
  border-color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.form-group {
  margin-bottom: 1.25rem;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-width: 0;
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  color: #0F172A;
  font-size: 16px;
  font-family: inherit;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background: #FFFFFF;
}

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

.file-upload-box, .file-upload-wrap {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #F8FAFC;
}

.file-upload-box:hover, .file-upload-wrap:hover {
  border-color: #0284C7;
  background: #F0F9FF;
}

.file-name-display {
  font-size: 0.8rem;
  color: #0284C7;
  margin-top: 0.5rem;
  font-family: var(--font-primary) !important;
}

.interactive-form, .contact-form-panel {
  display: block;
  width: 100%;
  animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   Footer (Prestige Dark Slate Corporate Footer)
   ========================================================================== */
.site-footer {
  background: #061122;
  color: #F8FAFC;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: 2rem;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

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

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

@media (max-width: 420px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: #94A3B8;
  margin: 1rem 0 1.5rem 0;
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

[dir="rtl"] .footer-col-title {
  letter-spacing: 0;
}

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

.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

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

/* ==========================================================================
   Responsive Adaptations & Media Queries (Full Mobile & Tablet Perfection)
   ========================================================================== */
@media (max-width: 1024px) {
  .intro-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .intro-pillars {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .strategic-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }

  .quality-hse-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-tabs-nav {
    gap: 0.5rem;
  }

  .form-tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .page-hero-banner {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-subtitle {
    margin-bottom: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

@media (max-width: 580px) {
  .form-tabs-nav {
    gap: 0.4rem;
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .form-tab-btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-height: 38px;
    padding: 0.5rem 0.35rem;
    font-size: 0.775rem;
  }

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

  .nav-drawer-body {
    padding: 1.5rem 1rem;
  }

  .nav-drawer-link {
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .section-py {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

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

  .hero-cta-group .btn,
  .cta-ribbon-banner .btn {
    width: 100%;
  }

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

  .glass-card {
    padding: 1.35rem 1.15rem;
  }
}

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

/* ==========================================================================
   EXECUTIVE CORPORATE CONFIRMATION MODAL & ALERT SYSTEM (UI/UX PRO MAX)
   Clean, Formal, Architectural Luxury, Bilingual (EN/FA)
   ========================================================================== */

.glass-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  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: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

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

.glass-alert-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 
    0 20px 45px -10px rgba(5, 13, 26, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  font-family: var(--font-primary);
  text-align: start;
}

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

/* Corporate Top Header Strip */
.glass-alert-header-bar {
  background: #091932;
  border-bottom: 2px solid var(--accent-cyan);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-alert-corp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.glass-alert-corp-brand i {
  color: var(--accent-cyan-glow);
  font-size: 0.95rem;
}

.glass-alert-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.glass-alert-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Modal Body */
.glass-alert-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

/* Status Icon & Title */
.glass-alert-status-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

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

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

.glass-alert-status-icon.type-info {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #0284C7;
}

.glass-alert-title-wrap {
  flex: 1;
}

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

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

/* Corporate Receipt Specification Card */
.glass-alert-receipt-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.5rem 1.1rem;
  margin: 1.25rem 0;
}

.glass-alert-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid #EDF2F7;
  font-size: 0.85rem;
}

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

.glass-alert-receipt-label {
  color: #64748B;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.glass-alert-receipt-label i {
  color: #94A3B8;
  font-size: 0.8rem;
}

.glass-alert-receipt-val {
  color: #1E293B;
  font-weight: 600;
  text-align: end;
}

.glass-alert-receipt-tracking {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-alert-receipt-code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F284E;
  background: #FFFFFF;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  letter-spacing: 0.05em;
  user-select: all;
}

.glass-alert-copy-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.glass-alert-copy-btn:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
}

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

/* Status Pulse Badge */
.glass-alert-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 9999px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.75rem;
  font-weight: 600;
}

.glass-alert-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Modal Footer Actions */
.glass-alert-footer {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  gap: 0.75rem;
}

.glass-alert-btn-primary {
  width: 100%;
  background: #091932;
  color: #FFFFFF;
  border: 1px solid #091932;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.glass-alert-btn-primary:hover {
  background: #0F284E;
  border-color: #0F284E;
  box-shadow: 0 4px 12px rgba(9, 25, 50, 0.15);
}

.glass-alert-btn-primary:active {
  transform: translateY(1px);
}

@media (max-width: 580px) {
  .glass-alert-modal {
    max-width: 100%;
    border-radius: 14px;
  }
  
  .glass-alert-body {
    padding: 1.25rem 1.25rem 1rem;
  }

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

  .glass-alert-receipt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

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

/* ==========================================================================
   UPGRADED TOAST NOTIFICATION CONTAINER & CARDS
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  pointer-events: none;
  max-width: 420px;
}

.toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.4rem;
  background: rgba(9, 25, 50, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(5, 13, 26, 0.35), 0 0 0 1px rgba(2, 132, 199, 0.25);
  font-size: 0.925rem;
  font-weight: 500;
  font-family: var(--font-primary);
  line-height: 1.5;
  overflow: hidden;
  animation: toastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.toast i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.toast-success i {
  color: #10B981;
}

.toast-error i {
  color: #F87171;
}

.toast-info i {
  color: #38BDF8;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan-glow), var(--accent-cyan));
  width: 100%;
  animation: toastTimer linear forwards;
}

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

@keyframes toastTimer {
  from { width: 100%; }
  to { width: 0%; }
}

@media (max-width: 580px) {
  .glass-alert-modal {
    padding: 2rem 1.4rem 1.6rem;
    border-radius: 20px;
  }
  
  .glass-alert-tracking-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .toast-container {
    inset-inline-start: 1rem;
    inset-inline-end: 1rem;
    bottom: 1.25rem;
    max-width: calc(100vw - 2rem);
  }
}

