:root {
  --theme-color: #00a884;
  --white: #ffffff;
}

/* ================= NAVBAR ================= */
.hero-nav {
  background: transparent;
  padding-top: 15px;
}

.hero-nav .navbar-collapse {
  /*background: rgba(0, 0, 0, 0.35);*/
  /*backdrop-filter: blur(14px);*/
  /*border-radius: 50px;*/
  /*padding: 8px 20px;*/
}

.hero-nav .navbar-nav {
  align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    border-radius: 50px;
    padding: 8px 20px;
}

.hero-nav .nav-link {
  color: var(--white);
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 30px;
  transition: 0.3s ease;
}

.hero-nav .nav-link:hover,
.hero-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ================= HERO ================= */
.hero-section {
  height: 100vh;
  background: url('bg_hero.jpg') no-repeat center center / cover;
  position: relative;
}

.hero-overlay {
  height: 100%;
  position: relative;
}

/* ================= BOTTOM STRIP ================= */
.hero-strip {
  position: absolute;
  bottom: 100px;
  width: 100%;
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

/* text */
.hero-subtitle {
  color: #ddd;
  letter-spacing: 2px;
  font-size: 14px;
}

.hero-title {
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

.hero-title span {
  font-weight: 300;
}

.hero-title strong {
  font-weight: 700;
}

/* divider */
.hero-divider {
  width: 2px;
  height: 80px;
  background: rgba(255, 255, 255, 0.4);
  margin: auto;
}

/* icons */
.hero-icon-box i {
  font-size: 36px;
  color: white;
  margin-bottom: 8px;
}

.hero-icon-box p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

/* ================= SCROLL DOWN ================= */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  animation: bounce 1.8s infinite;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.scroll-down:hover {
  background: rgba(255, 255, 255, 0.25);
}

.scroll-down i {
  font-size: 22px;
}

/* animation */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ================= PROJECT CAROUSEL ================= */
/* .project-section {
  background: #f8f9fa;
} */

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.project-image-wrapper img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-content {
  transform: translateY(0);
}

/* Custom Carousel Controls */
.custom-arrow-prev,
.custom-arrow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-arrow-prev:hover,
.custom-arrow-next:hover {
  /* background: #f7eaea; */
  transform: translateY(-50%) scale(1.1);
}

.custom-arrow-prev i,
.custom-arrow-next i {
  font-size: 24px;
  color: black;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 1;
}

.carousel-control-prev {
  left: -60px;
}

.carousel-control-next {
  right: -60px;
}

/* Carousel Indicators */
#projectCarousel .carousel-indicators {
  bottom: -50px;
}

#projectCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

#projectCarousel .carousel-indicators button.active {
  /* background-color: var(--theme-color); */
  width: 30px;
  border-radius: 6px;
}

/* Smooth Carousel Transitions */
.carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .hero-nav .navbar-collapse {
    border-radius: 14px;
    margin-top: 10px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-icon-box i {
    font-size: 28px;
  }

  .project-image-wrapper {
    height: 250px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .custom-arrow-prev,
  .custom-arrow-next {
    width: 40px;
    height: 40px;
  }

  .custom-arrow-prev i,
  .custom-arrow-next i {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .project-image-wrapper {
    height: 220px;
  }

  .project-overlay {
    padding: 15px;
  }

  .project-content h5 {
    font-size: 1rem;
  }

  .project-content p {
    font-size: 0.85rem;
  }

  .carousel-control-prev {
    left: 5px;
  }

  .carousel-control-next {
    right: 5px;
  }

  .custom-arrow-prev,
  .custom-arrow-next {
    width: 35px;
    height: 35px;
  }

  .custom-arrow-prev i,
  .custom-arrow-next i {
    font-size: 16px;
  }
}