:root {
  --brand-primary: #0d6efd;
  --brand-accent: #20c997;
  --brand-dark: #0b1f3a;
  --brand-soft: #f4f9ff;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  color: #1f2a37;
  background: #f5f9ff;
  padding-top: 88px; /* space for fixed header */
  padding-bottom: 88px; /* space for fixed footer */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.navbar {
  background: #ffffff;
}

.hero {
  background: linear-gradient(115deg, #dbeafe 0%, #eaf3ff 55%, #ffffff 100%);
  padding: 4.5rem 0 3.5rem;
}

.hero.home-hero {
  padding: 6rem 0 4rem;
}

.hero-badge {
  background: rgba(13, 110, 253, 0.12);
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-visual {
  background: radial-gradient(circle at top, #ffffff 0%, #e9f4ff 55%, #d7e9ff 100%);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.18);
}

.service-card,
.info-card,
.stats-card {
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.info-card:hover,
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 36px rgba(15, 23, 42, 0.12);
}

.service-card .icon,
.info-card .icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.section-title {
  color: var(--brand-dark);
}

.feature-list i {
  color: var(--brand-accent);
}

.cta {
  background: var(--brand-dark);
  color: #ffffff;
  border-radius: 24px;
}

.cta .btn-light {
  color: var(--brand-dark);
}

.bg-light {
  background-color: #eaf3ff !important;
}

.footer {
  background: #eaf3ff;
}

/* Fixed header/footer helpers */
.navbar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}
.footer.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  box-shadow: 0 -6px 18px rgba(15,23,42,0.04);
}

.table-pricing thead th {
  background: #dbeafe;
  color: var(--brand-dark);
}

.table-pricing tbody tr {
  background: #ffffff;
}

.map-placeholder {
  background: #e2e8f0;
  border-radius: 18px;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 600;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.18);
}

.specialty-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 14px;
}

/* Slider background images (local SVGs) */
.hero.home-hero {
  position: relative;
  z-index: 0;
}
.hero.home-hero > .container {
  position: relative;
  z-index: 2;
}

#heroCarousel .carousel-item .hero.home-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  transition: background-image 0.6s ease;
}

#heroCarousel .carousel-item .hero.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.14));
  z-index: 1;
  pointer-events: none;
}

#heroCarousel .carousel-item:nth-child(1) .hero.home-hero {
  background-image: url('/images/slide1.jpg');
}
#heroCarousel .carousel-item:nth-child(2) .hero.home-hero {
  background-image: url('/images/slide2.jpg');
}
#heroCarousel .carousel-item:nth-child(3) .hero.home-hero {
  background-image: url('/images/slide3.jpg');
}
