:root {
  --bg-main: #f3f7f9;
  --bg-alt: #ebf2f6;
  --text-main: #0f1f2e;
  --text-soft: #5d6c79;
  --brand: #0d6e8a;
  --brand-2: #16a085;
  --line: #d6e0e7;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15, 31, 46, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Outfit", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 10%, rgba(22, 160, 133, 0.15), transparent 45%),
    radial-gradient(circle at 90% 8%, rgba(13, 110, 138, 0.15), transparent 38%),
    linear-gradient(160deg, #f4f8fb 0%, #edf4f8 52%, #f7fbfd 100%);
}

.nav-glass {
  backdrop-filter: blur(6px);
  background: rgba(244, 248, 251, 0.8);
  border-bottom: 1px solid rgba(214, 224, 231, 0.8);
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--text-main);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .brand-mark span {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--text-main);
  border-radius: 10px;
  padding-inline: 0.8rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--brand);
  background: rgba(13, 110, 138, 0.1);
}

.hero-section {
  padding-top: 1.5rem;
}

.hero-title {
  max-width: 14ch;
  line-height: 1.1;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbfc 100%);
  box-shadow: var(--shadow);
}

.badge-soft {
  border: 1px solid var(--line);
  color: var(--brand);
}

.section-title {
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 110, 138, 0.04), rgba(22, 160, 133, 0.06));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-header {
  border-bottom: 1px solid var(--line);
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.service-card i {
  color: var(--brand);
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  padding: 0.65rem 0.3rem;
  border-bottom: 1px dashed var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item span {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
  font-weight: 500;
}

.step-card span {
  display: inline-block;
  min-width: 2.3rem;
  text-align: center;
  margin-right: 0.4rem;
  border-radius: 8px;
  background: rgba(13, 110, 138, 0.12);
  color: var(--brand);
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: #0b5f78;
  --bs-btn-hover-border-color: #0b5f78;
}

.btn-outline-primary {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 991.98px) {
  .hero-title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-up.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
