/* ═══════════════════════════════════════════
   Digital7.ai — Brand Design System
   ═══════════════════════════════════════════
   Primary Navy:    #0D2366
   Secondary Red:   #D62027
   Accent Blue:     #1E40AF
   Dark BG:         #060B18
   Surface:         #0C1428
   Surface Light:   #111D38
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand Colors */
  --navy:         #0D2366;
  --navy-light:   #142D7A;
  --navy-dark:    #081845;
  --red:          #D62027;
  --red-light:    #E8383F;
  --red-dim:      rgba(214, 32, 39, 0.12);
  --blue:         #1E40AF;
  --blue-light:   #3B82F6;
  --blue-dim:     rgba(30, 64, 175, 0.12);

  /* Backgrounds */
  --bg:           #060B18;
  --bg-alt:       #080E1F;
  --surface:      #0C1428;
  --surface-2:    #111D38;
  --surface-3:    #162448;

  /* Text */
  --text:         #E8ECF4;
  --text-secondary: #8B9DC3;
  --text-muted:   #5A6E8F;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--red) 100%);
  --gradient-navy:  linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  --gradient-glow:  radial-gradient(circle, rgba(30, 64, 175, 0.15) 0%, transparent 70%);

  /* Spacing */
  --container: 1280px;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --gap: clamp(1rem, 2vw, 2rem);

  /* Typography */
  --font-display: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  --font-body: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── Utility ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.section-padding { padding: var(--section-padding) 0; }
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-navy { color: var(--navy-light); }
.text-red { color: var(--red); }
.text-blue { color: var(--blue-light); }
.text-muted { color: var(--text-secondary); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  background: rgba(6, 11, 24, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 0.6rem 0;
  background: rgba(6, 11, 24, 0.95);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text { color: var(--text); }
.nav-logo-text span { color: var(--red); }
.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-link {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  transition: all 0.25s var(--ease);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--blue-light);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-content {
  position: absolute; top: 100%; left: 0;
  min-width: 260px; padding: 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.25s var(--ease);
  border: none; cursor: pointer;
}
.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: linear-gradient(180deg, rgba(6,11,24,0.6) 0%, rgba(6,11,24,0.4) 40%, rgba(6,11,24,0.7) 80%, rgba(6,11,24,1) 100%); border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px;
    height: 100vh; padding: 5rem 2rem 2rem;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--surface);
    border-left: 1px solid var(--border);
    transition: right 0.4s var(--ease);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-link { padding: 0.8rem 1rem; font-size: 1rem; }
  .nav-dropdown-content {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    background: transparent; border: none;
    padding: 0 0 0 1rem;
  }
  .mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 98; display: none;
  }
  .mobile-overlay.active { display: block; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(80px + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before { display: none; }
.hero::after { display: none; }
@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0.6; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeInUp 0.8s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--blue-light), transparent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeInUp 0.8s var(--ease) 0.4s forwards;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 580px; font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeInUp 0.8s var(--ease) 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeInUp 0.8s var(--ease) 0.8s forwards;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214, 32, 39, 0.4);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ── Stats Bar ── */
.stats-bar {
  display: flex; gap: 3rem; flex-wrap: wrap;
  padding-top: 3rem; margin-top: 3rem;
  border-top: 1px solid var(--border);
  opacity: 0; animation: fadeInUp 0.8s var(--ease) 1s forwards;
}
.stat-item {}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  line-height: 1; margin-bottom: 0.3rem;
}
.stat-value span { color: var(--blue-light); }
.stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Section Headers ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: ''; width: 24px; height: 2px;
  background: var(--blue-light);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem; font-weight: 400;
  max-width: 600px; line-height: 1.8;
  margin-bottom: 3.5rem;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  font-size: 1.4rem;
}
.card-icon.red { background: var(--red-dim); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 1.2rem;
}
.card-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.tag {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem; border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Featured Card ── */
.card-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: center;
  background: var(--surface-2);
}
.card-featured .card-icon {
  background: var(--red-dim);
}

@media (max-width: 768px) {
  .card-featured { grid-template-columns: 1fr; }
}

/* ── Product/Service Detail ── */
.detail-hero {
  padding: calc(80px + 4rem) 0 3rem;
  position: relative;
}
.detail-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.breadcrumb {
  display: flex; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--blue-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

.detail-content { padding: 4rem 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}
@media (max-width: 968px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.detail-sidebar {
  position: sticky; top: 100px;
  align-self: start;
}
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

/* Features list */
.features-list {
  display: grid; gap: 0.6rem;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.9rem; color: var(--text-secondary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-item::before {
  content: '✦';
  color: var(--blue-light);
  font-size: 0.7rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Use cases */
.use-case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s var(--ease);
}
.use-case:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.use-case h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--blue-light);
}
.use-case p {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.7;
}

/* Cost card */
.cost-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--surface-2));
  border: 1px solid var(--navy-light);
  border-radius: 16px;
  padding: 2rem;
}
.cost-headline {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 1rem;
}
.cost-point {
  font-size: 0.88rem; color: var(--text-secondary);
  padding: 0.4rem 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.cost-point::before {
  content: '✓'; color: #22C55E; font-weight: 700; font-size: 0.8rem;
}

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  counter-reset: steps;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.process-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  counter-increment: steps;
  transition: background 0.3s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--surface-2); }
