.bg-darker {
  background: var(--dark);
}

.mt-for {
  margin-top: 5rem;
}

.z-custom {
  z-index: -99;
}


.navbar{
  backdrop-filter: blur(10px);
  z-index: 999;
}

footer {
  background: var(--dark);
}

.navbar-brand span {
  color: var(--purple);
}

.register-btn {
  background-color: var(--purple);
  color: white;
}

.icon-da-title img {
  width: 50px;
  border-radius: 50%;
}


/* news nya */
.news .card {
  position: relative;
}
.news .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news .card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 1.5rem;
  z-index: 1;
}
.news .card-title {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}
.news .card-text {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}
.news .btn-primary {
  margin-top: 0.1rem;
}
.news a:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.news .card {
  overflow: hidden;
  border-radius: 10px;
}

.news .card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news a:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news h2{
  font-size: 1.6rem; color: #2c3e50; position: relative; display: inline-block;
}

.news h2 i{
  margin-right: 10px; color: #007bff;
}

.news h2 span{
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background-color: #007bff;
}
/* news nya */

.dropdown-menu {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  border: none;
  min-width: 200px;
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  color: #333;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
}

.dropdown-menu .dropdown-item:hover {
  background: #f4f4f4;
  color: #006CA5;
}

.dropdown-menu .dropdown-item:active {
  background: #006CA5;
  color: #ffffff;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 16px;
}

.dropdown-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 8px 0;
}

.navbar-toggler {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 6px;
  transition: transform 0.3s ease-in-out;
  color: #f4f4f4 !important;
  
}

.navbar-toggler:hover {
  color: #006CA5;
}

.navbar-toggler:active {
  transform: scale(0.9);
}

.custom-select {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 2px solid #6a0dad;
  border-radius: 30px !important;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease-in-out;
  appearance: none; /* Menghapus panah default */
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 200px; /* Sesuaikan ukuran */
}

/* Wrapper untuk custom icon */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
}

/* Tambahkan icon Font Awesome */
.custom-select-wrapper::after {
  content: "\f078"; /* Unicode fa-chevron-down */
  font-family: "FontAwesome";
  font-size: 14px;
  color: #ffffff; /* Ubah warna menjadi putih */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}


.custom-select:hover {
  background-color: #2c2c2c; 
  color: #f5f5f5;
  border-color: #8a2be2;
}

.custom-select:focus {
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.7); 
  border-color: #c3c3c3;
}

.custom-select option {
  background-color: #1a1a1a; 
  color: #ffffff;
}

.custom-radio-btn {
  background-color: #1a1a1a; 
  color: #ffffff;
  border: 2px solid #6a0dad;
  padding: 8px 14px;
  font-size: 13px;
  transition: all 0.3s ease-in-out;
  flex: 1 1 auto; 
  text-align: center;
  white-space: nowrap;
  border-radius: 30px;
}

.first-btn {
  border-radius: 30px 0 0 30px;
}

.middle-btn {
  border-radius: 0;
}

.last-btn {
  border-radius: 0 30px 30px 0;
}

.custom-radio-btn:hover {
  background-color: #f4f4f4 !important; 
  color: #2c2c2c !important;
}
.custom-radio-btn:active {
  transform: scale(0.95);
}

.btn-check:checked + .custom-radio-btn {
  background-color: #6a0dad; 
  color: #ffffff; 
  border-color: #9b30ff; 
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
}

.nav-link {
  padding: 4px;
  transition: all 0.3s ease-in-out;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}


.nav-link.active {
  border-bottom: 1.6px solid #f5f5f5;
}

.dropdown-item{
  border-radius: 4px;
}

.dropdown-item.active {
  background-color: #dadadab1 !important;
}

.dropdown-item:hover {
  background-color: #6a0dad !important;
  color: #f4f4f4 !important;
}

@media (max-width: 991.98px) {
  .nav-link {
    background-color: white;
    color: #1a1a1a !important;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 4px 10px;
  }

  .nav-link:hover {
    background-color: #6a0dad !important;
    color: #f4f4f4 !important;
  }

  .nav-link.active {
    background-color: #dadadab1 !important;
    border: 1px solid #6a0dad !important;
  }

  #navbarNav{
    padding: 30px 20px;
  }
}

.dropdown-menu{
  z-index: 9999 !important;
}

.max-height-300 {
  max-height: 300px;
  overflow-y: hidden;
}

.max-height-250 {
  max-height: 250px;
  overflow-y: hidden;
}

.max-height-500 {
  max-height: 500px;
  overflow-y: hidden;
}

.btn-medsos{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.btn-medsos i{
  font-size: 25px;
}

