/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --green:       #3a8c1c;
  --green-dark:  #2a6614;
  --green-light: #4faa28;
  --green-pale:  #eef7e8;
  --text:        #1c1c1c;
  --text-mid:    #444;
  --text-muted:  #777;
  --border:      #dde8d6;
  --white:       #fff;
  --bg:          #f8fdf4;
  --nav-h:       72px;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 4px 24px rgba(58,140,28,0.10);
}
.nav-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-mid);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active-link {
  color: var(--green);
  border-color: var(--green);
}
.nav-links .contact-link a {
  background: var(--green);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 3px;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-links .contact-link a:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 5% 20px;
  gap: 4px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.mobile-nav.open {
  display: flex;
  max-height: 300px;
  padding: 12px 5% 20px;
}
.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--green); padding-left: 6px; }
.mobile-nav a.active-link { color: var(--green); }

/* ─── PAGE BANNER (inner pages) ─── */
.page-banner {
  background: var(--green-dark);
  padding: 60px 5% 56px;
  overflow: hidden;
  position: relative;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.page-banner h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
}

/* ─── CONTACT CTA ─── */
.contact-cta {
  position: relative;
  overflow: hidden;
}
.contact-cta-img-wrap {
  position: relative;
  height: 280px;
}
.contact-cta-svg {
  width: 100%;
  height: 100%;
}
.contact-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,45,10,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 5%;
  gap: 16px;
}
.contact-cta-overlay h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
}
.contact-cta-overlay p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
}

/* ─── BANNER BTN ─── */
.banner-btn {
  display: inline-block;
  background: var(--green-light);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  align-self: center;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.index-btn {
  align-self: flex-start;
}
.banner-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.banner-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42,102,20,0.35);
}
.banner-btn:hover::after { opacity: 1; }

/* ─── FOOTER ─── */
footer {
  background: var(--text);
  padding: 44px 5% 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand img {
  height: 40px;
  display: block;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}
.footer-brand img:hover { opacity: 0.75; }
.footer-brand p {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 240px;
  font-weight: 300;
}
.footer-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.footer-info p, .footer-info a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  text-decoration: none;
  display: block;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-info a:hover { color: var(--white); }
.footer-bottom {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
}

/* ─── ANIMATION BASE CLASSES ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 820px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .banner-btn { padding: 11px 22px; }
}
