body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ===== SERVICE ROW ===== */
.service-row {
  display: flex;
  align-items: flex-start; /* text starts from top-left */
  gap: 30px;
  padding: 16px 20px;
  margin: 20px 20px;
  border: 1px dashed rgb(225, 225, 225);

  border-radius: 12px;
  flex-wrap: wrap; /* prevents overflow */
}

/* Reverse layout for even rows */
.service-row.reverse {
  flex-direction: row-reverse;
}

/* ===== IMAGE ===== */
.service-img {
  flex: 0 0 300px;
}

.service-img img {
  width: 100%;
  /* height: 220px; */
  object-fit: cover;
  border-radius: 10px;
}

/* ===== CONTENT ===== */
.service-content {
  flex: 1;
  min-height: 220px;
  max-width: calc(100% - 330px);
  text-align: left;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-content h2 {
  margin: 0 0 8px 0;
}

.service-content small {
  color: #777;
  margin-bottom: 10px;
}

.service-content p {
  margin: 0;
  line-height: 1.6;
}
/* ===== SCROLL ANIMATION ===== */
.service-row {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease-in-out;
}

.service-row.reverse {
  transform: translateY(50px);
}

.service-row.show {
  opacity: 1;
  transform: translateY(0);
}
/* ===== TABLET ===== */
@media (max-width: 992px) {
  .service-img {
    flex: 0 0 260px;
  }

  .service-img img {
    height: 200px;
  }

  .service-content {
    max-width: 100%;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column;
  }

  .service-img {
    width: 100%;
  }

  .service-img img {
    width: 100%;
    height: auto;
  }

  .service-content {
    max-width: 100%;
    min-height: auto;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .service-row {
    padding: 12px;
    gap: 16px;
  }

  .service-content h2 {
    font-size: 1.2rem;
  }

  .service-content p {
    font-size: 0.95rem;
  }
}
