 /* Reset some default browser styles */
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-content {
  background-color: #f5f5f5;
  padding: 20px;

}

/* Service card styling */
.service-card-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Ensure content is well-spaced */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto 40px auto;
  /* Add margin bottom to space cards */
  padding: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 990px;
}

/* Reverse order for specific cards */
.service-card-horizontal.reverse {
  flex-direction: row-reverse;
  /* Swap the order of image and text */
}

/* Hover effect for the service card */
.service-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.service-image {
  width: 34%;
  /* Set width to ensure image covers more area */
  height: 150px;
  /* Fixed height for consistency */
  border-radius: 10px;
  border: 2px solid gold;
  /* Gold border around the image */
  transition: transform 0.3s ease;
  object-fit: cover;
  /* Cover the area while maintaining aspect ratio */
  margin-right: 20px;
}

/* For reverse layout, adjust image margin */
.service-card-horizontal.reverse .service-image {
  margin-right: 0;
  margin-left: 0;
  /* Add margin to left side for separation */
}

/* Hover effect for the image */
.service-card-horizontal:hover .service-image {
  transform: scale(1.05);
}

/* Service content styling */
.service-content {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
  align-items: center;
  /* Center content horizontally */
  text-align: center;
  /* Ensure text is centered */
}

/* Service title styling */
.service-title {
  font-size: 1.8em;
  color: #e74c3c;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

/* Service description styling */
.service-description {
  font-size: 1em;
  color: #666;
  line-height: 1.5;
  margin-bottom: 25px;
  transition: color 0.3s ease;
  font-family: 'Crimson Text';
  font-size: larger
}

/* Book Now button styling */
.book-now-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Center the button horizontally */
  margin-top: 20px;
}

.book-now {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Button hover effect */
.book-now:hover {
  background-color: #c0392b;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-card-horizontal {
      flex-direction: column;
      align-items: flex-start;
      padding: 15px;
  }

  .service-image {
      width: 100%;
      /* Ensure image takes full width on smaller screens */
      margin-right: 0;
      margin-bottom: 15px;
  }

  .service-content {
      max-width: 100%;
      align-items: center;
      /* Center content horizontally */
  }

  .service-title {
      font-size: 1.5em;
  }

  .service-description {
      font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .service-card-horizontal .reverse {
      flex-direction: column;
  }
}

@media (max-width: 480px) {
  .service-title {
      font-size: 1.3em;
  }

  .service-description {
      font-size: 0.85em;
  }
  .service-card-horizontal.reverse {
    flex-direction: column;
}
}

