html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark: #3a5c2c;
  --green-mid: #6b8f3e;
  --green-light: #a8c96a;
  --olive: #8a9a5b;
  --cream: #f5f0e8;
  --warm-white: #fafaf7;
  --text-dark: #1e2a14;
  --text-mid: #4a5740;
  --text-light: #7a8a6a;
  --accent: #c8a84b;
  --footer-bg: #d4dca8;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(107, 143, 62, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--green-dark);
  letter-spacing: 1.5px;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--green-dark);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.sidebar-header, .sidebar-footer {
  display: none;
}

.nav-links i {
  display: none;
}

/* ── HAMBURGER NAV TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--green-dark);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

nav.scrolled .nav-toggle span {
  background-color: #fff;
}

.nav-toggle.active {
  display: none !important;
}

nav.scrolled {
  background: rgba(58, 92, 44, 0.88);
  backdrop-filter: blur(12px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

nav.scrolled .nav-logo {
  color: #fff;
}

nav.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

nav.scrolled .nav-links a:hover {
  color: #fff;
}

nav.scrolled .nav-links a::after {
  background-color: #fff;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.06);
}

.hero-bg.active {
  opacity: 1;
  animation: slowZoom 12s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.10);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.9s ease both;
}

.hero-content p {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 600px;
  margin-inline: auto;
  animation: fadeUp 0.9s 0.2s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION BASE ── */
section {
  padding: 100px 60px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 60px;
}

/* ── KEUNGGULAN ── */
.keunggulan {
  background: var(--warm-white);
}

.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.keunggulan-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    background-color 0.4s ease;
}

.keunggulan-card:hover {
  transform: translateY(-8px);
  background-color: #fff;
  box-shadow: 0 12px 32px rgba(58, 92, 44, 0.06);
}

.keunggulan-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  /* Sedikit dikecilkan agar ikon Font Awesome pas proporsinya */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── TAMBAHAN BARU: Styling khusus untuk ikon Font Awesome di dalam lingkaran ── */
.keunggulan-icon i {
  color: #ffffff;
  /* Mengubah warna ikon menjadi putih bersih */
}

.keunggulan-card:hover .keunggulan-icon {
  transform: scale(1.15) rotate(5deg);
}

.keunggulan-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.keunggulan-card p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── BERITA & KEGIATAN ── */
.berita-section {
  background: #fff;
  /* Selang-seling background putih agar layout dinamis */
  padding: 50px 0;
}

.berita-container {
  max-width: 100%;
  padding: 0 60px;
  /* Sejajar dengan padding navbar dan section kontak */
  margin: 0 auto;
}

.berita-section .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--green-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title-left {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 48px;
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.berita-card {
  background: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.berita-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(58, 92, 44, 0.1);
}

.berita-img {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.berita-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.berita-card:hover .berita-img img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green-dark);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.berita-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.berita-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: block;
}

.berita-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
  /* Membatasi judul maksimal 2 baris agar tinggi card selalu seragam */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.berita-content p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: auto;
  /* Memaksa tombol nempel di paling bawah isi card */
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-read-more:hover {
  color: var(--green-mid);
  transform: translateX(4px);
}

/* ── RESPONSIVE UNTUK BERITA ── */
@media (max-width: 1024px) {
  .berita-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Layar tablet menjadi 2 kolom */
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .berita-container {
    padding: 0 20px;
  }

  .berita-grid {
    grid-template-columns: 1fr;
    /* Layar HP menjadi 1 kolom vertical */
  }

  .section-title-left {
    font-size: 1.8rem;
    margin-bottom: 36px;
  }
}

/* ── MODAL POP-UP BERITA ── */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  /* Pastikan berada di atas navbar fixed */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.news-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 20, 0.6);
  /* Menggunakan warna --text-dark transparan */
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
  border-radius: 16px;
  overflow-y: auto;
  padding: 40px 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.news-modal.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--green-dark);
}

/* Style isi konten berita di dalam modal */
.modal-article-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal-meta {
  font-size: 0.85rem;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.modal-body h2 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.modal-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify;
}

/* Hilangkan scrollbar default pada modal box untuk estetika */
.modal-box::-webkit-scrollbar {
  width: 6px;
}

.modal-box::-webkit-scrollbar-thumb {
  background-color: rgba(107, 143, 62, 0.3);
  border-radius: 10px;
}

/* ── PRODUK ── */
.produk {
  background: #fff;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}

.produk-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm-white);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.produk-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(58, 92, 44, 0.15);
}

