:root {
  --brand: #0b5ed7;
  --ink: #0b1220;
  --muted: #6c757d;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

/* Global */
html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; }

.topbar { background: #fbfbfc; }

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--brand);
  display: inline-block;
}

/* Hero */
.hero { position: relative; }

.hero-img {
  height: clamp(420px, 70vh, 720px);
  object-fit: cover;
  filter: contrast(1.06) saturate(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* Dark overlay = readability */
.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.54) 42%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

.hero-card {
  position: relative;
  pointer-events: auto;
  max-width: 780px;
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  background: rgba(12, 18, 32, 0.72); /* fallback if blur unsupported */
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.10);

  /* Safari + modern browsers */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* If backdrop-filter supported, slightly nicer glass tone */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero-card {
    background: rgba(12, 18, 32, 0.62);
  }
}

/* Text readability */
.eyebrow {
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.82rem;
  opacity: 0.95;
}

.hero-title,
.hero-lead,
.eyebrow {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.90);
  max-width: 64ch;
}

.hero-badges .badge { margin-right: 6px; }

/* Make carousel arrows visible on dark overlay */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
}

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: #f6f8fb; }
.section-head { max-width: 720px; }

/* Service cards */
.service-card {
  height: 100%;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(11, 94, 215, 0.10);
  margin-bottom: 14px;
}

.service-icon i {
  color: var(--brand);
  font-size: 20px;
}

/* About card */
.about-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Footer */
.footer { background: #0b1220; color: #e8edf7; }
.footer a { color: #e8edf7; }
.footer .text-muted { color: rgba(232, 237, 247, 0.72) !important; }
.footer-bottom a { opacity: 0.9; }
.footer-bottom a:hover { opacity: 1; }

/* Mobile tweaks */
@media (max-width: 575.98px) {
  .hero-card { padding: 20px; }
}