/* ==========================================================================
   SyriaServe - Corporate & Live Tenders Design System
   Modern High-Trust Institutional Theme with Glassmorphism & Gold Accents
   ========================================================================== */

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

:root {
  /* Surface & Canvas Tokens */
  --bg-canvas: #060911;
  --bg-surface: #0B1120;
  --bg-surface-elevated: #111B32;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 36, 68, 0.9);
  --bg-glass: rgba(11, 17, 32, 0.85);
  --bg-drawer: #090E1A;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(229, 169, 60, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);
  
  /* Brand Palette */
  --gold-500: #E5A93C;
  --gold-400: #F3BF58;
  --gold-600: #C48721;
  --gold-glow: rgba(229, 169, 60, 0.22);

  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-glow: rgba(37, 99, 235, 0.25);

  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --ruby-500: #EF4444;
  --ruby-glow: rgba(239, 68, 68, 0.25);

  --amber-500: #F59E0B;

  /* Typography */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-accent: #E5A93C;
  
  /* Typography Families */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(6, 9, 17, 0) 70%);
  filter: blur(80px);
}
.ambient-glow::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.08) 0%, rgba(6, 9, 17, 0) 70%);
  filter: blur(100px);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.site-header .container {
  max-width: 1360px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-emblem-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(229, 169, 60, 0.4));
  transition: transform var(--transition-normal);
}

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

.emblem-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.28) 0%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

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

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.brand-title span.gold-gradient {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.05vw, 1.15rem);
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: clamp(0.79rem, 0.86vw, 0.88rem);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-badge-live {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
  line-height: 1.1;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px var(--gold-500);
}

.nav-sync-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
  animation: pulseBeacon 2s infinite;
}

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

.sync-title {
  color: var(--emerald-400);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.sync-sep {
  color: var(--border-medium);
}

.sync-count {
  color: var(--text-main);
  font-weight: 600;
}

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

/* ==========================================================================
   Live Market Ticker Marquee Ribbon
   ========================================================================== */
.market-ticker-banner {
  display: flex;
  align-items: center;
  background: rgba(6, 10, 20, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid rgba(229, 169, 60, 0.2);
  height: 42px;
  overflow: hidden;
  position: relative;
  z-index: 80;
}

.ticker-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.25rem;
  background: linear-gradient(90deg, #0e172e 0%, rgba(14, 23, 46, 0.9) 100%);
  border-right: 1px solid var(--border-gold);
  height: 100%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--gold-400);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.4);
}

.ticker-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 8px var(--gold-500);
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: tickerSlide 160s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-item:hover {
  color: var(--gold-400);
}

.ticker-sector-tag {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(229, 169, 60, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-400);
  border: 1px solid rgba(229, 169, 60, 0.2);
}

.ticker-item-countdown {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald-400);
  font-weight: 600;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: #060911;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.68rem 1.4rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px var(--gold-glow);
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 169, 60, 0.4);
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.68rem 1.4rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 4.25rem;
  overflow: hidden;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid var(--border-gold);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.hero-pill .pulse-beacon {
  flex-shrink: 0;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-500);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1.2;
  white-space: nowrap;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.65px;
  margin-top: 0.28rem;
}

/* Hero Right: Live Tenders Radar Card */
.hero-radar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(16, 185, 129, 0.05);
  position: relative;
  overflow: hidden;
}

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

.radar-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.radar-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-400);
  animation: radarBlink 1.8s infinite;
}

@keyframes radarBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* SOTA Revolving Radar Scope Screen */
.radar-scope-container {
  position: relative;
  width: 100%;
  height: 155px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, rgba(6, 9, 17, 0.85) 75%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.25);
  overflow: hidden;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 25px rgba(16, 185, 129, 0.08);
}

.radar-grid-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.22);
  pointer-events: none;
}
.radar-grid-circle.c1 { width: 45px; height: 45px; }
.radar-grid-circle.c2 { width: 95px; height: 95px; }
.radar-grid-circle.c3 { width: 145px; height: 145px; }

.radar-crosshair-h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(16, 185, 129, 0.15);
  pointer-events: none;
}

.radar-crosshair-v {
  position: absolute;
  height: 100%;
  width: 1px;
  background: rgba(16, 185, 129, 0.15);
  pointer-events: none;
}

.radar-sweep-beam {
  position: absolute;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(16, 185, 129, 0.4) 0deg, rgba(16, 185, 129, 0.08) 45deg, transparent 90deg);
  animation: sweepRotate 4s linear infinite;
  pointer-events: none;
}

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

