@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#stickyNavbar {
  animation: fadeInDown 0.4s ease-in-out;
}

:root {
  --kdk-navy: #002d62;
  --kdk-accent: #2196f3;
}

.text-kdk-navy {
  color: var(--kdk-navy) !important;
}

.bg-gradient-navy-custom {
  background-image: linear-gradient(310deg, var(--kdk-navy), #004d8c);
}

.btn-kdk-cta {
  background-image: linear-gradient(310deg, var(--kdk-accent), #4fc3f7);
  color: white !important;
}

.intro-text {
  font-size: 0.7rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .intro-text {
    font-size: 0.7rem;
  }
}

@media (min-width: 1200px) {
  .intro-text {
    font-size: 0.8rem;
  }
}

#bgSlider {
  width: 100%;
}

/* 3 slide → 300% */
#bgSlider .slide {
  flex: 0 0 100%;
}

.image-container {
  display: inline-block;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.avatar-md img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.testimonial-row {
  align-items: stretch;
}

.card.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text-container {
  margin-bottom: 15px;
  flex-grow: 1;
}

.cta-bring-to-front {
  position: relative;
  z-index: 10;
}

.bg-info-custom {
  background-color: #38b6d2 !important;
}

.bg-gradient-navy-custom {
  background-image: linear-gradient(
    310deg,
    #1c274c 0%,
    #30416b 100%
  ) !important;
}

.icon-shape.bg-info-custom h4 {
  font-size: 1.5rem;
}

/* Dark burger bars for sticky navbar only */
#stickyNavbar .toggler-dark .navbar-toggler-bar {
  background-color: #333 !important; /* dark gray/black */
}

/* When expanded (X icon) – still dark */
#stickyNavbar .toggler-dark[aria-expanded="true"] .navbar-toggler-bar {
  background-color: #333 !important;
}

.image-container {
  width: 80%;
  padding-top: 100%; /* 4:3 ratio */
  position: relative;
  overflow: hidden;
  border-radius: 10px; /* optional aesthetic */
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bi-geo-alt-fill {
  color: #ca0000;
}

.layanan-text a,
.layanan-text p,
.layanan-text h6 {
  font-size: 0.95rem;
}

.layanan-contact {
  text-decoration: underline;
  color: #00a500;
}

.promo-img-wrapper {
  width: 100%;
  padding-top: 100%; /* 1:1 square ratio */
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0; /* round top corners */
}

.promo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes image fill the square nicely */
}

/* Hover overlay */
.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 12px 12px 0 0;
}

.promo-img-wrapper:hover .promo-overlay {
  opacity: 1;
}

.see-more-btn {
  font-weight: bold;
  padding: 6px 14px;
}

/* Custom modal bigger (1.5x) */
.modal-dialog.custom-modal {
  max-width: 900px;
}

.modal-backdrop.show {
  backdrop-filter: blur(3px);
}

.carousel-item img {
  aspect-ratio: 16 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}
