.nb-banner {
  background: #080808;
  color: #ffffff;
  padding: 134px 0 60px 0;
  position: relative;
}

.banner-img {
  position: absolute;
  width: 378px;
  height: 350px;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.nb-banner p {
  margin: 0 !important;
}

.nb-banner .heading {
  font-family: "Playfair Display", sans-serif;
  font-weight: 600;
  /* font-size: 48px; */
  font-size: clamp(1.875rem, 1.4148rem + 2.0455vw, 3rem);
}

.nb-banner .content {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(0.6875rem, 0.6108rem + 0.3409vw, 0.875rem);
}

.nb-banner .content-wrap {
  position: relative;
  /* padding: 20px 0 0 30px; */
}

.nb-banner-content-svg {
  position: absolute;
  top: 0;
  left: 0;
}

.nb-banner .banner-box {
  padding: 26px 22px 14px 22px;
  border: 1px solid #646362;
}

.nb-banner .banner-box img {
  height: auto;
  width: 100%;
  padding-bottom: 26px;
}

.banner-box .heading-content {
  padding-bottom: 16px;
  border-bottom: 0.43px solid #ffffff;
}

.nb-banner .banner-box-heading {
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 0.8977rem + 0.4545vw, 1.25rem);
}

.nb-banner .banner-box-content {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  /* font-size: 14px; */
  font-size: clamp(0.71rem, 0.6425rem + 0.3vw, 0.875rem);
}
.banner-box-content-p {
  opacity: 0.8;
  padding-right: 3px;
}

.nb-banner .heading-tag {
  position: relative;
  padding-bottom: 12px;
}

.nb-banner .heading-tag-line-svg {
  position: absolute;
  bottom: 0;
  left: 0;
}

.nb-banner .content-p {
  padding: 16px 0 0 28px;
}

.banner-box-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 54px;
  position: static;
  z-index: 3;
}

/* RWD  */
/* Heading line */
.nb-banner .banner-box-heading-line {
  position: relative;
  display: block;
  width: 25%;
  height: 1px;
  background-color: #ffffff;
  flex-shrink: 0;
  transition:
    width 0.4s ease,
    background-color 0.4s ease;
  margin: 10px 0;
}

/* Diamond at the tip of the line */
.nb-banner .banner-box-heading-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 5px;
  height: 5px;
  background-color: #ffffff;
  transform: translate(50%, -50%) rotate(45deg);
  transition: background-color 0.4s ease;
}

.nb-banner .km-wrap {
  padding-top: 10px;
}

.content-p-svg {
  margin-top: 14px;
}

/* Desktop hover effects */
@media (min-width: 992px) {
  .nb-banner .banner-box:hover .banner-box-heading-line {
    width: 100%;
    background-color: #da8326;
  }

  .nb-banner .banner-box:hover .banner-box-heading-line::after {
    background-color: #da8326;
  }

  .nb-banner .banner-box img {
    filter: grayscale(0%);
    transition: filter 0.4s ease;
  }

  .nb-banner .banner-box:hover img {
    filter: grayscale(100%);
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .nb-banner .heading {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .banner-box {
    background-color: #1c1c1c;
  }

  .banner-box-content-p {
    padding: 0;
  }

  .banner-box-wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .nb-banner .banner-box {
    padding: 27px 29px;
    padding-bottom: 14px;
  }
  .banner-box .heading-content {
    max-width: 72%;
  }
  .nb-banner .content-wrap {
    max-width: 80%;
  }
  .nb-banner .content-p {
    display: flex;
    flex-direction: column;
  }
  .nb-banner .heading {
    padding-bottom: 35px;
  }
  .banner-img {
    top: 4%;
    left: 42%;
    transform: none;
  }
}
