/* ============================================
   HOME GREEN PEST CONTROL - Main Stylesheet
   Palette: Forest Green #2D6A2D | Lime #6DBF4A | Black #1A1A1A | White #FFFFFF
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --green-dark:   #2D6A2D;
  --green-mid:    #3E8B2F;
  --green-light:  #6DBF4A;
  --green-pale:   #EAF5E3;
  --black:        #1A1A1A;
  --grey-dark:    #444444;
  --grey-mid:     #777777;
  --grey-light:   #F5F5F5;
  --white:        #FFFFFF;
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
  --radius:       10px;
  --transition:   0.3s ease;
  --font:         'Poppins', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Typography ---- */
h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.1rem, 4vw, 1.6rem); font-weight: 700; }
h3 { font-size: clamp(0.95rem, 3vw, 1.15rem); font-weight: 600; }
p  { font-size: 0.875rem; color: var(--grey-dark); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0 16px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo img {
  height: 38px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text span:first-child {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-logo-text span:last-child {
  font-size: 0.65rem;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links {
  display: none;
  gap: 24px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-dark);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green-light);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  display: none;
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-mid) !important; }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.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 drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 58px; left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 16px 0;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-dark);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--green-dark);
  border-color: var(--green-light);
  background: var(--green-pale);
}

/* ---- Hero Slideshow ---- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  margin-top: 58px;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; }
/* SVG-based hero backgrounds using CSS gradients + patterns */
.slide-1 {
  background: linear-gradient(135deg, #1a4a1a 0%, #2D6A2D 40%, #3E8B2F 70%, #6DBF4A 100%);
}
.slide-2 {
  background: linear-gradient(135deg, #0d2e0d 0%, #1e4f1e 40%, #2D6A2D 70%, #4a8a3a 100%);
}
.slide-3 {
  background: linear-gradient(135deg, #2a5c1a 0%, #3E8B2F 50%, #5caa40 100%);
}
.slide-4 {
  background: linear-gradient(135deg, #163016 0%, #2D6A2D 45%, #6DBF4A 100%);
}
.slide-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Ccircle cx='150' cy='150' r='60' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.22) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  max-width: 560px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(109,191,74,0.25);
  border: 1px solid rgba(109,191,74,0.5);
  color: #c5f5a0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hero-tag svg { width: 12px; height: 12px; fill: #c5f5a0; }
.hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--green-light); }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin-bottom: 20px;
  max-width: 380px;
}
.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 25px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(109,191,74,0.4);
}
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 25px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--white); color: var(--green-dark); }

/* Slide indicators */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
}
.hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots span.active {
  background: var(--green-light);
  width: 22px;
  border-radius: 4px;
}

/* Pest crawl animation strip */
.pest-divider {
  height: 36px;
  background: var(--green-dark);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.pest-crawl {
  display: flex;
  gap: 40px;
  animation: crawl 18s linear infinite;
  white-space: nowrap;
}
.pest-crawl span {
  font-size: 16px;
  opacity: 0.7;
}
@keyframes crawl {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ---- Section Common ---- */
.section {
  padding: 48px 16px;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 6px;
}
.section-title {
  margin-bottom: 8px;
  color: var(--black);
}
.section-sub {
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin-bottom: 30px;
  max-width: 500px;
}
.section-bg { background: var(--grey-light); }
.green-accent { color: var(--green-dark); }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--green-dark);
  padding: 20px 16px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.stat-item .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}
.stat-item .lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green-light);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(45,106,45,0.15);
}
.service-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}
.service-card h3 {
  font-size: 0.82rem;
  margin-bottom: 5px;
  color: var(--green-dark);
}
.service-card p {
  font-size: 0.75rem;
  color: var(--grey-mid);
  line-height: 1.5;
}

/* ---- Why Us ---- */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.why-text h3 { font-size: 0.85rem; margin-bottom: 3px; }
.why-text p { font-size: 0.76rem; }

/* ---- Coverage Areas ---- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.area-chip {
  background: var(--green-pale);
  border: 1px solid rgba(109,191,74,0.3);
  border-radius: 20px;
  padding: 7px 8px;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--green-dark);
  transition: var(--transition);
}
.area-chip:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ---- Process Steps ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-light), var(--green-dark));
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-light);
}
.step-body h3 { font-size: 0.88rem; margin-bottom: 3px; }
.step-body p { font-size: 0.76rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 36px 16px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.82rem; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.cta-phone:hover { transform: scale(1.03); }

/* ---- Footer ---- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 36px 16px 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer-brand .footer-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.footer-brand .footer-logo-text span { color: var(--green-light); }
.footer-brand p { font-size: 0.78rem; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 7px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-light); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}
.social-btn:hover { background: var(--green-dark); color: var(--white); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: transform var(--transition);
  animation: wa-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 60px 16px 32px;
  text-align: center;
  margin-top: 58px;
}
.page-header h1 { color: var(--white); font-size: clamp(1.2rem, 5vw, 1.8rem); }
.page-header p { color: rgba(255,255,255,0.8); font-size: 0.82rem; margin-top: 8px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}
.breadcrumb a { color: var(--green-light); }

/* ---- About Page ---- */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  font-size: 80px;
}
.about-text h2 { margin-bottom: 10px; }
.about-text p { font-size: 0.84rem; margin-bottom: 10px; }

