/* ────────────────────────────────────────────────────────
   1. RESET & VARIABLE FRAMEWORKS
   ──────────────────────────────────────────────────────── */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  --bg-deep: #030712;
  --bg-surface: #0b1329;
  --bg-card: #111c44;
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --primary-dim: rgba(56, 189, 248, 0.1);
  --primary-border: rgba(56, 189, 248, 0.25);
  --gold: #f59e0b;
  --gold-dim: rgba(245, 158, 11, 0.1);
  --gold-border: rgba(245, 158, 11, 0.3);
  --white: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border-line: rgba(255, 255, 255, 0.06);
  --radius-lg: 12px;
  --radius-md: 8px;
}

/* ────────────────────────────────────────────────────────
   2. SYSTEM TYPOGRAPHY & BODY BASICS
   ──────────────────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

a { 
  text-decoration: none; 
  transition: all 0.25s ease; 
}

/* Global Grid Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #000;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary-border);
}
.btn-outline:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
}

.btn-gold {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.btn-gold:hover {
  background: var(--gold);
  color: #000;
}

/* Utilities */
.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gold-text { color: var(--gold) !important; }

/* ────────────────────────────────────────────────────────
   3. HEADER / NAVIGATION ARTIFACTS
   ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
  z-index: 1000;
  padding: 16px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
}

/* ────────────────────────────────────────────────────────
   4. HERO SECTOR
   ──────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-eyebrow .divider {
  color: rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-size: 3.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-graphic-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic svg {
  max-width: 320px;
  width: 100%;
}

/* ────────────────────────────────────────────────────────
   5. CREDENTIAL TRUST BAR
   ──────────────────────────────────────────────────────── */
.cred-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 32px 0;
}

.cred-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cred-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--primary-border);
  padding-left: 20px;
}

.cred-val {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cred-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ────────────────────────────────────────────────────────
   6. SERVICES & CORE GRID DIVISION
   ──────────────────────────────────────────────────────── */
.services-section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.15em;
  display: inline-block;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.svc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.svc-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-4px);
}

.svc-icon {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.svc-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.svc-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.svc-list {
  list-style: none;
  border-top: 1px solid var(--border-line);
  padding-top: 24px;
}

.svc-list li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-list li::before {
  content: "—";
  color: var(--primary);
  font-weight: bold;
}

.section-cta-wrapper {
  text-align: center;
  margin-top: 56px;
}

/* ────────────────────────────────────────────────────────
   7. CORE DIFFERENTIATORS CONFIG
   ──────────────────────────────────────────────────────── */
.why-section {
  padding: 120px 0;
  background: var(--bg-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.why-left h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.why-left p {
  color: var(--text-main);
  margin-bottom: 40px;
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-line);
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
}

.mini-card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.why-mini-card h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 8px;
}

.why-mini-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────
   8. PAST PERFORMANCE DASHBOARD MAPS
   ──────────────────────────────────────────────────────── */
.perf-section {
  padding: 120px 0;
}

.perf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.perf-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.client-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.perf-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-grow: 1;
}

.perf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.perf-tags span {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────────────
   9. VENTURE SECTOR (FATHERHOOD SOLUTIONS)
   ──────────────────────────────────────────────────────── */
.venture-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #1c1408 100%);
  border-top: 1px solid var(--border-line);
}

.venture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.venture-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.venture-content p {
  color: var(--text-main);
  margin-bottom: 40px;
}

.venture-pills-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pill {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--text-main);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────
   10. INTERACTIVE CONCIERGE INTERFACE
   ──────────────────────────────────────────────────────── */
.ai-concierge-section {
  padding: 80px 0 120px 0;
}

