/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Nav ── */
.nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,35,66,0.06);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(10,35,66,0.08); }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3aad78;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.btn-nav {
  background: #0a2342;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-nav:hover { background: #1e3f66; transform: translateY(-1px); }

/* Mobile menu */
.mobile-menu { animation: slideDown 0.25s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-link { border-bottom: 1px solid #d0d9e4; }
.mobile-link:last-child { border-bottom: none; }

/* ── Sections ── */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #e3f5ec 50%, #f4fbf8 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-content { order: 2; }
.hero-image   { order: 1; }
@media (min-width: 1024px) { .hero-content { order: 1; } .hero-image   { order: 2; } }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #0a2342;
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(10,35,66,0.25);
}
.btn-primary:hover { background: #1e3f66; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,35,66,0.3); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0a2342;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  border: 2px solid #0a2342;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: #0a2342; color: #fff; transform: translateY(-2px); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0a2342;
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }

/* ── Badges ── */
.badge-tag {
  display: inline-block;
  background: #e3f5ec;
  color: #1c6847;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid #c5ebd8;
}

/* ── Service Cards ── */
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: background 0.25s, transform 0.2s, border-color 0.25s;
}
.service-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  border-color: rgba(149,219,186,0.3);
}

/* ── Area Cards ── */
.area-card { transition: transform 0.2s; }
.area-card:hover { transform: translateY(-4px); }

/* ── Testimonial Cards ── */
.testimonial-card {
  background: #f0f4f8;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,35,66,0.1); }

/* ── Form ── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d0d9e4;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0a2342;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-field:focus {
  border-color: #3aad78;
  box-shadow: 0 0 0 3px rgba(58,173,120,0.15);
}
.input-field::placeholder { color: #a8b8cc; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.reveal[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
