@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

html {
  scroll-behavior: smooth;
}

:root,
[data-bs-theme=light] {
  --bs-body-bg: #e5e5e5;
}

body {
  min-height: 100vh;
  color: #1f2937;
}

#heroBanner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1rem 5rem;
  background: #0f172a;
}

#heroImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.heroOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(5, 10, 25, 0.62), rgba(5, 10, 25, 0.62)),
    radial-gradient(circle at center, rgba(20, 38, 85, 0.25), rgba(5, 10, 25, 0.55));
}

.heroContent {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.logoStyling {
  font-family: "Libre Baskerville", serif;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

#heroLogo {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: #ffffff;
  visibility: visible;
  opacity: 1;
  text-shadow: 0 5px 18px rgba(0,0,0,0.85);
  margin-bottom: clamp(2rem, 5vh, 4rem);
  transition: visibility 150ms cubic-bezier(0.4, 0, 0.2, 1), opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

#stickyLogo {
  position: fixed;
  top: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  font-size: clamp(1rem, 2.2vw, 1.8rem);
  color: #335199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.logo-docked #stickyLogo {
  opacity: 1;
}

body.logo-docked #heroLogo {
  visibility: hidden;
  opacity: 0;
}

.eyebrow {
  color: #dbe7ff;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

#subtitle {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(2rem, 3.25vw, 4.4rem);
  line-height: 1.12;
  margin: 0 auto 1.25rem;
  text-shadow: 0 5px 18px rgba(0,0,0,0.9);
}

.heroSubtext {
  max-width: 760px;
  margin: 0 auto 1rem;
  color: #f5f8ff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  text-shadow: 0 3px 10px rgba(0,0,0,0.8);
}

.heroTrust {
  display: inline-block;
  margin: 0.75rem auto 1.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.heroButtons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-xl {
  padding: 0.95rem 1.55rem;
  font-weight: 800;
  border-radius: 0.45rem;
}

.btn-primary {
  background-color: #335199;
  border-color: #335199;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #263f7b;
  border-color: #263f7b;
}

.btn-call {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #1f2f5f;
}

.btn-call:hover {
  background-color: #eaf0ff;
  border-color: #eaf0ff;
  color: #1f2f5f;
}

.navbar {
  background: transparent;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 74px;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.65);
}

body.logo-docked .navbar,
.navbar.showing-menu {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

body.logo-docked .navbar .nav-link,
.navbar.showing-menu .nav-link {
  color: #2d3748;
  text-shadow: none;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.65);
}

body.logo-docked .navbar-toggler,
.navbar.showing-menu .navbar-toggler {
  border-color: rgba(0,0,0,0.25);
}

.maxWidthHeader {
  margin-left: auto;
  margin-right: auto;
  width: clamp(16rem, 90vw, 92.5rem);
  max-width: unset;
  padding: unset;
}

.card {
  --mdb-card-box-shadow: 0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04);
  --bs-card-bg: white;
  box-shadow: var(--mdb-card-box-shadow);
  border: 0;
}

.sectionHeading {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.sectionHeading h2 {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  color: #172554;
}

.sectionHeading p {
  color: #4b5563;
  font-size: 1.08rem;
}

.stars {
  color: rgb(251,188,4);
}

.serviceCard h5 {
  color: #172554;
  font-weight: 800;
}

.serviceCard p {
  color: #4b5563;
  margin-bottom: 0;
}

table th {
  padding-right: 0.75rem;
  color: #374151;
}

a {
  color: #335199;
}

a:hover {
  color: #263f7b;
}

.siteFooter {
  background: #0f172a;
  color: #f8fafc;
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.96);
  }

  .navbar-collapse .nav-link {
    color: #2d3748;
    text-shadow: none;
  }

  #heroLogo {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  #stickyLogo {
    top: 1.25rem;
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
}

@media (max-width: 768px) {
  #heroBanner {
    min-height: 100vh;
    padding-top: 8rem;
  }

  .heroButtons {
    flex-direction: column;
    align-items: stretch;
  }

  .heroButtons .btn {
    width: 100%;
  }

  .eyebrow {
    letter-spacing: 0.12em;
  }
}