:root {
    --bg-main: #050611;
    --bg-dark-2: #08091a;
    --bg-dark-3: #0e1023;
    --accent-1: #5f9bff;
    --accent-2: #64e9c1;
    --accent-3: #ffb86b;
    --text-main: #f5f7ff;
    --text-muted: #e7eeff;
    --text-body: #f4f7ff;
    --radius-lg: 22px;
    --radius-md: 16px;
    --transition-fast: 0.25s ease-out;
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #15193a 0, #050611 52%, #02030a 100%);
    color: var(--text-main);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 17px;
    overflow-x: hidden;
  }

  p,
  li,
  .form-label,
  .small {
    color: var(--text-body);
    font-weight: 500;
  }
  
  /* Generic layout */
  .section-padding {
    padding: 6rem 0;
  }
  
  .bg-dark-2 {
    background: radial-gradient(circle at top left, #171a3f 0, #070816 55%, #03030b 100%);
  }
  
  .bg-dark-3 {
    background: radial-gradient(circle at bottom right, #171a3f 0, #050611 55%, #02030a 100%);
  }
  
  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
    position: relative;
  }
  
  .page-hero {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
  }

  .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(120deg, rgba(3, 6, 16, 0.75), rgba(3, 8, 21, 0.7)),
      radial-gradient(circle at right top, rgba(95, 155, 255, 0.25), transparent 55%);
    z-index: -1;
  }

  .page-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    bottom: -80px;
    right: -40px;
    background: radial-gradient(circle, rgba(100, 233, 193, 0.22), rgba(100, 233, 193, 0));
    filter: blur(6px);
    animation: pulseOrb 7s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
  }

  .page-hero > .container {
    position: relative;
    z-index: 1;
  }
  
  /* Navbar */
  .glass-nav {
    background: linear-gradient(to bottom, rgba(4, 7, 18, 0.95), rgba(4, 7, 18, 0.85));
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding-block: 0.1rem;
  }

  .brand-logo-img {
    width: 270px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    mix-blend-mode: normal;
    filter: none;
  }

  .nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
  }
  
  .nav-link.active,
  .nav-link:hover {
    color: #ffffff !important;
  }
  
  /* Buttons */
  .btn-gradient {
    border-radius: 999px;
    padding-inline: 1.8rem;
    background-image: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  background-size: 200% 200%;
    border: none;
    color: #02030a;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter 0.25s, background-position 0.35s ease-out;
  }
  
  .btn-gradient:hover {
    filter: brightness(1.05);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  background-position: 100% 50%;
  }
  
