:root {
  --primary-color: #2c5530;
  --secondary-color: #739e73;
  --accent-color: #d4a574;
  --light-color: #f8f5f0;
  --dark-color: #1a1a1a;
  --text-color: #333;
  --text-light: #666;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s ease;
  --border-radius: 12px;
  --primary-rgb: 44, 85, 48;
  --secondary-rgb: 115, 158, 115;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s ease;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f7f2;
  overflow-x: hidden;
  height: 100vh;
  width: 100vw;
  touch-action: pan-y;
}

a:hover {
  color: #f7f8fb;
}

/*----------
  NAV
----------*/
/*----------
  NAV (THEME ADJUSTED)
----------*/

.fixed-side-navbar {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 99999;
  margin-top: -100px;
  padding: 30px 0;
  transition: var(--transition);
}

/* Hover area */
.fixed-side-navbar:hover {
  background: transparent;
}

/* Tooltip text */
.fixed-side-navbar:hover .nav > li > a > span {
  display: block;
  background-color: var(--light-color);
  color: var(--primary-color);
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Active link */
.fixed-side-navbar .nav > li a.active {
  color: var(--primary-color);
}

.fixed-side-navbar .nav > li a.active:after {
  transform: scale(1);
  background: var(--primary-color);
}

/* Active outer ring */
.fixed-side-navbar .nav > li a.active:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
}

/* List item */
.nav > li {
  position: relative;
}

/* Link base */
.fixed-side-navbar .nav > li a {
  color: var(--secondary-color);
  min-height: 32px;
  padding: 6px 25px 6px 45px;
  background: transparent;
  transition: var(--transition);
}

/* Hide text by default */
.fixed-side-navbar .nav > li a span {
  display: none;
  transition: var(--transition);
}

/* Dot indicator */
.fixed-side-navbar .nav > li a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--secondary-rgb), 0.8);
  transform: scale(0.6);
  transition: var(--transition);
}

/* Hover state */
.fixed-side-navbar .nav > li a:hover {
  color: var(--primary-color);
}

.fixed-side-navbar .nav > li a:hover:after {
  background: var(--accent-color);
  transform: scale(1);
}

.fixed-side-navbar .nav > li a:hover > span {
  display: block;
  color: var(--primary-color);
}

/* Animation helper */
.fadeInRight {
  animation-name: fadeInRight;
}

/* batas home banner */

/* ===== SLIDE ACTION BUTTON ===== */
.slide-actions {
  display: flex;
  justify-content: center;
}

.slide-actions .btn {
  position: relative;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;

  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.08);

  transition: all 0.35s ease;
  overflow: hidden;
}

/* glow line */
.slide-actions .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -120%;
  width: 120%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: translateY(-50%);
  transition: left 0.6s ease;
}

/* hover */
.slide-actions .btn:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.slide-actions .btn:hover::before {
  left: 120%;
}

/* active */
.slide-actions .btn:active {
  transform: scale(0.96);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.18);
}

/* responsive */
@media (max-width: 768px) {
  .slide-actions .btn {
    padding: 9px 18px;
    font-size: 0.8rem;
  }
}

.slide-content-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

/* ===== TEXT CONTENT ===== */
.slide-content {
  max-width: 720px;
  padding: 0 60px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* SUB JUDUL */
.slide-content span em {
  font-size: clamp(16px, 2vw, 20px);
  color: #ddd;
  font-style: normal;
  margin-top: 6px;
  line-height: 1.45;
}

.parallax-content,
.baner-content {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y; /* Izinkan scroll vertikal */
}

/* SLIDER */
.banner-slider-container {
  display: flex;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
  touch-action: none; /* Nonaktifkan touch action default untuk swipe */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.banner-slider-container.grabbing {
  cursor: grabbing;
  transition: none;
}

/* Tambahkan ini untuk slide */
.banner-slide {
  height: 100vh;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  touch-action: none; /* Nonaktifkan touch action untuk slide */
}

/* IMG FULL */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.3s ease-out;
  pointer-events: none; /* Biarkan event melalui ke parent */
}

/* OVERLAY */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
  z-index: 2;
  pointer-events: none;
}

