* {
  box-sizing: border-box;
}

.hero-image {
  background-image: url("../pics/serv_banner.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: 0;
  padding-top: 70px;
  width: 100%;
  height: calc(100dvw / 4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  color: white;
}

.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
}

.hero-text button:hover {
  background-color: #555;
  color: white;
}

/* Hero text padding */
.hero-text-inner {
  padding-top: 0;
}

/* Image max-width utility */
img.responsive-img {
  width: 100%;
  height: auto;
}

.flex-container {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;    /* Vertical centering */
}

/* Service description paragraphs */
.service-description {
  line-height: 1.5;
  color: dimgrey;
  font-size: xx-large;
  text-align: justify;
}

/* Service title styling */
.service-title {
  font-family: calibri-light;
  font-size: xxx-large;
  color: black;
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.divider {
  background: #eb1e23;
  height: 2px;
  border: #ea1d23;
  opacity: 0;
}

/* CTA button for services */
.service-cta {
  background-color: #f7941d;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
}
.service-cta:hover, .service-cta:focus {
  background-color: #e67300;
  color: #fff;
}

.row {
  margin-bottom: 5rem;
}

.btn {
  font-size: x-large;
}

@media (max-width: 991px) {
  .media-pos {
    flex-direction: column-reverse;
    text-align: center;
  }
  .divider {
    opacity: 100;
  }
  .row {
    margin-bottom: 3rem;
    margin-top: 3rem;
  }
  
}