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

/* ── Nav ── */
.nav { transition: box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 1px 20px rgba(26, 92, 42, 0.08); }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a5c2a;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-menu-open #mobileMenu { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { transition: color 0.2s ease; }
.mobile-link:hover { color: #6aaa52; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #1a5c2a;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #1a5c2a;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary:hover {
  background: #154a22;
  border-color: #154a22;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26, 92, 42, 0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

/* ── Tags ── */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a5c2a;
  background: #e3efdc;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.tag-light {
  color: #99c787;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── Hero ── */
.hero { position: relative; }
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  animation: scrollBounce 2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ── Stat Cards ── */
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 1.5rem;
  color: white;
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}
.card-1 { animation: float1 6s ease-in-out infinite; }
.card-2 { animation: float2 6s ease-in-out infinite 1s; }
.card-3 { animation: float3 6s ease-in-out infinite 2s; }
.card-4 { animation: float4 6s ease-in-out infinite 0.5s; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float4 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ── Service Cards ── */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 92, 42, 0.12);
}

/* ── Contact Cards ── */
.contact-info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 92, 42, 0.1);
}

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.input-field:focus {
  border-color: #1a5c2a;
  box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.1);
}
.input-field::placeholder { color: #9ca3af; }

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .nav { padding: 0 1rem; }
  .hero h1 { font-size: 2.5rem; }
  .stat-card { padding: 1.25rem; }
}