.radar-blip {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-400), 0 0 18px var(--gold-glow);
  animation: blipGlow 2.5s infinite;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.radar-blip:hover {
  transform: scale(1.6);
}

@keyframes blipGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.radar-blip-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  transform: translate(11px, -4px);
  pointer-events: none;
  font-weight: 600;
}

.radar-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mini-tender-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.mini-tender-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.mini-tender-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.mini-tender-issuer {
  color: var(--gold-400);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.mini-tender-date {
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.mini-tender-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Live Syrian Tenders Section
   ========================================================================== */
.tenders-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-surface) 50%, var(--bg-canvas) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold-500);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* Search & Filter Toolbar */
.tender-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(16px);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.search-box-wrap {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.85rem 5rem 0.85rem 3rem;
  font-size: 0.98rem;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 16px var(--gold-glow);
  background: rgba(255, 255, 255, 0.07);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.search-shortcut-hint {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 0.9rem;
  display: none;
}
.search-clear-btn:hover {
  color: var(--text-main);
}

.toolbar-controls-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}

.filter-categories {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--gold-500);
  color: #060911;
  border-color: var(--gold-500);
  font-weight: 700;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.filter-count {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.filter-btn.active .filter-count {
  background: rgba(0, 0, 0, 0.25);
  color: #060911;
}

/* Dual View & Sort Controls */
.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.sort-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans);
  cursor: pointer;
}
.sort-select:focus {
  border-color: var(--gold-500);
}

.view-mode-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.view-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--gold-400);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.view-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Tenders Grid */
.tenders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 1.75rem;
}

.tender-card {
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(229, 169, 60, 0.08), transparent 40%), var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.tender-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 24px var(--gold-glow);
}

/* Institutional Table / List View */
.tenders-table-wrap,
#tenders-table-wrap {
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 66.66vh;
  max-height: 66.66vh;
  overflow-y: auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;

  /* Modern Dark Scrollbar Styling (Firefox & W3C Standard) */
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) rgba(255, 255, 255, 0.05);
}

/* Modern Dark Scrollbar Styling (WebKit / Blink: Chrome, Safari, Edge) */
.tenders-table-wrap::-webkit-scrollbar,
#tenders-table-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.tenders-table-wrap::-webkit-scrollbar-track,
#tenders-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.tenders-table-wrap::-webkit-scrollbar-thumb,
#tenders-table-wrap::-webkit-scrollbar-thumb {
  background: var(--gold-400);
  border-radius: var(--radius-sm);
  border: 2px solid rgba(11, 17, 32, 0.8);
  transition: background var(--transition-fast);
}

.tenders-table-wrap::-webkit-scrollbar-thumb:hover,
#tenders-table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

.tenders-table-wrap::-webkit-scrollbar-corner,
#tenders-table-wrap::-webkit-scrollbar-corner {
  background: rgba(11, 17, 32, 0.8);
}

.tenders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.88rem;
  min-width: 780px;
}

.tenders-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.tenders-table th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0B1120;
  padding: 0.85rem 0.9rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
  box-shadow: 0 1px 0 var(--border-medium);
}

.tenders-table thead tr th:first-child {
  border-top-left-radius: var(--radius-lg);
}

.tenders-table thead tr th:last-child {
  border-top-right-radius: var(--radius-lg);
}

.tenders-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  vertical-align: middle;
}

.tenders-table tbody tr {
  transition: background var(--transition-fast);
  cursor: pointer;
}

.tenders-table tbody tr:hover {
  background: rgba(229, 169, 60, 0.04);
}

.table-cell-ref {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-400);
  font-size: 0.82rem;
  white-space: nowrap;
}

.table-cell-title {
  font-weight: 600;
  color: var(--text-main);
  max-width: 260px;
  min-width: 170px;
  line-height: 1.4;
  word-break: break-word;
}

.table-cell-issuer {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: normal;
  max-width: 210px;
  min-width: 130px;
  word-break: break-word;
}

.table-cell-bond {
  font-family: var(--font-mono);
  font-size: 0.80rem;
  color: var(--text-main);
  line-height: 1.4;
  white-space: normal;
  max-width: 190px;
  min-width: 120px;
  word-break: break-word;
}

.table-cell-deadline {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #F87171;
  font-weight: 700;
  white-space: nowrap;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast-message {
  background: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-500);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
  color: var(--text-main);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

.btn-copy-ref {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}
.btn-copy-ref:hover {
  color: var(--gold-400);
}

.tender-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-500));
}

.tender-card-header {
  margin-bottom: 1rem;
}

