/* -------------------------------------------------------------
 * ShahaneTech Services Page Stylesheet (services.css)
 * ------------------------------------------------------------- */

.services-page-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 60px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-img-box {
  flex: 1;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  cursor: pointer;
}

.service-img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-img-box:hover img {
  transform: scale(1.02);
}

.service-content {
  flex: 1.5;
}

.service-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-title span {
  color: #38a169; /* Green color for highlight */
}

.service-desc {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  font-size: 1.05rem;
  color: #4a5568;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-features li i {
  color: #38a169;
  font-size: 1.2rem;
}

/* Image Popup Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.image-modal-close:hover,
.image-modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .service-item, .service-item.reverse {
    flex-direction: column;
    text-align: center;
  }
  .service-img-box {
    max-width: 100%;
  }
  .service-features li {
    justify-content: center;
  }
}
