.banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.banner-content {
  display: flex;
  background: #ECE1E1;
  border-radius: 50px;
  min-height: 220px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  overflow: hidden;
  align-items: stretch;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.banner-image {
  flex: 0 0 400px;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background: #fff;
  height: auto;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.banner-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  gap: 30px;
  text-align: left;
  border-radius: 0 50px 50px 0;
}

.banner-text h3 {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.banner-text .subtitle {
  font-size: 18px;
}

@media (max-width: 768px) {
  .banner-wrapper {
    padding: 0;
  }
  .banner-content {
    flex-direction: column;
    min-height: 0;
  }
  .banner-image {
    flex: 0 0 auto;
    width: 100%;
    border-radius: 50px 50px 0 0;
  }
  .banner-image img {
    height: auto;
  }
  .banner-text {
    border-radius: 0 0 50px 50px;
    gap: 20px;
    text-align: left;
  }
}