/* Location box */
.location-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--green-light);
}
.location-box iframe { display: block; width: 100%; height: 280px; border: none; }
.location-info {
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 16px;
}
.location-info p { color: rgba(255,255,255,0.85); font-size: 0.78rem; margin-bottom: 5px; }
.location-info strong { color: var(--green-light); }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 4px solid var(--green-light);
}
.contact-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-details h3 { font-size: 0.82rem; margin-bottom: 4px; color: var(--green-dark); }
.contact-details a, .contact-details p { font-size: 0.8rem; color: var(--grey-dark); }
.contact-details a:hover { color: var(--green-dark); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 0.95rem; margin-bottom: 16px; color: var(--green-dark); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 5px; color: var(--grey-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-light); }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit {
  width: 100%;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 25px;
  padding: 11px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-submit:hover { background: var(--green-mid); }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--green-light);
}
.t-stars { color: #f5a623; font-size: 0.8rem; margin-bottom: 6px; }
.t-text { font-size: 0.78rem; color: var(--grey-dark); margin-bottom: 10px; font-style: italic; }
.t-author { font-size: 0.74rem; font-weight: 600; color: var(--green-dark); }

/* ---- Services Page ---- */
.service-full-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  border-left: 4px solid var(--green-light);
}
.service-full-card h3 { font-size: 0.92rem; color: var(--green-dark); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.service-full-card p { font-size: 0.8rem; }
.service-badge {
  font-size: 0.65rem;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* ---- YouTube section ---- */
.yt-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--green-light);
}
.yt-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }

/* ---- Responsive: Tablet / Desktop ---- */
@media (min-width: 640px) {
  body { font-size: 15px; }
  .navbar { padding: 0 32px; }
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .section { padding: 64px 32px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .about-intro { flex-direction: row; }
  .about-img-wrap { min-width: 200px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { flex-direction: row; flex-wrap: wrap; }
  .testimonial-card { flex: 1; min-width: 220px; }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 80px 64px; }
  .navbar { padding: 0 64px; }
  .hero-content { padding: 0 64px; max-width: 640px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 700px; }
}
/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,106,45,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Gallery entrance animation */
.gallery-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}
.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
/* ---- Timeline (How It Works) ---- */
.timeline {
  position: relative;
  padding-left: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-light), var(--green-dark));
}
.timeline-item {
  position: relative;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }
.timeline-item:nth-child(5) { transition-delay: 0.4s; }

.timeline-circle {
  position: absolute;
  left: -56px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(109,191,74,0.15);
  transition: background 0.3s ease, color 0.3s ease;
}
.timeline-item.visible .timeline-circle {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--green-light);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.timeline-card:hover {
  box-shadow: 0 6px 24px rgba(45,106,45,0.14);
  border-color: var(--green-dark);
}
.timeline-card h3 {
  font-size: 0.9rem;
  color: var(--green-dark);
  margin-bottom: 5px;
}
.timeline-card p {
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ============================================
   SERVICE PAGE — Image + Text Layout Cards
   ============================================ */

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
}
.svc-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.svc-card:hover {
  box-shadow: 0 8px 32px rgba(45,106,45,0.14);
}

/* Image side */
.svc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--green-pale);
  flex-shrink: 0;
}
.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.svc-card:hover .svc-img-wrap img {
  transform: scale(1.05);
}
.svc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Text side */
.svc-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--green-light);
}
.svc-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-emoji {
  font-size: 20px;
  line-height: 1;
}
.svc-body h3 {
  font-size: 0.95rem;
  color: var(--green-dark);
  font-weight: 700;
  margin: 0;
}
.svc-body p {
  font-size: 0.8rem;
  color: var(--grey-dark);
  line-height: 1.6;
  margin: 0;
}
.svc-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.svc-cta:hover {
  color: var(--green-mid);
  border-color: var(--green-mid);
}

/* Stagger delay */
.svc-card:nth-child(odd)  { transition-delay: 0.05s; }
.svc-card:nth-child(even) { transition-delay: 0.12s; }

/* Desktop — alternate image left / right */
@media (min-width: 640px) {
  .svc-card {
    flex-direction: row;
    min-height: 220px;
  }
  .svc-card.svc-card-reverse {
    flex-direction: row-reverse;
  }
  .svc-img-wrap {
    width: 38%;
    aspect-ratio: unset;
    flex-shrink: 0;
  }
  .svc-body {
    border-top: none;
    border-left: 4px solid var(--green-light);
    justify-content: center;
    padding: 20px 22px;
  }
  .svc-card.svc-card-reverse .svc-body {
    border-left: none;
    border-right: 4px solid var(--green-light);
  }
}