/* RESET */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f5f5f5;
  color: #111;
}

a {
  text-decoration: none;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.narrow {
  max-width: 750px;
}

/* NAV */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: 0.3s;
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

/* DEFAULT TRANSPARENT */
header {
  background: transparent;
}

/* SAAT SCROLL */
header.scrolled {
  background: rgba(15, 61, 46, 0.85);
  backdrop-filter: blur(10px);
}

/* TEXT */
.nav h2,
.nav a {
  color: white;
}

/* HERO */
.hero {
  height: 100vh;
  background: url('img/bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.85) 30%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 550px;
  color: white;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 30px;
  opacity: 0.85;
}

/* BUTTON */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #2ecc71;
  color: white;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid white;
  color: white;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
}

/* SECTION */
.section {
  padding: 120px 0;
}

.center {
  text-align: center;
}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
}

.light {
  color: white;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  transition: 0.3s;
}

/* ICON */
.card img {
  display: block;
  margin: 0 auto 20px; /* ⬅️ center horizontal */
  width: 50px;
  height: 50px;
}

.card:hover {
  transform: translateY(-10px);
}

/* DARK */
.dark {
  background: #0f3d2e;
}

.dark-card {
  background: #145c44;
  color: white;
}

/* CTA */
.cta {
  background: #1f7a5c;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.btn-white {
  display: inline-block;
  margin-top: 20px;
  background: white;
  color: #1f7a5c;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
}

/* FOOTER */
footer {
  background: #0f3d2e;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 36px;
  }
}

/* BACKGROUND LIGHT */
.light-bg {
  background: #f0f2f1;
}

/* STEP CARDS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.step-card {
  background: #e9eceb;
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

.step-card h3 {
  color: #1f7a5c;
  font-size: 28px;
  margin-bottom: 10px;
}

.step-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.step-card p {
  color: #555;
  font-size: 14px;
}

.step-card:hover {
  transform: translateY(-6px);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.map-container {
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 15px;
  overflow: hidden;
}

/* ABOUT GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

/* TEXT */
.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: #444;
}

/* LIST */
.about-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.about-text li {
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA CARD - GREEN THEME */
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(90deg, #0f3d2e, #1f7a5c);
  color: white;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* TEXT */
.cta-text {
  padding: 70px;
  z-index: 2;
}

.cta-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-text p {
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 420px;
}

/* BUTTON */
.cta-btn {
  background: white;
  color: #1f7a5c;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* IMAGE + OVERLAY */
.cta-image {
  position: relative;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK OVERLAY biar nyatu */
.cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,61,46,0.7), transparent);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-text {
    padding: 40px;
  }
}

/* GLOBAL ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* GALLERY GRID */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
  margin-top: 40px;
}

/* ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

/* SIZE VARIATION */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* DARK BG FIX */
.dark .gallery-item {
  background: #000;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}