* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #1e1e1e;
  background: #ffffff;
  font-family: "Inter", sans-serif;

}

.tech-services {
  padding: 80px 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #6c4cff;
  margin-bottom: 80px;
}

/* SERVICE ROW */
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* REVERSE ROW */
.service-row.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.service-image {
  flex: 0 0 45%;
  max-width: 420px;
  height: 400px; /* FIXED height */
  background: #f4f8ff;

  display: flex; /* CENTER image */
  align-items: center;
  justify-content: center;

  overflow: hidden; /* PREVENT overflow */
  border-radius: 16px; /* optional (looks closer to figma) */
}

.service-image img {
  max-width: 100%;
  max-height: 100%; /* KEY LINE */
  object-fit: contain; /* image fits inside */
  display: block;
}

.service-content h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 18px;
}

.service-content h3 span {
  color: #6c4cff;
  font-weight: 600;
}

.service-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #6b6b6b;
  max-width: 420px;
}

/* DIVIDER */
.divider {
  width: 100%;
  height: 1px;
  background: #e8e6ff;
  margin: 25px 0;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 992px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .service-content h3 {
    text-align: center !important;
  }

  .service-content p {
    max-width: 100%;
    text-align: center !important;
  }

  .service-image img {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 20px;
    margin-bottom: 50px;
  }

  .service-content h3 {
    font-size: 24px;
    text-align: center !important;
  }
  .service-content p {
    max-width: 100%;
    text-align: center !important;
  }

  .divider {
    margin: 50px 0;
  }
}

/* ================= TECHNOLOGY HERO ================= */

.technology-wrapper {
  background-image: url('../assets/images/bg-and-wave.png');
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  padding-bottom: 120px;
}

.technology-hero {
  padding: 140px 0 40px;
}

.technology-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LEFT CONTENT */
.technology-hero-content {
  max-width: 560px;
}

.technology-hero-content h1 {
  font-size: 40px;
  font-weight: 700;
  color: #1f1f1f;
}

.technology-hero-content h1 span {
  color: #5b4bdb;
}

.technology-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b6b7a;
}

/* RIGHT IMAGE */
.technology-hero-image img {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .technology-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .technology-hero-content {
    max-width: 100%;
  }

  .technology-hero-image img {
    max-width: 420px;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .technology-hero {
    padding-top: 120px;
  }

  .technology-hero-content h1 {
    font-size: 30px;
  }

  .technology-desc {
    font-size: 14px;
  }
}
