.hero-header {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; 
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content .col-lg-6.text-start {
  flex: 0 0 50%; 
}

.hero-content .col-lg-6.text-center {
  flex: 0 0 50%; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #333;
  margin-top: 20px;
}

.hero-content img {
  height: 550px;
  width: 100%;
  object-fit: contain;
  margin-top: 1rem;
  margin-left: 8rem;
}


.bg-success {
  background-color: #28a745 !important;
}


.module-heading {
  background-color: #ffeb3b;
  padding: 10px 20px;
  width: fit-content;
  margin: 10px auto 30px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.25rem;
}

.module-group-card {
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 20px solid #7ED4EC;
  transition: all 0.4s ease;
}

.module-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: center;
  height: 100%;
  border: 4px solid #7ED4EC;
  transition: transform 0.3s ease;
}

.module-card:hover {
  transform: translateY(-6px);
}

.module-card .icon {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  background-color: #fff3e0;
  color: #ff9800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.module-card:hover .icon {
  transform: scale(1.2);
}

.module-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.module-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

.paragraph-balanced {
  max-width: 540px;
  text-wrap: balance; 
  text-align: left;
  line-height: 1.8;
  text-align: justify !important; 
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-content .col-lg-6.text-start,
  .hero-content .col-lg-6.text-center {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .hero-content img {
    max-height: 400px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .hero-header {
    padding: 40px 0;
  }

  .heading-1 {
    font-size: 2rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content img {
    margin-top: 30px;
    max-height: 300px;
  }

  .module-heading {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .module-card .icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}
