/* Center the modal properly */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* Full height */
}

/* Modal Box Styling */
.hiring-modal {
  background: white;
  border-radius: 0px;
  text-align: center;
  padding: 40px 0px;
  position: relative;
  width: 100%;
  max-width: 850px;
}

/* Custom Top Tabs */
.hiring-popup-top {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 40px;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
}

  .hiring-popup-top::before,
  .hiring-popup-top::after {
    content: "";
    position: absolute;
    top: -25px;
    width: 60px;
    height: 58px;
    background: white;
  }

  .hiring-popup-top::before {
    left: -35px;
  }

  .hiring-popup-top::after {
    right: -35px;
  }

/* Close Button (Outside the Modal) */
.hiring-close {
  position: absolute;
  top: -45px; /* Move it outside */
  right: -10px; /* Adjust for proper alignment */
  font-size: 28px;
  border: none;
  background: none;
  color: white;
  cursor: pointer;
}

/* Header Title Background */
.hiring-header {
  background: #796E65; /* Dark Brown Background */
  padding: 20px;
  text-align: center;
  position: relative;
  color: white;
}

/* Title Styling */
.hiring-title {
  font-size: 60px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin: 0;
  color: white;
}

/* Half Background Effect for Text */
.text-highlight {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  z-index: 2;
}

  .text-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: #B6ADA5;
    z-index: -1;
  }

/* Subtitle (Below the Title) */
.hiring-subtitle {
  font-size: 30px;
  color: white;
  margin-top: 5px;
}

/* Text & Button */
.hiring-body p {
  font-size: 24px;
  margin: 12px 0;
  color: black;
}

#hiringPopup .close {
  font-size: 38px !important;
  font-weight: 400 !important;
}

@media (min-width: 200px) and (max-width: 760px) {
  .hiring-popup-top {
    width: 50% !important;
  }

  .hiring-title {
    font-size: 40px !important;
  }

  .hiring-subtitle {
    font-size: 23px;
  }

  .hiring-popup-top::before, .hiring-popup-top::after {
    content: "";
    position: absolute;
    top: -22px;
    width: 60px;
    height: 46px;
    background: white;
  }

  #hiringPopup .btn {
    white-space: inherit !important;
  }

  #hiringPopup.modal {
    padding-left: 20px !important;
    padding-right: 23px !important;
  }
  .hiring-body p {
    font-size: 18px !important;
  }
}

@media (min-width: 200px) and (max-width: 486px) {
  .text-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 26px;
    width: 100%;
    height: 43%;
    background: #B6ADA5;
    z-index: -1;
  }
  .hidden-sm-txt{
      display:none;
  }
  .d-flex-wh-txt {
    display: flex;
    text-align: left;
  }
  .marg-btm {
    margin-bottom: 0px !important;
    padding-left: 4px !important;
  }
}
@media (min-width: 804px) {
  .hiring-close {
    position: absolute;
    top: -31px !important;
    right: -26px !important;
  }
}
@media (min-width: 487px) {
  .show-sm-txt {
    display: none;
  }
}
#hiringPopup .modal-backdrop.in {
  opacity: .7;
}
