/* ============================================================
   HANTECH ENGINEERING & TECHNOLOGY — Executive Geospatial Design System
   Primary Font: Plus Jakarta Sans | Body Font: Inter | Mono: JetBrains Mono
   Theme: High-Tech Cyber Dark (#030712 / #0f172a) & Electric Cyan (#00f2fe)
   ============================================================ */

/* --- CSS Custom Properties / Design Tokens ----------------- */
:root {
  /* Typography */
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Theme Palette - Deep Space & Electric Cyan */
  --bg-base: #030712;
  --bg-surface: #0a1120;
  --bg-card: #0f172a;
  --bg-card-hover: #162238;
  --bg-elevated: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.78);
  --bg-glass-card: rgba(15, 23, 42, 0.65);

  /* Primary Accent Colors */
  --cyan: #00f2fe;
  --cyan-light: #38bdf8;
  --cyan-dark: #0284c7;
  --cyan-dim: rgba(0, 242, 254, 0.1);
  --cyan-glow: rgba(0, 242, 254, 0.3);

  --gold: #fbbf24;
  --gold-dark: #d97706;
  --gold-dim: rgba(251, 191, 36, 0.12);
  --gold-glow: rgba(251, 191, 36, 0.25);

  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.12);
  --indigo: #6366f1;
  --rose: #f43f5e;

  /* Gradients */
  --grad-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --grad-dark: linear-gradient(180deg, #030712 0%, #0a1120 100%);
  --grad-surface: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 17, 32, 0.95) 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(3, 7, 18, 0.5) 0%, rgba(3, 7, 18, 0.82) 65%, #030712 100%);

  /* Text Hierarchy */
  --txt-primary: #f8fafc;
  --txt-secondary: #94a3b8;
  --txt-muted: #64748b;
  --txt-accent: #00f2fe;

  /* Borders & Shadows */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-cyan: rgba(0, 242, 254, 0.35);
  --border-gold: rgba(251, 191, 36, 0.35);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 0 35px rgba(0, 242, 254, 0.25);
  --shadow-gold: 0 0 35px rgba(251, 191, 36, 0.25);

  /* Radii & Transitions */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Quadcopter Drone Icon Matching FontAwesome PRO */
.drone-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M464 96h-48a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V112a16 16 0 0 0-16-16zM112 96H64a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V112a16 16 0 0 0-16-16zm352 288h-48a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16zm-352 0H64a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16zM256 160a96 96 0 1 0 96 96 96.1 96.1 0 0 0-96-96zm0 144a48 48 0 1 1 48-48 48.05 48.05 0 0 1-48 48z'/%3E%3Cpath fill='currentColor' d='M112 48a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32zm288-96a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32zM112 336a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32zm288-96a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32z'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M464 96h-48a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V112a16 16 0 0 0-16-16zM112 96H64a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V112a16 16 0 0 0-16-16zm352 288h-48a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16zm-352 0H64a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16zM256 160a96 96 0 1 0 96 96 96.1 96.1 0 0 0-96-96zm0 144a48 48 0 1 1 48-48 48.05 48.05 0 0 1-48 48z'/%3E%3Cpath fill='currentColor' d='M112 48a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32zm288-96a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32zM112 336a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32zm288-96a64 64 0 1 0 64 64 64.07 64.07 0 0 0-64-64zm0 96a32 32 0 1 1 32-32 32.03 32.03 0 0 1-32 32z'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--txt-primary);
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: -0.011em;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.04) 0%, transparent 40%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  color: var(--txt-secondary);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Layout Utility -------------------------------------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--txt-secondary);
}

/* Page Hero Header Banner with Background Image */
img, .sector-card-bg, .page-hero-header {
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-card-img, .project-img, .gallery-card img, .sector-card-bg, .page-hero-header {
  filter: contrast(1.04) saturate(1.08) brightness(1.02);
}

.page-hero-header {
  position: relative;
  padding: 85px 0 65px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-cyan);
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.65) 0%, rgba(3, 7, 18, 0.88) 70%, #030712 100%);
  z-index: 1;
}

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

.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--txt-secondary);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 24px;
}

