/* ============================================================
   CIVIC SHIFT — PREMIUM DESIGN SYSTEM
   Palette: Deep Navy #0A1F3F | Charcoal #121212 | Cyan #00E5FF
   Typography: Inter (300–800)
   ============================================================ */

:root {
  /* Core Palette */
  --navy-deep:   #0A1F3F;
  --navy-mid:    #0D2B52;
  --navy-soft:   #1a3660;
  --charcoal:    #121212;
  --ivory:       #F8FAFC;
  --white:       #FFFFFF;

  /* Accent */
  --cyan:        #00E5FF;
  --cyan-dim:    #00B8CC;
  --cyan-glow:   rgba(0, 229, 255, 0.18);
  --cyan-subtle: rgba(0, 229, 255, 0.08);
  --gold:        #F59E0B;
  --gold-dim:    #D97706;

  /* Text */
  --text-primary:  #0A1F3F;
  --text-body:     #4B5563;
  --text-light:    #F8FAFC;
  --text-muted:    #94A3B8;
  --text-dim:      #64748B;

  /* Backgrounds */
  --bg-white:      #FFFFFF;
  --bg-light:      #F8FAFC;
  --bg-dark:       #0A1F3F;
  --bg-darker:     #07172E;
  --bg-section-alt: #F1F5F9;

  /* Typography */
  --font-heading: "Inter", sans-serif;
  --font-body:    "Inter", sans-serif;

  /* Spacing */
  --section-padding: 7rem 2rem;
  --container-width: 1200px;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  20px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.18);
  --shadow-cyan: 0 0 30px rgba(0,229,255,0.15);
  --shadow-card: 0 2px 12px rgba(10,31,63,0.08), 0 8px 32px rgba(10,31,63,0.06);
  --shadow-card-hover: 0 6px 24px rgba(10,31,63,0.12), 0 20px 48px rgba(10,31,63,0.10);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-smooth: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 1rem;
  font-weight: 400;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 1rem;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
a  { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; display: block; }
ul  { list-style: none; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-padding { padding: var(--section-padding); }
.text-center { text-align: center; }

/* ── Typography utilities ────────────────────────────────── */
.text-teal, .text-green { color: var(--cyan); }
.text-gold { color: var(--gold); }
.text-dark { color: var(--text-primary); }
.text-light-color { color: var(--text-light); }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-medium   { font-weight: 500; }
.text-lg  { font-size: 1.15rem; }
.text-2xl { font-size: 1.5rem; }
.text-xs  { font-size: 0.85rem; }
.tracking-wide { letter-spacing: 0.5px; }
.line-height-tight { line-height: 1.1; }

/* ── Background helpers ──────────────────────────────────── */
.bg-dark, .bg-contrast {
  background-color: var(--navy-deep);
  color: var(--text-light);
}
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.bg-green { background-color: var(--cyan); }
.bg-gold  { background-color: var(--gold); }
.bg-green-subtle { background-color: var(--cyan-subtle); }

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 20px rgba(0,229,255,0.25); }
  50%      { box-shadow: 0 0 40px rgba(0,229,255,0.5); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up {
  animation: fadeInUp 0.9s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }

/* Scroll-reveal — applied by JS */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.sr-delay-1 { transition-delay: 0.1s; }
.sr-delay-2 { transition-delay: 0.2s; }
.sr-delay-3 { transition-delay: 0.3s; }
.sr-delay-4 { transition-delay: 0.4s; }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  padding: 1.25rem 2.5rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10,31,63,0.06);
  box-shadow: 0 1px 24px rgba(10,31,63,0.07);
  transition: var(--transition-smooth);
}
.site-nav.nav-scrolled {
  background: rgba(7,23,46,0.96);
  border-bottom: 1px solid rgba(0,229,255,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.28);
}
.site-nav.nav-scrolled .nav-links a { color: rgba(248,250,252,0.85); }
.site-nav.nav-scrolled .nav-links a:hover { color: var(--cyan); }
.site-nav.nav-scrolled .nav-logo-text,
.site-nav.nav-scrolled .nav-logo    { color: var(--text-light); }
.site-nav.nav-scrolled .mobile-hamburger,
.site-nav.nav-scrolled .mobile-hamburger::before,
.site-nav.nav-scrolled .mobile-hamburger::after { background: var(--text-light); }

