.hero-learners {
  position: relative;
  width: 100%;
  overflow: visible;
}

.hero-structure {
  display: flex;
  width: 100%;
  min-height: 550px;
}

.hero-left-text {
  flex: 1 1 50%;
  background-color: #005e54;
  color: white;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-inner-container {
  padding: 60px 55px;

  margin: 0 auto;
}

.hero-inner-container h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-inner-container p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-right-image {
  flex: 1 1 50%;
  background-image: url('https://fedies.eu/wp-content/uploads/2025/05/collegestudents_1200x650.jpg');
  background-size: cover;
  background-position: center;
  min-height: 550px;
}

/* Search Box */
.search-form-wrapper {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.fedies-search-form {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.search-box {
  background-color: #fff;
  display: flex;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  padding: 15px 25px;
  width: 100%;
}

.search-input {
  border: none;
  flex: 1;
  font-size: 1.1rem;
  color: #333;
  padding: 12px 15px;
  min-width: 0;
}

.search-input:focus {
  outline: none;
}

.search-button {
  background: none;
  border: none;
  color: #007b65;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 15px;
  padding: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-structure {
    flex-direction: column;
  }

  .hero-left-text, .hero-right-image {
    flex: 1 1 100%;
    min-height: auto;
  }

  .hero-right-image {
    height: 300px;
  }

  .hero-inner-container {
    padding: 40px 20px;
  }

  .search-form-wrapper {
    bottom: -40px;
  }
}


/* Benefits Section */
.benefits-section {
  background-color: #ffffff;
  padding: 120px 20px 80px;
 
 
}

.benefits-container {
  max-width: 1345px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1345px;
  margin: 0 auto;
  gap: 40px;
}

.benefits-text {
  flex: 1 1 55%;
}

.benefits-text h2 {
  font-size: 2.5rem;
  color: #005e54;
  margin-bottom: 30px;
}

.benefits-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-text ul li {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
  padding-left: 25px;
}

.benefits-text ul li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #007b65;
  font-size: 1.4rem;
  top: -2px;
}

.benefits-image {
  flex: 1 1 40%;
  text-align: center;
}

.benefits-image img {
  max-width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    padding-right: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    flex-direction: column;
    padding: 0;
  }

  .hero-content {
    flex: 1 1 100%;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-image {
    flex: 1 1 100%;
    min-height: 400px;
  }

  .search-form-wrapper {
    bottom: -40px;
  }

  .hero-learners {
    padding-bottom: 100px;
  }

  .benefits-section {
    padding: 100px 20px 60px;
  }

  .benefits-text,
  .benefits-image {
    flex: 1 1 100%;
  }

  .benefits-image {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .search-box {
    padding: 12px 20px;
  }

  .search-input {
    font-size: 1rem;
  }
}
