/* ==== BASE STYLES ==== */
.services {
  width: 80%;
  margin: 40px auto;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.service-title {
  flex: 1;
  padding-right: 60px;
}

.service-title h2 {
  font-size: 40px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 15px;
}

.service-title p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  max-width: 600px;
  padding: 54px 0px 12px;
}

.service-img {
  flex: 1;
  width: 100%;
}

.service-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.spec h1 {
  font-size: 35px;
  text-align: center;
  color: #1e1e1e;
  margin-bottom: 30px;
}

/* ==== LAPTOPS (max-width: 1200px) ==== */
@media (max-width: 1200px) {
  .services {
    width: 90%;
  }

  .service-header {
    gap: 30px;
  }

  .service-title {
    padding-right: 40px;
  }

  .service-title h2 {
    font-size: 36px;
  }

  .service-title p {
    font-size: 17px;
    padding: 40px 0 10px;
  }
}

/* ==== TABLETS (max-width: 992px) ==== */
@media (max-width: 992px) {
  .services {
    width: 90%;
    margin: 20px auto;
  }

  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .service-title {
    padding-right: 0;
  }

  .service-img {
    width: 100%;
  }

  .service-img img {
    height: 320px;
  }

  .service-title h2 {
    font-size: 32px;
  }

  .service-title p {
    font-size: 17px;
    padding: 25px 0 10px;
  }

  .spec h1 {
    font-size: 30px;
  }
}

/* ==== MOBILE (max-width: 600px) ==== */
@media (max-width: 600px) {
  .services {
    width: 95%;
    margin: 10px auto;
  }

  .service-header {
    width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .service-title h2 {
    font-size: 26px;
  }

  .service-title p {
    font-size: 16px;
    line-height: 1.6;
    padding: 20px 0 10px;
  }

  .service-img img {
    height: 240px;
  }

  .spec h1 {
    font-size: 26px;
  }
}

/* ==== EXTRA SMALL (max-width: 400px) ==== */
@media (max-width: 400px) {
  .service-title h2 {
    font-size: 22px;
  }

  .service-title p {
    font-size: 15px;
  }

  .service-img img {
    height: 200px;
  }

  .spec h1 {
    font-size: 24px;
  }
}
