/* ============= ROOT COLORS ============= */
:root {
  --brand: #15B85A;
  --brand-dark: #0b7a2e;
  --bg: #ffffff;
  --surface: #f7faf8;
  --muted: #5a6b62;
  --text: #0b1320;
  --border: #e7efe9;
  --accent: #E8F5E9;
}

/* ============= GLOBAL ============= */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  background: #0f300f;
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO */
.menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-logo img {
  height: 46px;
}
.menu-logo strong {
  font-size: 1.2rem;
  color: #fff;
}

/* NAVIGATION */
.menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu a {
  color: #fff;
  font-weight: 600;
  position: relative;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
}

/* ============= HERO SECTION ============= */
.hero {
  background: var(--accent);
  padding: 64px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1;
  min-width: 300px;
}
.hero-text h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 10px;
  color: var(--brand-dark);
}
.hero-text p {
  color: var(--muted);
  margin-bottom: 24px;
}
.badge {
  display: inline-block;
  background: #d9f5e0;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--text);
  color: #fff;
}
.btn-secondary:hover {
  background: #333;
  transform: translateY(-1px);
}
.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.hero-image img {
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ============= SERVICES SECTION ============= */
.section {
  padding: 64px 0;
}
.section h2 {
  text-align: center;
  font-size: clamp(24px, 5vw, 34px);
  margin-bottom: 30px;
  color: var(--brand-dark);
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  text-align: center;
  color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.service-card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ============= TESTIMONIALS SECTION ============= */
.testimonials {
  background: var(--accent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonial-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.testimonial .stars {
  color: #f59e0b;
  font-weight: 900;
}
.testimonial strong {
  display: block;
  margin-top: 8px;
  color: var(--brand-dark);
}

/* ============= FOOTER ============= */
.footer {
  background: var(--brand-dark);
  color: #fff;
  padding: 48px 0;
  margin-top: 40px;
}
.footer .cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer a {
  color: #fff;
  opacity: .9;
}
.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer .brand img {
  height: 40px;
}
.legal {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  opacity: .9;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 15px;
}

/* ============= ABOUT PAGE ============= */
.about-section {
  background: #f9fcfa;
  padding: 40px 0 30px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.about-text h2 {
  color: var(--brand-dark);
  margin-bottom: 10px;
}
.about-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* CONTACT FORMS */
form.card input, 
form.card textarea, 
form.card select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 4px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}
form.card input[type="file"] {
  padding: 8px;
  background: #f8faf8;
  border: 1px dashed var(--brand);
}
form.card label {
  font-weight: 600;
  color: var(--brand-dark);
  display: block;
  margin-bottom: 4px;
}
form.card button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  transition: all 0.25s ease;
}
form.card button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ============= RESPONSIVE FIXES ============= */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .testimonial-list { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 2fr 1fr; }
}

/* ===== Slimmer desktop header ===== */
@media (min-width: 769px) {
  .site-header {
    height: 60px;
  }
  .nav-wrap {
    height: 60px;
    padding: 0 20px;
  }
  .menu {
    gap: 24px;
  }
  .menu a {
    font-size: 15px;
  }
  .menu-logo img {
    height: 38px;
  }
  .menu-logo strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-image img { max-width: 100%; margin-top: 20px; }
}

/* ===============================
   FINAL MOBILE HEADER FIX (2025)
   =============================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .container.nav-wrap {
    width: 100%;
    padding: 0 12px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0f300f;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 0;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    width: 100%;
  }

  .menu-logo {
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
  }

  .menu-logo img {
    height: 42px;
  }

  .menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 12px;
    margin: 0;
    list-style: none;
    width: 100%;
  }

  .menu li {
    flex: 0 0 auto;
  }

  .menu::-webkit-scrollbar {
    height: 4px;
  }
  .menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
  }

  .menu a {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
  }

  .menu a.active::after,
  .menu a:hover::after {
    background: #fff;
  }

  body {
    padding-top: 120px;
  }
}

body {
  overscroll-behavior: none;
}