.tender-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.source-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.source-tier-badge.tier-multilateral {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.source-tier-badge.tier-state {
  background: rgba(229, 169, 60, 0.14);
  color: var(--gold-400);
  border: 1px solid rgba(229, 169, 60, 0.38);
}

.source-tier-badge.tier-ingo {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-400);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.source-tier-badge.tier-syndicated {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.table-source-tag {
  display: inline-block;
  margin-top: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 1px 6px;
  border-radius: 4px;
}

.drawer-provenance-panel {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-provenance-panel.tier-state {
  background: rgba(229, 169, 60, 0.07);
  border-color: rgba(229, 169, 60, 0.32);
}

.drawer-provenance-panel.tier-ingo {
  background: rgba(59, 130, 246, 0.07);
  border-color: rgba(59, 130, 246, 0.32);
}

.drawer-provenance-panel.tier-syndicated {
  background: rgba(148, 163, 184, 0.06);
  border-color: rgba(148, 163, 184, 0.25);
}

.drawer-provenance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.drawer-provenance-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.btn-verify-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.72rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(229, 169, 60, 0.14);
  border: 1px solid rgba(229, 169, 60, 0.45);
  color: var(--gold-400);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-verify-primary:hover {
  background: rgba(229, 169, 60, 0.24);
  border-color: var(--gold-400);
  color: #FFFFFF;
}

.badge-sector {
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-400);
  border: 1px solid var(--border-medium);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.badge-urgency {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.badge-urgency.high {
  background: rgba(239, 68, 68, 0.16);
  color: #F87171;
  border: 1px solid var(--ruby-glow);
}

.badge-urgency.medium {
  background: rgba(245, 158, 11, 0.16);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-urgency.low {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-400);
  border: 1px solid var(--border-emerald);
}

.tender-issuer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tender-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.tender-title-ar {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
  border-right: 2px solid var(--gold-500);
  padding-right: 0.6rem;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tender-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.meta-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.meta-field-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.meta-field-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tender-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-card-action {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-400);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-card-action:hover {
  color: var(--gold-500);
  transform: translateX(4px);
}

/* ==========================================================================
   Tender Detail Slide-Out Drawer (Bilingual Inspection)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease, visibility 0.3s linear;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tender-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 680px;
  height: 100vh;
  background: var(--bg-drawer);
  border-left: 1px solid var(--border-medium);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-backdrop.active .tender-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.drawer-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background: rgba(229, 169, 60, 0.15);
  color: var(--gold-400);
  border: 1px solid var(--border-gold);
}

.drawer-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.drawer-spec-table th, .drawer-spec-table td {
  padding: 0.9rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.drawer-spec-table th {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  width: 35%;
}

.drawer-spec-table td {
  color: var(--text-main);
  font-weight: 500;
}

.drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   Core Sectors & Services Showcase
   ========================================================================== */
.sectors-section {
  padding: 5.5rem 0;
  position: relative;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition-smooth);
}

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

.sector-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.sector-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.sector-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sector-bullet-list {
  list-style: none;
}

.sector-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.sector-bullet-item::before {
  content: '▸';
  color: var(--gold-500);
  font-size: 0.9rem;
}

/* ==========================================================================
   Bidding FAQ & International Contracting Section
   ========================================================================== */
.faq-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.faq-item:hover {
  border-color: rgba(229, 169, 60, 0.4);
  background: var(--bg-card-hover);
}

.faq-item[open] {
  border-color: rgba(229, 169, 60, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold-400);
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}

.faq-answer strong {
  color: var(--gold-300);
  font-weight: 600;
}

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


.contact-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--emerald-400);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-glow);
  background: rgba(255, 255, 255, 0.07);
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-copy {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Responsive Media Queries */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 10, 20, 0.98);
  backdrop-filter: blur(24px);
  z-index: 2000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s linear;
}

.mobile-nav-drawer.active {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

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

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--gold-400);
}

.sectors-grid--4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.sectors-grid--4col .sector-card {
  padding: 1.75rem;
}

.insights-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}

.insights-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Governance, KYC Due Diligence & Nov 2026 Compliance Matrix (#governance)
   ========================================================================== */
.governance-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.gov-top-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

.gov-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
}

.gov-card--registry {
  border-color: rgba(229, 169, 60, 0.35);
  box-shadow: var(--shadow-md), 0 0 28px rgba(229, 169, 60, 0.06);
}

.gov-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.gov-card-eyebrow--gold {
  color: var(--gold-400);
  background: rgba(229, 169, 60, 0.12);
  border-color: rgba(229, 169, 60, 0.35);
}

.gov-card-title {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.gov-card-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.gov-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.gov-fact-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}

