.special-offer {
  background-image: url("../img/codehouse-nx-banner-special-offer.png");
  background-size: 100%; /* <------ */
  background-repeat: no-repeat;
  background-position: center center;
  height: 400px;
}

.special-offer .caption {
  font-size: 12px;
}

.special-offer .cta-banner {
  font-size: 12px;
}

.search-box {
  border-bottom: solid 1px #9e9e9e;
  margin-bottom: 30px;
  display: flex;
}

.search-box .search-input {
  all: unset;
  margin-left: 10px;
  width: 100%;
}
.search-box .search-input::placeholder {
  font-family: "Montserrat-italic";
  font-size: 16px;
  letter-spacing: 0px;
  color: #9e9e9e;
  opacity: 1;
}

.search-box .fa-search {
  color: #9e9e9e;
}

.ptx-3, .pb-20 {
  padding-top: 3px;
  padding-bottom: 20px;
}

.img-promotion {
  width: 100%;
  height: auto;
}

.img-promotion img {
  width: 100%;
}

.row.row-cols-1.row-cols-md-3.g-4 {
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  width: 95%;
  max-width: 400px;
  height: 433px;
  margin: 0 auto;
  color: #9E9E9E;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #E0E0E0;
  border-radius: 25px;
  overflow: hidden;
}

.promo-detail-text {
  display: inline-block;
  vertical-align: middle;
  font-size: 17px;
}

.promo-detail-btn-arrow {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: transparent url(../../assets/img/btn-arrow.png) 0% 0% no-repeat padding-box;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  transition: transform 0.3s ease-in-out;
  margin-left: 5px;
}

.card:hover {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 15px 50px #F1F1F3BF;
    border-radius: 25px;
    -webkit-transition: box-shadow 0.3s ease-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.service-promotion-title {
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-size: 17.5px;
    line-height: 29px;
    font-family: Montserrat;
    letter-spacing: 0px;
    text-align: center;
    color: #212121;
    margin-top: -4px;
    margin-bottom: 10px;
    padding-left: 26px;
    padding-right: 26px;
}

.periode-name {
    color: #9e9e9e;
    padding-bottom:1.1rem;
    padding-top:0.5rem;
}

.periode-date {
    color: #616161;
    font-weight: bold;
}

.card:hover .service-promotion-title {
  color: #fb8dc8 !important;
}

.card:hover .promo-detail-btn-arrow {
  transform: translateX(5px);
  background-image: url(../../assets/img/btn-arrow-blue.png);
}

.card:hover a {
  color: #0C86EB;
}

.card:hover .periode-date {
    color: #212121;
}

.card:hover .periode-name {
    color: #616161;
}

.card-promo-detail {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #E0E0E0;
  border-radius: 25px;
  max-width: 1050px; /* Menentukan lebar maksimal card */
  margin: 0 auto; /* Mengatur card menjadi posisi tengah */
}

.card-promo-detail-img-top {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  width: 100%;
}

.card-promo-detail hr {
  width: 80%;
  margin: 5px auto;
  border: 1px solid #E0E0E0;
  opacity: 1;
}

.card-promo-detail h1 {
  text-align: center;
  font: normal normal 800 24px/28px Montserrat;
  letter-spacing: 0px;
  color: #212121;
  font-weight: bold;
  margin: 40px 0 40px 0;
}

.description {
  margin-top: 40px;
}

.text-description {
  letter-spacing: 0px;
  color: #212121;
  margin: 10px 70px auto 70px;
  opacity: 1;
}

.more-text {
  letter-spacing: 0px;
  color: #212121;
  margin: 10px 70px 30px 70px;
}

.read-more-container, .show-less-container {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 31px;
}

.read-more-container::after, .show-less-container::after {
  position: absolute;
  bottom: -7px;
  left: 43.5%;
  right: 0;
  background-color: #0c86eb;
  width: 0%;
  content: "";
  height: 2px;
  transition: all 0.3s;
}

.read-more-container:hover::after, .show-less-container:hover::after {
  width: 13%;
  right: 0;
}

.read-more, .show-less {
  font: normal normal 600 20px/24px Montserrat;
  letter-spacing: 0px;
  color: #212121;
  opacity: 1;
  margin-right: 10px;
}

.read-more-btn-dropmenu {
  background: transparent url(../../assets/img/btn-dropmenu.png) 0% 0% no-repeat padding-box;
  opacity: 1;
  width: 20px;
  height: 14px;
}

.show-less-btn-dropmenu {
  background: transparent url(../../assets/img/btn-dropmenu-up.png) 0% 0% no-repeat padding-box;
  opacity: 1;
  width: 20px;
  height: 14px;
}

.other-promo {
  text-align: center;
  font: normal normal bold 28px/34px Montserrat;
  letter-spacing: 0px;
  color: #212121;
  opacity: 1;
  margin: 75px 0 25px;
}

.all-promo {
  margin: 50px;
}

.all-promo-text {
  display: inline-block;
  vertical-align: middle;
  font: normal normal 600 20px/24px Montserrat;
}

.all-promo:hover .all-promo-text {
  color: #0C86EB;
}

.all-promo .all-promo-btn-arrow {
  display: inline-block;
  width: 35px;
  height: 21px;
  background: transparent url(../../assets/img/btn-arrow-black.png) 0% 0% no-repeat padding-box;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  transition: transform 0.3s ease-in-out;
  margin-left: 5px;
}

.all-promo:hover .all-promo-btn-arrow {
  transform: translateX(5px);
  background-image: url(../../assets/img/btn-arrow-blue-lg.png);
}

.back-to-up-container {
  cursor: pointer;
  text-align: center;
  opacity: 1;
  margin: 65px 0 20px;
}

a.back-to-up {
  position: relative;
  font: normal normal 600 20px/24px Montserrat;
  letter-spacing: 0px;
  color: #212121;
}

a.back-to-up:after {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #0C86EB;
  width: 0%;
  content: "";
  height: 3px;
  transition: all 0.3s ease-out;
}

a.back-to-up:hover::after {
  width: 100%;
}