/* ==========================================================================
   BIN WATHAB GENERAL CONTRACTING - MASTER STYLESHEET
   Aesthetic: Ultra-Luxurious Engineering & Heavy Civil Contracting
   Security: Zero external assets, safe inline vectors, high-performance CSS
   ========================================================================== */

:root {
  /* Core Colors */
  --bg-dark: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  /* Primary & Accent Tones (Construction Amber & Deep Industrial Gold) */
  --primary: #f59e0b;
  --primary-light: #fbbf24;
  --primary-dark: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.25);
  
  /* Secondary Accent (Civil Engineering Blueprint Cyan) */
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.2);

  /* Neutrals & Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(245, 158, 11, 0.2);
  --border-card-hover: rgba(245, 158, 11, 0.5);

  /* Typography */
  --font-arabic: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-english: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px var(--primary-glow);

  /* Layout */
  --max-width: 1240px;
  --header-height: 84px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* English / LTR mode adjustments */
html[dir="ltr"] body {
  font-family: var(--font-english);
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

/* Ambient Background Lights & Blueprint Grid */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glassmorphism panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-card);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(245, 158, 11, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-emblem {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px var(--primary-glow));
  transition: var(--transition-smooth);
}

.brand-identity:hover .logo-emblem {
  transform: rotate(15deg) scale(1.05);
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.08em;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(245, 158, 11, 0.08);
}

.nav-link.active {
  color: var(--primary-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-switch-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-1px);
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.mobile-toggle-btn .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Mobile Drawer Navigation
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg-surface);
  border-inline-start: 1px solid var(--border-subtle);
  z-index: 105;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .mobile-drawer {
  left: 0;
  transform: translateX(-100%);
}

html[dir="ltr"] .mobile-drawer {
  right: 0;
  transform: translateX(100%);
}

.mobile-drawer.open {
  transform: translateX(0) !important;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.drawer-title {
  font-weight: 700;
  color: var(--primary-light);
  font-size: 1rem;
}

.drawer-close-btn {
  font-size: 1.3rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.drawer-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: block;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #0b132b;
  box-shadow: 0 4px 20px var(--primary-glow);
  border: 1px solid var(--primary-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

/* Blueprint Visual Card */
.blueprint-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(11, 19, 43, 0.9));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(56, 189, 248, 0.1);
  position: relative;
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
}

.bp-code {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.bp-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.blueprint-graphic {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.05) 0%, transparent 80%);
  padding: 1rem 0;
}

.bp-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.15));
}

/* ==========================================================================
   Section Commons
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-badge {
  text-align: center;
  margin-bottom: 0.8rem;
}

.sec-badge-pill {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   Section 1: About Us
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.about-card {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.pillar-box {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: var(--transition-smooth);
}

.pillar-box:hover {
  border-color: var(--primary);
  background: rgba(17, 24, 39, 0.85);
  transform: translateY(-2px);
}

.pillar-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  font-family: monospace;
}

.pillar-content h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.pillar-content p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   Section 2: Vision & Mission
   ========================================================================== */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.strategic-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.strategic-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 20px var(--primary-glow);
  transform: translateY(-3px);
}

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

.strategic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.strategic-icon {
  font-size: 2.2rem;
}

.strategic-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.strategic-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.strategic-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.strategic-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.s-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.s-check {
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

.motto-banner {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.motto-quote-icon {
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.5;
}

.motto-content {
  flex-grow: 1;
}

.motto-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.motto-en {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.04em;
}

.motto-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0b132b;
  background: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 3: Quality & Safety
   ========================================================================== */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.quality-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}

.q-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.q-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

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

.commitment-box {
  padding: 2.2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(17, 24, 39, 0.9));
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-align: center;
}

.c-head {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.c-tag {
  font-size: 0.88rem;
  font-weight: 800;
  color: #34d399;
}

.c-text {
  font-size: 1.1rem;
  color: var(--text-main);
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.8;
  font-style: italic;
}

/* ==========================================================================
   Section 6: Organizational Structure
   ========================================================================== */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-level {
  width: 100%;
  display: flex;
  justify-content: center;
}

.org-node {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.org-node:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.leader-node {
  max-width: 600px;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.1), rgba(17, 24, 39, 0.9));
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.node-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.8rem;
}

.leader-node .node-badge {
  background: var(--primary);
  color: #0b132b;
}

.dept-eng { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); border: 1px solid rgba(56, 189, 248, 0.3); }
.dept-proj { background: rgba(245, 158, 11, 0.15); color: var(--primary); border: 1px solid rgba(245, 158, 11, 0.3); }
.dept-qc { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.dept-fin { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }

.node-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

.org-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), var(--border-subtle));
  margin: 0.5rem auto;
}

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

/* ==========================================================================
   Section 7: Contact (Centered Single Card)
   ========================================================================== */
.contact-single-card {
  max-width: 580px;
  margin-inline: auto;
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
}

.c-info-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.c-info-icon {
  font-size: 2.4rem;
}

.c-info-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.c-info-subtitle {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
}

.single-phone-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.single-phone-item .ch-icon {
  font-size: 2rem;
}

.ch-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ch-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.ch-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-light);
}

.ltr-text {
  direction: ltr;
  text-align: start;
}

.btn-copy-mini {
  padding: 0.55rem 1.1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-light);
}

.btn-copy-mini:hover {
  background: var(--primary);
  color: #0b132b;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #080c16;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.footer-brief {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.8;
}

.footer-heading {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
}

.f-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.f-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.f-link:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

html[dir="ltr"] .f-link:hover {
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
}

.back-to-top:hover {
  background: var(--primary);
  color: #0b132b;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  background: #0f172a;
  border: 1px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 250;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #0b132b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 580px;
    margin-inline: auto;
  }

  .about-grid, .pillars-row {
    grid-template-columns: 1fr;
  }


  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .level-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

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

  .motto-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .level-2 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .single-phone-item {
    flex-direction: column;
    text-align: center;
  }

  .ltr-text {
    text-align: center;
  }

  .toast-notification {
    inset-inline: 1rem;
    bottom: 1rem;
    justify-content: center;
  }
}