/* Also style the glass-panel variant (all nav elements use this) */
nav.glass-panel {
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: none;
  border-radius: 0;
  box-shadow: 0 1px 24px rgba(10,31,63,0.07);
}

.nav-logo-text, .nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.04em;
  transition: var(--transition-fast);
}
.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--navy-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.text-teal { color: var(--cyan); }
.nav-links a.active-link { font-weight: 600; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  text-transform: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--cyan);
  color: var(--navy-deep) !important;
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0,229,255,0.3);
  font-weight: 700;
}
@media (hover: hover) {
  .btn-primary:hover {
    background: #00f0ff;
    border-color: #00f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.4);
  }
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  border-color: var(--navy-deep);
  color: var(--navy-deep);
}
@media (hover: hover) {
  .btn-secondary:hover {
    background: var(--navy-deep);
    color: var(--text-light);
    transform: translateY(-2px);
  }
}

/* On dark backgrounds */
.bg-dark .btn-secondary,
.bg-contrast .btn-secondary {
  border-color: rgba(248,250,252,0.4);
  color: var(--text-light);
}
.bg-dark .btn-secondary:hover,
.bg-contrast .btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}

.btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-gray  { background: #f1f5f9; border: 1px solid #cbd5e1; color: #475569; border-width: 1px; }
.btn-gray:hover { background: #e2e8f0; }
.btn-outline-green { background: transparent; border-color: var(--cyan); color: var(--cyan); }
.btn-outline-green:hover { background: var(--cyan-subtle); }

/* Scenario/ghost buttons */
.btn-scenario {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.btn-scenario:hover, .btn-scenario.active {
  background: var(--cyan);
  color: var(--navy-deep);
  border-color: var(--cyan);
  font-weight: 700;
}

/* ── Cards / Glass Panels ────────────────────────────────── */
.glass-panel {
  background: var(--bg-white);
  border: 1px solid rgba(10,31,63,0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}
@media (hover: hover) {
  .glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.35);
  }
}

/* ── Forms ───────────────────────────────────────────────── */
input, textarea, select {
  background: var(--bg-white);
  border: 1.5px solid #D1D9E6;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.01em;
}
input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: var(--cyan);
  padding: 0; border: none; background: transparent;
}

/* ── Navigation — Mobile ─────────────────────────────────── */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.mobile-hamburger {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.3s;
}
.mobile-hamburger::before,
.mobile-hamburger::after {
  content: '';
  position: absolute;
  width: 24px; height: 2px;
  background: var(--text-primary);
  left: 0;
  transition: transform 0.3s;
}
.mobile-hamburger::before { top: -7px; }
.mobile-hamburger::after  { top:  7px; }
.mobile-nav-toggle.active .mobile-hamburger { background: transparent; }
.mobile-nav-toggle.active .mobile-hamburger::before { transform: rotate(45deg); top: 0; }
.mobile-nav-toggle.active .mobile-hamburger::after  { transform: rotate(-45deg); top: 0; }

@media (min-width: 769px) { .mobile-nav-toggle { display: none; } }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #07172E;
  color: #94A3B8;
  padding: 6rem 0 2.5rem;
  border-top: 1px solid rgba(0,229,255,0.08);
}
footer { background: #07172E; color: #94A3B8; }
footer h2, footer h4 { color: var(--text-light); }
footer a { color: #94A3B8; }
footer a:hover { color: var(--cyan); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-light);
  display: inline-block;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}
.footer-brand p {
  max-width: 340px;
  line-height: 1.7;
  font-size: 0.93rem;
  color: #64748B;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  font-weight: 700;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-links a  { color: #64748B; font-size: 0.93rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact p.footer-cta-text { margin-bottom: 1.5rem; color: #64748B; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}
.footer-social { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.footer-social-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0,229,255,0.06);
}

/* ── Hero ────────────────────────────────────────────────── */
.home-hero-header {
  padding-top: 9rem;
  padding-bottom: 7rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0D2B52 60%, #0a2540 100%);
  position: relative;
  overflow: hidden;
}
.home-hero-header::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.home-hero-header::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-subtitle {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1.5rem;
  display: block;
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero-description {
  font-size: 1.15rem;
  color: rgba(248,250,252,0.72);
  margin-bottom: 2.75rem;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,229,255,0.1);
}

/* Stat counters row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(248,250,252,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  display: block;
}

/* ── Page Hero (dark header for inner pages) ─────────────── */
.about-hero {
  padding-top: 11rem;
  padding-bottom: 6rem;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0D2B52 100%);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.about-hero h1 {
  color: var(--text-light);
  font-size: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}
.about-hero .hero-subtitle {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  color: rgba(248,250,252,0.7);
  text-transform: none;
  letter-spacing: 0;
}

/* ── About Section  ──────────────────────────────────────── */
.about-content-section { padding: var(--section-padding); }
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-content-grid h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-content-grid p  { color: var(--text-dim); margin-bottom: 1.5rem; font-size: 1.08rem; line-height: 1.75; }
.about-approach-title  { margin-top: 2rem; color: var(--navy-mid); }
.about-info-panel {
  padding: 3rem;
  background: linear-gradient(135deg, #F0F6FF 0%, #EEF4FF 100%);
  border: 1px solid rgba(10,31,63,0.07);
}
.about-info-panel h3  { color: var(--cyan-dim); margin-bottom: 1.5rem; }
.about-info-panel p   { margin-bottom: 1rem; }
.about-info-panel ul  { display: flex; flex-direction: column; gap: 1rem; }
.about-info-panel li  { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.97rem; color: var(--text-dim); }

/* ── Why Me / Quote Section ──────────────────────────────── */
.why-me-title  { color: var(--text-light); font-size: 2.5rem; margin-bottom: 1.5rem; }
.why-me-list   { display: flex; flex-direction: column; gap: 1.25rem; }
.why-me-item   { display: flex; align-items: flex-start; gap: 1rem; color: rgba(248,250,252,0.85); font-size: 1rem; }
.check-icon    { font-size: 1.1rem; color: var(--cyan); flex-shrink: 0; margin-top: 0.1rem; }
.why-me-grid   {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem 0 4rem;
}
.quote-box     { text-align: center; padding: 2rem 0; }
.quote-text    {
  font-size: 1.85rem !important;
  color: rgba(248,250,252,0.9) !important;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600 !important;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 520px;
}
.quote-text em { color: var(--cyan); font-style: normal; }

/* ── Values Cards ────────────────────────────────────────── */
.values-section { padding: 8rem 0 !important; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2.5rem !important;
}
.value-card {
  padding: 3rem 2.5rem !important;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10,31,63,0.07);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.value-card.teal-border::before { background: var(--cyan); }
.value-card.gold-border::before { background: var(--gold); }
.value-card.dark-border::before { background: var(--navy-deep); }
/* Remove old border-left overrides */
.value-card.teal-border, .value-card.gold-border, .value-card.dark-border {
  border-left: none;
}
@media (hover: hover) {
  .value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.2);
  }
}
.value-title { color: var(--navy-deep); font-size: 1.35rem; margin-bottom: 1rem; font-weight: 700; }
.value-card p { color: var(--text-body); line-height: 1.7; }

