body {
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: transparent;
  color: #000000;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.05rem;
}
p {
  font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-size: 34px;
  font-family: "Be Vietnam Pro", sans-serif;
}
li {
  padding: 7px;
}
.hero-section {
  background: url("../images/homepage-banner.jpg") no-repeat center center/cover;
  color: white;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.location-label {
  display: flex;
  align-items: center;
  font-family: sans-serif;
  font-size: 14px;
  color: #ffffff;
}
.new_location-label {
  display: flex;
  align-items: center;
  font-family: sans-serif;
  font-size: 12px;
  color: #ffffff;
}

.location-label::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: #999;
  margin-right: 10px;
}

.hero-section h1 {
  font-weight: bold;
  font-size: 2.5rem;
}

.hero-section .highlight {
  color: #cc9974;
}

.enquiry-box {
  background: white;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: absolute;
  bottom: -210px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--bs-nav-pills-link-active-color);
  background-color: var(--bs-nav-pills-link-active-bg);
}

.btn-custom {
  font-weight: 400;
  padding: 12px;
  border-radius: 0px;
  background-color: #cc9974;
  border: none;
  color: white;
  text-transform: uppercase;
  width: 200px;
}

.form-control::placeholder {
  font-size: 0.9rem;
}

section.allsection {
  padding: 15em 3em 0em 3em;
}

span.fs {
  font-weight: 400;
  color: #ce9c79;
  font-size: 50px !important;
}

path {
  color: #cc9974;
}

.fixed-top {
  background: white !important;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

footer.pt-5.pb-3.mt-5 {
  background-color: #ededed;
}
.carousel {
  /* ... */
  > * {
    flex: 0 0 100%;
  }
}

/* Group the cards for better structure. */
.group {
  display: flex;
  gap: 20px;
  /* Add padding to the right to create a gap between the last and first card. */
  padding-right: 20px;
}

.carousel {
  margin: 0 auto;
  padding: 20px 0;
  /* max-width: 700px; */
  overflow: hidden;
  display: flex;
}

.card {
  width: 100%;
  color: white;
  border-radius: 24px;
  box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
  padding: 20px;
  font-size: xx-large;
  justify-content: center;
  align-items: center;
  min-height: 300px;

  &:nth-child(1) {
    background: #cc9974;
  }

  &:nth-child(2) {
    background: #cc9974;
  }

  &:nth-child(3) {
    background: #cc9974;
  }
}

.group {
  /* ... */
  will-change: transform; /* We should be nice to the browser - let it know what we're going to animate. */
  animation: scrolling 20s linear infinite;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.carousel {
  /* ... */
  &:hover .group {
    animation-play-state: paused;
  }
}

.project-card {
  /* background: #cc9974; */
  color: #fff;
  border-radius: 24px;
  padding: 20px;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  margin: auto;
}

/* Image */
.project-img {
  flex: 0 0 200px;
}

.project-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Content */
.project-content {
  flex: 1;
}

.location-label {
  font-size: 13px;
  opacity: 0.8;
  text-transform: uppercase;
}

.project-list {
  font-size: 10px;
  padding-left: 18px;
  text-align: left;
}

.project-list li {
  margin-bottom: 4px;
}

.explore-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
  .project-card {
    padding: 16px;
  }

  .project-img {
    width: 100%;
  }

  .project-img img {
    height: 200px;
  }
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.new_project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Overlay hidden by default */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: start;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}
.new_project-overlay h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
.project-overlay h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.project-overlay p {
  font-size: 14px;
  margin-bottom: 6px;
}

.project-overlay span {
  font-size: 13px;
  opacity: 0.8;
}

/* Hover effect */
.project-card:hover img {
  transform: scale(1.1);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .new_project-grid {
    grid-template-columns: 1fr;
  }
  .project-card.in-view .project-overlay {
    opacity: 1;
  }

  .project-card.in-view img {
    transform: scale(1.1);
  }
}
.overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgb(0 0 0 / 0%);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
  z-index: 5;
}

.overlay-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

@media (hover: hover) {
  .overlay-close {
    display: none;
  }
}

@media (hover: none) {
  .overlay-close {
    display: block;
  }
}
.project-card.force-hide .project-overlay {
  opacity: 0 !important;
  pointer-events: none;
}

.project-card.force-hide img {
  transform: scale(1);
}