.page-hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--r-full);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--txt-muted);
}

.page-hero-breadcrumbs a {
  color: var(--cyan);
  text-decoration: none;
}

.page-hero-breadcrumbs a:hover {
  color: #ffffff;
}

.text-gradient-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-md);
  background: var(--grad-cyan);
  color: #030712;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35);
  transition: var(--transition);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.5);
  color: #030712;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--txt-primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan);
}

/* Small button variant */
.btn-sm {
  padding: 9px 18px !important;
  font-size: 0.85rem !important;
  gap: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  border-radius: var(--r-md) !important;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-md);
  background: var(--grad-gold);
  color: #030712;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.5);
}

/* --- Sleek Executive Top Bar ----------------------------- */
.top-bar {
  background: #02050b;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--txt-secondary);
  position: relative;
  z-index: 1001;
}

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

.top-bar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  padding: 4px 14px;
  border-radius: var(--r-full);
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--txt-secondary);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.top-contact-item i {
  color: var(--cyan);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.top-contact-item:hover {
  color: #ffffff;
}

.top-contact-item:hover i {
  transform: scale(1.15);
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-social-links a {
  color: var(--txt-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.top-social-links a:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

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

.navbar-header.scrolled {
  background: rgba(3, 7, 18, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(0, 242, 254, 0.2);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 105px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 85px;
  max-height: 95px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--txt-primary);
  padding: 8px 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-cyan);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > .nav-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.nav-dropdown:hover > .nav-link i {
  transform: rotate(180deg);
}

/* --- Executive Mega Menu System -------------------------- */
.nav-dropdown.has-mega-menu {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
  pointer-events: none;
}

/* Invisible Hover Bridge between Navbar & Mega Panel */
.mega-menu-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 35px;
  background: transparent;
  pointer-events: auto;
}

.nav-dropdown.has-mega-menu:hover .mega-menu-wrapper,
.mega-menu-wrapper:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.mega-menu-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px;
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.98) 0%, rgba(3, 7, 18, 0.99) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--r-xl);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 242, 254, 0.15);
}

.mega-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.mega-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 6px;
}

.mega-main-title {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mega-header-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.mega-header-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.mega-body-grid {
  display: grid;
  grid-template-columns: 2.6fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.mega-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mega-cards-grid.mega-3col {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.mega-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-fast);
  text-decoration: none;
}

.mega-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.05) 100%);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.mega-card-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mega-card-title {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-card-desc {
  font-size: 0.78rem;
  color: var(--txt-muted);
  line-height: 1.35;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-card:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--border-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.18);
}

.mega-card:hover .mega-card-icon {
  background: var(--cyan);
  color: #030712;
  box-shadow: 0 0 16px var(--cyan);
  transform: scale(1.08);
}

.mega-card:hover .mega-card-title {
  color: var(--cyan);
}

/* Mega Menu Featured Promo Card */
.mega-featured-card {
  position: relative;
  height: 100%;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-cyan);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.mega-featured-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.4) 0%, rgba(3, 7, 18, 0.92) 100%);
  z-index: 1;
}

.mega-featured-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}

.featured-badge.gold-badge {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: var(--border-gold);
}

.mega-featured-content h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.mega-featured-content p {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 18px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--txt-primary);
  padding: 8px;
}

/* --- Hero Slider & Scanning Effects ----------------------- */
.hero-slider {
  position: relative;
  height: 78vh;
  min-height: 560px;
  max-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #030712;
}

/* High-Tech LiDAR Scanning Laser Beam Animation */
.hero-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #00f2fe 50%, transparent 100%);
  box-shadow: 0 0 15px #00f2fe, 0 0 35px #00f2fe, 0 0 50px rgba(0, 242, 254, 0.8);
  animation: laserScanSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.22) 0%, transparent 100%);
  animation: laserScanSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes laserScanSweep {
  0% {
    transform: translateY(-10px);
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(720px);
    opacity: 0.2;
  }
}

/* Perspective Cyber Grid Overlay Animation */
.cyber-grid-overlay {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 70%;
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.12) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
  transform: perspective(600px) rotateX(55deg) scale(1.4);
  animation: cyberGridMove 10s linear infinite;
}

