/* Menu icon */
.menu-icon div {
  width: 30px;
  height: 2px;
  background-color: #ffc107; /* Bootstrap's text-warning */
  margin: 6px 0;
}

html {
  scroll-behavior: smooth;
}


/* Overlay Menu */
.overlay {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  background-color: rgba(24, 24, 24, 0.98);
  overflow-y: hidden;
  transition: 0.4s ease;
}

.overlay-content {
  position: relative;
  top: 100px;
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.overlay-content a {
  color: #ffc107;
  font-size: 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid #ffc10755;
  padding-bottom: 10px;
}

.close-btn {
  font-size: 36px;
  color: #ffc107;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
}

header,
#heroCarousel {
  margin-top: 0;
  padding-top: 0;
}

/* Ensure carousel inner has relative positioning */
.custom-carousel .carousel-inner {
  position: relative;
  overflow: hidden;
}

/* Each carousel-item is absolutely positioned */
.custom-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  z-index: 0;
}

/* Active slide comes to front and fades in */
.custom-carousel .carousel-item.active {
  left: 0;
  opacity: 1;
  position: relative;
  z-index: 2;
}

/* Next slide slides in from right */
.custom-carousel .carousel-item-next.carousel-item-start,
.custom-carousel .carousel-item-prev.carousel-item-end {
  left: 0;
  opacity: 1;
  z-index: 1;
}

/* Handle direction smoothly */
.custom-carousel .carousel-item-start {
  transform: translateX(100%);
}
.custom-carousel .active.carousel-item-start {
  transform: translateX(-100%);
}

.custom-carousel .carousel-item-end {
  transform: translateX(-100%);
}
.custom-carousel .active.carousel-item-end {
  transform: translateX(100%);
}

.carousel-indicators {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 6px;
  transition: background-color 0.3s ease;
}

.carousel-indicators .active {
  background-color: gold;
}


.carousel-caption {
  bottom: 20%;
}

.service-card {
  background-size: cover;
  background-position: center;
  height: 100%;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-overlay {
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for contrast */
  height: 100%;
  width: 100%;
  padding: 1.5rem;
  color: #fff;
}

/* team */
.team-title a {
  color: #000000; /* gold */
  font-style: italic;
  text-decoration: none;
}

.team-title a:hover {
  color: #d4af37;
  text-decoration: underline;
}


.about-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative; /* Ensure overlay is positioned inside */
}

.section-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* team detail section */

.bg-light {
  background-color: #f8f9fa !important;
}

.shadow-sm {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* detail.html */

@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}

/* team detail.html */
.text-justify {
  text-align: justify;
}


