:root {
  --mc-primary: #0b3c5d;
  --mc-primary-dark: #082b44;
  --mc-accent: #14b8a6;
  --mc-light: #f4f8fc;
  --mc-text: #10243a;
  --mc-muted: #5a6b7c;
  --mc-border: #d7e4f0;
  --mc-shadow: 0 18px 45px rgba(11, 60, 93, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--mc-text);
  background: #fff;
}

a {
  text-decoration: none;
}

.topbar {
  background: var(--mc-primary-dark);
  color: #dbe9f4;
  font-size: 0.88rem;
}

.navbar {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 8px 24px rgba(10, 28, 48, 0.1);
}

.navbar-brand {
  letter-spacing: 0.2px;
  color: var(--mc-primary) !important;
}

.navbar .nav-link {
  color: #17354f;
  font-weight: 500;
  padding-left: 0.95rem !important;
  padding-right: 0.95rem !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--mc-accent) !important;
}

.btn-brand {
  background: var(--mc-accent);
  border-color: var(--mc-accent);
  color: #05302b;
  font-weight: 600;
}

.btn-brand:hover {
  background: #0fa898;
  border-color: #0fa898;
  color: #032521;
}

.btn-outline-brand {
  border-color: #9fc0d8;
  color: var(--mc-primary);
}

.btn-outline-brand:hover {
  border-color: var(--mc-primary);
  background: rgba(11, 60, 93, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 5.5rem;
  background: linear-gradient(145deg, #e8f5fb, #f5fbff 55%, #e9f4f2);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  filter: blur(3px);
}

.hero::before {
  width: 360px;
  height: 360px;
  top: -110px;
  right: -80px;
  background: rgba(20, 184, 166, 0.18);
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -90px;
  background: rgba(11, 60, 93, 0.16);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: rgba(11, 60, 93, 0.08);
  color: var(--mc-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero h1 {
  color: var(--mc-primary);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.1;
}

.hero .lead {
  color: var(--mc-muted);
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--mc-border);
  border-radius: 1.1rem;
  padding: 1.2rem;
  box-shadow: var(--mc-shadow);
}

.hero-mini-card {
  border: 1px solid var(--mc-border);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: #fcfeff;
}

.section {
  padding: 5.2rem 0;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--mc-primary);
}

.section-title p {
  color: var(--mc-muted);
  max-width: 700px;
  margin: 0.4rem auto 0;
}

.service-card,
.feature-card,
.stat-card,
.testimonial-card,
.timeline-card,
.faq-card,
.contact-panel,
.form-panel {
  border: 1px solid var(--mc-border);
  border-radius: 1rem;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.feature-card:hover,
.timeline-card:hover,
.testimonial-card:hover,
.faq-card:hover {
  transform: translateY(-6px);
  border-color: #bdd2e4;
  box-shadow: var(--mc-shadow);
}

.service-card {
  padding: 1.35rem;
  height: 100%;
}

.icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.12);
  color: var(--mc-accent);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.stat-wrap {
  background: var(--mc-light);
}

.stat-card {
  padding: 1rem;
  text-align: center;
}

.stat-number {
  color: var(--mc-primary);
  font-size: 1.9rem;
  font-weight: 700;
}

.text-muted-custom {
  color: var(--mc-muted);
}

.feature-card {
  padding: 1.4rem;
  height: 100%;
}

.timeline-card {
  padding: 1.1rem 1.2rem;
  height: 100%;
}

.timeline-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mc-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.cta-block {
  background: linear-gradient(120deg, var(--mc-primary), #0b4f63);
  border-radius: 1.15rem;
  color: #f0f8ff;
  padding: 2rem;
}

.page-hero {
  padding: 6rem 0 3.3rem;
  background: linear-gradient(180deg, #f0f8ff, #ffffff);
}

.page-hero p {
  color: var(--mc-muted);
}

.testimonial-card,
.faq-card,
.contact-panel,
.form-panel {
  padding: 1.2rem;
}

.faq-card .accordion-button:not(.collapsed) {
  color: var(--mc-primary-dark);
  background: rgba(11, 60, 93, 0.06);
}

.faq-card .accordion-button:focus {
  box-shadow: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
  color: var(--mc-muted);
}

.contact-item i {
  color: var(--mc-accent);
  margin-top: 0.2rem;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 1rem;
}

footer {
  background: #071d2e;
  color: #d2dfec;
}

footer a {
  color: #d2dfec;
}

footer a:hover {
  color: #a8d9d3;
}

.footer-title {
  color: #fff;
}

@media (max-width: 991px) {
  .hero {
    padding-top: 6.4rem;
  }
}
