:root {
  --primary: #2f6b3b;
  --primary-dark: #23532d;
  --primary-soft: #eef4ec;
  --text-dark: #222222;
  --text: #555555;
  --white: #ffffff;
  --bg: #f7f7f5;
  --border: #e8ece6;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.05);
  --container: 1180px;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  padding-bottom: 6px;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-sm {
  padding: 14px 22px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
}

.btn-sm:hover {
  background: var(--primary-dark);
}

.btn-primary {
  padding: 16px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  padding: 16px 28px;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
  font-size: 15px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* HERO */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url('assets/img/tamanvertical.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 45, 28, 0.78) 0%,
    rgba(25, 45, 28, 0.55) 45%,
    rgba(25, 45, 28, 0.28) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  color: #fff;
  padding: 70px 0;
}

.eyebrow {
  display: none;
}

.hero h1 {
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.08;
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.96);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* SECTION */
.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 30px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  margin-bottom: 10px;
  color: #222;
}

.section-head p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text);
  font-size: 17px;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* INTRO */
.intro {
  background: #fff;
}

/* SERVICES */
.services {
  background: #f8f8f6;
}

.services .section-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}


.service-box {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--primary); /* Pastikan warna ikon sesuai dengan tema */
  stroke: none; /* Hapus stroke jika tidak dibutuhkan */
  stroke-width: 0; /* Setel ulang lebar stroke */
}

.service-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 18px 0 10px;
}

.service-box p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* CITY LINKS */
.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 20px;
}

.city-links a {
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 700;
}

/* CARD GRID */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card-body p {
  color: var(--text);
}

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-box {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.feature-box h3 {
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text);
}

/* TESTIMONIAL */
.testimonial-card {
  padding: 24px;
}

.testimonial-card p {
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card h4 {
  color: var(--primary-dark);
  font-size: 15px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.faq-item p {
  color: var(--text);
}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #255330, #2f6b3b);
  border-radius: 24px;
  padding: 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255,255,255,0.9);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  padding: 16px 26px;
}

.btn-light:hover {
  opacity: 0.92;
}

/* FOOTER */
.footer {
  background: #18211b;
  color: rgba(255,255,255,0.8);
  margin-top: 40px;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 30px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer ul li + li {
  margin-top: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
}

/* FLOATING WHATSAPP */
.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  z-index: 999;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid,
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
  }

  .nav-menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    padding: 72px 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .card-grid.three,
  .card-grid.four,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text,
  .section-head p,
  .service-box p,
  .faq-item p,
  .feature-box p {
    font-size: 15px;
  }

  .btn-sm,
  .btn-primary,
  .btn-secondary,
  .btn-light {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  .floating-wa {
    right: 14px;
    bottom: 14px;
    padding: 13px 18px;
    font-size: 14px;
  }
}