/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(30, 64, 175, 0.9), rgba(30, 64, 175, 0.8)), url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  height: auto;
}

/* Featured Programs Section */
.featured-programs-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.program-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.program-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-icon i {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.program-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.program-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.program-link {
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.program-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.program-link:hover i {
  transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Featured Courses Section */
.featured-courses-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.course-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.course-image {
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-content {
  padding: 1.5rem;
}

.course-rating {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.course-rating i {
  color: #fbbf24;
  font-size: 0.875rem;
}

.course-rating span {
  margin-left: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.course-description {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.course-meta span {
  display: flex;
  align-items: center;
}

.course-meta i {
  margin-right: 0.5rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.course-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.course-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.course-btn:hover i {
  transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.testimonial-item {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin: 1rem;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Events Section */
.events-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.event-card {
  display: flex;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  min-width: 80px;
}

.event-day {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.event-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-tag {
  display: inline-block;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-description {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.event-details span {
  display: flex;
  align-items: center;
}

.event-details i {
  margin-right: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.newsletter-container {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 0.5rem;
  padding: 3rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.newsletter-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-container p {
  opacity: 0.9;
  margin-bottom: 0;
}

.newsletter-form .input-group {
  margin-bottom: 0.5rem;
}

.newsletter-form .form-control {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem 0 0 0.375rem;
  border: none;
}

.newsletter-form .btn {
  border-radius: 0 0.375rem 0.375rem 0;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.newsletter-form .form-check-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    padding: 0.75rem;
    min-width: auto;
    width: 100%;
  }

  .event-day {
    font-size: 1.5rem;
    margin-right: 0.5rem;
  }

  .newsletter-container {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .program-card,
  .course-card,
  .testimonial-item,
  .event-card {
    margin-bottom: 1.5rem;
  }
}