/* CONTENT */
.slide-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Biarkan event melalui ke slider */
}

.slide-content {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
  pointer-events: auto; /* Aktifkan event untuk tombol */
}

.slide-content.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  margin: 0 auto;

  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  color: #ffffff;
  text-align: center;

  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.35);

  max-width: 1100px; /* 🔥 lebih lebar */
}

.slide-content span {
  display: block; /* wajib biar margin kepakai */
  color: #fff;

  margin-top: 15px; /* jarak dari judul */
  /* atau kalau mau jarak ke tombol */
  margin-bottom: 14px;
}

.slide-content em {
  color: #2c5530;
  font-style: normal;
}

/* DOTS */
.slider-controls {
  position: absolute;
  bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none; /* Biarkan dots tetap bisa diklik */
}

.slider-dots {
  display: flex;
  gap: 15px;
  pointer-events: auto; /* Aktifkan event untuk dots */
}

.slider-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .slide-content h1 {
    font-size: 64px;
    line-height: 1.1;
  }

  .slide-content span {
    font-size: 28px;
  }

  .slider-controls {
    bottom: 30px;
  }
}

@media (max-width: 768px) {
  .parallax-content,
  .baner-content,
  .banner-slide {
    height: 100svh;
  }

  .slide-content {
    padding: 0 20px;
  }

  .slide-content h1 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .slide-content span {
    font-size: 20px;
    line-height: 1.4;
  }

  .slider-controls {
    bottom: 25px;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
  }

  /* Optimasi untuk touch di mobile */
  .banner-slider-container {
    -webkit-tap-highlight-color: transparent;
  }

  .slider-dot {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 40px;
  }

  .slide-content span {
    font-size: 16px;
  }

  .slider-dots {
    gap: 12px;
  }

  .slider-dot {
    width: 14px;
    height: 14px;
  }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
  .banner-slider-container {
    -webkit-overflow-scrolling: touch;
  }
}

/* batas home banner */

/* batas profill banner */

/* Base Styles - Lebih Kecil */

.profil-kontenp-container {
  min-height: 100vh; /* FULL 1 LAYAR */
  width: 100%;

  padding: 140px 20px 80px;
  /* jarak aman dari banner */

  box-sizing: border-box;

  display: flex;
  align-items: flex-start; /* konten mulai dari atas */
  justify-content: center;

  background: var(--light-color);
}

.program-image {
  width: 100%;
  height: 260px; /* KUNCI TINGGI */
  overflow: hidden;
  border-radius: 16px;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* PENTING */
  display: block;
}

.profil-kontenp-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.kontenp-header {
  text-align: center;
  margin-bottom: 40px;
}

.kontenp-header h1 {
  font-size: 4rem;
  color: #2d3436;
  margin-bottom: 12px;
  font-weight: 700;
}

.kontenp-subtitle {
  font-size: 1.2rem;
  color: #636e72;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Programs Grid - Lebih Kompak */
.programs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* Program Card - Lebih Kecil */
.program-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Program Image - Lebih Kecil */
.program-image-container {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.program-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.program-card:hover .program-image {
  transform: scale(1.04);
}

.program-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.2));
}

/* Program Content - Lebih Kompak */
.program-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.program-icon {
  position: absolute;
  top: -20px;
  right: 20px;
  background: #2c5530;
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.25);
}

.program-content h3 {
  font-size: 1.4rem;
  color: #2d3436;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin-right: 50px;
  /* Space untuk icon */
}

.program-short-desc {
  color: #636e72;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* View More Button - Lebih Kecil */
.view-more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid #2c5530;
  color: #2c5530;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  align-self: flex-start;
}

.view-more-btn:hover {
  background: #2c5530;
  color: white;
  transform: translateX(4px);
}

/* ============================================
   MODAL STYLES - SEDERHANA DARI SAMPING KANAN
   ============================================ */

.program-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.program-modal.active {
  display: block;
}

/* Overlay dengan blur sederhana */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.program-modal.active .modal-overlay {
  opacity: 1;
}

/* Modal container slide dari kanan */
.modal-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 500px;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.program-modal.active .modal-container {
  transform: translateX(0);
}

