/* About Section */
#service {
  padding: 0;
  width: 100%;
}

.service-image {
  position: relative;
  width: 100%;
  height: 20vh; /* Height of the header image */
  min-height: 300px;
  background-size: cover;
  background-position: center;

  /* Fade top + bottom */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
/* Fade end */

}

.service-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay to make text stand out */
  text-align: center;
  padding: 0 20px;
}

.service-image .overlay .overlay-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  font-weight: 900;
  margin-bottom: 10px;
  color: #B19784;
  margin-right: 30%; /* Moves the title to the right */
}

.service-image .overlay h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.service-image .overlay p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
}

/* Normal Content Below the Image */
.service-content {
  padding: 40px 60px;   /* This is where the content window size is being controlled */
  background-color: #f9f9f9;
}

.service-content h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.service-content p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Scoped image styling for image wihtin the 'about' section */
.service-content .section-block-image {
  display: block;
  max-width: 800px; /*45% max */
  min-width: 310px; 
  width: 100%;
  height: auto;
  margin: 1rem auto; /* centers horizontally */
  border: 2px solid #ddd;   /* border color & thickness */
  border-radius: 8px;       /* slightly rounded corners */
  transition: transform 0.3s ease;
}

.service-content .section-block-image:hover {
  transform: scale(1.1); /* Zoom in 10% on hover */
}