/* ── Service Cards ───────────────────────────────────────── */
.services-content-section { padding: var(--section-padding); }
.services-intro { max-width: 800px; margin: 0 auto 4rem; text-align: center; }
.services-intro h2 { font-size: 2rem; margin-bottom: 1rem; }
.services-intro p  { font-size: 1.1rem; line-height: 1.75; color: var(--text-body); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  padding: 2.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,31,63,0.06);
  transition: var(--transition-smooth);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.3);
  }
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon.icon-teal {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  box-shadow: 0 4px 14px rgba(0,229,255,0.15);
}
.service-icon.icon-gold {
  background: linear-gradient(135deg, #0A1F3F, #1a3660);
  box-shadow: 0 4px 14px rgba(10,31,63,0.2);
}
.service-icon.icon-navy {
  background: linear-gradient(135deg, #0D2B52, #0A1F3F);
  box-shadow: 0 4px 14px rgba(10,31,63,0.25);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; color: var(--navy-deep); font-weight: 700; }
.service-card p  { color: var(--text-body); line-height: 1.7; font-size: 0.97rem; }

.services-why-panel {
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 3rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  color: var(--text-light);
}
.services-why-panel h2 { margin-bottom: 1.25rem; text-align: center; color: var(--text-light); }
.services-why-panel p  {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(248,250,252,0.75);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.services-cta { max-width: 600px; margin: 5rem auto 0; text-align: center; }
.services-cta h2 { font-size: 2rem; margin-bottom: 1rem; }
.services-cta p  { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-body); }
.services-cta .btn { font-size: 1.05rem; padding: 1rem 2.5rem; }

/* ── Contact Page ────────────────────────────────────────── */
.contact-content-section { padding: var(--section-padding); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-grid h2 { margin-bottom: 2rem; }
.availability-panel {
  padding: 2rem;
  background: linear-gradient(135deg, #F0F6FF, #EEF4FF);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10,31,63,0.08);
  margin-bottom: 2rem;
}
.availability-list { display: flex; flex-direction: column; gap: 1rem; font-weight: 500; }
.availability-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-dim); }
.contact-info h3   { font-size: 1.1rem; color: var(--navy-mid); margin-bottom: 0.4rem; margin-top: 1.5rem; font-weight: 700; }
.contact-info p    { color: var(--text-dim); font-size: 1rem; margin-bottom: 0; }
.contact-info a    { color: var(--cyan-dim); text-decoration: underline; }

.contact-form-panel {
  padding: 3rem;
  background: var(--navy-deep);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,229,255,0.12);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.contact-form-panel label { color: rgba(248,250,252,0.75); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-form-panel input,
.contact-form-panel textarea,
.contact-form-panel select {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--text-light);
  border-radius: var(--radius-md);
}
.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
  background: rgba(255,255,255,0.09);
}
.contact-form-panel select option { background: var(--navy-deep); color: var(--text-light); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.contact-form input,
.contact-form textarea,
.contact-form select { width: 100%; }
.contact-form select { -webkit-appearance: menulist; appearance: auto; }
.contact-form button { width: 100%; justify-content: center; }
.hidden-field { display: none; }

/* ── Projects / Portfolio Section ────────────────────────── */
.projects-section { padding: var(--section-padding); }
.projects-section h2 { margin-bottom: 3rem; }
.projects-list { display: flex; flex-direction: column; gap: 2rem; }
.project-card {
  padding: 2.25rem;
  background: var(--bg-white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,31,63,0.06);
  transition: var(--transition-smooth);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(0,229,255,0.2); }
.project-card h3 { color: var(--navy-mid); margin-bottom: 0.5rem; font-size: 1.2rem; }
.project-card p  { color: var(--text-dim); margin-bottom: 1rem; }
.project-header  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.project-header h3 { margin-bottom: 0; font-size: 1.25rem; }
.project-description { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.75; }
.project-impact {
  background: rgba(0,229,255,0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--cyan);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.project-impact-list { list-style: disc; padding-left: 1.5rem; margin-top: 0.5rem; }

/* Badges */
.badge {
  display: inline-block;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-teal  { background: rgba(0,229,255,0.1);  color: var(--cyan-dim); }
.badge-gold  { background: rgba(245,158,11,0.12); color: var(--gold-dim); }
.badge-navy  { background: rgba(10,31,63,0.08);   color: var(--navy-deep); }

/* ── Estimator  ──────────────────────────────────────────── */
.estimator-header-bg    { padding-top: 11rem; padding-bottom: 6rem; text-align: center; }
.estimator-header-title { color: var(--text-light); font-size: 3rem; }
.estimator-header-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
  font-weight: 500;
  color: var(--cyan);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--navy-deep); }
.slider-wrapper { display: flex; align-items: center; gap: 15px; }
.slider-val {
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  font-weight: 700;
  color: var(--cyan-dim);
  min-width: 70px;
  text-align: center;
}
.scenario-btns { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.calc-panel { padding: 2.5rem; }
.output-panel {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: white;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border: 1px solid rgba(0,229,255,0.1);
}
.output-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.output-row:last-child { border-bottom: none; }
.output-label { font-weight: 500; color: #94A3B8; }
.output-value { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); }
.output-value.highlight { color: var(--cyan); font-size: 1.75rem; }
.chart-container {
  background: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10,31,63,0.07);
}
.chart-row { display: flex; align-items: center; margin-bottom: 1rem; }
.chart-label { width: 80px; font-weight: 600; font-size: 0.88rem; color: var(--text-muted); }
.chart-track { flex-grow: 1; background: var(--bg-light); height: 24px; border-radius: 12px; overflow: hidden; }
.chart-fill {
  height: 100%;
  background: var(--navy-deep);
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
}
.chart-fill.low { background: #94A3B8; }
.chart-fill.mid { background: var(--cyan-dim); }

/* ── AI Agent Specific ───────────────────────────────────── */
.ai-hero-header     { padding-bottom: 4rem; }
.ai-hero-subtitle   { margin-top: 1.5rem; }
.ai-hero-actions    { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.ai-btn-outline     { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.ai-section-pb      { padding-bottom: 2rem; }
.ai-grid-center     { align-items: center; }
.ai-title-lg        { font-size: 2.5rem; margin-bottom: 1.5rem; }
.ai-body-lg         { font-size: 1.1rem; color: var(--text-body); margin-bottom: 1.5rem; }
.ai-context-box     { background: var(--cyan-subtle); padding: 1.5rem; border-left: 4px solid var(--cyan); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-top: 2rem; }
.ai-feature-box     { background: var(--bg-light); padding: 3rem; text-align: center; border: 1px solid rgba(10,31,63,0.07); border-radius: var(--radius-lg); }
.ai-icon-mb         { margin-bottom: 1rem; }
.ai-h3-mb           { margin-bottom: 0.5rem; }
.ai-text-sm         { color: var(--text-muted); font-size: 0.95rem; }
.ai-h2-mb           { margin-bottom: 2rem; }
.ai-calc-panel-title { margin-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 1rem; }
.ai-form-mt         { margin-top: 2rem; }
.ai-calc-panel-subtitle { margin: 2rem 0 1.5rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 1rem; padding-top: 1rem; }
.ai-output-title    { color: white; margin-bottom: 1.5rem; }
.ai-output-label-bold { color: white; font-weight: 600; }
.ai-output-val-gold { color: var(--gold); }
.ai-output-row-last { border: none; }
.ai-output-val-muted{ font-size: 1.1rem; color: #94A3B8; }
.ai-chart-title     { margin-bottom: 1rem; color: var(--navy-deep); }
.ai-chart-row-last  { margin-bottom: 0; }
.ai-pricing-title   { margin-bottom: 3rem; }
.ai-pricing-tier    { color: var(--text-muted); text-transform: uppercase; font-size: 0.88rem; letter-spacing: 1px; }
.ai-pricing-month   { font-size: 1rem; color: var(--text-body); font-weight: 500; }
.ai-feature-list-border { border-top: 1px solid #e5e7eb; padding-top: 1.5rem; }
.ai-featured-card   { border-top: 4px solid var(--cyan) !important; box-shadow: var(--shadow-xl); transform: scale(1.02); }
.ai-badge-popular   { background: var(--cyan-subtle); color: var(--cyan-dim); font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 12px; display: inline-block; margin-bottom: 1rem; }
.ai-pricing-disclaimer { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 2rem; }
.ai-timeline-intro  { color: var(--text-body); margin-bottom: 2rem; }
.ai-timeline-title  { font-size: 1.2rem; color: var(--navy-deep); }
.ai-timeline-desc   { color: var(--text-body); font-size: 0.95rem; }
.ai-timeline-last   { margin-bottom: 0; }
.ai-contact-panel   { padding: 2.5rem; border-top: 4px solid var(--navy-deep); }
.ai-contact-title   { margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--navy-deep); }
.ai-contact-desc    { color: var(--text-body); font-size: 0.95rem; margin-bottom: 2rem; }
.ai-w-full          { width: 100%; }
.ai-textarea-full   { width: 100%; resize: vertical; }
.ai-btn-full        { width: 100%; font-size: 1.1rem; padding: 1rem; }

.ai-grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .ai-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.ai-grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .ai-grid-2 { grid-template-columns: 1fr 1fr; } }

.feature-card { padding: 2.25rem; height: 100%; border-top: 4px solid var(--cyan); border-radius: var(--radius-lg); }
.feature-card.alt-border { border-top-color: var(--gold); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--navy-deep); }
.feature-list { list-style: none; padding-left: 0; margin-top: 1.5rem; }
.feature-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; color: var(--text-body); }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.pricing-price { font-size: 2.25rem; font-weight: 800; color: var(--navy-deep); margin: 0.5rem 0; font-family: var(--font-heading); letter-spacing: -0.04em; }
.pricing-setup { color: var(--text-muted); font-weight: 500; margin-bottom: 1.5rem; }

/* ── Tables ──────────────────────────────────────────────── */
.table-responsive {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,31,63,0.07);
  margin: 2rem 0;
}
table  { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
th, td { padding: 1.1rem 1.5rem; border-bottom: 1px solid rgba(10,31,63,0.07); vertical-align: top; }
th     { background: var(--bg-light); font-weight: 700; color: var(--navy-deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0,229,255,0.03); }

/* ── Timeline ────────────────────────────────────────────── */
.timeline { border-left: 2px solid rgba(0,229,255,0.4); padding-left: 2rem; margin-left: 1rem; }
.timeline-step { position: relative; margin-bottom: 2.5rem; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: -42px; top: 5px;
  width: 14px; height: 14px;
  background: var(--cyan);
  border: 3px solid var(--bg-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0,229,255,0.3);
}

/* ── AI Demo Bubbles ─────────────────────────────────────── */
.ai-demo-container {
  background: linear-gradient(145deg, #0D2248, #07172E);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0,229,255,0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ai-demo-header { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 1rem; }
.ai-demo-header-dot { background: var(--cyan); width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 8px var(--cyan); }
.ai-chat-bubble-user {
  background: var(--navy-mid);
  padding: 1rem 1.25rem;
  border-radius: 1.25rem 1.25rem 0 1.25rem;
  color: var(--text-light);
  font-size: 0.93rem;
  max-width: 85%;
  border: 1px solid rgba(0,229,255,0.12);
}
.ai-chat-bubble-agent,
.ai-chat-bubble-agent-followup {
  background: rgba(255,255,255,0.04);
  padding: 1rem 1.25rem;
  border-radius: 1.25rem 1.25rem 1.25rem 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  max-width: 85%;
  border: 1px solid rgba(255,255,255,0.07);
}
.ai-chat-bubble-agent-followup { border-radius: 0 1.25rem 1.25rem 1.25rem; }
.ai-chat-avatar {
  background: rgba(0,229,255,0.1);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  border: 1px solid rgba(0,229,255,0.2);
}
.ai-chat-avatar-spacer { width: 36px; height: 36px; flex-shrink: 0; }
.ai-demo-btn-primary, .ai-demo-btn-secondary {
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--cyan);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.ai-demo-btn-secondary { background: transparent; border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }

/* ── Misc containers ─────────────────────────────────────── */
.intro-content-box { max-width: 800px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.dashboard-mockup  { max-width: 800px; background: white; border: 1px solid rgba(10,31,63,0.07); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.dashboard-header  { background: var(--bg-light); border-bottom: 1px solid rgba(10,31,63,0.07); }
.foundation-banner {
  background: linear-gradient(to right, rgba(0,229,255,0.05), rgba(245,158,11,0.05));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
}

/* ── Spacing & display utilities ─────────────────────────── */
.mb-0-5 { margin-bottom: 0.5rem; }
.mb-1   { margin-bottom: 1rem; }
.mb-1-5 { margin-bottom: 1.5rem; }
.mb-2   { margin-bottom: 2rem; }
.mb-3   { margin-bottom: 3rem; }
.mt-1   { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mt-2   { margin-top: 2rem; }
.mt-3   { margin-top: 3rem; }
.pt-2   { padding-top: 2rem; }
.pb-2   { padding-bottom: 2rem; }
.p-2    { padding: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full  { width: 100%; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-align-center { display: flex; align-items: center; }
.justify-end  { justify-content: flex-end; }
.items-end    { align-items: flex-end; }
.gap-0-5  { gap: 0.5rem; }
.gap-0-75 { gap: 0.75rem; }
.gap-1    { gap: 1rem; }
.gap-1-5  { gap: 1.5rem; }
.gap-2    { gap: 2rem; }
.rounded-r-lg { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.-mt-0-5  { margin-top: -0.5rem; }

/* LGR and misc page components */
.lgr-cta-actions { margin-top: 1.5rem; }
.about-approach-title { margin-top: 2rem; color: var(--navy-mid); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-padding: 4.5rem 1.5rem; }
  h1 { font-size: 2.25rem !important; }

  nav.glass-panel, .site-nav {
    flex-wrap: wrap;
    padding: 1rem 1.25rem !important;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    gap: 1.25rem;
  }
  .nav-links.active { display: flex; }
  .mobile-nav-toggle { display: block; }

  .hero-grid, .about-content-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .why-me-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .values-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-social { justify-content: center; }
  .project-card { grid-template-columns: 1fr; }

  header { padding-top: 7rem !important; }
  .home-hero-header { padding-top: 7rem; }
  .about-hero { padding-top: 8rem; }
}
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr !important; }
  .why-me-grid { grid-template-columns: 1fr !important; }
}

/* ────────────────────────────────────────────────────────── */
/* Civic Shift Mobile & Layout Improvements */
/* ────────────────────────────────────────────────────────── */

/* Improvement 9 — Reserve space for the hero image (prevent layout shift) */
.hero-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* Improvement 6 — Minimum tap target sizes */
.mobile-nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  /* Improvement 1 — Full-screen mobile nav overlay */
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7, 23, 46, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    padding: 2rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
  }

  .nav-links a:hover {
    color: var(--cyan);
  }

  /* Prevent background scroll when nav is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Improvement 3 — Hero image appears first on mobile */
  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-grid > div:last-child {
    order: -1;
  }

  /* Improvement 4 — Fix overridden section padding on mobile */
  .values-section {
    padding: 4rem 1.5rem !important;
  }

  .about-info-panel {
    padding: 1.5rem !important;
  }

  .about-content-section {
    padding: 3rem 1.5rem;
  }

  /* Improvement 6 — Minimum tap targets (footer/nav) */
  .footer-links a,
  .footer-contact a,
  .nav-links a {
    padding: 0.5rem 0;
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
  }

  /* Improvement 7 — Quote font size on mobile */
  .quote-text {
    font-size: 1.3rem !important;
    line-height: 1.5;
  }

  /* Improvement 8 — Footer: complete the centre-alignment on mobile */
  .footer-links {
    text-align: center;
  }

  .footer-links ul {
    align-items: center;
  }

  .footer-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Improvement 2 — Full-width hero buttons on small screens */
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Improvement 5 — Hero stats mobile refinement */
  .hero-stats {
    gap: 1rem;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  /* Improvement 7 — Quote font size on mobile */
  .quote-text {
    font-size: 1.15rem !important;
  }
}