/* Modal close */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: #2d3436;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #2c5530;
  color: white;
  transform: scale(1.1);
}

/* Modal content dengan scroll */
.modal-content {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

.modal-photo-container {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-icon-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.modal-icon {
  background: #2c5530;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

#modalTitle {
  font-size: 1.5rem;
  color: #2d3436;
  margin: 0;
  line-height: 1.3;
}

.modal-short-description {
  font-size: 1.3rem;
  color: #636e72;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
}

.modal-separator {
  height: 2px;
  background: #e0e0e0;
  margin: 20px 0;
  width: 60px;
}

.modal-full-description {
  font-size: 1.2rem;
  color: #2d3436;
  line-height: 1.6;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .programs-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kontenp-header h1 {
    font-size: 1.7rem;
  }

  .kontenp-subtitle {
    font-size: 0.95rem;
  }

  /* Modal full screen di mobile */
  .modal-container {
    max-width: 100%;
    border-radius: 0;
  }

  .modal-content {
    padding: 35px;
  }

  .modal-photo-container {
    height: 180px;
  }

  #modalTitle {
    font-size: 1.3rem;
  }

  .modal-icon-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal-icon {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .profil-kontenp-container {
    padding: 40px 15px;
  }

  .program-image-container {
    height: 150px;
  }

  .program-content {
    padding: 16px;
  }

  .program-content h3 {
    font-size: 1.3rem;
    margin-right: 45px;
  }

  .program-short-desc {
    font-size: 0.85rem;
  }

  .view-more-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  .modal-photo-container {
    height: 150px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* Untuk layar sangat lebar */
@media (min-width: 1200px) {
  .programs-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Scrollbar styling untuk modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* batas profill banner */

/* batas journey banner */

/* ==============================
   SECTION BACKGROUND & HEADING
============================== */
.projects-content {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url(../img/3rd-section.jpg) center / cover fixed;
  padding: 60px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
  position: relative;
  z-index: 4;
}

.section-heading h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  margin-top: 10px;
  font-size: 1.5rem;
  color: var(--dark-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==============================
   FEATURED CARD DENGAN NOMOR URUTAN
============================== */
.featured-item-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  margin: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  width: 100%;
}

.featured-item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* NOMOR URUTAN */
.featured-card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
}

/* IMAGE CONTAINER */
.featured-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-bottom: 3px solid #2c5530;
}

.featured-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-item-card:hover .featured-image-container img {
  transform: scale(1.1);
}

/* ACTION BUTTON */
.featured-action-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.featured-item-card:hover .featured-action-button {
  opacity: 1;
  transform: translateY(0);
}

.featured-action-button a {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.featured-action-button a:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(44, 85, 48, 0.35);
}

/* TEXT CONTENT */
.featured-text-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-text-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #2c5530;
  margin-bottom: 15px;
  font-style: italic;
}

.short-text {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-divider-line {
  width: 60%;
  height: 2px;
  margin-top: auto;
  background: linear-gradient(to right, #2c5530, transparent);
  border-radius: 1px;
}

/* Responsive untuk heading */
@media (max-width: 992px) {
  .section-heading h1 {
    font-size: 2.8rem;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .section-heading h1 {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .projects-content {
    padding: 40px 0;
  }

  /* Card responsive */
  .featured-item-card {
    margin: 10px;
  }

  .featured-card-number {
    width: 38px;
    height: 38px;
    font-size: 17px;
    top: 15px;
    left: 15px;
  }

  .featured-image-container {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .section-heading h1 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .projects-content {
    padding: 30px 0;
  }

  /* Card responsive mobile */
  .featured-item-card {
    margin: 10px 5px;
  }

  .featured-card-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .featured-image-container {
    height: 200px;
  }

  .featured-text-content {
    padding: 20px;
  }

  .featured-text-content h4 {
    font-size: 1.3rem;
  }

  .featured-subtitle {
    font-size: 0.9rem;
  }

  .featured-action-button a {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ==============================
   TOUCH-SPECIFIC STYLES
============================== */
@media (hover: none) and (pointer: coarse) {
  /* Nonaktifkan hover effects untuk touch devices */
  .featured-item-card:hover {
    transform: none;
  }

  .featured-item-card:hover .featured-image-container img {
    transform: none;
  }

  .featured-item-card:hover .featured-action-button {
    opacity: 1;
    transform: translateY(0);
  }

  .featured-action-button {
    opacity: 1;
    transform: translateY(0);
  }
}

/* batas journey banner */

/* batas number banner */

.modern-stats-section {
  padding: 180px 20px;
  position: relative;
  background: linear-gradient(180deg, var(--light-color), #ffffff);
  height: auto;
  min-height: auto;
  overflow: visible;
}

.floating-shape {
  background: linear-gradient(
    135deg,
    rgba(44, 85, 48, 0.18),
    rgba(115, 158, 115, 0.08)
  );
}

.background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation: float 20s infinite ease-in-out;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 10%;
  animation: float 25s infinite ease-in-out reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
  animation: float 18s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  background: rgba(231, 76, 60, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.section-title span {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitles {
  font-size: 1.5rem;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 40px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card::before {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.stat-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-card:hover .stat-icon {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 12px 25px rgba(231, 76, 60, 0.3);
}

.stat-card:hover .stat-number {
  animation: numberPulse 0.8s ease-out;
}

.stat-card:hover .stat-number::after {
  animation: numberGlow 1.2s ease-out;
}

.stat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 26px;

  background: linear-gradient(
    135deg,
    rgba(44, 85, 48, 0.12),
    rgba(115, 158, 115, 0.08)
  );

  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.8rem;
  color: var(--accent-color);

  box-shadow:
    0 8px 24px rgba(44, 85, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: var(--transition);
}

/* HOVER — clean & soft */
.stat-card:hover .stat-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 14px 30px rgba(44, 85, 48, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-number::after {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.stat-number span {
  color: var(--primary-color);
}

.stat-card:hover .stat-number span {
  animation: plusBounce 0.8s ease;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card:hover .stat-label {
  color: var(--primary-color);
}

/* Animasi baru untuk angka */
@keyframes numberPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes numberGlow {
  0% {
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
  }

  50% {
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
  }

  100% {
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
  }
}

@keyframes plusBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes numberSpin {
  0% {
    transform: rotateY(0) scale(1);
  }

  50% {
    transform: rotateY(180deg) scale(1.1);
  }

  100% {
    transform: rotateY(360deg) scale(1);
  }
}

@keyframes numberFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-15px);
  }

  75% {
    transform: translateY(5px);
  }
}

.bottom-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Responsive */
@media (max-width: 1200px) {
  .stats-grid,
  .bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modern-stats-section {
    padding: 70px 15px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .stats-grid,
  .bottom-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stat-card {
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* ================= FIX MOBILE CUT CONTENT ================= */
@media (max-width: 768px) {
  /* IZINKAN KONTEN MEMANJANG */
  .modern-stats-section {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding-bottom: 120px;
    /* ruang aman bawah */
  }

  /* Container */
  .section-container {
    overflow: visible;
  }

  /* Grid jadi satu kolom */
  .stats-grid,
  .bottom-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Card */
  .stat-card {
    width: 100%;
    max-width: 100%;
  }
}

/* batas number banner */

/* batas lokasi banner */

/* Container */
.container2 {
  position: relative;
  padding: 80px 0;
}

/* Parallax Background Layers - Hanya 1 layer */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 110%;
  height: 100vh; /* lebih aman dari 100% */
  z-index: -1;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("../img/4th-section.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* ========== TIMELINE SECTION ========== */
.story-timeline2 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 60px 0 40px;
}

/* ========== TIMELINE HEADER ========== */
.timeline-header2 {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.timeline-header2 h12 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 10px;
  font-weight: 700;
}

.timeline-header2 p2 {
  font-size: 1.1rem;
  color: white;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* ========== LOCATION FILTER ========== */
.location-filter2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  padding: 0 10px;
}

.filter-btn2 {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 20px;
  color: #2d3436;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn2:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

.filter-btn2.active2 {
  background: var(--accent-color);
  color: white;
}

/* ========== TIMELINE CONTAINER ========== */
.timeline-container2 {
  position: relative;
  width: 100%;
  height: auto;
  /* ✅ penting */
  min-height: 420px;
  /* cukup buat card */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0 30px;
}

.timeline-container2::-webkit-scrollbar {
  height: 6px;
}

.timeline-container2::-webkit-scrollbar-track {
  background: transparent !important;
}

.timeline-container2::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 10px;
}

.timeline-container2::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}

.timeline-container2:active {
  cursor: grabbing;
}

.timeline-items-container2 {
  display: flex;
  gap: 25px;
  padding: 0 30px;
  padding-right: 30px;
  min-width: min-content;
}

/* ========== TIMELINE ITEM ========== */
.timeline-item2 {
  flex: 0 0 320px;
  min-width: 320px;

  min-height: 270px; /* ⬅️ bikin lebih panjang ke bawah */

  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-year2 {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1rem;
  align-self: flex-start;
}

.timeline-title2 {
  font-size: 1.3rem;
  color: #2d3436;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.timeline-location2 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3498db;
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.timeline-content2 {
  flex: 1;
  margin-bottom: 15px;
}

.timeline-content2 p {
  color: #636e72;
  line-height: 1.5;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== GALLERY PREVIEW ========== */
.gallery-preview2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0;
}

.gallery-thumb2 {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-thumb2:hover {
  transform: scale(1.05);
}

/* ========== TIMELINE ACTIONS ========== */
.timeline-actions2 {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.view-gallery-btn2,
.read-more-btn2 {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.9rem;
  flex: 1;
}

.view-gallery-btn2 {
  background: var(--accent-color);
}

.view-gallery-btn2:hover {
  background: var(--accent-color);
}
.read-more-btn2 {
  background: transparent;
  border: 2px solid #e7a74f;
  color: var(--secondary-color);
}

.read-more-btn2:hover {
  background: var(--primary-color);
  color: white;
  border: none;
}

/* ========== NAVIGATION DOTS ========== */
.timeline-dots2 {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0 20px;
}

.timeline-dot2 {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-dot2:hover {
  background: #3498db;
  transform: scale(1.2);
}

.timeline-dot2.active2 {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ========== DETAIL MODAL (Sisi Kanan) ========== */
.detail-modal2 {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: white;
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.detail-modal2.active2 {
  right: 0;
}

.detail-header2 {
  padding: 25px;
  background: linear-gradient(135deg, #739e73, #d4a574);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.detail-header-top2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.detail-year2 {
  font-size: 1.2rem;
  font-weight: 700;
}

.close-detail2 {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-detail2:hover {
  background: rgba(255, 255, 255, 0.2);
}

.detail-title2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.detail-location2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.detail-content2 {
  padding: 25px;
  color: #2d3436;
  line-height: 1.6;
}

.detail-content2 p {
  margin-bottom: 15px;
}

/* ========== IMPACT NUMBERS ========== */
.impact-numbers2 {
  padding: 0 25px 25px;
}

.impact-numbers2 h3 {
  font-size: 1.2rem;
  color: #2d3436;
  margin-bottom: 15px;
}

.impact-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.impact-item2 {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #739e73;
  transition: all 0.3s ease;
}

.impact-item2:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impact-value2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #739e73;
  margin-bottom: 5px;
  line-height: 1;
}

.impact-label2 {
  font-size: 0.85rem;
  color: #636e72;
  line-height: 1.3;
}

/* ========== GALLERY MODAL (Tengah) ========== */
.gallery-modal2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal2.active2 {
  display: flex;
  opacity: 1;
}

.gallery-container2 {
  width: 90%;
  max-width: 800px;
  height: 80vh;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.gallery-close2 {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.gallery-close2:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: rotate(90deg);
}

.gallery-image-container2 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-image2 {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-info2 {
  padding: 20px;
  text-align: center;
  color: white;
}

.gallery-info2 h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: white;
}

.gallery-info2 p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery-controls2 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.gallery-nav2 {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
}

.gallery-nav2:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-nav2:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-counter2 {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 20px;
}

/* ========== OVERLAY ========== */
.modal-overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay2.active2 {
  display: block;
  opacity: 1;
}

/* ========== RESPONSIVE DESIGN ========== */
/* Perbaikan untuk Mobile Responsiveness */
@media (max-width: 576px) {
  .story-timeline2 {
    padding: 30px 0 20px;
  }

  .timeline-header2 {
    margin-bottom: 20px;
  }

  .timeline-header2 h1 {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .timeline-header2 p {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .location-filter2 {
    gap: 8px;
    margin-top: 10px;
  }

  .filter-btn2 {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .timeline-container2 {
    min-height: 380px;
    padding: 15px 0 20px;
  }

  .timeline-items-container2 {
    padding: 0 15px;
    gap: 15px;
  }

  /* PERBAIKAN UTAMA: Timeline card lebih kecil untuk mobile */
  .timeline-item2 {
    flex: 0 0 280px;
    /* Lebih kecil dari 320px */
    min-width: 280px;
    padding: 18px;
    max-width: 85vw;
    /* Maksimal 85% dari viewport width */
  }

  .timeline-year2 {
    font-size: 0.9rem;
    padding: 5px 12px;
  }

  .timeline-title2 {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .timeline-content2 p {
    font-size: 0.85rem;
    -webkit-line-clamp: 4;
    /* Bisa lebih banyak teks */
  }

  .gallery-preview2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .gallery-thumb2 {
    height: 60px;
  }

  .timeline-actions2 {
    flex-direction: column;
    gap: 8px;
  }

  .view-gallery-btn2,
  .read-more-btn2 {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* Untuk layar sangat kecil (iPhone SE dll) */
@media (max-width: 375px) {
  .timeline-header2 h1 {
    font-size: 1.6rem;
  }

  .timeline-header2 p {
    font-size: 0.85rem;
  }

  .filter-btn2 {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  /* PERBAIKAN EXTREME: Lebih kecil lagi untuk layar sangat kecil */
  .timeline-item2 {
    flex: 0 0 250px;
    min-width: 250px;
    padding: 15px;
    max-width: 90vw;
  }

  .timeline-year2 {
    font-size: 0.85rem;
    padding: 4px 10px;
  }

  .timeline-title2 {
    font-size: 1rem;
  }

  .timeline-content2 p {
    font-size: 0.8rem;
    -webkit-line-clamp: 3;
  }

  .gallery-preview2 {
    grid-template-columns: 1fr;
    /* 1 kolom saja */
  }

  .gallery-thumb2 {
    height: 80px;
  }

  .timeline-dots2 {
    gap: 6px;
  }

  .timeline-dot2 {
    width: 6px;
    height: 6px;
  }
}

/* Landscape mode untuk mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .story-timeline2 {
    padding: 20px 0 15px;
  }

  .timeline-container2 {
    min-height: 320px;
  }

  .timeline-item2 {
    min-height: 280px;
  }

  .timeline-content2 p {
    -webkit-line-clamp: 2;
  }

  .gallery-preview2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
  .timeline-container2 {
    -webkit-overflow-scrolling: touch;
  }

  /* Menambahkan lebih banyak padding untuk touch-friendly scrolling */
  .timeline-items-container2::before {
    content: "";
    flex: 0 0 10px;
  }

  .timeline-items-container2::after {
    content: "";
    flex: 0 0 10px;
  }

  /* Touch feedback untuk buttons */
  .filter-btn2:active,
  .view-gallery-btn2:active,
  .read-more-btn2:active {
    transform: scale(0.95);
  }

  .timeline-dot2:active {
    transform: scale(1.5);
  }
}

/* Perbaikan untuk iOS Safari */
@supports (-webkit-touch-callout: none) {
  .timeline-container2 {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Hide scrollbar but keep functionality */
.timeline-container2::-webkit-scrollbar {
  height: 4px;
}

.timeline-container2::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.timeline-container2::-webkit-scrollbar-thumb {
  background: #739e73;
  border-radius: 2px;
}

/* batas lokasi banner */

/* batas footer banner */

.cta-split {
  background: var(--dark-color);
  padding: 4rem 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.25);
}

.split-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.split-text {
  flex: 1;
}

.split-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--light-color);
  line-height: 1.1;
}

.line-1 {
  display: block;
}

.line-2 {
  display: block;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 0.5rem;
}

.split-actions {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.split-action {
  flex: 1;
  text-align: center;
}

.split-action h3 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* CTA Button */
.split-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent-color);
  color: var(--dark-color);
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.split-btn:hover {
  background: var(--primary-color);
  transform: translateX(6px);
}

.split-divider {
  width: 1px;
  background: rgba(var(--primary-rgb), 0.3);
}

/* ================================
   FOOTER
================================ */
.footer-content {
  background: var(--dark-color);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ========== FULL WIDTH MAPS ========== */
.full-width-maps {
  width: 100%;
  background: var(--dark-color);
  padding: 40px 0 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.25);
}

.maps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.maps-container h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.maps-container p {
  font-size: 1.1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#footerMap {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  z-index: 1;
  position: relative;
}

/* Override Leaflet default styles for better contrast */
#footerMap .leaflet-control-zoom {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
}

#footerMap .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  border: none;
  transition: all 0.3s ease;
}

#footerMap .leaflet-control-zoom a:hover {
  background: #739e73;
  color: white;
}

/* Responsive untuk maps */
@media (max-width: 768px) {
  .full-width-maps {
    padding: 40px 0 30px;
  }

  .maps-container h4 {
    font-size: 1.5rem;
  }

  .maps-container p {
    font-size: 1rem;
    padding: 0 15px;
  }

  #footerMap {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .full-width-maps {
    padding: 30px 0 20px;
  }

  .maps-container h4 {
    font-size: 1.3rem;
  }

  #footerMap {
    height: 350px;
  }
}

/* ========== EFEK ANIMASI ========== */
.full-width-maps {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   PARTNER SECTION (LEFT - RIGHT)
================================ */
.partner-section {
  background: var(--dark-color);
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-wrapper.horizontal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.partner-group {
  text-align: center;
}

.partner-group.left {
  text-align: right;
}

.partner-group.right {
  text-align: left;
}

.partner-title {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bfa26b;
  margin-bottom: 18px;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.partner-group.left .partner-logos {
  justify-content: flex-end;
}

.partner-group.right .partner-logos {
  justify-content: flex-start;
}

.partner-logos img {
  max-height: 42px;
  transition: all 0.3s ease;
}

.partner-logos.main img {
  max-height: 56px;
}

.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Divider */
.partner-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(191, 162, 107, 0.6),
    transparent
  );
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .partner-wrapper.horizontal {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .partner-divider {
    display: none;
  }

  .partner-group.left,
  .partner-group.right {
    text-align: center;
  }

  .partner-group .partner-logos {
    justify-content: center;
  }
}

.maps-container.wide iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-brand span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
}

.brand-tag {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-item i {
  color: var(--accent-color);
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-color);
}

/* Newsletter */
.footer-newsletter p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: rgba(var(--primary-rgb), 0.15);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 4px;
  color: var(--light-color);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.newsletter-form button {
  background: var(--accent-color);
  color: var(--dark-color);
  border: none;
  width: 45px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--light-color);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.3);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(var(--primary-rgb), 0.25);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  color: var(--dark-color);
}

.copyright {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .split-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .split-actions {
    flex-direction: column;
  }

  .split-divider {
    width: 100%;
    height: 1px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ========== PARTNER SECTION SEDERHANA ========== */
.footer-partners {
  grid-column: span 1;
}

.footer-partners h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-category {
  margin-bottom: 20px;
}

.partner-category h5 {
  font-size: 14px;
  font-weight: 500;
  color: #636e72;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.partner-logos img {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 5px;
}

.partner-logos.main img {
  height: 45px;
  max-width: 120px;
}

.partner-logos.support img {
  height: 35px;
  max-width: 80px;
}

.partner-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ========== FOOTER GRID ========== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-partners {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-partners {
    grid-column: span 1;
  }

  #footerMap {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .partner-logos {
    gap: 10px;
  }

  .partner-logos.main img {
    height: 40px;
    max-width: 100px;
  }

  .partner-logos.support img {
    height: 30px;
    max-width: 70px;
  }

  #footerMap {
    height: 300px;
  }
}

/* batas footer banner */
