.section {
  margin-top: 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 70px 40px; /* reduce padding for better responsiveness */
  background-image: url("../img/bg1.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.content {
  flex: 1 1 500px;
  max-width: 50%;
  padding-right: 30px;
}

.sol {
  font-size: 1rem;
  color: #a3c644;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.st1 {
  font-size: 2.8rem;
  font-weight: bolder;
  margin-bottom: 10px;
  color: white;
}

.desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #b0b8d6;
  margin-top: 10px;
}

.tch {
  display: inline-block;
  background-color: #a3c644;
  color: black;
  text-align: center;
  border: 2px solid transparent;
  padding: 0.875rem 2.9rem;
  font-size: 1.125rem;
  margin-top: 30px;
  font-weight: 600;
  transition: border-color 0.4s, color 0.4s, background-color 0.4s;
  text-decoration: none;
}

.tch:hover {
  border-color: #a3c644;
  color: #a3c644;
  background-color: transparent;
}

.image-container {
  flex: 1 1 400px;
  max-width: 40%;
  padding-left: 30px;
}

.image-container img {
  width: 100%;
  height: auto;
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
  }

  .content, .image-container {
    max-width: 100%;
    padding: 0;
  }

  .st1 {
    font-size: 2.2rem;
  }

  .desc {
    max-width: 100%;
  }

  .tch {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .section {
    padding: 40px 15px;
  }

  .st1 {
    font-size: 1.8rem;
  }

  .desc {
    font-size: 0.95rem;
  }
}
