/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F0FAF6; }
::-webkit-scrollbar-thumb { background: #B3EAD4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7ED4C1; }

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ED4C1;
  background: linear-gradient(135deg, rgba(126,212,193,0.15), rgba(126,212,193,0.05));
  border: 1px solid rgba(126,212,193,0.3);
  padding: 0.4em 1em;
  border-radius: 100px;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0A2540;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.1rem;
  color: #5A7EA3;
  line-height: 1.7;
}

/* ── Navbar ── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7ED4C1;
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

/* ── Hero ── */
.hero-bg {
  position: relative;
}
.hero-img {
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  background: rgba(10, 37, 64, 0.35);
}
.hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease forwards 0.3s;
}
.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.5s;
}
.hero-badge {
  opacity: 0;
  animation: heroFade 0.6s ease forwards 0.1s;
}
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.7s;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFade {
  to { opacity: 1; }
}

/* ── Service Cards ── */
.service-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Area Cards ── */
.area-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.4s ease;
}
.area-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Testimonial Cards ── */
.testimonial-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.4s ease;
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu ── */
.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navbar Scroll State ── */
nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06);
}
nav.scrolled .nav-link { color: #5A7EA3; }
nav.scrolled .nav-logo-text { color: #0A2540; }
nav.scrolled .hero-logo-icon path { fill: #0A2540; }

/* ── Utility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .service-card, .area-card, .testimonial-card {
    opacity: 1;
    transform: none;
  }
}
