:root {
  --primary-blue: #1E40AF;
  --secondary-blue: #3B82F6;
  --aaa-blue: #1E93AF;
  --accent-gold: #F59E0B;
  --dark-blue: #1E3A8A;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-bg);
  scrollbar-gutter: stable;
  /* Prevent layout shift */
}

/* Custom Scrollbar - Overlay Mode */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) transparent;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #D97706 0%, var(--accent-gold) 100%);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Overlay scrollbar untuk body */
html {
  overflow: overlay;
}

body {
  overflow: overlay;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.6);
}

.scroll-to-top.show {
  display: flex;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--aaa-blue) 0%, var(--dark-blue) 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.logo-icon img {
  width: 110%;
  height: 145%;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.logo-text p {
  font-size: 0.65rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent-gold);
}

.btn {
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--dark-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Hero Slider */
.hero-slider {
  margin-top: 80px;
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(30, 58, 138, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  color: white;
  max-width: 1200px;
  padding: 2rem;
  animation: slideUp 1s ease-out;
}

.slide-icon {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.slide-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.slide-text {
  flex: 1;
  text-align: left;
}

.slide-text h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.slide-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-blue);
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--accent-gold);
  width: 40px;
  border-radius: 6px;
}

.slider-arrow {
  display: none;
}

/* Pengumuman Section */
.pengumuman-section {
  padding: 80px 2rem;
  background: var(--white);
  position: relative;
}



.pengumuman-section>* {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.pengumuman-slider {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

.pengumuman-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pengumuman-card {
  min-width: calc(33.333% - 1.33rem);
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.pengumuman-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.pengumuman-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pengumuman-image i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
}

.pengumuman-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gold);
  color: var(--dark-blue);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pengumuman-content {
  padding: 1.5rem;
}

.pengumuman-date {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pengumuman-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.pengumuman-excerpt {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--secondary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pengumuman-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-blue);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.pengumuman-arrow:hover {
  background: var(--accent-gold);
  color: var(--dark-blue);
}

.pengumuman-arrow.prev {
  left: 0;
}

.pengumuman-arrow.next {
  right: 0;
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-gold);
  color: var(--dark-blue);
}

.modal-image {
  width: 100%;
  max-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #f8f9fa;
}

.modal-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}

.modal-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.modal-image i {
  font-size: 6rem;
  color: var(--secondary-blue);
  opacity: 0.3;
}

.modal-body {
  padding: 2rem;
}

.modal-date {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.modal-text {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 1rem;
}

/* Features Section */
.features {
  padding: 80px 2rem;
  background: var(--light-bg);
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary-blue);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Stats Section */
.stats {
  padding: 80px 2rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/></svg>');
  opacity: 0.3;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.stat-item h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  padding: 100px 2rem;
  text-align: center;
  background: var(--white);
  position: relative;
}

.cta h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Chart & Map Sections */
.data-section {
  padding: 80px 2rem;
  background: white;
  position: relative;
}



.data-section>* {
  position: relative;
  z-index: 1;
}

.data-container {
  max-width: 1400px;
  margin: 0 auto;
}

.chart-container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

#routeChart {
  min-height: 500px;
}

#airportMap {
  height: 500px;
  width: 100%;
  border-radius: 10px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
}

.jadwal-hari-ini {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-height: 500px;
  overflow-y: auto;
}

.jadwal-hari-ini h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jadwal-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--secondary-blue);
  transition: all 0.3s;
}

.jadwal-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.jadwal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.jadwal-maskapai {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1rem;
}

.jadwal-waktu {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.jadwal-rute {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.jadwal-rute i {
  color: var(--secondary-blue);
}

.jadwal-info {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.jadwal-info-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.jadwal-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-gray);
}

.jadwal-empty i {
  font-size: 3rem;
  color: var(--primary-blue);
  opacity: 0.3;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .map-grid {
    grid-template-columns: 1fr;
  }

  .jadwal-hari-ini {
    max-height: 400px;
  }
}

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  color: white;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.summary-card:hover {
  transform: translateY(-5px);
}

.summary-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.summary-card-content {
  flex: 1;
  min-width: 0;
}

.summary-card-title {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.summary-card-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.summary-card-subtitle {
  font-size: 0.7rem;
  opacity: 0.8;
  line-height: 1.2;
}

/* Filter Controls */
.filter-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #667eea;
}

.btn-filter {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s;
  align-self: flex-end;
}

.btn-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Chart Tabs */
.chart-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  justify-content: center;
}