.produk-carousel {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-track img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produk-info {
  padding: 22px 24px;
}

.produk-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.produk-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── TUJUAN ── */
.tujuan-section {
  background: var(--warm-white);
  padding: 100px 60px;
}

.tujuan {
  display: flex;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.tujuan-text {
  flex: 1.2;
}

.tujuan-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.tujuan-text .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--green-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tujuan-text p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}

.tujuan-img {
  flex: 0.8;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  max-height: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tujuan-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(58, 92, 44, 0.15);
}

.tujuan-img .carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tujuan-img .carousel-track img {
  flex-shrink: 0;
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.tujuan-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ── SEJARAH & VIDEO SECTION ── */
.sejarah-video-section {
  background: var(--warm-white);
  padding: 0 60px 100px;
}

.sejarah-video-container {
  max-width: 1000px;
  margin: 0 auto;
}

.sejarah-text {
  margin-bottom: 40px;
}

.sejarah-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.sejarah-text p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.8;
  text-align: justify;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* ── TESTIMONIAL ── */
.testimonial {
  background: var(--warm-white);
  text-align: center;
  padding: 100px 60px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 28px;
  display: block;
  border: 3px solid var(--green-light);
}

.testimonial blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-dark);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

.testimonial .author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial .author-title {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── TIM (1-BY-1 INFINITE CAROUSEL) ── */
.tim {
  text-align: center;
  background: #fff;
  position: relative;
}

.tim .subtitle {
  margin-top: -40px;
  margin-bottom: 60px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.tim-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.tim-carousel-container {
  overflow: hidden;
  border-radius: 16px;
  margin: 0 auto;
}

.tim-flex {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.tim-card {
  flex: 0 0 calc((100% - 80px) / 5);
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #f0f0ee, #e8e8e6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.tim-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(58, 92, 44, 0.15);
}

.tim-card .tim-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tim-card:hover .tim-card-img {
  transform: scale(1.08);
}

.tim-card .tim-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75) 40%);
  text-align: left;
}

.tim-card .tim-card-overlay h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.tim-card .tim-card-overlay span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  display: block;
}

.tim-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(107, 143, 62, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green-dark);
  z-index: 10;
  transition: all 0.3s ease;
}

.tim-arrow:hover {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
  box-shadow: 0 6px 20px rgba(58, 92, 44, 0.2);
}

.tim-arrow-left {
  left: 4px;
}

.tim-arrow-right {
  right: 4px;
}

.tim-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
  background: var(--green-dark);
}

/* ── KONTAK ── */
#kontak {
  padding: 100px 0;
  /* Memberikan ruang antar section */
  background: var(--warm-white);
}

/* Kontainer baru agar batas kiri sejajar dengan padding navbar (60px) */
.kontak-container {
  max-width: 100%;
  padding: 0 60px;
  margin: 0 auto;
}

.kontak {
  display: flex;
  align-items: stretch;
  gap: 40px;
  /* Memberikan celah estetis antara maps dan formulir */
  background: var(--warm-white);
}

.kontak-map {
  flex: 1 1 50%;
  overflow: hidden;
  border-radius: 12px;
  /* Membuat sudut peta sedikit melengkung agar modern */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.kontak-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.kontak-form {
  flex: 1 1 50%;
  padding: 0;
  /* Padding vertikal di-nol-kan agar maps sejajar atas-bawah dengan konten form */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Menjaga distribusi elemen form tetap rapi */
}

.kontak-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  /* Batas atas maps akan sejajar persis dengan huruf teratas judul ini */
  color: var(--text-dark);
  line-height: 1.2;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d8c0;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green-mid);
}

.form-field textarea {
  height: 110px;
  resize: vertical;
}

/* Style untuk area rating bintang */
.rating-container {
  margin-bottom: 20px;
}

.btn-submit {
  align-self: flex-start;
  /* Mencegah tombol submit melebar penuh */
  padding: 12px 36px;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 143, 98, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Penyesuaian Media Query untuk Mobile */
@media (max-width: 768px) {
  .kontak-container {
    padding: 0 20px;
  }

  .kontak {
    flex-direction: column;
    gap: 30px;
  }

  .kontak-map {
    height: 350px;
    /* Menentukan tinggi konstan saat susunan bertumpuk di mobile */
  }
}

/* ── FOOTER ── */
footer {
  background: var(--footer-bg);
  padding: 60px 60px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-brand p,
.footer-contact p,
.footer-nav ul li a {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact .contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-nav h3,
.footer-social h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--green-dark);
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 170px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
  background: var(--green-dark);
  transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(58, 92, 44, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tim-card {
    flex: 0 0 calc((100% - 60px) / 4);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 14px 20px;
  }

  nav.scrolled {
    padding: 10px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background: rgba(58, 92, 44, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    padding: 30px 24px;
    margin: 0;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 105;
    border-radius: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
  }

  .nav-links i {
    display: inline-block;
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
  }

  .nav-links a::after {
    display: none !important;
  }

  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
  }

  .sidebar-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .close-sidebar {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    margin-top: -5px;
  }

  .sidebar-footer {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    justify-content: center;
  }

  .sidebar-footer a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.5rem;
    padding: 8px;
    width: auto;
    display: inline-block;
  }

  .sidebar-footer a:hover {
    color: #fff !important;
    background: none;
  }

  .rating-stars .star {
    padding: 8px 6px;
    margin: 0 2px;
    display: inline-block;
  }

  section {
    padding: 70px 20px;
  }

  .keunggulan-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .produk-grid {
    grid-template-columns: 1fr;
  }

  .tujuan-section {
    padding: 70px 20px;
  }

  .tujuan {
    flex-direction: column;
    gap: 30px;
  }

  .tujuan-img {
    max-height: 260px;
    width: 100%;
  }

  .tujuan-img img {
    height: 260px;
  }

  .sejarah-video-section {
    padding: 0 20px 70px;
  }

  .kontak {
    flex-direction: column;
  }

  .kontak-form {
    padding: 50px 20px;
  }

  #kontak {
    margin-bottom: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tim-carousel-wrapper {
    padding: 0 44px;
  }

  .tim-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .tim-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .tim-card {
    flex: 0 0 100%;
  }
}

/* ── FLOATING WHATSAPP CTA ── */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.floating-wa:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #fff;
}

/* Pulse animation overlay */
.floating-wa::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.6;
  z-index: -1;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}