.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding-top: 100px; /* Adjust this value based on your navbar height */
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-image {
  flex: 1;
  height: 80vh;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.5s ease;
}

.hero-text {
  flex: 1;
  padding-left: 5%;
  color: #333;
  animation: fadeInDown 1.5s ease;
}

.hero-text h1 {
  color: #016231;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
}

.btn-learn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 32px;
  border-radius: 30px;
  border: 2px solid #d11b1b;
  color: #d11b1b;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-learn:hover {
  background: #d11b1b;
  color: #fff;
}

.swiper-pagination-bullet {
  background: #d11b1b !important;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 60px 5% 100px;
  }

  .hero-image {
    width: 100%;
    height: 45vh;
    margin-bottom: 20px;
  }

  .hero-text {
    padding: 0;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-100px); }
  to { opacity: 1; transform: translateY(0); }
}
