/* =========================================== 
   CLEAN RIGHT — SERVICES SECTION (Professional Layout)
   =========================================== */
.services-section {
  background-color: #f7fafd; /* clean light blue tone */
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Each service item */
.service-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 60, 120, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 360px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 60, 120, 0.15);
}

/* Reverse layout */
.service-item.reverse {
  flex-direction: row-reverse;
}

/* Image block */
.service-img {
  flex: 1 1 45%;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-item:hover .service-img img {
  transform: scale(1.05);
}

/* Text block */
.service-text {
  flex: 1 1 55%;
  padding: 40px 50px;
}

.service-text h3 {
  font-size: 1.6rem;
  color: #103d61;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-text h4 {
  font-size: 1.1rem;
  color: #007bbf;
  font-weight: 600;
  margin: 20px 0 10px;
}

.service-text p {
  font-size: 0.97rem;
  color: #5b6773;
  line-height: 1.7;
  margin-bottom: 10px;
}

.service-text ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.service-text ul li {
  position: relative;
  font-size: 0.95rem;
  color: #4e5f6e;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 18px;
}

.service-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00a6d6;
  font-size: 1.1rem;
  top: 0;
}

/* Compact spacing fix (remove <br> effect) */
.service-text br {
  display: none;
}

/* ====== Responsive Design ====== */
@media (max-width: 992px) {
  .service-item,
  .service-item.reverse {
    flex-direction: column;
  }

  .service-text {
    padding: 30px 25px;
    text-align: center;
  }

  .service-text h3 {
    font-size: 1.4rem;
  }

  .service-text h4 {
    font-size: 1rem;
  }

  .service-text ul li {
    padding-left: 0;
  }

  .service-text ul li::before {
    display: none;
  }

  .service-img {
    height: 240px;
  }
}

@media (max-width: 576px) {
  .services-section {
    gap: 40px;
  }

  .service-text {
    padding: 20px;
  }
}
