body {
  background: #e8e8e8;
}

.leftnav-dropdown:hover .leftnav-submenu {
  height: auto !important;
  opacity: 1 !important;
  transform: translateY(0);
  pointer-events: auto;
}

/* new style for the project page */
.custom_height_banner {
  position: relative;
  height: 97vh;
}

.banner-overlay {
  /* Using a gradient looks more professional than a solid color */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none; /* Allows clicks to pass through to the button */
}

.banner-title {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  font-family: "Cherston", sans-serif;
  font-size: 3.49vw;
  line-height: 1.25;
}

.banner-description {
  opacity: 0.9;
  /* line-height: 1.6; */
  font-size: 18px;
  line-height: 1.563vw;
  font-weight: 400;
  font-family: "Centrale", sans-serif;
}

/* project page description */
.banner-bottom-box-wrapper {
  margin: -110px auto 0px auto;
  background: #fff;
  border-radius: 7px;
  border: 1px solid #d9d9d9;
  box-shadow: 0px 11px 6px rgba(0, 0, 0, 0.0392156863);
  max-width: 95%;
  padding: 40px;
  z-index: 2;
  position: relative;
}

.banner-bottom-box-wrapper .row .col-lg-5 {
  border-right: 1px solid #e9ecef;
}

.banner-bottom-box-wrapper > .row > .col-lg-7 {
  padding-left: 12%;
  padding-right: 12%;
}

.custon-title-font {
  font-family: "Cherston", sans-serif;
}

.custom-des-font {
  font-family: "Centrale", sans-serif;
}

.border-left {
  border-right: 1px solid #e9ecef;
}

/* PROJECT DETAIL PAGE STYLE  */
.projects-section {
  background-color: #e8e8e8;
}

/* swipper arrow inside the project detail page */
.property-swiper .swiper-button-next,
.property-swiper .swiper-button-prev {
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 9999px;
  color: #fff;
}

.property-swiper .swiper-button-next::after,
.property-swiper .swiper-button-prev::after {
  font-size: 14px;
}

.img-zoom {
  will-change: transform;
  transform: translateZ(0);
}

/* IMAGE MASK */
.image-mask {
  overflow: hidden;
  height: 16rem; /* same as h-64 */
}

/* IMAGE BASE */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  transform: scale(1);
  will-change: transform;
}

/* ✅ HOVER SCALE (WORKS WITH SWIPER) */
.card-image:hover {
  transform: scale(1.15);
  border-radius: 16px;
}

.project-card-title {
  font-family: "Cherston", sans-serif;
  color: #333f49;
}

.project-card-discription {
  font-family: "Centrale", sans-serif;
  color: #333f49;
}

.project-card-location {
  font-family: "Centrale", sans-serif;
  color: #333f49;
  font-size: 1rem;
  font-weight: 600;
}

.project-card-apart {
  font-family: "Centrale", sans-serif;
  color: #333f49;
  font-size: 1rem;
  font-weight: 600;
}

.project-card-payment {
  font-family: "Centrale", sans-serif;
  color: #333f49;
  font-size: 1rem;
  font-weight: 600;
}

/* BUTTON */
.explore-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 50px;
  padding: 0 28px;
  border-radius: 30px;

  border: 1px solid #333f49; /* default border */
  overflow: hidden;
  cursor: pointer;

  transition: border-color 0.3s ease;
  transform: translateY(-2px);
}

/* TEXT */
.explore_more {
  position: relative;
  z-index: 2;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: "Centrale", sans-serif;
}

.explore-btn:hover .explore_more {
  color: #c8a487;
}

/* ARROW */
.explore-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s ease;
  color: #c8a487;
  font-size: 20px;
  font-weight: 600;
}

.explore-btn:hover .explore-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* SVG BORDER */
.border-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* GOLD STROKE */
.border-rect {
  fill: none;
  stroke: #c8a487;
  stroke-width: 2;

  /* hidden initially */
  stroke-dasharray: 760;
  stroke-dashoffset: 760;

  transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* HOVER EFFECT */
.explore-btn:hover {
  border-color: transparent; /* hide black border */
}

.explore-btn:hover .border-rect {
  stroke-dashoffset: 0;
}

/* new baDGE */
.featured-tag {
  position: absolute;
  left: 20px;
  top: -9px;
  z-index: 999 !important;
  overflow: hidden;
  width: 73px;
  height: 47px;
  background: url(/assets/web_end/images/new-tag-en.svg) no-repeat center center;
}

.featured-tag .featured-tag-text {
  display: none;
  background: #c7a386;
  color: #000;
  padding: 1px 10px;
  font-size: 14px;
  font-weight: 500;
  -webkit-transform: rotate(-45deg);
  position: relative;
  text-transform: uppercase;
  top: 8px;
  left: -19px;
  text-align: center;
}

.swiper-backface-hidden .swiper-slide {
  width: 510px !important;
}

/* Responsiveness */
@media (max-width: 1299.9px) {
  .banner-description {
    line-height: 1.7 !important;
  }
}

/* ---------- DESKTOP HOVER ONLY ---------- */
@media (min-width: 1200px) {
  .leftnav-dropdown:hover .leftnav-submenu {
    height: auto;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ---------- RESPONSIVE project section ---------- */
@media (max-width: 1199px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* responsiveness of project page */
@media (max-width: 1023.9px) {
  .banner-description {
    font-size: 16px;
    line-height: 1.5;
  }
  .border-left {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }

  .banner-title {
    font-size: 5.49vw;
  }
}

@media (max-width: 567px) {
  .custom-des-font {
    font-size: 14px;
    text-align: start;
  }
  .banner-title {
    font-size: 5.49vw;
  }
  .banner-description {
    font-size: 14px;
  }
}
