body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  /* background-color: #e2f4f7;  ← WARNA BIRU MUDA SEKARANG */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
}

.swiper-slide img {
  max-height: 185px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
}

main.flex-fill {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
}

.custom-navbar {
  background-color: #080839;
  transition: all 0.3s ease;
  padding-top: 1px;
  padding-bottom: 1px;
  top: 10px;
  border-radius: 10px;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 600;
  left: 0;
  right: 0;
  font-size: 13px;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #f99703; /* Biru hover */
}

.navbar-nav .dropdown-menu {
  background-color: #0d0d40;
  border: none;
}

.navbar-nav .dropdown-item {
  color: #ffffff;
  transition: 0.3s;
}

.navbar-nav .dropdown-item:hover {
  background-color: transparent;
  color: #0d6efd;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Navbar default transparan */
#mainNavbar {
  background-color: transparent;
  transition: top 0.3s, background-color 0.3s, box-shadow 0.3s;
}

/* Saat di-scroll ke bawah (navbar disembunyikan) */
.navbar-hidden {
  top: -100px;
}

/* Saat di-scroll ke atas (navbar muncul solid) */
/*.navbar-visible {*/
/*  background-color: #080839 !important; */
  /* warna solid */
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}*/

.shadow-sm {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

footer {
  font-size: 0.9rem;
}

.custom-footer {
  background-color: #0a0a32 !important;
}

.footer-custom {
  background-color: #c4d1db; /* Warna abu-abu medium (alternatif selain bg-light) */
  border-radius: 2rem; /* Sudut membulat di seluruh footer */
}
/* Opsi: jika ingin menggunakan warna abu-abu muda lain,
   ganti #6c757d dengan kode warna pilihan (misal #495057 untuk abu-abu gelap/kontras tinggi) */

.footer-socials a:hover {
  color: #ffc107; /* warna kuning saat hover */
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.custom-hero {
  /* background-color: rgba(0, 0, 0, 0.1) !important; */
  background-color: #ffc107;
}

section {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.btn-primary {
  background-color: #005b8f;
  border-color: #005b8f;
}

.btn-primary:hover {
  background-color: #004670;
  border-color: #004670;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  animation: pulse 2s infinite;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Animasi Berdenyut */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#scrollTopBtn {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  background-color: rgba(0, 102, 204, 0.3); /* transparan biru */
  color: white;
  border: none;
  outline: none;
  padding: 8px 10px;
  border-radius: 40%;
  font-size: 22px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.5), 0 0 25px rgba(0, 123, 255, 0.3);
  cursor: pointer;
  display: none;
  transition: all 0.3s ease-in-out;
}

#scrollTopBtn:hover {
  background: rgba(0, 123, 255, 0.8);
  box-shadow: 0 0 18px rgba(0, 123, 255, 0.8), 0 0 35px rgba(0, 123, 255, 0.5);
}

.sosmed-link {
  text-decoration: none;
  color: #04b0fa;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: 500;
}

.sosmed-link:hover {
  color: #0056b3;
  transform: translateY(-2px);
}

.btn-whatsapp {
  z-index: 10;
  position: relative;
}

/* Custom style dropdown */
.dropdown-menu-custom {
  background-color: #15a4e7; /* Biru muda*/
  border: none;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 0;
}

.dropdown-menu-custom .dropdown-item {
  padding: 10px 20px;
  color: #ffffff; /* Teks putih */
  transition: all 0.3s ease;
  font-weight: 500;
}

.dropdown-menu-custom .dropdown-item:hover {
  background-color: #15a4e7; /* Background jadi biru muda saat hover */
  color: #0d6efd; /* Teks jadi biru saat hover */
  padding-left: 30px;
}

.dropdown-menu-custom .dropdown-item:active {
  background-color: #0d6efd;
  color: #ffffff;
}
/* Responsive fix */
@media (max-width: 992px) {
  .dropdown-menu-custom {
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
  }
  .dropdown-menu-custom .dropdown-item {
    padding: 10px 15px;
  }
}

/* Efek hover pada gambar */
img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.card-img-top {
  transition: transform 0.5s;
}
.card-img-top:hover {
  transform: scale(1.05);
}

.layanan-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.layanan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.layanan-card img {
  transition: transform 0.4s ease;
}

.layanan-card:hover img {
  transform: scale(1.05);
}

.bg-skyblue {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Transisi pelan untuk jawaban accordion */
.accordion-collapse {
  transition: height 0.6s ease, opacity 0.6s ease;
  overflow: hidden;
}

.accordion-body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.accordion-collapse.show .accordion-body {
  opacity: 1;
}

.tambahan-img {
  width: 50%;
  max-height: 400px;
  object-fit: contain;
}

.galeri-img {
  height: 200px;
  object-fit: cover;
}

.alat-gambar {
  max-height: 400px;
  object-fit: cover;
}

/* running text */
.running-text-wrapper {
  overflow: hidden;
  background: #004080;
  color: white;
  padding: 5px 0;
}

.running-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  padding-left: 100%;
  color: #fff;
  /* font-weight: bold; */
  font-size: 1.1rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

#testimonial-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
  width: max-content;
}

.testimonial-track .card {
  width: 300px;
  flex-shrink: 0;
}
