/* ============================================= */
/* RESET DAN VARIABLES */
/* ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0447ff;
  --accent-orange: #ff6b35;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --text-gray: #666666;
}

/* ============================================= */
/* FIX UNTUK MENCEGAH SCROLL HORIZONTAL */
/* ============================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
}

body {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  position: relative;
}

/* Mencegah scrolling horizontal pada semua elemen */
* {
  max-width: 100%;
}

/* ============================================= */
/* STYLING UMUM DAN LAYOUT */
/* ============================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================= */
/* HEADER DAN NAVIGASI */
/* ============================================= */

.header {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url("gambar/fdterminal.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 1.3rem 6%;
  justify-content: space-between;
  align-items: center;
  background: rgba(1, 1, 1, 0.6);
  border-bottom: 1px solid #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* UNTUK BAGIAN LOGO */
.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-kemenhub,
.logo-dirjen {
  height: 50px;
  width: auto;
}

.logo-kasintuwu {
  height: 60px;
  width: auto;
}

/* UNTUK BAGIAN NAVIGASI LINK */
.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul {
  display: flex;
  justify-content: flex-end;
}

.nav-links ul li {
  list-style: none;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #fcfcfc;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 60%;
}

.nav-links ul li a:hover {
  color: var(--primary-blue);
}

/* UNTUK ICON MENU HAMBURGER */
nav .fa {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ============================================= */
/* TEKS HEADER DAN TOMBOL HERO */
/* ============================================= */

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
  margin-bottom: 20px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
}

.hero-btn:hover {
  border: 1px solid var(--primary-blue);
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ============================================= */
/* SECTION CONTENT UMUM */
/* ============================================= */

.content-section {
  padding: 100px 0;
}

.bg-light {
  background: var(--light-gray);
}

.content-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--dark-gray);
  text-align: center;
  position: relative;
}

.content-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-blue);
}

/* ============================================= */
/* BAGIAN TENTANG KAMI */
/* ============================================= */

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text h3 {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 28px;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--text-gray);
}

.visi-misi {
  margin-top: 30px;
}

.visi-misi h4 {
  color: var(--primary-blue);
  margin: 20px 0 10px;
}

.visi-misi ul {
  list-style: none;
  padding-left: 20px;
}

.visi-misi li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.visi-misi li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* ============================================= */
/* STYLING UNTUK VIDEO PROFIL YOUTUBE */
/* ============================================= */

.video-section {
  margin-bottom: 60px;
}

.video-container {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8f0fe;
}

.video-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8f0fe;
}

