/* ===========================
   Global tokens & typography
   =========================== */

:root {
  --navy: #0f2640;
  --gold: #b89b5e;
  --gray: #555;
  --light: #f8f9fa;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: #333;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Libre Baskerville', serif;
  color: var(--navy);
}

/* ===========================
   Navbar & brand
   =========================== */

.navbar {
  background: var(--navy);
  padding: 1rem 0;
  font-weight: 600;
}

.navbar-brand,
.nav-link {
  color: white !important;
}

.nav-link:hover {
  color: var(--gold) !important;
}

/* GIF logo in navbar */
.navbar-brand-gif {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 576px) {
  .navbar-brand-gif {
    height: 48px;
  }
}

/* Hidden text for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile navbar */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--navy);
    padding: 0.5rem 1rem 1rem;
  }

  /* Custom hamburger button */
  .navbar-toggler.custom-toggler {
    border: 1px solid var(--gold);
    padding: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-toggler.custom-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    background-image: none !important; /* remove default Bootstrap icon */
    position: relative;
    width: 1.4rem;
    height: 2px;
    background-color: var(--gold);     /* middle line */
    border-radius: 999px;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 999px;
  }

  .navbar-toggler-icon::before {
    top: -6px;   /* top line */
  }

  .navbar-toggler-icon::after {
    top: 6px;    /* bottom line */
  }

  .navbar-toggler.custom-toggler:hover {
    background-color: var(--gold);
  }

  .navbar-toggler.custom-toggler:hover .navbar-toggler-icon,
  .navbar-toggler.custom-toggler:hover .navbar-toggler-icon::before,
  .navbar-toggler.custom-toggler:hover .navbar-toggler-icon::after {
    background-color: var(--navy);
  }
}

/* ===========================
   Main homepage hero
   =========================== */

.hero {
  background: linear-gradient(rgba(0, 30, 60, 0.92), rgba(0, 30, 60, 0.92)),
    url('https://images.unsplash.com/photo-1589820289827-9d2f7e35c1c7?q=80&w=2100&auto=format&fit=crop')
    center/cover no-repeat;
  color: white;
  padding: 160px 0 120px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--gold);
}

.hero .lead {
  font-size: 1.3rem;
  max-width: 860px;
  margin: 0 auto;
}

/* Small badge above hero title (Veteran-Owned, etc.) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 38, 64, 0.9);
  border: 1px solid rgba(184, 155, 94, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge span:first-child {
  font-weight: 700;
  color: var(--gold);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero .lead {
    font-size: 1.1rem;
  }
}

/* ===========================
   Buttons
   =========================== */

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: white;
}

/* ===========================
   Sections & headings
   =========================== */

section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.6rem;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
}

/* Used on service pages above H1 ("Core Service") */
.pill {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f8fafc;
  color: #475569;
}

/* ===========================
   Cards, stats, download box
   =========================== */

.card {
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.stat-box {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
}

.download-box {
  background: #f9f9f9;
  border: 1px solid #dee2e6;
  padding: 2rem;
  border-radius: 8px;
}

/* ===========================
   Inner/service page hero
   (audit, depositions, etc.)
   =========================== */

.hero-small {
  background: linear-gradient(rgba(0, 30, 60, 0.92), rgba(0, 30, 60, 0.92)),
    url('https://images.unsplash.com/photo-1589820289827-9d2f7e35c1c7?q=80&w=2100&auto=format&fit=crop')
    center/cover no-repeat;
  color: white;
  padding: 130px 0 70px;
  text-align: center;
}

.hero-small h1 {
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-small .lead,
.hero-small p.lead {
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
  color: #f9fafb;
}

/* Info boxes used on service pages */
.info-box {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
  margin-bottom: 1.5rem;
}

/* Numbered step badge (if used) */
.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 0.75rem;
}

/* Call-to-action band at bottom of service pages */
.contact-cta {
  background: var(--navy);
  color: white;
}

.contact-cta .lead {
  color: rgba(255, 255, 255, 0.75);
}

.contact-cta .btn-outline-gold {
  margin-top: 0.5rem;
}

/* ===========================
   About / Bio section
   =========================== */

.bio-photo {
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  object-fit: cover;
}

.about-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Intro video wrapper */
.intro-video {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

/* ===========================
   Contact sections
   (home & /contact page)
   =========================== */

.contact {
  background: var(--navy);
  color: white;
}

.contact .form-control {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Extra top padding when the contact section is first on the page (contact.html) */
#contact.contact {
  padding-top: 140px;
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: #111;
  color: #aaa;
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
:root {
    /* tweak this number to match your actual navbar height */
    --nav-height: 45px;
}

/* Any section that’s a scroll target gets some offset for the fixed nav */
section[id] {
    scroll-margin-top: calc(var(--nav-height) + 8px); /* +8px just for breathing room */
}
/* Make the logo area clearly clickable */
.navbar-brand {
    cursor: pointer;
}

/* Let the logo animate smoothly, but keep its original size */
.navbar-brand img {
    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

/* Hover / focus: subtle “button” reaction */
.navbar-brand:hover img,
.navbar-brand:focus-visible img {
    transform: scale(1.08); /* grows slightly from its current size */
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.9)); /* gold glow */
}

/* Optional: visible outline for keyboard users */
.navbar-brand:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}
