:root {
  --primary: #14532d;
  --secondary: #166534;
  --accent: #22c55e;
  --accent-2: #4ade80;
  --bg: #f6fbf7;
  --text: #1f2937;
  --muted: #4b5563;
  --card: #ffffff;
  --border: #d1d5db;
  --glass: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 18px 36px rgba(15, 23, 42, 0.16);
  --radius: 14px;
  --transition: all 0.3s ease;
  --hero-img-1: url("assets/hero-citraland-ambon.png");
  --hero-img-2: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80");
  --hero-img-3: url("https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1800&q=80");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

header {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.95), rgba(22, 101, 52, 0.9));
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

header.scrolled {
  padding: 12px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav a {
  color: #ecfdf5;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ecfdf5;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent-2);
  transition: width 0.25s ease;
}

nav a:hover {
  color: #bbf7d0;
}

nav a.active {
  color: #bbf7d0;
}

nav a.active::after {
  width: 100%;
}

nav a:hover::after {
  width: 100%;
}

section {
  padding: 70px 0;
}

.hero {
  position: relative;
  color: #fff;
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 9s infinite;
  transform: scale(1.05);
}

.hero-slide-1 {
  background-image: var(--hero-img-1);
  animation-delay: 0s;
}

.hero-slide-2 {
  background-image: var(--hero-img-2);
  animation-delay: 3s;
}

.hero-slide-3 {
  background-image: var(--hero-img-3);
  animation-delay: 6s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.7)),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.35), transparent 48%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px 0;
}

.hero-content-max {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-panel {
  max-width: 900px;
  width: 100%;
  padding: 26px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--glass);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin-bottom: 8px;
  line-height: 1.2;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero h2 {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: #ecfdf5;
  margin-bottom: 18px;
  font-weight: 600;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
}

.hero p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #052e16;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  color: #eafff3;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.stats-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 14px;
  backdrop-filter: blur(8px);
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
}

.stat-card span {
  font-size: 0.9rem;
  color: #f0fdf4;
}

.page-main {
  padding: 70px 0;
}

.page-hero {
  position: relative;
  padding: 120px 0 80px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img-2);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.75)),
    radial-gradient(circle at top right, rgba(74, 222, 128, 0.25), transparent 40%);
  z-index: -1;
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.62);
}

.page-hero p {
  color: #e5e7eb;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff, #f3faf5);
  border: 1px solid #dcfce7;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature-card p {
  color: var(--muted);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
}

.info-card h3,
.map-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
}

.info-card .btn {
  margin-top: 10px;
}

.map-frame {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d1fae5;
  min-height: 300px;
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.testimonial-slider {
  position: relative;
  min-height: 200px;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dcfce7;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  position: relative;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  inset: 0;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2.2rem;
  color: rgba(22, 101, 52, 0.2);
  font-weight: 800;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}

.testimonial-card h4 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.testimonial-dots {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.testimonial-controls {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-nav-btn {
  border: 1px solid #86efac;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-nav-btn:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.testimonial-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bbf7d0;
  opacity: 0.5;
  transition: var(--transition);
}

.testimonial-dots .dot.is-active {
  width: 24px;
  border-radius: 999px;
  opacity: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.testimonial-section .section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.testimonial-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #bbf7d0;
  background: linear-gradient(120deg, rgba(20, 83, 45, 0.93), rgba(22, 101, 52, 0.9));
  color: #ecfdf5;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.cta-banner h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 4px;
}

.cta-banner p {
  color: #d1fae5;
  margin: 0;
  max-width: 760px;
}

.section-title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--primary);
  margin-bottom: 18px;
  position: relative;
  width: fit-content;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 60%;
  height: 4px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.card p {
  margin-bottom: 12px;
  color: var(--muted);
}

.subheading {
  margin-top: 12px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #111827;
}

ul {
  margin-left: 20px;
  color: var(--muted);
}

li {
  margin-bottom: 8px;
}

.services-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 18px;
}

.service-item {
  background: linear-gradient(160deg, #f9fffb, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px;
  color: #14532d;
  font-weight: 600;
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 83, 45, 0.15);
}

.services-intro {
  margin-bottom: 16px;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.service-detail-item {
  background: #ffffff;
  border: 1px solid #dcfce7;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  margin-bottom: 8px;
}

.service-detail-item h3 {
  color: #14532d;
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.service-detail-item p {
  color: var(--muted);
  margin: 0;
}

.services-note {
  margin-top: 18px;
}

.mt-14 {
  margin-top: 14px;
}

.contact-box p {
  margin-bottom: 8px;
}

.contact-box a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
}

.contact-box a:hover {
  text-decoration: underline;
}

.soft-panel {
  background: linear-gradient(180deg, #ffffff, #f7fcf9);
  border: 1px solid #dcfce7;
}

footer {
  text-align: center;
  background: #052e16;
  color: #d1fae5;
  padding: 16px;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .hero {
    min-height: 100vh;
    padding: 64px 0;
  }

  .hero-panel {
    padding: 18px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 4%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(5, 46, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: var(--transition);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    margin-left: 0;
    font-size: 0.95rem;
    padding: 6px 4px;
  }

  .card {
    padding: 20px;
  }

  .quick-info-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 18px;
  }

  .page-hero {
    padding: 104px 0 66px;
  }
}
