.experience-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem; /* top right bottom left */
  flex-wrap: wrap;
  background-color: #f1f0f0c7;
}

.experience-image {
  flex: 0.5 0.5 40%;
  display: flex;
  justify-content: center;
}

.experience-image img {
  max-width: 95%;
  height: auto;
  min-height: 425px;
  border-radius: 8px;
  object-fit: cover;
}

.experience-text {
  flex: 1 1 30%;
  max-width: 900px;
}

.experience-text h5 {
  color: #5cb85c;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 0.8vw + 0.6rem, 1.4rem);
}

.experience-text h3 {
  /* font-size: 1.8rem; */
  margin-bottom: 1rem;
  font-weight: 200;
  font-size: clamp(1.5rem, 1vw + 1.5rem, 2.5rem);
}

.experience-text h4 {
  font-size: 1.2rem;
  color: #5cb85c;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: clamp(1.1rem, 0.8vw + 0.6rem, 1.4rem);
}

.experience-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: clamp(1rem, 0.6vw + 0.5rem, 1.125rem);
}

@media (max-width: 1050px) {
  .experience-container {
    flex-direction: column;
    align-items: center;
  }

  .experience-image,
  .experience-text {
    flex: 1 1 100%;
    max-width: 900px;
    width: 100%;
  }

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

  .experience-text {
    padding-top: 1rem;
    width: 100%;
  }

  .experience-text h3 {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  }

  .experience-text h4 {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  }

  .experience-text p {
    font-size: clamp(1.05rem, 1vw + 0.5rem, 1.25rem);
  }
}