
    body {
      font-family: 'Poppins', sans-serif;
    }
 /* Navbar styling */
  /* Navbar styling */
.navbar-custom {
  background-color: #155E75;
}

.navbar-custom .nav-link {
  color: white;
  margin: 0 10px;
  position: relative;
}

/* Hover effect pada menu Profil */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-custom .nav-link.active,
.navbar-custom .nav-link:hover {
  color: white;
}

.navbar-custom .nav-link.active::after,
.navbar-custom .nav-link:hover::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: white;
  margin: 5px auto 0 auto;
  border-radius: 2px;
}

.navbar-brand img {
  height: 50px;
}

/* Styling submenu */
.nav-item.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #155E75;
  border-radius: 5px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  

}

.nav-item.dropdown .dropdown-menu a {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

.nav-item.dropdown .dropdown-menu a:hover {
  background-color: #155E75;
}

/* Keep the rest as it is */


    .section {
      padding: 60px 20px;
    }
    footer {
      background: #a60000;
      color: white;
      text-align: center;
      padding: 20px;
    }
    .scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #a60000;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: none; /* sembunyikan dulu */
  transition: all 0.4s;
}
.scroll-to-top:hover {
  background-color: #880000;
}
.breaking-news {
  display: flex;
  align-items: center;
  background-color: #fff3f3;
  overflow: hidden;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.breaking-news-label {
  background-color: #a60000;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.breaking-news-label i {
  font-size: 20px;
}

.breaking-news-ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.breaking-news-ticker .ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 25s linear infinite;
  font-size: 15px;
  color: #333;
}

.breaking-news-ticker .ticker-content span {
  margin: 0 30px;
  position: relative;
}

.breaking-news-ticker .ticker-content span::before {
  content: "•";
  color: #a60000;
  margin-right: 10px;
}
.breaking-news-ticker:hover .ticker-content {
  animation-play-state: paused;
  cursor: pointer;
}
.breaking-news-ticker .ticker-content a {
  color: #333;
  text-decoration: none;
  margin: 0 30px;
  position: relative;
  white-space: nowrap;
}
.breaking-news-ticker .ticker-content a::before {
  content: "•";
  color: #a60000;
  margin-right: 10px;
}
.breaking-news-ticker .ticker-content a:hover {
  text-decoration: underline;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.pelayanan-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.pelayanan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.team-member {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.fitur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #f5f8fa;
}

.fitur-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  padding: 20px 10px;
  transition: transform 0.2s ease;
}

.fitur-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.fitur-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.fitur-card p {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}
.tab {
  background-color: #1e3a75; /* biru gelap */
  color: white;
  font-weight: bold;
  padding: 8px 16px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  margin-right: 5px;
  cursor: pointer;
}

.tab:not(.active) {
  background-color: #3b5998; /* biru sedikit lebih terang */
}

.tab:hover {
  opacity: 0.85;
}
 .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* transparan hitam */
    border-radius: 50%;
    padding: 10px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
  }

  /* Jika ingin lebih besar */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 100% 100%;
    width: 40px;
    height: 40px;
  }
  .carousel-caption {
    top: 0;
    bottom: 0;
  }
   .hero-title {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    color: #fff;
  }

  .text-timbul {
    text-shadow:
      1px 1px 0 #444,
      2px 2px 0 #333,
      3px 3px 2px rgba(0, 0, 0, 0.4);
  }

  @media (min-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }
    .hero-subtitle {
      font-size: 1.25rem;
    }
  }

  @media (min-width: 992px) {
    .hero-title {
      font-size: 3rem;
    }
    .hero-subtitle {
      font-size: 1.5rem;
    }
  }
 #sambutan {
    background-color: #f8f9fa;
    border: 2px solid #28A745; /* Bingkai di sekitar bagian sambutan */
    border-radius: 10px;
    padding: 20px;
  }

  #sambutan h2 {
    font-size: 2.5rem;
    color: #007BFF;
  }

  #sambutan p {
    font-size: 1.1rem;
    color: #555;
  }

  #sambutan .lead {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.25rem;
  }

  #sambutan .container {
    max-width: 1140px;
  }

  #sambutan img {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
  }

  #sambutan .rounded-circle {
    max-width: 80%;
    border: 5px solid #28A745;
  }

  #sambutan .shadow-lg {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  }

  #sambutan .text-success {
    color: #28A745;
  }

  @media (max-width: 768px) {
    #sambutan h2 {
      font-size: 2rem;
    }

    #sambutan p {
      font-size: 1rem;
    }

    #sambutan .lead {
      font-size: 1rem;
    }
  }
   #ukm-iklan h3 {
    font-weight: bold;
  }

  #ukm-iklan .btn {
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 30px;
  }

  #ukm-iklan img {
    max-height: 200px;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    #ukm-iklan .row {
      text-align: center;
    }

    #ukm-iklan img {
      margin-bottom: 15px;
    }
  }
.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    font-size: 14px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: center;
  }

  @media (max-width: 768px) {
    .caption {
      font-size: 12px;
      padding: 4px;
    }
  }
  .timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 3px solid #ccc;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: 5px;
  background-color: #007bff;
  box-shadow: 0 0 0 4px #fff;
}

.timeline-content {
  background: #fff;
  border-radius: 8px;
  padding: 15px 20px;
  position: relative;
  border-left: 4px solid #007bff;
}

.timeline-content h5 {
  margin-bottom: 8px;
  font-weight: 600;
}

@media (max-width: 576px) {
  .timeline-content {
    padding: 12px;
  }

  .timeline-content h5 {
    font-size: 16px;
  }
}
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
}
.card-text small {
  color: #666;
}
/* Loading overlay */
    #loading {
      position: fixed;
      width: 100%;
      height: 100%;
      background: white;
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease;
    }

    #loading.fade-out {
      opacity: 0;
      visibility: hidden;
    }

    .spinner {
      font-size: 3rem;
      color: #007bff;
      animation: spin 1.5s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .carousel-caption {
    top: 0;
    bottom: 0;
  }

  .text-shadow {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
  }
  /* Efek hover untuk card */
.hover-card:hover {
    transform: translateY(-5px);  /* Mengangkat sedikit card */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* Menambahkan bayangan */
    transition: all 0.3s ease;  /* Animasi smooth */
}

/* Efek hover pada gambar */
.hover-card img:hover {
    transform: scale(1.05);  /* Memperbesar gambar sedikit */
    transition: transform 0.3s ease;  /* Animasi smooth */
}

/* Mengubah warna latar belakang pada card */
.hover-card:hover .card-body {
    background-color: #f8f9fa;  /* Ubah warna latar belakang saat hover */
}
.carousel-inner img {

 
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-caption h3 {
    font-size: 18px;
  }

  .carousel-caption p {
    font-size: 14px;
  }

