/* ================= FOOTER ================= */
.footer-dark {
  background-color: #219ebc;
  color: #bbb;
  padding: 60px 0 30px;
  font-size: 16px; /* ukuran teks umum */
  font-weight: 500; /* teks umum agak tebal */
}

.footer-dark h5 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700; /* judul lebih bold */
  font-size: 20px; /* judul lebih besar */
}

.footer-dark .footer-logo {
  font-size: 28px; /* logo teks besar */
  font-weight: 800; /* logo super bold */
  color: #ffc800;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-dark a {
  color: #bbb;
  text-decoration: none;
  font-weight: 600; /* link bold */
}

.footer-dark a:hover {
  color: #ffc800;
}

.footer-dark .social-icons a {
  font-size: 22px;
  margin-right: 15px;
  color: #bbb;
  transition: color 0.3s;
  font-weight: 600; /* ikon bold */
}

.footer-dark .social-icons a:hover {
  color: #ffc800;
}

.footer-dark .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 600; /* copyright bold */
  text-align: center;
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}
#logo {
  width: 100px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  animation: logoFade 1s ease-in-out forwards;
}
#welcome {
  margin-top: 20px;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: welcomeFade 1s ease-in-out forwards;
  animation-delay: 1.2s;
}
@keyframes logoFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes welcomeFade {
  to {
    opacity: 1;
  }
}

/* ================= MASTHEAD (video) ================= */
header.masthead {
  position: relative;
  padding-top: 17rem; /* jarak atas */
  padding-bottom: 12.5rem; /* jarak bawah */
  text-align: center;
  color: #fff;
  overflow: hidden;
}
header.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* overlay */
  z-index: 1;
}
header.masthead video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}
header.masthead .container {
  position: relative;
  z-index: 2;
}
header.masthead .masthead-subheading {
  font-size: 2rem;
  font-style: italic;
  line-height: 2.25rem;
  margin-bottom: 2rem;
}
header.masthead .masthead-heading {
  font-size: 4rem;
  font-weight: 700;
  line-height: 4.5rem;
  margin-bottom: 4rem;
}

/* ================= WHAT WE DO (carousel) ================= */
/* === What We Do Section === */
#whatwedo {
  padding: 60px 0;
}

/* Carousel styling */
#carouselExampleCaptions {
  max-width: 950px; /* biar gak full width, tampil elegan di tengah */
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
}

/* Carousel image */
#carouselExampleCaptions .carousel-item img {
  width: 100%;
  max-height: 350px; /* kecil tapi tetap jelas */
  object-fit: cover; /* jaga proporsi */
  border-radius: 10px;
}

/* Overlay gradient */
#carouselExampleCaptions .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.15)
  );
  z-index: 1;
}

/* Caption styling */
#carouselExampleCaptions .carousel-caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(0, 0, 0, 0.55);
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* Caption text */
#carouselExampleCaptions .carousel-caption h5 {
  font-size: 1.2rem;
  font-weight: bold;
}

#carouselExampleCaptions .carousel-caption p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive design */
@media (min-width: 768px) {
  #carouselExampleCaptions .carousel-item img {
    max-height: 420px;
  }
  #carouselExampleCaptions .carousel-caption h5 {
    font-size: 1.6rem;
  }
  #carouselExampleCaptions .carousel-caption p {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  #carouselExampleCaptions .carousel-item img {
    max-height: 500px;
  }
  #carouselExampleCaptions .carousel-caption h5 {
    font-size: 2rem;
  }
  #carouselExampleCaptions .carousel-caption p {
    font-size: 1.2rem;
  }
}
