html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
}





.custom-control {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  top: 50%;
  transform: translateY(-50%);
}

.custom-control:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #000;
}

.custom-icon {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}



.video-background video {
  width: 100%;
  /* siempre ocupa todo el ancho */
  height: auto;
  /* mantiene proporción */
  max-height: 100%;
  /* no excede la altura de la sección */
  object-fit: contain;
  /* se ve todo el video completo */
  display: block;
  background-image: url("https://www.transparenttextures.com/patterns/diagmonds.png");
  object-fit: cover;
}

.img-jurusan {
  height: 12.5rem;
  object-fit: cover;
}

.bi-lightbulb:hover {
  color: #ffd700;
  transition: color 0.3s ease;
}

.bi-people:hover {
  color: #00bfff;
  transition: color 0.3s ease;
}

.bi-bullseye:hover {
  color: #32cd32;
  transition: color 0.3s ease;
}

.bi-award:hover {
  color: #e4a11b;
  transition: color 0.3s ease;
}

.bi-buildings:hover {
  color: #3071a9;
  transition: color 0.3s ease;
}

.bi-people-alumni:hover {
  color: #146c43;
  transition: color 0.3s ease;
}

@media (max-width: 1199px) {
  .card-text {
    text-align: start;
  }
}

.img-bg-shadow {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 20%,
      rgba(0, 0, 0, 0.2) 80%);
}

.news-text {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
  .card:hover {
    transform: scale(1.05);
  }

  .card {
    transition: transform 0.3s;
  }
}


footer {
  background-color: #343a40;
  color: #fff;
  padding: 3rem 0;
}

.social-icons a {
  font-size: 1.25rem;
}

.rounded-circle {
  object-fit: cover;
  height: 60px;
  width: 60px;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner-dots {
  position: relative;
  width: 60px;
  height: 60px;
}

.spinner-dots div {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #3498db;
  border-radius: 50%;
  animation: spinner-dots 1.2s linear infinite;
}

.spinner-dots div:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.spinner-dots div:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 0.3s;
}

.spinner-dots div:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.6s;
}

.spinner-dots div:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 0.9s;
}

@keyframes spinner-dots {

  0%,
  100% {
    transform: scale(0.3);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}