.bg-dark {
    background-color:#10a8e5 !important;
}

.btn-primary {
    background-color: #10a8e5 !important;
    border-color: #10a8e5 !important;
}

.btn-outline-primary {
    background-color: #fff !important;
    border-color: #10a8e5 !important;
    color: #10a8e5 !important;
}

.btn-outline-primary:hover {
    background-color: #10a8e5 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.text-primary {
    color: #10a8e5 !important;
}

.nav-item .nav-link {
    font-weight: 600 !important;
}

#about {
    scroll-margin-top: 60px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);

}

#activity {
  scroll-margin-top: 30px;
}

.activity-item {
  height: 467px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.activity-item .p-4 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.activity-item img {
  height: 180px;
  object-fit: cover;
  width: 100%;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.activity-item h5 {
  margin: 0 0 0.5rem 0;
  flex-shrink: 0;
  font-weight: 600;
}

.activity-item .preview-content {
  flex-grow: 1;
  overflow: hidden;
  max-height: 70px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-bottom: 0px;
  font-size: 0.9rem;
  color: #444;
}

.activity-item p.date {
  margin-top: 1px;
  font-size: 0.8rem;
  color: #666;
  flex-shrink: 0;
}

.activity-item .btn {
  align-self: center;
  flex-shrink: 0;
}

.activity-item .btn-detail {
  background-color: #0d6efd;
  color: white;
  transition: background-color 0.3s ease;
}

.activity-item:hover .btn-detail {
  background-color: #f8f9fa !important;
  color: #0d6efd !important;
}

/* === Carousel Styling === */

.activity-carousel .owl-item .activity-item,
.activity-carousel .owl-item.center .activity-item * {
  transition: 0.5s;
}

.activity-carousel .owl-item.center .activity-item {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.activity-carousel .owl-item.center .activity-item * {
  color: var(--light) !important;
}

.activity-carousel .owl-item.center .activity-item .btn-detail {
  background-color: #0d6efd;
  color: white;
  transition: background-color 0.3s ease;
}

.activity-carousel .owl-item.center .activity-item:hover .btn-detail {
  background-color: #f8f9fa !important;
  color: #0d6efd !important;
}

.activity-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.activity-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #CCCCCC;
  border-radius: 15px;
  transition: 0.5s;
}

.activity-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}


.btn-detail {
  border-radius: 5px !important;
}

#facility {
    scroll-margin-top: 32px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.section-title {
  font-size: 32px;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.facility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 20px;
}

.facility-grid > * {
  flex: 1 1 180px; 
  max-width: 1fr;
}

.facility-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease; 
}

.facility-card:hover {
  transform: translateY(-5px);
  background: #f0f4ff;
}

.facility-card i {
  font-size: 30px;
  color: #0056d2;
  margin-bottom: 16px;
}

.facility-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }
  .facility-card {
    padding: 20px 15px;
  }
}

.facility-card p.text-muted {
margin-top: 0px;
  margin-bottom: 0;
  font-size: 13px;
  white-space: nowrap;  
  overflow: hidden;
  text-overflow: ellipsis;
}

.actvty .btn-outline-primary {
    background-color: #fff;
    color: #0d6efd;
    border: 2px solid #0d6efd;
    transition: all 0.3s ease;
}

.actvty .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

#menu {
    scroll-margin-top: 10px;
}

/* Untuk dropdown item saat hover */
.dropdown-menu .dropdown-item:hover {
    color: #000 !important; /* putih */
}

.dropdown-menu .dropdown-item.active {
    background-color: #0d6efd !important;  /* biru Bootstrap */
    color: #fff !important;
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active:focus,
.dropdown-menu .dropdown-item.active:active {
    background-color: #0d6efd !important; /* warna latar yang kamu inginkan */
    color: #fff !important;               /* warna teks yang kamu inginkan */
    box-shadow: none !important;          /* hilangkan efek glow/outline jika ada */
}

.goal-box {
    background-color: #10a8e5 !important;
    color: #fff !important;
    border: none;
}
.goal-box i {
    color: #fff !important;
}
