:root {
  --primary-color: #1c5daa;
  --secondary-color: #f8a01c;
  --light-color: #f0f7ff;
  --dark-color: #333;
  --font-family-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-family-heading: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
body {
  font-family: var(--font-family-primary);
  background-color: #f9f9f9;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: var(--primary-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  z-index: 1030;
  transition: var(--transition);
}

.navbar-brand img {
  border-radius: 4px;
  height: 50px;
  transition: var(--transition);
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  color: white !important;
  padding: 8px 15px !important;
  border-radius: var(--border-radius);
  margin: 0 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Dropdown styling */
.dropdown-menu {
  background-color: white;
  border: 1px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 10px;
  margin-top: 8px;
  z-index: 1050;
}

.dropdown-item {
  color: var(--dark-color) !important;
  transition: var(--transition);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.btn-outline-light {
  background-color: white;
  color: var(--primary-color);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-outline-light:hover {
  background-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: white;
  color: var(--primary-color) !important;
}

/* Navbar Mobile Styles */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar-brand img {
    height: 40px;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    text-align: center;
    padding: 10px !important;
    margin: 2px 0;
  }

  .btn-outline-light {
    padding: 6px 15px;
    font-size: 0.9rem;
    width: 100%;
    margin-top: 10px;
  }

  .dropdown-menu {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    margin-top: 5px;
  }
}

/* ===== FOOTER STYLES ===== */
footer {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  padding-top: 50px;
  position: relative;
  font-family: var(--font-family-primary);
}

.footer-content {
  padding: 10px 0;
}

/* COPYRIGHT SECTION */
.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.9;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

.social-icons a {
  transition: var(--transition);
  display: inline-block;
  color: #ffffff !important;
  margin-right: 15px;
  font-size: 1.3rem;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: var(--secondary-color) !important;
}

.footer-info-section {
  margin-bottom: 25px;
}

.footer-info-section h5 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff !important;
  position: relative;
  padding-bottom: 10px;
  font-family: var(--font-family-heading);
}

.footer-info-section h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
}

.footer-info-section p {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
  color: #ffffff !important;
}

.footer-info-section strong {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.footer-info-section i {
  color: var(--secondary-color) !important;
  margin-right: 10px;
  width: 20px;
}

/* Quick links in footer */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 8px 0;
  font-size: 1rem;
  font-family: var(--font-family-primary);
}

.footer-links a:hover {
  color: var(--secondary-color) !important;
  padding-left: 10px;
  transform: translateX(5px);
}

/* LOGO STYLES */
.footer-logo {
  margin-bottom: 20px;
  max-width: 200px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Desktop Styles - Logo di kiri */
@media (min-width: 769px) {
  .footer-desktop {
    display: block;
  }

  .footer-mobile {
    display: none;
  }

  .footer-logo {
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
}

/* Accordion untuk footer mobile */
.footer-accordion {
  margin-bottom: 20px;
}

.footer-accordion .accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

.footer-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: none;
  border-radius: var(--border-radius);
  padding: 15px 20px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: none !important;
  font-family: var(--font-family-heading);
}

.footer-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.25) !important;
  color: var(--secondary-color) !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.footer-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
}

.footer-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.footer-accordion .accordion-body {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 20px;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-family-primary);
}

.footer-accordion .accordion-body a,
.footer-accordion .accordion-body p,
.footer-accordion .accordion-body h6 {
  color: #ffffff !important;
}

.footer-accordion .footer-links a {
  color: rgba(255, 255, 255, 0.95) !important;
  padding: 6px 0;
}

.footer-accordion .footer-links a:hover {
  color: var(--secondary-color) !important;
  padding-left: 8px;
}

/* Penyesuaian grid untuk footer */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid .col-lg-3,
.footer-grid .col-lg-2,
.footer-grid .col-lg-4 {
  flex: 1;
  min-width: 0;
}

/* Penyesuaian untuk tampilan yang lebih rapat */
@media (min-width: 992px) {
  .footer-grid {
    gap: 15px;
  }

  .footer-grid .col-lg-2 {
    flex: 0 0 18%;
  }

  .footer-grid .col-lg-4 {
    flex: 0 0 30%;
  }

  .footer-grid .col-lg-3 {
    flex: 0 0 22%;
  }
}

