/* ========== BREAKING NEWS ========== */
.breaking-news-wrapper .item {
  padding-right: 30px;
}
.breaking-news-wrapper .item a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== NAVBAR ========== */
.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #ffffff !important;
  font-weight: 500;
}
.navbar .nav-link:hover {
  color: #00e0b5 !important;
}

/* Scrolled Navbar */
.navbar.scrolled,
.navbar.navbar-scrolled {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.85) !important;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.navbar.navbar-scrolled .nav-link,
.navbar.navbar-scrolled .navbar-brand {
  color: #ffffff !important;
}

/* Dropdown Menu */
.navbar .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.9);
  border: none;
  position: absolute;
  z-index: 1050;
}
.navbar .dropdown-menu .dropdown-item {
  color: #ffffff !important;
}
.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #00e0b5 !important;
}

/* Dropdown Responsive */
@media (max-width: 991.98px) {
  .navbar .dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
    display: block;
    white-space: nowrap;
    padding: 1rem;
  }

  .navbar .dropdown-menu .d-md-flex {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .navbar .dropdown-menu .dropdown-header {
    font-weight: bold;
    font-size: 1rem;
  }

  .navbar .dropdown-menu .dropdown-item {
    display: block;
    min-width: 200px;
    white-space: normal;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0px 0;
}
.video-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.hero-content {
  color: white;
  z-index: 1;
  position: relative;
  padding-top: 10px;
}

/* Stats Section */
.stats-card {
  background: #ffffffcc;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.stats-header {
  text-align: center;
  margin-bottom: 20px;
}
.decoration-line {
  height: 3px;
  width: 80px;
  background: #00b894;
  margin: 0 auto;
  border-radius: 2px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
}
.stat-item {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-5px);
}
.stat-icon {
  font-size: 2rem;
  color: #00b894;
  margin-bottom: 10px;
}
.stat-content h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3436;
}
.stat-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #636e72;
}

/* Stats Responsive */
@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    padding: 12px;
  }
  .stat-icon {
    font-size: 1.5rem;
  }
  .stat-content h4 {
    font-size: 1.3rem;
  }
  .stat-content p {
    font-size: 0.85rem;
  }
}

/* ========== BUTTONS ========== */
.btn-primary {
  background-color: #00b894;
  border: none;
}
.btn-primary:hover {
  background-color: #019875;
}
.btn-secondary {
  background: transparent;
  border: 2px solid #00b894;
  color: #00b894;
}
.btn-secondary:hover {
  background: #00b894;
  color: white;
}

/* ========== ANIMATIONS & UTILITY ========== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes growUnderline {
  from { width: 0; }
  to { width: 60px; }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== MISC COMPONENTS ========== */
.section-heading {
  position: relative;
  padding-left: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 25px;
  animation: fadeInLeft 0.8s ease;
  border-left: 4px solid #00b894;
}
.section-heading.with-icon {
  padding-left: 45px;
}
.section-heading.with-icon::before {
  content: "\f03d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 0;
  font-size: 1.4rem;
  color: #e74c3c;
  animation: bounceIcon 1s infinite;
}
.section-highlight,
.tag-section,
.emergency-banner,
.alamat-section {
  animation: fadeInDown 0.8s ease;
}

/* Other reusable styles moved here... */

/* ========== END ========== */