@keyframes cyberGridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 45px;
  }
}

/* HUD Corner Target Reticles */
.hud-frame {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--cyan);
  opacity: 0.75;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  animation: hudPulse 2s ease-in-out infinite alternate;
}

.hud-corner.top-left {
  top: 0; left: 0;
  border-right: none;
  border-bottom: none;
}

.hud-corner.top-right {
  top: 0; right: 0;
  border-left: none;
  border-bottom: none;
}

.hud-corner.bottom-left {
  bottom: 0; left: 0;
  border-right: none;
  border-top: none;
}

.hud-corner.bottom-right {
  bottom: 0; right: 0;
  border-left: none;
  border-top: none;
}

@keyframes hudPulse {
  0% { opacity: 0.4; }
  100% { opacity: 0.95; }
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.4) 0%, rgba(3, 7, 18, 0.65) 60%, rgba(3, 7, 18, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 820px;
  padding: 40px 0;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--cyan);
  color: #030712;
  box-shadow: var(--shadow-cyan);
  transform: scale(1.08);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 36px;
  border-radius: 12px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* --- Stats & Telemetry Dashboard Bar --------------------- */
.stats-section {
  position: relative;
  z-index: 20;
  margin-top: -40px;
}

.stats-bar-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 14, 26, 0.98) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--border-cyan) 50%, transparent 100%);
}

.stat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.stat-number-wrap {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix,
.stat-unit {
  font-size: 1.2rem;
  color: var(--cyan);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--txt-secondary);
  font-weight: 500;
}

/* --- Services Grid & Cards ------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-cyan);
  opacity: 0;
  transition: var(--transition-fast);
}

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

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

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-icon {
  background: var(--cyan);
  color: #030712;
  box-shadow: 0 0 20px var(--cyan);
}

.service-card-title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--txt-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features-list {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.service-features-list li i {
  color: var(--cyan);
  font-size: 0.82rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cyan);
  transition: var(--transition-fast);
}

.service-card-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* --- Why Hantech Feature Cards --------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-cyan);
  opacity: 0;
  transition: var(--transition-fast);
}

.why-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), var(--shadow-cyan);
}

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

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  transition: var(--transition-fast);
}

.why-card:hover .why-card-icon {
  background: var(--cyan);
  color: #030712;
  box-shadow: 0 0 22px var(--cyan);
  transform: scale(1.08);
}

.why-card-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.why-card-desc {
  font-size: 0.92rem;
  color: var(--txt-secondary);
  line-height: 1.55;
  margin: 0;
}

/* --- Sectors Industry Grid & Cards ----------------------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.sector-card {
  position: relative;
  height: 280px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.sector-card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.2) 0%, rgba(3, 7, 18, 0.88) 100%);
  transition: var(--transition-fast);
}

.sector-card-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 28px;
  z-index: 2;
}

.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.sector-title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 6px;
}

/* --- Founder & CEO Executive Section --------------------- */
.founder-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 14, 26, 0.98) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 242, 254, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.founder-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.founder-img-box {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--cyan) 0%, #4facfe 100%);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.founder-img-box:hover {
  transform: scale(1.05);
}

.founder-img-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.founder-name {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 4px;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 16px;
}

.founder-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.founder-social-btn:hover {
  background: var(--cyan);
  color: #030712;
  box-shadow: 0 0 15px var(--cyan);
  transform: translateY(-2px);
}

.founder-bio-col {
  position: relative;
  z-index: 2;
}

.founder-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.founder-bio-text {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-cta-box {
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.founder-cta-text {
  font-size: 0.9rem;
  color: var(--txt-secondary);
  margin: 0;
  max-width: 500px;
}

.sector-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
}

.sector-card:hover .sector-card-bg {
  transform: scale(1.08);
}

.sector-card:hover .sector-icon {
  background: var(--cyan);
  color: #030712;
  box-shadow: 0 0 15px var(--cyan);
}

/* --- Projects Portfolio Cards ---------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.project-content {
  padding: 28px;
}

.project-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--txt-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-6px);
  box-shadow: var(--shadow-cyan);
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

/* --- Clients & Partners Marquee Slider ------------------- */
.clients-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 8px 0;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-track.reverse {
  animation: marqueeScrollReverse 40s linear infinite;
}

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

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

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

.client-marquee-card {
  width: 175px;
  height: 88px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
}

.client-marquee-card img {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: var(--transition-fast);
}

.client-marquee-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
  transform: translateY(-2px) scale(1.04);
}