/* Untuk layar lebih kecil */
@media (max-width: 992px) {
  .footer-grid {
    gap: 20px;
  }

  .footer-grid .col-lg-2,
  .footer-grid .col-lg-4,
  .footer-grid .col-lg-3 {
    flex: 0 0 48%;
    margin-bottom: 25px;
  }
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
  footer {
    padding-top: 40px;
    background: var(--primary-color) !important;
  }

  .footer-info-section {
    text-align: left;
    margin-bottom: 25px;
  }

  .footer-info-section h5::after {
    left: 0;
    transform: none;
    width: 35px;
  }

  .footer-logo {
    margin: 0 0 20px 0 !important;
    display: block;
    max-width: 180px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
  }

  .social-icons {
    text-align: left;
    margin-top: 20px;
  }

  .social-icons a {
    margin: 0 12px 0 0;
    font-size: 1.5rem;
  }

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

  .footer-links a {
    color: #ffffff !important;
    font-size: 1rem;
  }

  .footer-links a:hover {
    padding-left: 10px;
    transform: translateX(5px);
    color: var(--secondary-color) !important;
  }

  .footer-copyright {
    font-size: 0.9rem;
    padding: 25px 15px;
    background: var(--primary-color) !important;
    margin-top: 20px;
  }

  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: block;
  }

  .footer-accordion {
    margin-top: 25px;
  }

  .footer-accordion .accordion-button {
    font-size: 1.05rem;
    padding: 18px 20px;
  }

  .footer-accordion .accordion-body {
    font-size: 0.95rem;
    padding: 25px 20px;
  }

  #footer-map-mobile {
    height: 180px !important;
  }

  .footer-grid .col-lg-3,
  .footer-grid .col-lg-2,
  .footer-grid .col-lg-4 {
    flex: 100%;
    min-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .footer-mobile .footer-info-section p,
  .footer-mobile .footer-info-section h5 {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}

/* ===== MAIN CONTENT STYLES ===== */
.main-content {
  min-height: calc(100vh - 200px);
  /* padding-top: 80px; */
  font-family: var(--font-family-primary);
}

/* ===== TYPOGRAPHY ENHANCEMENTS ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .section-container {
    padding: 30px 0 !important;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0d4a8a;
    --secondary-color: #e69500;
  }
}

footer a:hover {
  color: var(--secondary-color) !important;
}

footer p,
footer .footer-description {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-copyright {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.hero-section .carousel-item {
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

/* Blurred background layer */
.hero-blur-bg {
  position: absolute;
  inset: -60px;
  overflow: hidden;
  z-index: 0;
}

.hero-blur-bg img,
.hero-blur-bg video {
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  object-fit: cover;
  filter: blur(40px) brightness(0.45);
  transform: scale(1.05);
}

.hero-blur-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.3));
}

/* Foreground media */
.hero-media {
  position: relative;
  z-index: 1;
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-height: 85vh;
}

.hero-section .carousel-item .video-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-section .carousel-item .video-container video {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-height: 85vh;
}

/* ===== CONTENT SECTIONS ===== */
.section-container {
  padding: 20px 0;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.responsive-heading {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.responsive-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(28, 93, 170, 0.1) 0%, rgba(248, 160, 28, 0.05) 100%);
  border-left: 4px solid var(--secondary-color);
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ===== FASILITAS SECTION ===== */
.fasilitas-section {
  background-color: var(--light-color);
  padding: 20px 0 10px 0;
}

.fasilitas-section .section-title {
  margin-bottom: 10px;
}

.fasilitas-section .text-muted {
  margin-bottom: 10px;
}

.fasilitas-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.fasilitas-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.fasilitas-card .card-img-container {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.fasilitas-card .card-img-top {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.fasilitas-card:hover .card-img-top {
  transform: scale(1.08);
}

.fasilitas-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fasilitas-card .card-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.4;
  height: auto;
  overflow: visible;
  display: block;
}

.fasilitas-card .card-text {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
  display: block;
  overflow: visible;
  font-size: 1rem;
}

.fasilitas-card .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: var(--transition);
  width: auto;
  margin-top: auto;
  align-self: flex-end;
  font-size: 0.95rem;
  min-width: 120px;
}

.fasilitas-card .btn-primary:hover {
  background-color: #154a8a;
  border-color: #154a8a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(28, 93, 170, 0.4);
}

/* Carousel spacing */
#facilitiesCarousel .carousel-inner {
  padding: 5px 0;
}