.chart-tab {
  padding: 0.8rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-tab .tab-text {
  display: inline;
}

.chart-tab .tab-icon {
  display: none;
  font-size: 1.2rem;
}

.chart-tab.active {
  color: var(--primary-blue);
  border-bottom-color: var(--accent-gold);
}

.chart-tab:hover {
  color: var(--secondary-blue);
}

/* Switch Button Style */
.data-switch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.data-switch {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.switch-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-gray);
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.switch-btn i {
  font-size: 1rem;
}

.switch-btn.active {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.switch-btn:hover:not(.active) {
  background: #e5e7eb;
  color: var(--primary-blue);
}

.chart-type-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: flex-end;
}

.chart-type-btn {
  padding: 0.5rem 1.2rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s;
  font-size: 0.9rem;
}

.chart-type-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.chart-type-btn:hover:not(.active) {
  border-color: var(--secondary-blue);
  color: var(--secondary-blue);
}

.chart-content {
  display: none;
}

.chart-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.chart-view {
  width: 100%;
}

@media (max-width: 1024px) {
  .chart-content.active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Rute Section */
.rute-section {
  padding: 80px 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

/* Animated Background Icons */
.rute-section::before,
.rute-section::after {
  content: '';
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 15rem;
  color: var(--primary-blue);
  opacity: 0.03;
  z-index: 0;
  animation: floatIcon 20s ease-in-out infinite;
}

.rute-section::before {
  content: '\f0c0';
  /* users icon */
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.rute-section::after {
  content: '\f468';
  /* boxes icon */
  bottom: 10%;
  right: -5%;
  animation-delay: 10s;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  50% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }

  75% {
    transform: translate(20px, 30px) rotate(3deg);
  }
}

.rute-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rute-filter-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .rute-section {
    padding: 40px 1rem;
  }

  .rute-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rute-filter-controls {
    padding: 1rem;
    gap: 0.8rem;
  }
}

.rute-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.rute-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
  border-color: var(--secondary-blue);
}

.rute-card-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  padding: 1.5rem;
  color: white;
  position: relative;
  z-index: 1;
}

.rute-card-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: white;
  border-radius: 20px 20px 0 0;
}

.maskapai-name {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rute-path {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.rute-path i {
  font-size: 1.2rem;
  opacity: 0.8;
}



.rute-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.70) 50%, rgba(255, 255, 255, 0.72) 100%);
  z-index: 0;
}

.rute-card-body>* {
  position: relative;
  z-index: 1;
}

.rute-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.rute-info-row:last-child {
  border-bottom: none;
}

.rute-info-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rute-info-label i {
  color: var(--primary-blue);
  font-size: 1rem;
}

.rute-info-value {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 1rem;
}

.jadwal-hari {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hari-badge {
  background: var(--secondary-blue);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tarif-penumpang {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.rute-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.rute-type-badge.penumpang {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.rute-type-badge.cargo {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.rute-type-badge i {
  font-size: 0.8rem;
}

.rute-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-gray);
}

.rute-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  color: var(--text-gray);
}

.rute-empty i {
  font-size: 4rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Load More Button */
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-load-more:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
}

.btn-load-more:active:not(:disabled) {
  transform: translateY(0);
}

.btn-load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-load-more i {
  font-size: 1.1rem;
}

.btn-load-more .fa-spinner {
  animation: spin 1s linear infinite;
}

.load-more-count {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #0F172A 100%);
  color: white;
  padding: 4rem 2rem 1.5rem;
  position: relative;
}

/* footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('{{ asset('images/batikdishub.png') }}');
            background-size: 400px;
            background-repeat: repeat;
            opacity: 1;
            pointer-events: none;
            z-index: 0;
        } */

footer>* {
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  text-align: left;
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.footer-logo {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.footer-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.footer-logo-text p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

/* Contact Section */
.footer-contact {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  align-items: flex-start;
  opacity: 0.9;
}

.contact-item i {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-top: 0.2rem;
  min-width: 16px;
}

.contact-item span {
  font-size: 0.9rem;
  line-height: 1.5;
}

.qr-code-container {
  text-align: center;
}

.qr-code-image {
  width: 120px;
  height: 120px;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qr-code-label {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* Visitor Statistics */
.visitor-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.stat-box-total {
  grid-column: 1 / -1;
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
}

.stat-icon {
  font-size: 2rem;
  color: var(--accent-gold);
  min-width: 40px;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.2rem;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  opacity: 0.7;
  font-size: 0.9rem;
  text-align: center;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .pengumuman-card {
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .logo-text h1 {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
  }

  .logo-text p {
    font-size: 0.55rem;
    line-height: 1.3;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
  }

  .chart-tab {
    padding: 0.8rem 1rem;
  }

  .chart-tab .tab-text {
    display: none;
  }

  .data-switch-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .data-switch-container h3 {
    font-size: 1.1rem;
  }

  .switch-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .switch-btn span {
    display: none;
  }

  .switch-btn i {
    font-size: 1.1rem;
  }

  .summary-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .summary-card {
    padding: 1rem;
  }

  .summary-card-value {
    font-size: 1.5rem;
  }

  .summary-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }

  .chart-tab .tab-icon {
    display: inline;
  }

  .slide-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .slide-icon {
    width: 120px;
    height: 120px;
    padding: 1rem;
  }

  .slide-text {
    text-align: center;
  }

  .slide-text h2 {
    font-size: 2rem;
  }

  .slide-text p {
    font-size: 1rem;
  }

  .pengumuman-card {
    min-width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .modal-content {
    margin: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    width: 100%;
  }

  .visitor-stats {
    grid-template-columns: 1fr;
  }

  .footer-section {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }
}

.custom-cluster {
  background: rgba(30, 64, 175, 0.6);
  border: 2px solid var(--secondary-blue);
  border-radius: 50%;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Plane marker styling */
.plane-marker {
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.plane-marker:hover {
  transform: scale(1.2) !important;
}

.custom-cluster {
  background: rgba(30, 64, 175, 0.6);
  border: 2px solid var(--secondary-blue);
  border-radius: 50%;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Plane marker styling */
.plane-marker {
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.plane-marker:hover {
  transform: scale(1.2) !important;
}