.client-marquee-card:hover img {
  transform: scale(1.05);
}

/* --- Global Project Locations & Footprint Map ------------ */
.world-map-section-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 14, 26, 0.98) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.world-map-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  background: #030712;
  margin-bottom: 28px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.world-map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) contrast(1.15);
}

.map-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.map-pin-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.4);
  animation: pinPulse 2s ease-out infinite;
}

.map-pin-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  border: 2px solid #ffffff;
}

@keyframes pinPulse {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.map-tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(8, 14, 26, 0.96);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-md);
  padding: 10px 16px;
  min-width: 170px;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 242, 254, 0.25);
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}

.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--border-cyan);
}

.tooltip-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--cyan);
  margin-bottom: 2px;
}

.tooltip-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.map-pin:hover .map-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.map-location-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.location-chip:hover {
  background: var(--cyan-dim);
  border-color: var(--border-cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* --- Footer Section -------------------------------------- */
.footer-section {
  background: #02050d;
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
  color: var(--txt-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin: 18px 0 24px;
  font-size: 0.95rem;
}

.cert-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cert-chip {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--txt-secondary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
}

.footer-logo-img {
  height: 85px;
  max-height: 95px;
  width: auto;
  object-fit: contain;
}

.footer-bio-text {
  margin: 18px 0 24px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--txt-secondary);
}

.footer-contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--txt-secondary);
}

.footer-contact-list i {
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--txt-secondary);
  transition: var(--transition-fast);
}

.footer-contact-list a:hover {
  color: var(--cyan);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-link {
  color: var(--txt-muted);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--cyan);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: var(--cyan);
  color: #030712;
  box-shadow: var(--shadow-cyan);
}

/* --- Body Scroll Lock for Mobile Navigation -------------- */
body.nav-lock {
  overflow: hidden !important;
  height: 100vh;
}

/* Mobile Nav Backdrop Layer */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Global Responsive Overflow & Touch Protection */
img, video, canvas, iframe, table {
  max-width: 100%;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* --- Form Controls & Alert Styling ----------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--txt-primary);
  letter-spacing: 0.01em;
}

.form-control,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-control::placeholder {
  color: var(--txt-muted);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--cyan);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300f2fe' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 42px;
  cursor: pointer;
}

.form-select option {
  background: #0f172a;
  color: #ffffff;
  padding: 12px;
}

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