#facilitiesCarousel .carousel-item {
  padding: 0 10px;
  transition: transform 0.6s ease-in-out;
}

#facilitiesCarousel .row.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  background-color: var(--light-color);
  padding: 30px 0 15px 0;
}

.video-section .section-title {
  margin-bottom: 10px;
}

.video-section .text-muted {
  margin-bottom: 15px;
}

.video-section .btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: var(--transition);
}

.video-section .btn-primary:hover {
  background-color: #154a8a !important;
  border-color: #154a8a !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 10px;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.08);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(28, 93, 170, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover .play-button {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Style untuk layout 6 kolom video */
.col-lg-2 .video-card {
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.col-lg-2 .video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.col-lg-2 .video-thumbnail {
  height: 120px;
  overflow: hidden;
}

.col-lg-2 .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.col-lg-2 .video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.col-lg-2 .card-title {
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 8px;
  height: 2.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 600;
  color: var(--primary-color);
}

.col-lg-2 .play-button {
  width: 35px;
  height: 35px;
  font-size: 0.9rem;
  background: rgba(28, 93, 170, 0.9);
}

.col-lg-2 .play-button:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== WEATHER SECTION ===== */
.weather-section {
  background-color: transparent;
  padding: 60px 0 100px 0;
}

.weather-title-container {
  margin-bottom: 25px;
}

.weather-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}

.weather-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.weather-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background: transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.weather-table th {
  background-color: transparent;
  color: #333;
  font-weight: 600;
  padding: 15px 10px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
}

.weather-table td {
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
  background: white;
}

.weather-table tr:last-child td {
  border-bottom: none;
}

.weather-table tr:hover td {
  background-color: rgba(28, 93, 170, 0.05);
}

.weather-table .weather-today {
  background-color: rgba(28, 93, 170, 0.35) !important;
  font-weight: 600;
  color: var(--primary-color, #1c5daa);
}

.weather-table thead th.weather-today {
  background-color: var(--primary-color, #1c5daa) !important;
  color: white !important;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
}

.weather-table .weather-today .badge {
  font-size: 0.6rem;
  font-weight: 600;
  vertical-align: middle;
  background-color: white !important;
  color: var(--primary-color, #1c5daa) !important;
}

.weather-icon-cell {
  font-size: 1.8rem;
}

.weather-date {
  font-weight: 600;
  color: var(--primary-color) !important;
  background-color: #e9f0f8 !important;
}

.weather-info-cell {
  background-color: #e9f0f8 !important;
  font-weight: 600;
  text-align: left;
  padding-left: 20px;
}

.weather-temp {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.weather-detail {
  font-size: 0.9rem;
  color: #6c757d;
}

.weather-detail i {
  width: 20px;
  color: var(--primary-color);
  margin-right: 5px;
}

.weather-loading {
  text-align: center;
  padding: 40px;
}

/* ===== MODAL STYLES ===== */
.iklan-modal .modal-content {
  border-radius: var(--border-radius);
  border: none;
  position: relative;
}

.iklan-modal .carousel {
  border-radius: var(--border-radius);
}

.iklan-modal .carousel-inner {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.iklan-modal .carousel-item {
  height: auto;
  min-height: unset;
}

.iklan-modal .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.iklan-modal .carousel-control-prev,
.iklan-modal .carousel-control-next {
  z-index: 15;
  width: 15%;
  opacity: 0.8;
  pointer-events: auto;
}

.iklan-modal .carousel-control-prev:hover,
.iklan-modal .carousel-control-next:hover {
  opacity: 1;
}

.iklan-modal .carousel-control-prev-icon,
.iklan-modal .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background-size: 50% 50%;
}

.iklan-modal .carousel-indicators {
  z-index: 5;
}

.iklan-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  font-size: 1.2rem;
}

.iklan-close:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: rotate(90deg);
}

/* Video Modal Styles */
.video-modal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

.video-modal .modal-header {
  background: var(--primary-color);
  color: white;
  border-bottom: none;
}

.video-modal .modal-body {
  padding: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .hero-section .carousel-item {
    max-height: 70vh;
  }

  .hero-section .carousel-item .video-container video {
    max-height: 70vh;
  }
}

@media (max-width: 992px) {

  .responsive-heading,
  .section-title,
  .weather-title {
    font-size: 1.8rem;
  }

  .hero-section .carousel-item {
    max-height: 60vh;
  }

  .hero-section .carousel-item .video-container video {
    max-height: 60vh;
  }

  .section-container {
    padding: 15px 0;
  }

  .fasilitas-section,
  .video-section {
    padding: 15px 0;
  }

  .weather-section {
    padding: 30px 0 60px 0;
  }
}

@media (max-width: 768px) {
  .hero-section .carousel-item {
    max-height: 50vh;
  }

  .hero-section .carousel-item .video-container video {
    max-height: 50vh;
  }

  .responsive-heading,
  .weather-title {
    font-size: 1.6rem;
  }

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

  .responsive-text {
    font-size: 1rem;
    text-align: left;
  }

  .weather-table {
    min-width: 700px;
  }

  .weather-table th,
  .weather-table td {
    padding: 10px 5px;
  }

  .weather-section {
    padding: 25px 0 50px 0;
  }

  .section-container {
    padding: 10px 0;
  }

  .fasilitas-section,
  .video-section {
    padding: 10px 0;
  }

  .fasilitas-card .card-body {
    padding: 15px;
  }

  /* Video layout for mobile */
  .video-section .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .col-lg-2 {
    flex: 0 0 auto;
    width: 100%;
  }

  .video-thumbnail {
    height: 140px;
  }

  .video-card .card-body {
    padding: 12px 10px;
  }

  .video-card .card-title {
    font-size: 0.8rem;
    height: 2.6rem;
  }
}

@media (max-width: 576px) {
  .hero-section .carousel-item {
    max-height: 45vh;
  }

  .hero-section .carousel-item .video-container video {
    max-height: 45vh;
  }

  .section-container {
    padding: 8px 0;
  }

  .fasilitas-section,
  .video-section {
    padding: 8px 0;
  }

  .weather-section {
    padding: 20px 0 40px 0;
  }

  .responsive-heading {
    font-size: 1.5rem;
  }

  .highlight-box {
    padding: 15px;
    margin: 12px 0;
  }

  .fasilitas-card .card-img-container {
    height: 160px;
  }

  .footer-logo {
    max-width: 140px;
  }

  .col-lg-2 .video-thumbnail {
    height: 120px;
  }

  /* Video section single column on very small screens */
  .video-section .row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-thumbnail {
    height: 160px;
  }
}

/* ===== SCROLL BEHAVIOR ===== */
html {
  scroll-behavior: smooth;
}

/* Prevent zoom pada input di iOS */
@media (max-width: 768px) {

  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Button sizes untuk mobile */
@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .fasilitas-card .btn-primary {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Performance optimization */
@media (max-width: 768px) {
  .fasilitas-card:hover {
    transform: none;
  }

  .video-card:hover {
    transform: none;
  }
}

/* Mobile horizontal scroll untuk fasilitas */
@media (max-width: 768px) {
  #facilitiesCarousel .carousel-item .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -5px;
    padding: 0 5px;
  }

  #facilitiesCarousel .carousel-item .row::-webkit-scrollbar {
    display: none;
  }

  #facilitiesCarousel .carousel-item .col-md-4 {
    flex: 0 0 auto;
    width: 85%;
    scroll-snap-align: start;
    margin-right: 15px;
  }

  #facilitiesCarousel .carousel-item .col-md-4:last-child {
    margin-right: 0;
  }

  /* Sembunyikan tombol carousel di mobile */
  #facilitiesCarousel .carousel-control-prev,
  #facilitiesCarousel .carousel-control-next {
    display: none;
  }
}

/* Tabel cuaca untuk mobile */
.weather-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -15px;
  padding: 0 15px;
}

.weather-table {
  min-width: 800px;
}