.gov-fact-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.gov-fact-val {
  display: block;
  font-size: 0.86rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.45;
}

.gov-fact-item--full {
  grid-column: 1 / -1;
}

.gov-charter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.gov-charter-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.gov-charter-item strong {
  color: var(--text-main);
}

.gov-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.75rem 0 1.25rem;
}

.gov-subhead h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.gov-subhead span {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--gold-400);
  font-weight: 700;
}

.gov-kyc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gov-kyc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: var(--transition-fast);
}

.gov-kyc-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.gov-kyc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(229, 169, 60, 0.14);
  border: 1px solid rgba(229, 169, 60, 0.35);
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.gov-kyc-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.gov-kyc-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.gov-regulatory-banner {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

.gov-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gov-matrix-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gov-matrix-card--wide {
  grid-column: 1 / -1;
}

.gov-matrix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gov-matrix-head strong {
  font-size: 0.94rem;
  color: var(--text-main);
}

.gov-matrix-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.gov-matrix-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.gov-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gov-roadmap-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.45rem;
}

.gov-roadmap-phase {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.gov-roadmap-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.gov-roadmap-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1480px) {
  .nav-sync-indicator .sync-title,
  .nav-sync-indicator .sync-sep {
    display: none;
  }
}

@media (max-width: 1320px) {
  .nav-sync-indicator {
    display: none;
  }
}

@media (max-width: 1240px) {
  .sectors-grid--4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero-grid, .contact-grid, .footer-grid, .gov-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .gov-kyc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .insights-feature-grid, .gov-roadmap-grid, .gov-matrix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .tenders-grid {
    grid-template-columns: 1fr;
  }
  .ticker-badge {
    padding: 0 0.85rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 660px) {
  #header-cta-btn {
    display: none;
  }
}

@media (max-width: 600px) {
  .sectors-grid, .sectors-grid--4col, .gov-facts-grid, .gov-kyc-grid, .insights-pillars-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 3rem 0 3.25rem;
  }
  .hero-pill {
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .brand-emblem-img {
    height: 36px;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-tagline {
    font-size: 0.56rem;
    letter-spacing: 0.35px;
  }
  .tender-card {
    padding: 1.25rem;
  }
  .insights-feature-grid, .gov-card, .contact-info-card {
    padding: 1.35rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .drawer-header {
    padding: 1rem 1.25rem;
  }
  .drawer-body {
    padding: 1.25rem;
  }
  .drawer-spec-table th, .drawer-spec-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }
  .tender-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .filter-pills {
    gap: 0.35rem;
  }
  .filter-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }
  .modal-container {
    padding: 1.5rem;
    margin: 1rem;
    max-width: 100%;
  }
}


/* ==========================================================================
   Split-Pane Master-Detail Procurement Terminal & Paginated Grid
   ========================================================================== */
.tenders-terminal {
  display: grid;
  grid-template-columns: minmax(340px, 40%) minmax(0, 60%);
  height: clamp(560px, 72vh, 820px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.terminal-master-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  min-height: 0;
}

.terminal-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-kbd-hint {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.terminal-list {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) rgba(255, 255, 255, 0.04);
}

.terminal-row {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background var(--transition-fast);
  border-left: 3px solid transparent;
}

.terminal-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.terminal-row.active {
  background: rgba(229, 169, 60, 0.09);
  border-left-color: var(--gold-500);
}

.terminal-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.terminal-row-ref {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-400);
  font-weight: 700;
}

.terminal-row-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.terminal-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.terminal-pager,
.tenders-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tenders-pagination {
  margin-top: 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.pager-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.pager-btn:hover:not(:disabled) {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.terminal-detail-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg-drawer);
}

.terminal-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.65rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) rgba(255, 255, 255, 0.04);
}

.terminal-detail-footer {
  padding: 0.95rem 1.65rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 1023px) {
  .tenders-terminal {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 75vh;
  }
  .terminal-detail-pane {
    display: none;
  }
}

/* ==========================================================================
   Dismissable Informational Section Overlays (Landing Page Mode)
   ========================================================================== */
body[data-page-mode="landing"] section[data-overlay-section] {
  display: none;
}

body[data-page-mode="landing"] #info-overlay-body > section[data-overlay-section] {
  display: block;
  padding: 0 !important;
  border-top: none !important;
  background: transparent !important;
}

body[data-page-mode="landing"] #info-overlay-body > section[data-overlay-section] > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.info-overlay-panel {
  max-width: min(960px, 95vw) !important;
}

.info-overlay-permalink {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold-400);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
}

.info-overlay-permalink:hover {
  background: rgba(229, 169, 60, 0.12);
}
