.main-content {
    margin-top: 130px;
}

body {
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/img/background-page.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    z-index: -1;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(13, 58, 145, 0.15);
}

.card-img-top,
.card iframe {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* Untuk memastikan iframe video YouTube tetap proporsional di dalam card */
.card iframe {
    aspect-ratio: 16 / 9;
}

/* Filter Button */

/*.button-filter {
    margin-left: 10px;
    width: 120px;
    border-radius: 20px !important;
    border-color: #013781 !important;
    color: #013781 !important;
}

.button-filter:hover,
.button-filter.active{
    color: white !important;
    background-color: #013781 !important;
}*/

.button-filter,
.button-filter *,
.button-filter :after,
.button-filter :before,
.button-filter:after,
.button-filter:before {
  border: 0 solid;
  box-sizing: border-box;
}

.button-filter {
  width: 120px;
  margin-left: 10px;
  padding: 0.6rem 1rem; /* Sesuaikan padding */
  border: 2px solid #013781;
  border-radius: 20px;
  background-color: transparent;
  color: #013781;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.2s ease;
}

.button-filter:disabled {
  cursor: default;
}

.button-filter:-moz-focusring {
  outline: auto;
}

.button-filter svg {
  display: block;
  vertical-align: middle;
}

.button-filter [hidden] {
  display: none;
}

.button-filter {
  border: 1px solid;
  border-radius: 20px !important;
  box-sizing: border-box;
  display: block;
  font-weight: 900;
  overflow: hidden;
  padding: 1.2rem 3rem;
  position: relative;
  text-transform: uppercase;
}

.button-filter:hover,
.button-filter.active {
  background-color: #427057 !important;
  color: white !important;
}
.button-filter.active .original {
  background-color: #427057;
  color: white;
}

.button-filter .original {
  background: #fff;
  color: #427057;
  display: grid;
  inset: 0;
  place-content: center;
  position: absolute;
  transition: transform 0.3s cubic-bezier(0.87, 0, 0.13, 1);
}

.button-filter:hover .original {
  transform: translateY(100%);
}

.button-filter .letters {
  display: inline-flex;
}

.button-filter span {
  opacity: 0;
  transform: translateY(-15px);
  transition: transform 0.3s cubic-bezier(0.87, 0, 0.13, 1), opacity 0.3s;
}

.button-filter span:nth-child(2n) {
  transform: translateY(15px);
}

.button-filter:hover span {
  opacity: 1;
  transform: translateY(0);
}

.button-filter:hover span:nth-child(2) {
  transition-delay: 0.1s;
}

.button-filter:hover span:nth-child(3) {
  transition-delay: 0.2s;
}

.button-filterhover span:nth-child(4) {
  transition-delay: 0.3s;
}

.button-filter:hover span:nth-child(5) {
  transition-delay: 0.4s;
}

.button-filter:hover span:nth-child(6) {
  transition-delay: 0.5s;
}

/* Row Container */
.row {
    margin-top: 50px !important;
}

/* Animasi transisi konten row */
.fade-transition {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #427057;
    border-color: #427057;
    color: #fff;
}
.page-link {
    color: #427057;
}

.page-link:hover {
    color: #fff;
    background-color: #427057;
    border-color: #427057;
}