body {
  background-color: #f8f9fa;
  font-family: Arial, sans-serif;
}

.bott {
  position: fixed;
  bottom: 10px; /* Menempatkan elemen di bawah */
  right: 10px; /* Menempatkan elemen di kanan */
  z-index: 1050;
  width: auto; /* Menentukan lebar elemen */
}

.news-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #800000;
  padding-bottom: 0.5rem;
}

.news-item {
  margin-bottom: 2rem;
}

.news-item img {
  width: 80%;
  height: auto;
}

.news-item .category {
  background-color: #ffd700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #000;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.news-item .date {
  font-size: 0.9rem;
  color: #000;
  margin-top: 0.5rem;
  font-weight: bold;
}

.news-item .title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.news-item .description {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

.news-item .read-more {
  font-size: 0.9rem;
  color: #000;
  margin-top: 0.5rem;
}

.announcements-title,
.agenda-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #800000;
  padding-bottom: 0.5rem;
}

.announcement-item {
  margin-bottom: 1rem;
}

.announcement-item img {
  width: 25%;
  height: auto;
}

.announcement-item .date {
  font-size: 0.8rem;
  color: #888;
}

.announcement-item .title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #000;
}

.announcement-item .category {
  font-size: 0.8rem;
  color: #888;
}

.agenda-table {
  width: 100%;
  margin-top: 1rem;
}

.agenda-table th,
.agenda-table td {
  font-size: 0.9rem;
  padding: 0.5rem;
  text-align: left;
}

.agenda-table th {
  background-color: #f1f1f1;
}

.agenda-table td {
  background-color: #fff;
}

.agenda-table .details-button {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.8rem;
}

body {
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
}

.section-title span {
  color: red;
}

.card {
  border: none;
  margin-bottom: 30px;
}

.card img {
  border-radius: 5px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
}

.card-text {
  color: #6c757d;
}

.badge {
  background-color: #ffeb3b;
  color: #000;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}

.read-more {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.read-more i {
  font-size: 12px;
}

/* Animasi Flip */
.flipInY {
  animation: flipInY 0.8s ease-in-out forwards;
}

@keyframes flipInY {
  0% {
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }

  100% {
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }
}

/* Animasi zoom-in untuk teks */
.zoom-in-text {
  display: inline-block;
  animation: zoomIn 0.8s ease forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Custom styling for the background and overlay */
.slide {
  position: relative;
  background-image: url("https://grogol-sukoharjo.desa.id/uploads/images/website/bg-14.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* Overlay with black color and 60% opacity */
}

.slide-captions {
  position: relative;
  z-index: 1;
}

.fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menampilkan dropdown saat item navbar di-hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0px;
}

.news-item2 {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.news-item2 img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.news-item2 .news-text {
  flex-grow: 1;
}

.news-item2 .news-text h6 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

.news-item2 .news-text p {
  margin: 0;
  font-size: 12px;
  color: #6c757d;
}

.news-item2 .news-text .news-date {
  font-size: 12px;
  color: #6c757d;
}

.news-item2 .news-text .news-category {
  font-size: 12px;
  color: #6c757d;
}

.news-section {
  border-left: 1px solid #dee2e6;
  padding-left: 20px;
}

.news-section h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.vision-section h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.vision-section img {
  width: 100%;
  border-radius: 10px;
}

.vision-section p {
  font-size: 14px;
  margin-top: 20px;
}

.header-title {
  text-align: center;
  margin: 40px 0;
}

.header-title h1 {
  font-size: 24px;
  font-weight: bold;
}

.header-title hr {
  width: 50px;
  border: 2px solid #dc3545;
  margin: 10px auto;
}

.profile-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.profile-card img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.profile-card h5 {
  margin-top: 15px;
  font-weight: bold;
}

.profile-card p {
  color: #6c757d;
  margin-bottom: 5px;
}

.social-icons a {
  color: #6c757d;
  margin: 0 5px;
  font-size: 18px;
}

.social-icons a:hover {
  color: #007bff;
}