.concierge-card {
  background: var(--bg-card);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.concierge-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.pulse-icon {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.concierge-card h3 {
  font-size: 1.5rem;
}

.concierge-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  gap: 12px;
}

.input-group input {
  flex-grow: 1;
  background: #090f24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.input-group input:focus {
  border-color: var(--primary);
}

.input-group button {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 0 28px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.input-group button:hover {
  background: var(--primary-hover);
}

.ai-response-box {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  color: var(--text-main);
  font-style: italic;
  display: none;
}

/* ────────────────────────────────────────────────────────
   11. ENTERPRISE FOOTER STRUCTURE
   ──────────────────────────────────────────────────────── */
.site-footer {
  background: #02040a;
  border-top: 1px solid var(--border-line);
  padding: 80px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 20px 0;
  max-width: 300px;
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.footer-badges span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-line);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Sora', sans-serif;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-subtext {
  font-size: 0.85rem;
  color: #52617a;
  line-height: 1.5;
}

.footer-codes {
  font-size: 0.82rem;
  color: #52617a;
  margin-top: 16px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border-line);
  padding: 32px 0;
  background: #010205;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #52617a;
}

.veteran-tag {
  color: var(--primary);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────
   12. MEDIA RESPONSIVE BREAKPOINTS
   ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .why-grid, .venture-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin: 0 auto 40px auto; }
  .hero-actions { justify-content: center; }
  .cred-bar-grid, .services-grid, .perf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .header-flex { flex-direction: column; gap: 16px; }
  .hero h1 { font-size: 2.75rem; }
  .cred-bar-grid, .services-grid, .perf-grid, .why-right, .venture-pills-container, .footer-grid {
    grid-template-columns: 1fr;
  }
  .input-group { flex-direction: column; }
  .input-group button { padding: 16px; }
  .footer-bottom-flex { flex-direction: column; gap: 12px; text-align: center; }
}

/* ────────────────────────────────────────────────────────
   ADDITIONAL SERVICES PAGE ALIGNMENT PATCH
   ──────────────────────────────────────────────────────── */

/* Adjusting the main wrapper header for the two columns per division */
.svc-section-header {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 64px;
  align-items: start;
}

/* Keeps the Left Column stuck to the viewport side while scrolling down its division */
.svc-section-left {
  position: sticky;
  top: 120px;
}

.svc-section-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 12px 0 20px;
  color: var(--white);
}

.section-desc-aside {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Forces the Right Column cards into a perfect side-by-side balanced grid layout */
.svc-section-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Adjusts padding inside individual service detail elements */
.svc-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.svc-detail-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-3px);
}

.svc-detail-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.svc-detail-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.svc-detail-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Fixing the bullet point layout alignment */
.svc-detail-card ul {
  list-style: none;
  border-top: 1px solid var(--border-line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-detail-card ul li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.svc-detail-card ul li::before {
  content: "—";
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Clean background separation layout wrapper */
.svc-section-alt {
  background-color: var(--bg-surface) !important;
}
.svc-section-alt .svc-detail-card {
  background-color: var(--bg-deep) !important;
}

.section-divider {
  height: 1px;
  background: var(--border-line);
  border: none;
}

/* Fixing the Government Contracting Segment */
.naics-block {
  margin-top: 32px;
}

.naics-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.naics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.naics-tags span {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 4px;
  color: var(--primary);
}

/* ────────────────────────────────────────────────────────
   RESPONSIVE LAYOUT FIXES FOR SMALL SCREENS
   ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-section-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-section-left {
    position: static;
  }
}

@media (max-width: 768px) {
  .svc-section-right {
    grid-template-columns: 1fr;
  }
}

/*/* Clean, professional Markdown overrides for the response box */
.ai-response-box {
  min-height: 50px; 
  background: #070a12; 
  border: 1px solid #1e293b; 
  border-radius: 8px; 
  padding: 18px; 
  color: #cbd5e1; 
  font-size: 0.95rem; 
  line-height: 1.5; 
  font-style: normal; /* Changes it from italic to professional clean look */
}

/* Remove the heavy browser gaps on text paragraphs */
.ai-response-box p {
  margin: 0 0 8px 0 !important;
}

/* Fix spacing for list structures to keep them together */
.ai-response-box ul, .ai-response-box ol {
  margin: 0 0 12px 20px !important;
  padding: 0 !important;
}

.ai-response-box li {
  margin-bottom: 4px !important;
  color: #cbd5e1 !important;
}

/* Clear vertical compression blocks on headers */
.ai-response-box h1, .ai-response-box h2, .ai-response-box h3 {
  font-size: 1.1rem !important;
  color: #38bdf8 !important;
  margin: 12px 0 6px 0 !important;
}