.location-escorts {
  position: relative;
  text-align: center;
  color: #353535;
  font-size: 30px;
}

.para-escorts {
  font-family: sans-serif;
  font-weight: 300;
  text-align: center;
  font-size: 18px;
  color: #676767;
  margin: 0 20px;
}

.frame-escorts {
  width: 100%;
  max-width: 1140px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.custom-btn-escorts {
  flex: 1 1 calc(33.333% - 20px); /* 3 buttons per row */
  max-width: 100%;
  color: #fff;
  border-radius: 5px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.2),
    7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
  overflow: hidden;
  text-align: center;
  word-break: break-word;
}

.btn-1-escorts {
  background: linear-gradient(0deg, #2b542c 0%, #2b542c 100%);
  border: none;
}

.btn-1-escorts a {
  display: inline-block;
  padding: 12px;
  color: inherit; /* make anchor text same as button text */
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}

.btn-1-escorts a::-webkit-scrollbar {
  display: none;
}

/* animation effects */
.btn-1-escorts:before,
.btn-1-escorts:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: #2b542c;
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9),
    -4px -4px 5px 0px rgba(255, 255, 255, 0.9),
    7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-1-escorts:before {
  height: 0%;
  width: 2px;
}

.btn-1-escorts:after {
  width: 0%;
  height: 2px;
}

.btn-1-escorts:hover {
  color: #2b542c;
  background: transparent;
  font-weight: bold;
}

.btn-1-escorts:hover:before {
  height: 100%;
}

.btn-1-escorts:hover:after {
  width: 100%;
}

@media (max-width: 768px) {
  .custom-btn-escorts {
    flex: 1 1 100%; /* stack buttons on small screens */
  }

  .btn-1-escorts a {
    padding: 10px 15px;
    font-size: 14px;
  }
  .custom-btn-escorts {
    flex: 100%;
    max-width: 90%;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.2),
      7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
    outline: none;
    overflow: hidden;
    text-align: center;
    word-break: break-word;
  }
}