.alert-box {
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.alert-success {
  background: var(--emerald-dim);
  border: 1px solid var(--emerald);
  color: #34d399;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.alert-danger {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid var(--rose);
  color: #fb7185;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.15);
}

/* --- Responsive Media Queries Breakdown ------------------- */

/* 1. Large Tablets & Small Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .nav-menu {
    gap: 20px;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  .hero-slider {
    height: 65vh;
    min-height: 500px;
  }
}

/* 2. Tablets & Mobile Navigation Trigger (max-width: 992px) */
@media (max-width: 992px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .telemetry-ticker {
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .top-contact-info {
    gap: 16px;
    font-size: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .top-social-links {
    justify-content: center;
  }

  .navbar-container {
    height: 80px;
  }
  .brand-logo-img {
    height: 52px;
  }
}

/* ================================================================
   MOBILE NAVIGATION — COMPLETE CLEAN DESIGN
   ================================================================ */

/* Base: hide mobile-only elements on desktop */
.mobile-toggle,
.mobile-drawer-top,
.mobile-drawer-footer {
  display: none;
}

/* Backdrop overlay */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
}
.mobile-nav-backdrop.active {
  display: block;
}

/* Body lock when drawer open */
body.nav-lock {
  overflow: hidden !important;
}

/* ================================================================
   @media max-width 992px — Tablets & mobile
   ================================================================ */
@media (max-width: 992px) {

  /* 1. Hide top contact bar */
  .top-bar {
    display: none !important;
  }

  /* 2. Navbar height */
  .navbar-header {
    position: fixed !important;
    top: 0 !important;
    z-index: 9100 !important;
  }

  .navbar-container {
    height: 64px;
    padding: 0 16px;
  }

  .brand-logo-img {
    height: 42px;
  }

  /* 3. Get In Touch button — hide on mobile */
  .nav-actions .btn-primary {
    display: none !important;
  }

  /* 4. Show hamburger toggle */
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: 1.5px solid rgba(0, 242, 254, 0.5);
    color: #00f2fe;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 9200;
  }

  .mobile-toggle:hover,
  .mobile-toggle.active {
    background: rgba(0, 242, 254, 0.12);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
  }

  /* 5. Drawer — full screen slide from right */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 320px !important;
    height: 100vh !important;
    max-height: 100vh !important;

    /* Solid dark navy background — no blur tricks */
    background: #0a0f1e !important;
    border-left: 1px solid rgba(0, 242, 254, 0.2) !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    gap: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;

    z-index: 9500 !important;

    /* Slide off screen to the right */
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-menu.nav-open {
    transform: translateX(0) !important;
  }

  /* 6. Drawer header */
  .mobile-drawer-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #060c1a;
    border-bottom: 1px solid rgba(0, 242, 254, 0.15);
    flex-shrink: 0;
  }

  .mobile-drawer-brand {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .mobile-drawer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
  }

  .mobile-drawer-tagline {
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    color: #00f2fe;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .mobile-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
  }

  .mobile-drawer-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
  }

  /* 7. Nav links inside drawer */
  .nav-menu > .nav-link,
  .nav-menu > .nav-dropdown > .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #f0f4ff !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: background 0.2s, color 0.2s, padding-left 0.2s !important;
    text-decoration: none !important;
    cursor: pointer !important;
    width: 100% !important;
  }

  .nav-menu > .nav-link::after {
    display: none !important;
  }

  .nav-menu > .nav-link:hover,
  .nav-menu > .nav-dropdown > .nav-link:hover {
    background: rgba(0, 242, 254, 0.06) !important;
    color: #00f2fe !important;
    padding-left: 26px !important;
  }

  .nav-menu > .nav-link.active,
  .nav-menu > .nav-dropdown > .nav-link.active {
    color: #00f2fe !important;
    background: rgba(0, 242, 254, 0.08) !important;
    border-left: 3px solid #00f2fe !important;
  }

  /* 8. Dropdown arrow */
  .nav-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
  }

  .nav-dropdown.active > .nav-link .nav-arrow {
    transform: rotate(180deg);
    color: #00f2fe;
  }

  /* 9. Dropdown container — block on mobile, not flex */
  .nav-dropdown,
  .nav-dropdown.has-mega-menu {
    position: relative !important;
    display: block !important;
    height: auto !important;
    align-items: unset !important;
    width: 100% !important;
  }

  /* 9a. Sub-menu accordion wrapper — hidden by default */
  .mega-menu-wrapper {
    position: relative !important;
    display: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }

  /* Kill the invisible 35px hover bridge on mobile */
  .mega-menu-wrapper::before {
    display: none !important;
  }

  /* CRITICAL: Active state — specificity 0,3,0 to beat hover rule */
  /* Use same selector pattern as hover (.has-mega-menu.active) */
  .nav-dropdown.has-mega-menu.active .mega-menu-wrapper,
  .nav-dropdown.active .mega-menu-wrapper {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Suppress desktop hover entirely on mobile (touch ≠ hover) */
  @media (hover: none) {
    .nav-dropdown.has-mega-menu:hover .mega-menu-wrapper {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
    }
    .nav-dropdown.has-mega-menu.active .mega-menu-wrapper {
      display: block !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
  }

  /* Accordion sub-menu container — fully visible block */
  .mega-menu-container {
    display: block !important;
    background: #060c1a !important;
    border: none !important;
    border-left: 3px solid rgba(0, 242, 254, 0.45) !important;
    border-top: 1px solid rgba(0, 242, 254, 0.1) !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .mega-header-bar,
  .mega-featured-card {
    display: none !important;
  }

  .mega-body-grid {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .mega-cards-grid,
  .mega-cards-grid.mega-3col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .mega-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px 10px 28px !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: background 0.18s, padding-left 0.18s !important;
    color: #d4deff !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-card:last-child {
    border-bottom: none !important;
  }

  .mega-card:active {
    background: rgba(0, 242, 254, 0.08) !important;
  }

  .mega-card-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 6px !important;
    background: rgba(0, 242, 254, 0.1) !important;
    color: #00f2fe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
  }

  .mega-card-info {
    display: flex !important;
    flex-direction: column !important;
  }

  .mega-card-title {
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #c8d8ff !important;
  }

  .mega-card-desc {
    display: none !important;
  }

  /* 10. Drawer footer CTA */
  .mobile-drawer-footer {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 28px;
    margin-top: auto;
    background: #060c1a;
    border-top: 1px solid rgba(0, 242, 254, 0.15);
    flex-shrink: 0;
  }

  .mobile-drawer-footer > a.btn-primary {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 13px 20px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25) !important;
  }

  .mobile-drawer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .mobile-drawer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: all 0.2s;
    text-decoration: none;
  }

  .mobile-drawer-socials a:hover {
    background: #00f2fe;
    border-color: #00f2fe;
    color: #030712;
  }

  /* 11. Page layout fixes */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

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

  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns: 1fr 1.3fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  .detail-grid,
  .sidebar-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stats-bar-card {
    padding: 24px 20px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
    text-align: center;
  }

  .founder-profile-col {
    align-items: center;
  }

  .founder-bio-col {
    text-align: left;
  }

  .founder-quote-badge {
    display: inline-flex;
    margin-bottom: 16px;
  }

  .founder-cta-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .founder-cta-text {
    max-width: 100%;
  }

  .founder-cta-box .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .projects-grid,
  .services-grid,
  .sectors-grid,
  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }

  /* Hero fixes for mobile */
  .hero-slider {
    height: auto !important;
    min-height: 480px !important;
    padding: 80px 0 60px !important;
  }

  .hero-content {
    padding: 20px 0 !important;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
    margin-bottom: 14px !important;
  }

  .hero-desc {
    font-size: 0.9rem !important;
    margin-bottom: 22px !important;
  }

  /* Hero action buttons — side by side, compact */
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  /* Stats grid — 2x2 on tablet/mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .stats-bar-card {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }

  .stat-icon-box {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }

  .stat-number-wrap {
    font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
  }

  .stat-label {
    font-size: 0.78rem !important;
  }

  .stat-item:not(:last-child)::after {
    display: none !important;
  }
}

/* ================================================================
   @media max-width 768px — Small tablets / large phones
   ================================================================ */
@media (max-width: 768px) {
  .section {
    padding: 55px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .page-hero-header {
    padding: 60px 0 45px;
  }

  .page-hero-title,
  .hero-slide h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

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

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline,
  .hero-buttons .btn-gold {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

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

  /* Global HQ column — full width on mobile */
  .footer-hq-col {
    grid-column: 1 / -1 !important;
  }

  .footer-contact-list p {
    font-size: 0.9rem !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    flex-wrap: nowrap !important;
  }

  .footer-contact-list a {
    white-space: nowrap;
  }

  .footer-section {
    padding: 50px 0 24px !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* ================================================================
   @media max-width 576px — Small phones
   ================================================================ */
@media (max-width: 576px) {
  .container {
    padding: 0 14px;
  }

  .navbar-container {
    height: 60px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .founder-card {
    padding: 24px 16px;
  }

  .founder-img-box {
    width: 140px;
    height: 140px;
  }

  .projects-grid,
  .services-grid,
  .sectors-grid,
  .stats-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   @media max-width 360px — Tiny phones
   ================================================================ */
@media (max-width: 360px) {
  .brand-logo-img {
    height: 34px;
  }

  .page-hero-title {
    font-size: 1.4rem;
  }

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