.video-header h3 {
  color: var(--primary-blue);
  font-size: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.video-header p {
  color: var(--text-gray);
  font-size: 16px;
  margin: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* ============================================= */
/* STYLING UNTUK INFO PIMPINAN RATA TENGAH */
/* ============================================= */

.korsatpel-profile {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  border: 1px solid #e8f0fe;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-pimpinan {
  width: 100%;
  text-align: center;
}

.info-pimpinan h4 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 22px;
  text-align: center;
  line-height: 1.3;
}

.info-pimpinan p {
  color: var(--text-gray);
  margin-bottom: 12px;
  font-size: 15px;
  text-align: center;
  line-height: 1.5;
}

.info-pimpinan strong {
  color: var(--dark-gray);
  font-weight: 600;
}

/* Blockquote styling rata tengah */
.info-pimpinan blockquote {
  font-style: italic;
  color: var(--accent-orange);
  padding: 15px 20px;
  margin: 20px 0;
  background: #fff9f5;
  border-radius: 10px;
  border-left: 4px solid var(--accent-orange);
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}

/* Foto container juga rata tengah */
.foto-container {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foto-korsatpel {
  width: 100%;
  max-width: 280px;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--primary-blue);
  display: block;
  margin: 0 auto;
}

.foto-placeholder {
  width: 100%;
  max-width: 280px;
  height: 350px;
  background: var(--light-gray);
  border: 2px dashed #ccc;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 10px;
  text-align: center;
}

/* ============================================= */
/* BAGIAN FASILITAS */
/* ============================================= */

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.facility-item {
  background: var(--white);
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.facility-item:hover {
  transform: translateY(-5px);
}

.facility-item i {
  font-size: 48px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.facility-item h4 {
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.facility-item p {
  color: var(--text-gray);
}

/* ============================================= */
/* SLIDESHOW 3D UNTUK PETA - SISTEM BARU */
/* ============================================= */

.map-slideshow-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 50px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 70px; /* RUANG EKSTRA UNTUK DOTS */
}

/* Navigation Tabs */
.map-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, var(--primary-blue), #2c5aa0);
  padding: 0;
}

.map-tab {
  background: transparent;
  border: none;
  color: white;
  padding: 20px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
}

.map-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}

.map-tab.active {
  background: rgba(255, 255, 255, 0.2);
  border-bottom-color: var(--accent-orange);
}

/* Map Slideshow */
.map-slideshow {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.map-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.map-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.map-slide.leaving {
  opacity: 0;
  transform: translateX(-100px);
}

/* Map Header */
.map-slide .map-header {
  padding: 20px 30px;
  background: var(--white);
  border-bottom: 1px solid #e8f0fe;
  text-align: center;
}

.map-slide .map-header h3 {
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-size: 22px;
}

.map-slide .map-header p {
  color: var(--text-gray);
  margin: 0;
  font-size: 14px;
}

/* Map Container */
.map-slide .map-container {
  flex: 1;
  position: relative;
}

.map-slide .leaflet-map {
  height: 100%;
  width: 100%;
  border-radius: 0;
}

/* Map Info - DIPERBAIKI DENGAN PADDING BOTTOM LEBIH BESAR */
.map-slide .map-info {
  padding: 20px 30px 30px 30px; /* PADDING BOTTOM DITAMBAH */
  background: #f8f9fa;
  border-top: 1px solid #e8f0fe;
  position: relative;
  z-index: 5;
  margin-bottom: 20px; /* BERI MARGIN UNTUK DOTS */
}

.map-slide .map-info h4 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 16px;
  text-align: center;
}

.terminal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.terminal-tag {
  background: var(--primary-blue);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Warna khusus untuk setiap tipe */
.map-tab[data-map="akdp"]
  ~ .map-slideshow
  .map-slide:nth-child(2)
  .terminal-tag {
  background: #25d366;
}

.map-tab[data-map="ajdp"]
  ~ .map-slideshow
  .map-slide:nth-child(3)
  .terminal-tag {
  background: #9c27b0;
}

.map-tab[data-map="perintis"]
  ~ .map-slideshow
  .map-slide:nth-child(4)
  .terminal-tag {
  background: #ff9800;
}

/* Navigation Arrows */
.map-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-blue);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.map-nav:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.map-prev {
  left: 20px;
}

.map-next {
  right: 20px;
}

/* Dots Indicator - POSISI DIPERBAIKI */
.map-dots {
  position: absolute;
  bottom: 25px; /* DITURUNKAN DARI 20px MENJADI 25px */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.map-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(4, 71, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-dot.active {
  background: var(--accent-orange);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.map-dot:hover {
  background: var(--primary-blue);
  transform: scale(1.2);
}

/* ============================================= */
/* SCHEDULE TABS DAN SLIDER */
/* ============================================= */

.schedule-section {
  margin-top: 50px;
}

.schedule-title {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 28px;
}

.schedule-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  border-bottom: 2px solid #e0e0e0;
}

.schedule-tab {
  background: none;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.schedule-tab:hover {
  color: var(--primary-blue);
}

.schedule-tab.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.schedule-slider-container {
  min-height: 500px;
  position: relative;
}

/* ============================================= */
/* SLIDER 3D UNTUK JADWAL BUS */
/* ============================================= */

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.bus-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
  align-items: center;
  height: 500px;
}

.bus-card-slider {
  flex: 0 0 350px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 3px solid transparent;
}

/* Efek 3D untuk card yang tidak aktif */
.bus-card-slider:not(.active) {
  transform: scale(0.85) translateZ(-100px);
  opacity: 0.7;
  filter: blur(1px);
  border-color: #e8f0fe;
}

/* Card aktif di tengah */
.bus-card-slider.active {
  transform: scale(1) translateZ(0);
  opacity: 1;
  filter: blur(0);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 50px rgba(4, 71, 255, 0.3);
  z-index: 10;
}

/* Efek hover */
.bus-card-slider:hover {
  transform: scale(0.95) translateZ(-50px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.bus-card-slider.active:hover {
  transform: scale(1.05) translateZ(0);
  box-shadow: 0 25px 60px rgba(4, 71, 255, 0.4);
}

/* Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-blue);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(4, 71, 255, 0.3);
}

.slider-nav:hover {
  background: #2c5aa0;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(4, 71, 255, 0.4);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* Dots Indicator */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: var(--accent-orange);
  transform: scale(1.1);
}

/* Styling untuk konten bus card */
.bus-card-slider .bus-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.bus-card-slider .bus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bus-card-slider.active .bus-image img {
  transform: scale(1.1);
}

.bus-card-slider .bus-info {
  padding: 25px;
}

.bus-card-slider .bus-info h5 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark-gray);
  text-align: center;
}

.bus-card-slider .bus-info > div {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.bus-card-slider .book-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bus-card-slider .book-btn:hover {
  background: #2c5aa0;
  transform: translateY(-2px);
}

/* ============================================= */
/* BAGIAN DATA PRODUKSI - TABS SYSTEM */
/* ============================================= */

.data-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.tab-button {
  background: none;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: var(--primary-blue);
}

.tab-button.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* UNTUK BAGIAN CHART DATA PRODUKSI */
.chart-container {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.chart-container h4 {
  color: var(--primary-blue);
  margin-bottom: 20px;
  text-align: center;
}

.chart-placeholder {
  height: 400px;
  position: relative;
}

/* UNTUK TABEL DATA PRODUKSI */
.total-row {
  background: var(--primary-blue) !important;
  color: white;
  font-weight: bold;
}

.total-row td {
  border: none !important;
  font-size: 16px;
}

.production-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.production-table th {
  background: var(--primary-blue);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.production-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.production-table tr:nth-child(even) {
  background: #f8f9fa;
}

.production-table tr:hover {
  background: #e3f2fd;
}

/* UNTUK SUMMARY DATA PRODUKSI */
.total-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.summary-item {
  background: var(--white);
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent-orange);
}

.summary-item h4 {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 14px;
}

.summary-value {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-blue);
  display: block;
}

/* ============================================= */
/* BAGIAN KONTAK KAMI */
/* ============================================= */

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: linear-gradient(135deg, var(--primary-blue), #2c5aa0);
  border-radius: 15px;
  color: white;
}

.contact-header h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: white;
}

.contact-header p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

/* UNTUK KARTU KONTAK */
.contact-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), #2c5aa0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 24px;
  color: white;
}