.process-step::before {
  content: counter(steps, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: rgba(255,255,255,0.04);
  display: block; line-height: 1;
  margin-bottom: 0.8rem;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.85rem; color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Principles / Pillars ── */
.pillars-section { background: var(--surface); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}
.pillar {
  border-left: 2px solid var(--blue);
  padding-left: 1.5rem;
}
.pillar-number {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.pillar p {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Tech Strip ── */
.tech-strip {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tech-strip-title {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.tech-badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 0.7rem;
}
.tech-badge {
  font-size: 0.78rem; font-weight: 500;
  padding: 0.35rem 0.9rem; border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.3s;
}
.tech-badge:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  background: var(--blue-dim);
}

/* ── Team Section ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.35s var(--ease);
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-brand);
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; color: #fff;
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.3rem;
}
.team-card .team-title {
  font-size: 0.85rem; color: var(--blue-light);
  margin-bottom: 0.3rem;
}
.team-experience {
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 1rem;
}
.team-card p {
  font-size: 0.88rem; color: var(--text-secondary);
  line-height: 1.7;
}
.team-specializations {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ── CTA Band ── */
.cta-band {
  text-align: center;
  padding: 7rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band .section-tag { justify-content: center; }
.cta-band .section-title { max-width: 650px; margin: 0 auto 1rem; }
.cta-band .section-subtitle { margin: 0 auto 2.5rem; text-align: center; }
.cta-band .hero-actions { justify-content: center; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px var(--blue-dim);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Flash Messages ── */
.flash-message {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem; font-weight: 500;
}
.flash-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #22C55E; }
.flash-error { background: rgba(214, 32, 39, 0.1); border: 1px solid rgba(214, 32, 39, 0.3); color: var(--red-light); }

/* ── Footer ── */
.footer {
  border-top: none;
  padding: 4rem 0 2rem;
  background: #0D2366 !important;
}
.footer .container { background: transparent !important; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}
.footer-brand span { color: var(--red); }
.footer-desc {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  padding: 0.25rem 0;
  transition: all 0.2s;
}
.footer-col a:hover { color: #ffffff; transform: translateX(3px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: #ffffff; }

/* ── Animations / Scroll Reveal ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Particle Background ── */
.particles-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(30, 64, 175, 0.3);
  border-radius: 50%;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Shutterstock Placeholders ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.01) 10px,
    rgba(255,255,255,0.01) 20px
  );
}
.img-placeholder span {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 3px; width: 0;
  background: var(--gradient-brand);
  transition: width 0.1s linear;
}

/* ── About Page Specifics ── */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .vision-mission-grid { grid-template-columns: 1fr; }
}
.vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.vm-card.vision::before { background: var(--gradient-brand); }
.vm-card.mission::before { background: linear-gradient(90deg, var(--red), var(--blue-light)); }
.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 1rem;
}
.vm-card p {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Loading Skeleton ── */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ── 404 Page ── */
.page-404 {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.page-404 h1 {
  font-family: var(--font-display);
  font-size: 8rem; font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ── Garet Font Logo ── */
@font-face {
  font-family: 'Garet';
  src: url('https://fonts.cdnfonts.com/css/garet') format('woff2');
  font-weight: 700;
  font-style: normal;
}
.nav-logo-text {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.nav-logo-text span {
  color: #D62027 !important;
}
.footer-brand {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #FFFFFF;
}
.footer-brand span {
  color: #D62027 !important;
}


}

}


/* ══ VIDEO FINAL ══ */
.hero > .particles-bg { position: relative; z-index: 1; }
.hero > .container { position: relative; z-index: 2; }

/* Fix hero container */
.hero > .container {
  margin: 0;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ══ Mobile Menu Fix ══ */
@media (max-width: 968px) {
  .nav-links {
    overflow-y: auto !important;
  }
  .nav-dropdown-content {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }
  .nav-dropdown.open .nav-dropdown-content {
    display: block;
  }
  .nav-dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

/* ══ Mobile Menu Spacing ══ */
@media (max-width: 968px) {
  .nav-links .nav-link,
  .nav-links .nav-dropdown > .nav-link {
    padding: 1rem 1.2rem !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: block;
  }
  .nav-links .nav-dropdown {
    border-bottom: none;
  }
  .nav-links .nav-cta {
    margin-top: 1rem;
    display: none;
  }
}
