/* ============================================
   TUGA — Premium dark theme design system
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #0b0d10;
  --bg-elevated: #111318;
  --surface: #161b22;
  --surface-hover: #1c2129;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f0f4f8;
  --text-muted: #8b949e;
  --text-dim: #6e7681;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-muted: rgba(59, 130, 246, 0.15);
  --gradient-hero: linear-gradient(180deg, rgba(11, 13, 16, 0.4) 0%, rgba(11, 13, 16, 0.85) 70%, var(--bg) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --nav-height: 72px;
}

/* ---- Layout ---- */
a {
  -webkit-tap-highlight-color: transparent;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}
.container--narrow { max-width: 720px; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 24px; outline: 2px solid #fff; outline-offset: 2px; }

/* ---- Navigation (glass) ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(11, 13, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.navbar.scrolled { background: rgba(11, 13, 16, 0.95); border-color: var(--border-strong); }

.nav-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo:hover,
.nav-logo:focus,
.nav-logo:visited,
.nav-logo:link,
.nav-logo:active { color: var(--text) !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  border: 1px solid var(--border-strong);
}
.logo-text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}
.nav-link {
  display: block;
  padding: 10px 16px;
  color: var(--text-muted);
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--accent); background: var(--accent-muted); }
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  gap: 5px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--surface); }
.hamburger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('serviceimgs/about_us.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  text-align: center;
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-buttons .btn { min-width: 160px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ---- Sections (shared) ---- */
.section {
  padding: 96px 0;
}
.section--alt { background: var(--bg-elevated); }
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ---- Value pillars (homepage) ---- */
.value-section .section-title { margin-bottom: 3rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  min-width: 0;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
}
.pillar h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.pillar p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ---- Services teaser (homepage) ---- */
.services-teaser .section-desc { margin-bottom: 2.5rem; }
.services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 2rem;
  min-width: 0;
}
@media (max-width: 900px) {
  .services-teaser-grid { grid-template-columns: 1fr; }
}
/* Teaser cards are links: remove default link underline/color - force on all states */
a.service-card,
a.service-card:link,
a.service-card:visited,
a.service-card:hover,
a.service-card:focus,
a.service-card:active {
  text-decoration: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent;
}
a.service-card h3,
a.service-card p { color: inherit; }
a.service-card .service-icon { color: var(--accent); }
a.service-card h3 { color: var(--text); }
a.service-card p { color: var(--text-muted); }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: left;
  min-width: 0;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}
.service-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; overflow-wrap: break-word; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; overflow-wrap: break-word; }
.teaser-cta { text-align: center; }
.teaser-cta .btn { min-width: 200px; }

