body {
  overflow-x: hidden;
  padding-top: 60px;
}

/* Navbar */
.navbar-brand img {
  width: 80px;
  height: 60px;
}

.navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  font-weight: 700;
  color: #ffc107 !important;
}

/* Ticker */
.ticker-berita {
  height: 50px;
  overflow: hidden;
}

.konten-ticker {
  width: 100%;
}

.berita-wrapper {
  display: flex;
  animation: ticker 40s linear infinite;
}

.item-berita {
  white-space: nowrap;
  flex: none;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Banner */
.banner-pengumuman {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.banner-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.banner-slide {
  min-width: 100%;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* .prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  color: white;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s;
} */

.prev:hover,
.next:hover {
  background-color: transparent;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Video */
.video-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.video-frame {
  border-radius: 8px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.video-overlay span {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  pointer-events: auto;
}

/* Link Penting */
.card-custom {
  max-width: 200px;
  margin: 0 auto;
}

.card-custom img {
  max-height: 100px;
  object-fit: contain;
  padding: 10px;
}

.card-custom .card-body {
  padding: 10px;
}

.card-custom .card-text {
  font-size: 14px;
}

.card-custom-1 {
  max-width: 480px;
  margin: 0 auto;
}

.card-custom-1 img {
  max-height: 150px;
  object-fit: contain;
  padding: 10px;
}

.card-custom-1 .card-body {
  padding: 10px;
}

.card-custom-1 .card-text {
  font-size: 14px;
}

/* Footer */
.footer-link {
  position: relative;
  transition: color 0.3s, transform 0.3s;
}

.footer-link:hover {
  color: #ffba08;
  transform: translateY(-2px);
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffba08;
  left: 0;
  bottom: -5px;
  transition: width 0.3s;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-logo {
  transition: transform 0.3s, opacity 0.3s;
}

.footer-logo:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-web {
  display: block;
}

.footer-mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .footer-web {
    display: none;
  }

  .footer-mobile {
    display: block;
  }
}

/* Profil */
.list-group-item {
  background-color: #34495e;
  color: white;
  border: none;
  padding: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.list-group-item i {
  margin-right: 10px;
}

.list-group-item:hover,
.list-group-item:focus {
  color: #ffffff;
}

.list-group-item:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.tab-pane h4 {
  color: #34495e;
  font-weight: 700;
  margin-bottom: 20px;
}

.tab-pane p,
.tab-pane ul {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.tab-pane ul li {
  margin-bottom: 10px;
}

.tab-pane ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffffff;
  margin-right: 8px;
}

.tab-pane img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.tab-pane img:hover {
  transform: scale(1.05);
}

.tab-content {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  transition: all 0.3s ease;
}

/* Berita */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 180px;
  object-fit: cover;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #343a40;
}

.card-text {
  color: #6c757d;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Tombol untuk menampilkan menu aksesibilitas */
.accessibility-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  background-color: #2a3f54;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Menu Aksesibilitas */
.accessibility-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #2a3f54;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 250px;
  display: none;
}

.accessibility-menu h5 {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.accessibility-menu h5 i {
  margin-right: 10px;
}

.accessibility-menu button {
  margin: 5px 0;
  width: 100%;
  color: #fff;
  background-color: #4f5969;
  border-color: #4f5969;
  transition: background-color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accessibility-menu button i {
  margin-right: 8px;
}

.accessibility-menu button:hover {
  background-color: #3a444d;
  transform: scale(1.05);
}

#back-to-top {
  margin-top: 10px;
  background-color: #ffc107;
  border-color: #ffc106;
}

/* Berita utama */
.hover-effect:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
  padding: 5px;
}

.blockquote {
  border-left: 5px solid #2a3f54;
  padding-left: 1rem;
  background-color: #f8f9fa;
}

.bg-navbar {
  background-color:#6222CC;
}

.bg-footer {
  background-color: #6222CC;
}

.bg-ticker-berita {
  background-color: #6222CC;
}

.bg-footer-rights {
  background-color: #6222CC;
}

.img-custom-1 {
  width: 80px;
  height: 80px;
  margin-left: 5px;
}

.img-footer {
  height: 30px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.footer-link.active {
    color: #ffc107;
    font-weight: bold;
}