.contact-details h4 {
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-details p {
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* UNTUK TOMBOL AKSI CEPAT */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.action-btn {
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

.direction-btn {
  background: var(--primary-blue);
  color: white;
}

.direction-btn:hover {
  background: #2c5aa0;
  transform: translateY(-2px);
}

/* UNTUK BAGIAN MAP LOKASI TERMINAL */
.map-section {
  height: 100%;
}

.map-container {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-header {
  padding: 25px;
  background: linear-gradient(135deg, var(--primary-blue), #2c5aa0);
  color: white;
  text-align: center;
}

.map-header h4 {
  color: white;
  margin-bottom: 5px;
  font-size: 20px;
}

.map-header p {
  opacity: 0.9;
  margin: 0;
}

.map-wrapper {
  flex: 1;
  position: relative;
}

.terminal-map {
  height: 400px;
  position: relative;
}

/* UNTUK TOMBOL MAP ACTION */
.map-actions {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  background: #f8f9fa;
}

.map-btn {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background: var(--white);
  color: var(--primary-blue);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  border: 2px solid transparent;
}

.map-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  border-color: var(--primary-blue);
}

/* ============================================= */
/* STYLING UNTUK FORM FEEDBACK */
/* ============================================= */

.feedback-section-symmetric {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feedback-container {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8f0fe;
}

.feedback-header-symmetric {
  background: linear-gradient(135deg, var(--primary-blue), #2c5aa0);
  padding: 25px;
  color: white;
  text-align: center;
}

.feedback-header-symmetric h4 {
  color: white;
  margin-bottom: 8px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.feedback-header-symmetric p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 14px;
}

.feedback-form-symmetric {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group-symmetric {
  margin-bottom: 20px;
  text-align: left;
}

.form-group-symmetric label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 14px;
}

.form-group-symmetric input,
.form-group-symmetric textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8f0fe;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fafbff;
}

.form-group-symmetric input:focus,
.form-group-symmetric textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: white;
  box-shadow: 0 2px 8px rgba(4, 71, 255, 0.1);
}

.form-group-symmetric textarea {
  resize: vertical;
  min-height: 100px;
}

/* Rating Stars */
.rating-stars-symmetric {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 10px;
}

.star-container {
  flex: 1;
  text-align: center;
}

.rating-stars-symmetric input[type="radio"] {
  display: none;
}

.star-label-sym {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 5px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
  height: 100%;
  text-align: center;
}

.star-label-sym i {
  font-size: 20px;
  color: #ddd;
  transition: all 0.3s ease;
}

.star-label-sym span {
  font-size: 11px;
  color: var(--text-gray);
  font-weight: 500;
  line-height: 1.2;
}

.rating-stars-symmetric input[type="radio"]:checked + .star-label-sym {
  border-color: var(--primary-blue);
  background: #f0f5ff;
}

.rating-stars-symmetric input[type="radio"]:checked + .star-label-sym i {
  color: #ffc107;
}

.rating-stars-symmetric input[type="radio"]:hover + .star-label-sym {
  border-color: var(--primary-blue);
  background: #f8faff;
}

/* Submit Button */
.submit-btn-symmetric {
  background: linear-gradient(135deg, var(--primary-blue), #2c5aa0);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.submit-btn-symmetric:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(4, 71, 255, 0.3);
}

/* ============================================= */
/* STYLING UNTUK CUSTOM MARKER LEAFLET */
/* ============================================= */

.custom-bus-marker {
  background: transparent !important;
  border: none !important;
}

.leaflet-popup-content {
  margin: 15px 20px !important;
  line-height: 1.5 !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Pastikan peta Leaflet responsive */
.leaflet-container {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  z-index: 1;
}

/* ============================================= */
/* TABLET STYLING (max-width: 1024px) */
/* ============================================= */
@media (max-width: 1024px) {
  /* NAVIGASI TABLET - HAMBURGER MENU */
  nav .fa {
    display: block;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
  }

  #showMenu {
    opacity: 1;
    visibility: visible;
  }

  #closeMenu {
    opacity: 0;
    visibility: hidden;
  }

  .nav-links {
    position: fixed;
    background: rgba(0, 5, 93, 0.95);
    height: 100vh;
    width: 250px;
    top: 0;
    right: -250px;
    text-align: left;
    z-index: 9999;
    transition: right 0.5s ease;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links.active ~ #showMenu {
    opacity: 0;
    visibility: hidden;
  }

  .nav-links.active #closeMenu {
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .nav-links ul {
    display: block;
    padding: 0 30px;
    width: 100%;
  }

  .nav-links ul li {
    display: block;
    margin: 25px 0;
    padding: 0;
  }

  .nav-links ul li a {
    font-size: 16px;
    display: block;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links ul li::after {
    display: none;
  }

  /* KONTAK TABLET - RATA TENGAH */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 25px 20px;
  }

  .contact-icon {
    align-self: center;
    margin-bottom: 15px;
  }

  .contact-details {
    text-align: center;
    width: 100%;
  }

  .contact-details h4 {
    text-align: center;
    margin-bottom: 15px;
  }

  .contact-details p {
    text-align: center;
    margin-bottom: 10px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .action-btn {
    justify-content: center;
    text-align: center;
  }

  /* MAP DAN FORM FEEDBACK TABLET */
  .map-form-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .terminal-map {
    height: 350px;
  }

  .map-actions {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .map-btn {
    font-size: 12px;
    padding: 10px 8px;
  }
}

/* ============================================= */
/* MOBILE STYLING (max-width: 768px) */
/* ============================================= */
@media (max-width: 768px) {
  .text-box h1 {
    font-size: 32px;
    text-align: center;
  }

  .text-box p {
    font-size: 14px;
    text-align: center;
    padding: 0 20px;
  }

  .hero-btn {
    margin: 0 auto;
    display: block;
    width: fit-content;
  }

  /* KONTAK MOBILE - RATA TENGAH SEMPURNA */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-header {
    padding: 25px 20px;
    text-align: center;
  }

  .contact-header h3 {
    text-align: center;
    font-size: 24px;
  }

  .contact-header p {
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 25px 20px;
  }

  .contact-icon {
    align-self: center;
    margin-bottom: 15px;
  }

  .contact-details {
    text-align: center;
    width: 100%;
  }

  .contact-details h4 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
  }

  .contact-details p {
    text-align: center;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .coordinate-info {
    text-align: center;
  }

  .coordinate-info small {
    font-size: 12px;
  }

  .operational-details {
    text-align: center;
  }

  .operational-details p {
    text-align: center;
    margin-bottom: 8px;
  }

  /* QUICK ACTIONS MOBILE */
  .quick-actions {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .action-btn {
    justify-content: center;
    text-align: center;
    padding: 15px;
    font-size: 14px;
  }

  /* MAP DAN FORM MOBILE */
  .map-form-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .terminal-map {
    height: 300px;
  }

  .map-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-btn {
    justify-content: center;
    text-align: center;
    padding: 12px;
  }

  /* FORM FEEDBACK MOBILE - RATA TENGAH */
  .feedback-header-symmetric {
    padding: 20px;
    text-align: center;
  }

  .feedback-header-symmetric h4 {
    text-align: center;
    font-size: 18px;
  }

  .feedback-header-symmetric p {
    text-align: center;
  }

  .feedback-form-symmetric {
    padding: 20px;
  }

  .form-group-symmetric {
    text-align: center;
  }

  .form-group-symmetric label {
    text-align: center;
    display: block;
    margin-bottom: 8px;
  }

  .rating-stars-symmetric {
    justify-content: center;
  }

  .submit-btn-symmetric {
    text-align: center;
    justify-content: center;
  }

  /* LOGO MOBILE - RATA TENGAH */
  .logo {
    justify-content: center;
    gap: 10px;
  }

  .logo-container {
    justify-content: center;
  }

  /* LAYOUT RESPONSIVE */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-section {
    padding: 60px 0;
  }

  .content-section h2 {
    font-size: 28px;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  /* SLIDESHOW RESPONSIVE - DIPERBAIKI */
  .map-slideshow-container {
    margin: 0 auto 30px;
    border-radius: 15px;
    padding-bottom: 60px; /* DISESUAIKAN UNTUK MOBILE */
  }

  .map-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-tab {
    padding: 15px 10px;
    font-size: 12px;
  }

  .map-slideshow {
    height: 450px; /* DISESUAIKAN UNTUK MOBILE */
  }

  .map-slide .map-header {
    padding: 15px 20px;
  }

  .map-slide .map-header h3 {
    font-size: 18px;
  }

  .map-slide .map-info {
    padding: 15px 20px 25px 20px; /* PADDING BOTTOM DITAMBAH */
    margin-bottom: 15px;
  }

  .terminal-list {
    justify-content: center;
    gap: 8px;
  }

  .terminal-tag {
    font-size: 10px;
    padding: 6px 12px;
  }

  .map-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .map-prev {
    left: 10px;
  }

  .map-next {
    right: 10px;
  }

  /* DOTS UNTUK MOBILE - DIPERBAIKI */
  .map-dots {
    bottom: 20px; /* POSISI DITURUNKAN */
    padding: 8px 16px;
    gap: 10px;
  }

  .map-dot {
    width: 12px;
    height: 12px;
  }

  /* SLIDER RESPONSIVE */
  .slider-container {
    padding: 0 10px;
  }

  .bus-card-slider {
    flex: 0 0 90% !important;
    max-width: 320px;
  }

  .bus-slider {
    height: 420px;
    gap: 0;
    justify-content: center;
  }

  .bus-card-slider:not(.active) {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(2px);
    pointer-events: none;
    display: none;
  }

  .bus-card-slider.active {
    transform: scale(1) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
    z-index: 10;
    margin: 0 auto;
    display: block;
  }

  .slider-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  /* SCHEDULE TABS RESPONSIVE */
  .schedule-tabs {
    flex-wrap: wrap;
  }

  .schedule-tab {
    padding: 12px 15px;
    font-size: 14px;
    flex: 1;
    min-width: 120px;
  }

  /* DATA PRODUKSI MOBILE */
  .data-tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-button {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }

  .total-summary {
    grid-template-columns: 1fr;
  }

  .chart-placeholder {
    height: 300px;
  }

  .production-table {
    font-size: 14px;
  }

  .production-table th,
  .production-table td {
    padding: 8px 10px;
  }
}

/* ============================================= */
/* MOBILE KECIL STYLING (max-width: 480px) */
/* ============================================= */
@media (max-width: 480px) {
  /* NAVIGASI MOBILE KECIL */
  .text-box h1 {
    font-size: 24px;
    text-align: center;
  }

  .text-box p {
    font-size: 12px;
    text-align: center;
  }

  .hero-btn {
    font-size: 12px;
    padding: 10px 20px;
    text-align: center;
  }

  /* KONTAK MOBILE KECIL - RATA TENGAH SEMPURNA */
  .contact-header {
    padding: 20px 15px;
    text-align: center;
  }

  .contact-header h3 {
    font-size: 20px;
    text-align: center;
  }

  .contact-header p {
    font-size: 14px;
    text-align: center;
  }

  .contact-card {
    padding: 20px 15px;
    text-align: center;
  }

  .contact-details h4 {
    font-size: 16px;
    text-align: center;
  }

  .contact-details p {
    font-size: 13px;
    text-align: center;
  }

  .contact-phone,
  .contact-whatsapp,
  .contact-email,
  .operational-hours {
    text-align: center;
    display: block;
  }

  /* QUICK ACTIONS MOBILE KECIL */
  .action-btn {
    font-size: 13px;
    padding: 12px 15px;
    text-align: center;
    justify-content: center;
  }

  /* FORM FEEDBACK MOBILE KECIL */
  .feedback-header-symmetric {
    padding: 15px;
    text-align: center;
  }

  .feedback-header-symmetric h4 {
    font-size: 16px;
    text-align: center;
  }

  .feedback-header-symmetric p {
    font-size: 13px;
    text-align: center;
  }

  .feedback-form-symmetric {
    padding: 15px;
  }

  .form-group-symmetric label {
    text-align: center;
    font-size: 13px;
  }

  .star-label-sym {
    font-size: 11px;
    text-align: center;
  }

  .submit-btn-symmetric {
    font-size: 14px;
    text-align: center;
  }
}