/* ---- Mission strip ---- */
.mission {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mission-content { text-align: center; max-width: 640px; margin: 0 auto; }
.mission-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.mission-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* ---- CTA strip ---- */
.cta-strip {
  padding: 96px 0;
  text-align: center;
  background: var(--bg-elevated);
}
.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.cta-strip p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1rem; }
.cta-strip .btn { min-width: 180px; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.footer-logo:hover,
.footer-logo:focus,
.footer-logo:visited,
.footer-logo:link,
.footer-logo:active { color: var(--text) !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
.footer-logo-img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--border-strong); }
.footer-logo .logo-text { font-size: 1.25rem; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
  padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.footer-links a:hover { color: var(--accent); background: var(--accent-muted); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.875rem; color: var(--text-dim); }

/* ---- Page header (inner pages) ---- */
.page-header {
  padding: calc(var(--nav-height) + 48px) 0 48px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.page-header .container { display: flex; flex-direction: column; gap: 8px; }
.page-header h1 { font-size: 2rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.breadcrumb-nav { margin-top: 0; }
.breadcrumb-list { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 0.875rem; }
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--text-dim); }
.breadcrumb-item a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item a[aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---- Services page (full grid) ---- */
.services-page .section-title { margin-bottom: 2rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ---- Service modal ---- */
.service-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}
/* When open, use flex so content is centered (JS sets display: flex) */
.service-modal[style*="flex"] {
  display: flex !important;
}
.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: var(--shadow-lg);
  margin: auto;
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
  z-index: 2;
}
.close-modal:hover { color: var(--text); background: var(--surface-hover); }
.modal-header {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-align: center;
}
.modal-icon { font-size: 2rem; margin-bottom: 12px; opacity: 0.95; }
.modal-header h2 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 24px;
}
@media (max-width: 700px) { .modal-body { grid-template-columns: 1fr; } }
.service-details { display: flex; flex-direction: column; gap: 20px; }
.detail-section h3 { font-size: 0.9375rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.detail-section p, .detail-section li { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }
.detail-section ul { list-style: none; padding: 0; }
.detail-section li { padding: 4px 0; padding-left: 16px; position: relative; }
.detail-section li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.service-graphic {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-graphic-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-image-container { margin: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.service-image-wrapper {
  width: 100%;
  max-height: 100%;
  min-height: 200px;
  height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.service-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.modal-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  text-align: center;
}
.modal-footer .btn { min-width: 160px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Modal: mobile ---- */
@media (max-width: 768px) {
  .service-modal { padding: 12px; align-items: flex-start; padding-top: 48px; }
  .modal-content { max-height: calc(100vh - 24px); border-radius: var(--radius-md); }
  .close-modal { min-width: 44px; min-height: 44px; top: 12px; right: 12px; }
  .modal-header { padding: 20px 16px; }
  .modal-body { padding: 20px 16px; gap: 20px; }
  .modal-footer { padding: 16px; }
  .modal-footer .btn { min-height: 48px; }
  .service-image-wrapper { height: 220px; }
}

/* ---- Contact page ---- */
.contact-section { padding: 64px 0 96px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.125rem;
}
.contact-item h3 { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.contact-item p { font-size: 0.9375rem; color: var(--text-muted); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { width: 100%; margin-top: 8px; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.9375rem; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.alert-error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* ---- About page ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .about-content { grid-template-columns: 1fr; } }
.about-text h1 { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.about-intro { font-size: 1.125rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.about-text p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.about-graphic {
  height: 360px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  background-image: url('serviceimgs/about_us.jpg');
  background-size: cover;
  background-position: center;
}

/* ---- FAQ ---- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-question { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq-answer { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---- Accessibility ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Mobile Navigation & Theme Matching ---- */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
  .container { padding: 0 16px; max-width: 100%; }
  .nav-container { padding: 0 16px; }

  /* FIX: Force Navbar to stay dark on mobile and remove transparency issues */
  .navbar { 
    background: #0b0d10 !important; 
    backdrop-filter: blur(12px) !important; 
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
  }

  /* Prevent the header from turning white on scroll */
  .navbar.scrolled {
    background: #111318 !important;
    border-bottom-color: var(--accent-muted);
    box-shadow: var(--shadow-sm);
  }

  /* FIX: Mobile Menu - Glass Effect and Full Expansion */
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    /* This forces the menu to fill the screen */
    height: calc(100vh - var(--nav-height)); 
    background: rgba(17, 19, 24, 0.98); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 24px;
    gap: 12px;
    
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    display: flex !important; /* Ensures it doesn't stay hidden */
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* FIX: Making buttons large and clickable */
  .nav-item {
    width: 100%;
    list-style: none;
  }

  .nav-link {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 56px; /* High touch-target for thumbs */
    padding: 0 20px;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text) !important;
    background: var(--surface);
    text-decoration: none;
  }

  .nav-link.active {
    color: var(--accent) !important;
    background: var(--accent-muted);
    border-color: var(--accent);
  }

  .hamburger { 
    display: flex !important; 
    min-width: 44px; 
    min-height: 44px; 
    z-index: 1001;
  }

  /* Structural UI Adjustments for Mobile */
  .section { padding: 64px 0; }
  .hero-container { padding: calc(var(--nav-height) + 32px) 16px 64px; }
  .footer-content { flex-direction: column; text-align: center; gap: 24px; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-links a { padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; }
  
  .btn { min-height: 48px; padding: 14px 24px; }
  .pillar { padding: 24px 20px; min-width: 0; }
  .contact-form { padding: 24px 16px; }
  
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; min-height: 48px; }
  .services-teaser-grid { gap: 16px; }
  .service-card { padding: 20px 16px; min-width: 0; }
  .section-desc { padding: 0 8px; }
  .pillars { padding: 0 8px; grid-template-columns: 1fr; }
}

/* ---- Nav active state (script adds .active to current page link) ---- */
.nav-link.active { color: var(--accent); background: var(--accent-muted); }