/* Hero */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

  
  .hero-bg-shape {
    position: absolute;
    inset: -20%;
    pointer-events: none;
    background:
      radial-gradient(circle at 10% 0%, rgba(114, 173, 255, 0.28), transparent 55%),
      radial-gradient(circle at 100% 40%, rgba(255, 184, 107, 0.18), transparent 55%),
      radial-gradient(circle at 0 100%, rgba(100, 233, 193, 0.2), transparent 55%);
    opacity: 0.8;
    z-index: -1;
  }
  
  .hero-card {
    padding: 2rem;
    border-radius: 30px;
    background: radial-gradient(circle at top, #222646 0, #050611 65%);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
  }
  
  .metric-card {
    border-radius: 20px;
    padding: 1.25rem 1.25rem 1rem;
    background: rgba(6, 10, 26, 0.95);
    border: 1px solid rgba(130, 144, 210, 0.35);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  }
  
  .metric-card h6 {
    margin-bottom: 0.3rem;
  }
  
  .metric-card p {
    margin-bottom: 0;
    font-size: 0.83rem;
    color: var(--text-muted);
  }
  
  .metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
  }
  
  .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
  }
  
  .bg-soft-primary {
    background: rgba(95, 155, 255, 0.15);
    color: #9fbaff;
  }
  
  .bg-soft-success {
    background: rgba(100, 233, 193, 0.16);
    color: #82e2c4;
  }
  
  .bg-soft-warning {
    background: rgba(255, 184, 107, 0.16);
    color: #ffd7a3;
  }
  
  .bg-soft-info {
    background: rgba(115, 221, 255, 0.16);
    color: #9be5ff;
  }
  
  .hero-floating-card {
    position: absolute;
    bottom: 1.3rem;
    right: 1.6rem;
    max-width: 260px;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: rgba(5, 8, 24, 0.95);
    border: 1px solid rgba(160, 182, 255, 0.4);
    font-size: 0.8rem;
  }
  
  /* Sections / Cards */
  .section-heading .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.78rem;
    color: var(--accent-2);
    margin-bottom: 0.5rem;
  }
  
  .section-heading h2 {
    font-weight: 700;
  }
  
  .service-card {
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem;
    background: radial-gradient(circle at top, #171938 0, #050611 65%);
    border: 1px solid rgba(106, 124, 207, 0.4);
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background 0.3s;
  }
  
  .service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.55);
    background: radial-gradient(circle at top, #262b61 0, #050611 75%);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.95);
  }
  
  .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .gradient-1 { background: linear-gradient(135deg, #5f9bff, #6f7bff); }
  .gradient-2 { background: linear-gradient(135deg, #64e9c1, #3fb896); }
  .gradient-3 { background: linear-gradient(135deg, #ffb86b, #ff7b5f); }
  .gradient-4 { background: linear-gradient(135deg, #b586ff, #7d4cff); }
  .gradient-5 { background: linear-gradient(135deg, #6df2ff, #37bbee); }
  .gradient-6 { background: linear-gradient(135deg, #fc89ff, #f34fb0); }
  
  .mini-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.75rem;
  }
  
  .mini-list li {
    font-size: 0.84rem;
    color: #d3daec;
    margin-bottom: 0.25rem;
  }
  
  .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--accent-2);
  }
  
  /* Gradient audit section */
  .gradient-audit {
    background: radial-gradient(circle at right, rgba(95, 155, 255, 0.3), transparent 60%),
                linear-gradient(120deg, #2851e2, #1aa88a);
    color: white;
  }
  
  /* Lists */
  .check-list {
    list-style: none;
    padding-left: 0;
  }
  
  .check-list li {
    margin-bottom: 0.45rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
  }
  
  .check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
    color: var(--accent-2);
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    margin-top: 2.5rem;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  }
  
  .timeline-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
  }
  
  .timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #5f9bff, #171938);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .timeline-content {
    padding-bottom: 0.8rem;
  }
  
  /* Pills / metrics */
  .pill-stats {
    border-radius: 26px;
    padding: 1.6rem;
    background: radial-gradient(circle at top, #202555 0, #050611 70%);
    border: 1px solid rgba(110, 135, 230, 0.6);
    box-shadow: var(--shadow-soft);
  }
  
  .pill-stats > div {
    margin-bottom: 1.1rem;
  }
  
  .metric-label {
    font-weight: 600;
    color: var(--accent-2);
  }
  
  /* Forms */
  .glass-form {
    border-radius: 22px;
    padding: 1.8rem 1.6rem;
    background: rgba(5, 8, 24, 0.86);
    border: 1px solid rgba(130, 144, 210, 0.55);
    box-shadow: var(--shadow-soft);
  }
  
  .glass-form .form-control,
  .glass-form .form-select {
    background: rgba(5, 8, 24, 0.9);
    border-color: rgba(164, 178, 244, 0.6);
    color: var(--text-main);
  }

  .glass-form .form-control::placeholder,
  .glass-form .form-select::placeholder,
  textarea.form-control::placeholder {
    color: #95a2c9;
  }
  
  .glass-form .form-control:focus,
  .glass-form .form-select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 0.15rem rgba(95, 155, 255, 0.3);
  }
  
  /* Footer */
  .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  
  .footer-links li {
    margin-bottom: 0.3rem;
  }
  
  .footer-links a {
    color: #c5cee9;
    text-decoration: none;
    font-size: 0.85rem;
  }
  
  .footer-links a:hover {
    color: #ffffff;
  }
  
  /* Page-specific image heroes */
  .billing-hero {
    background-image: url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1920&q=80");
  }
  .denial-hero {
    background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80");
  }
  .credentialing-hero {
    background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1920&q=80");
  }
  .licensing-hero {
    background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1920&q=80");
  }
  .va-hero {
    background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1920&q=80");
  }
  .webdev-hero {
    background-image: url("https://images.unsplash.com/photo-1518773553398-650c184e0bb3?auto=format&fit=crop&w=1920&q=80");
  }
  .audit-hero {
    background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1920&q=80");
  }
  .about-hero {
    background-image: url("https://images.unsplash.com/photo-1516549655669-df7498be6af0?auto=format&fit=crop&w=1920&q=80");
  }
  .contact-hero {
    background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1920&q=80");
  }

  .highlight-card,
  .metric-stack,
  .audit-steps {
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: radial-gradient(circle at top, #1d2450 0, #060a1d 72%);
    border: 1px solid rgba(130, 144, 210, 0.45);
    box-shadow: var(--shadow-soft);
  }

  .highlight-card p,
  .metric-stack p,
  .audit-steps p,
  .audit-steps li {
    color: var(--text-muted);
  }

  .metric-stack > div {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .metric-stack > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .audit-steps ol {
    margin: 0;
    padding-left: 1.1rem;
  }

  .audit-steps li {
    margin-bottom: 0.65rem;
  }

  .custom-accordion .accordion-item {
    border: 1px solid rgba(130, 144, 210, 0.4);
    border-radius: 14px !important;
    margin-bottom: 0.6rem;
    overflow: hidden;
    background: rgba(7, 11, 28, 0.94);
  }

  .custom-accordion .accordion-button {
    color: var(--text-main);
    background: rgba(7, 11, 28, 0.94);
    font-weight: 600;
  }

  .custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(25, 38, 73, 0.96);
    box-shadow: none;
    color: #ffffff;
  }

  .custom-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(95, 155, 255, 0.28);
  }

  .custom-accordion .accordion-body {
    color: var(--text-muted);
  }

  .dropdown-menu {
    background: rgba(8, 13, 33, 0.95);
    border: 1px solid rgba(130, 144, 210, 0.45);
    backdrop-filter: blur(12px);
  }

  .dropdown-item {
    color: #d6def4;
  }

  .dropdown-item:hover,
  .dropdown-item:focus,
  .dropdown-item.active {
    color: #fff;
    background: rgba(95, 155, 255, 0.22);
  }
  
  .delay-1 { transition-delay: 0.12s; }
  .delay-2 { transition-delay: 0.22s; }
  .delay-3 { transition-delay: 0.32s; }

img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

.service-card,
.pill-stats,
.highlight-card,
.metric-stack,
.audit-steps,
.timeline-content {
  backdrop-filter: blur(2px);
}

.section-heading p,
.lead,
.text-muted {
  color: #f1f5ff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.32);
}

.btn-outline-light {
  border-width: 1.5px;
}

.btn-outline-light:hover {
  color: #09101f;
  background: #ffffff;
  border-color: #ffffff;
}

/* Media cards used across pages */
.media-grid-card {
  position: relative;
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.media-grid-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.media-grid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 8, 20, 0.9) 0%, rgba(4, 10, 23, 0.18) 68%);
  z-index: 1;
}

.media-grid-card:hover img {
  transform: scale(1.07);
}

.media-grid-content {
  position: relative;
  z-index: 2;
}

.media-grid-content h5 {
  color: #fff;
  margin-bottom: 0.2rem;
}

.media-grid-content p {
  color: rgba(241, 246, 255, 0.9);
  margin-bottom: 0;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: none;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseOrb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.56;
  }
}
  
  /* Responsive tweaks */
  @media (max-width: 991.98px) {
    .hero-section,
    .page-hero {
      padding-top: 6.5rem;
    }
  
    .hero-floating-card {
      position: static;
      margin-top: 1.3rem;
    }
  
    .timeline::before {
      left: 10px;
    }
  
    .timeline-icon {
      width: 30px;
      height: 30px;
    }
  }
  
  @media (max-width: 575.98px) {
    .section-padding {
      padding: 4rem 0;
    }

    .brand-logo-img {
      width: 210px;
      max-height: 56px;
    }
  
    .hero-card,
    .glass-form {
      padding: 1.4rem 1.2rem;
    }
  }