:root {
  --river-navy: #1c3360;
  --river-green: #2ab071;
  --river-mint: #9adfbf;
  --river-light: #f2f5f8;
  --river-ink: #15223f;
  --hero-slider-height: 540px;
}

body {
  font-family: "Lato", Tahoma, Geneva, Verdana, sans-serif;
  color: #15223f;
  background: #f8fafc 0%;
}

.site-header {
  background: #1c3360;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 6px 18px rgba(9, 22, 46, 0.22);
}

.navbar {
  background-color: #1c3360;
}

.main-nav {
  min-height: 88px;
}

#mainNav {
  flex-grow: 1;
}

@media (min-width: 992px) {
  #mainNav {
    margin-left: 1.5rem;
  }

  .nav-group {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
}

.site-brand img {
  height: 58px;
  width: auto;
  display: block;
}

.nav-group .nav-link {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  font-weight: 500;
}

.nav-cta {
  background: #2ab071;
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 700;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.nav-login {
  background: #7fd8aa;
  color: #0f3d2c !important;
}

.nav-login:hover,
.nav-login:focus {
  background: #6bcb99;
  color: #0a2d21 !important;
}

.opening-band {
  background: #2ab071;
  color: #ffffff;
}

.opening-status {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

.hero {
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(42, 176, 113, 0.2),
      transparent 40%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(154, 223, 191, 0.25),
      transparent 35%
    );
  padding: 4rem 0 3.5rem;
}

.hero h1 {
  color: #1c3360;
  font-weight: 800;
  line-height: 1.1;
}

.hero p {
  font-size: 1.1rem;
}

.hero-slider {
  background: #0f1f44;
  position: relative;
  height: var(--hero-slider-height);
  overflow: hidden;
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-slider-overlay .container {
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--hero-slider-height) * 0.25);
}

.hero-slider-overlay-content {
  max-width: 680px;
  text-align: left;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-slider-overlay-content h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-slider-overlay-content p {
  margin: 0.4rem 0 0;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
}

.hero-slider .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider .carousel-caption {
  background: rgba(21, 34, 63, 0.65);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
  background-color: #9adfbf;
}

@media (max-width: 991.98px) {
  :root {
    --hero-slider-height: 360px;
  }

  .site-brand img {
    height: 50px;
  }

  .main-nav {
    min-height: 78px;
  }

  .nav-group .nav-link {
    padding: 0.5rem 0;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 0.35rem;
  }

  .hero-slider-overlay-content {
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --hero-slider-height: 260px;
  }

  .hero-slider-overlay-content {
    max-width: 100%;
  }

  .hero-slider-overlay-content p {
    display: none;
  }
}

.btn-primary {
  --bs-btn-bg: #1c3360;
  --bs-btn-border-color: #1c3360;
  --bs-btn-hover-bg: #162b56;
  --bs-btn-hover-border-color: #162b56;
}

.btn-success {
  --bs-btn-bg: #2ab071;
  --bs-btn-border-color: #2ab071;
  --bs-btn-hover-bg: #23955f;
  --bs-btn-hover-border-color: #23955f;
}

.section-title {
  color: #1c3360;
  font-weight: 700;
}

.service-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(20, 34, 63, 0.08);
  height: 100%;
  overflow: hidden;
}

.service-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.service-card .card-title {
  color: #1c3360;
  font-weight: 700;
}

.soft-panel {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(33, 59, 115, 0.08);
}

.footer {
  background: #1c3360;
  color: #eaf0ff;
}

.footer a {
  color: #9adfbf;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: #ffffff;
}

/*overrides*/
.cardcol {
  padding: 15px;
}
.carousel-control-prev,
.carousel-control-next {
  border: none;
  opacity: 0;
}
.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  opacity: 0;
}
