#activeP {
  color: #002c5f;
}

.navbar-nav .nav-link#activeP::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #002c5f;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.link {
  color: #ffff;
}

#myBtnup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgba(0, 170, 210, 1);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtnup:hover {
  color: rgba(0, 170, 210, 1);
  background-color: rgba(255, 255, 255, 0.1);
}

.left-Side {
  /* background-image: url("images/Spotlight-in-Motion.jpg"); */
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.right-Side {
  /* background-image: url("images/parts.png") !important; */
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.viewerPromo,
.viewerSales {
  position: relative;
  display: inline-block;
}

.viewerPromo img,
.viewerSales img {
  -webkit-filter: grayscale(0.8);
  filter: grayscale(0.8);
  display: block;
}

.viewerPromo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0, 44, 95, 0.7); /* Blue overlay */
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.viewerSales::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 122, 255, 0.5);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.viewerPromo:hover img,
.viewerSales:hover img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.viewerPromo:hover::after,
.viewerSales:hover::after {
  opacity: 0;
}

.SalesPromo {
  color: #fff;
  position: absolute;
  display: flex;
  top: 50%;
  left: 30%;
  background-color: #0000008a;
  padding: 10px;
  border: solid;
  z-index: 1;
}

.btn {
  font-family: HyundaiSansHeadOfficeMedium !important;
  position: absolute;
  display: flex;
  top: 65%;
  left: 42%;
  z-index: 1;
}

.btnRight {
  font-family: HyundaiSansHeadOfficeMedium !important;
  position: absolute;
  display: flex;
  top: 65%;
  left: 46%;
  z-index: 1;
}

.btn-donate {
  --clr-font-main: hsla(0 0% 20% / 100);
  --btn-bg-1: hsla(194 100% 69% / 1);
  --btn-bg-2: hsla(217 100% 56% / 1);
  --btn-bg-color: hsla(360 100% 100% / 1);
  --radii: 0.5em;
  cursor: pointer !important;
  padding: 0.9em 1.4em !important;
  min-width: 120px !important;
  min-height: 44px !important;
  font-size: var(--size, 1rem) !important;
  font-weight: 500 !important;
  transition: 0.8s !important;
  background-size: 280% auto !important;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  ) !important;
  border: none !important;
  border-radius: var(--radii) !important;
  color: var(--btn-bg-color) !important;
  box-shadow: 0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35) !important;
}

.btn-donate:hover {
  background-position: right top !important;
}

.btn-donate:is(:focus, :focus-visible, :active) {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--btn-bg-color), 0 0 0 6px var(--btn-bg-2) !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn-donate {
    transition: linear !important;
  }
}

.left-image {
  /* background-image: url("https://mdbootstrap.com/img/new/standard/city/041.jpg"); */
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.col-sm {
  position: relative; /* Establish a positioning context for child elements */
  padding: 0 !important;
}

.left-image {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  border-radius: 8px;
}

.right-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.Creta {
  color: #000000 !important;
  font-size: 40px !important;
}

.HyundaiH4 {
  font-family: HyundaiSansRegular !important;
  font-size: 28px !important;
  color: #000000 !important;
}

.inquire {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #183153;
  font-family: HyundaiSansHeadOfficeMedium !important;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.inquire:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: rgba(0, 170, 210, 1);
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.inquire:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.inquire,
.inq {
  text-align: center;
  text-decoration: none;
  width: auto;
  padding: 10px 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.inquire:hover .inq {
  color: #ffffff;
  animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .right-image {
    height: 20rem !important;
  }
  .Creta {
    font-size: 20px !important;
  }
  .HyundaiH4 {
    font-size: 14px !important;
  }
  p {
    font-size: 12px !important;
  }
  .overlay-text {
    margin: -24px;
    margin-left: 0.1rem;
  }
  .SalesPromo,
  .service,
  .sales {
    right: 3rem !important;
    left: auto !important;
    font-size: 34px !important;
    margin: auto;
  }
  .btn {
    left: 38%;
  }
  .btnRight {
    left: 33%;
  }
  .inquire,
  .inq {
    padding: 5px 5px;
    font-size: 12px;
  }
}
