.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.services-hero {
  width: 100%;
  padding: 0 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-wrapper {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  height: calc(100vh - 80px - 48px); /* Subtract header + footer height */
}

.service-image-container {
  flex: 1;
  position: relative;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Set image backgrounds here */
.service-image-container.left {
  background-image: url('../images/BMBHID-1.jpg'); /* Replace with your image */
}

.service-image-container.right {
  background-image: url('../images/CP-\(GNA-020125\)---RR-1.jpg'); /* Replace with your image */
}

/* Overlay */
.service-image-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  border-radius: 25px;
}

/* Titles */
.service-title {
  position: absolute;
  top: 30px;
  font-size: 4.5rem;
  color: white;
  font-family: "Oswald";
  font-weight: 400;
  z-index: 2;
  line-height: 1.1
}

.service-title.left {
  left: 50px;
}

.service-title.right {
  left: 50px;
}

/* Buttons */
.service-btn {
  font-family: "Oswald";
  font-size: 1.35rem;
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.85);
  color: black;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 25px;
  z-index: 2;
  transition: 0.2s;
}

.service-btn:hover {
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
}

@media (max-width: 810px) {

  .services-hero {
  width: 100%;
  padding: 0 2rem;
  }

  .services-wrapper {
    height: calc(100vh - 80px - 37px); /* Subtract header + footer height */
    flex-direction: column;
    gap: 2rem;
  }

  .service-image-container {
    width: 100%;
    height: auto;
    border-radius: 10px;
    position: relative;
  }

  .service-image-overlay {
    border-radius: 10px;
  }

  .service-title {
    top: 10px;
    font-size: 32px;
  }

    .service-title.left {
    left: 20px;
  }

  .service-title.right {
    left: 20px;
  }

  .service-btn {
    font-size: 16px;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    position: absolute;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 1050px) and (min-width: 811px) {
  .service-title {
    left: 30px;
    top: 30px;
    font-size: 46px;
    padding-right: 30px;
  }
}