@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =============== REUSABLE STYLES =============== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: hsl(258, 49%, 51%);
  line-height: 1.3;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-size: 1.2rem;
  color: hsl(258, 49%, 51%);
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.cta-button {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  background: hsl(258, 49%, 51%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.6s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  display: inline-block;
}

.cta-button:hover {
  background: hsl(258, 56%, 62%);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 85px;
}

.primary-cta {
  background: hsl(258, 49%, 51%);
  margin-right: 1rem;
}

.secondary-cta {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.secondary-cta:hover {
  background: white;
  color: hsl(258, 49%, 51%);
}

/* =============== HERO SECTION =============== */

.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 6rem 5%;
  color: white;
  position: relative;
  width: 100%;
  min-height: 100vh; /* Changed from height to min-height */
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 90vh; /* Slightly taller on mobile */
    padding: 4rem 5%;
    background-attachment: scroll; /* Remove fixed background on mobile */
  }

  .hero-content {
    margin-bottom: 2rem;
  }
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: hsl(258, 49%, 51%);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  color: hsl(0, 0%, 100%);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image {
  width: 40%;
  z-index: 2;
  padding-left: 8rem;
}

.hero-image i {
  font-size: 8rem;
  border-radius: 100px;
  animation: float 6s ease-in-out infinite;
  color: hsl(258, 56%, 62%, 0.8);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =============== TRUST BADGES =============== */
.trust-badges {
  background: hsl(220, 80%, 96%);
  padding: 2rem 0;
  text-align: center;
}

.trust-badges p {
  color: hsl(258, 49%, 51%);
  margin-bottom: 1rem;
  font-weight: 600;
}

.badges-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.badges-container img {
  height: 40px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.badges-container img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* =============== COURSE HIGHLIGHTS =============== */
.course-highlights {
  padding: 5rem 5%;
  background: white;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card {
  background: hsl(220, 80%, 96%);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.6s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
}

.course-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: hsl(258, 56%, 62%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-icon {
  font-size: 2.5rem;
  color: hsl(258, 56%, 62%);
  margin-bottom: 1rem;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(258, 49%, 51%);
}

.course-desc {
  color: hsl(258, 49%, 51%);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: hsl(258, 49%, 51%);
  font-size: 0.9rem;
}

.course-cta {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: hsl(258, 49%, 51%);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.course-cta:hover {
  background: hsl(258, 56%, 62%);
  transform: translateY(-3px);
}

.view-all-courses {
  text-align: center;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(258, 49%, 51%);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  color: hsl(258, 56%, 62%);
  gap: 1rem;
}

/* =============== VALUE PROPOSITION =============== */
.value-proposition {
  padding: 5rem 5%;
  background: hsl(258, 20%, 99%);
}

.value-proposition a {
  color: hsl(258, 49%, 51%);
  text-decoration: none;
  transition: all 0.3s ease;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.6s ease;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
}

.value-icon {
  font-size: 2.5rem;
  color: hsl(258, 56%, 62%);
  margin-bottom: 1.5rem;
}

.value-card h3 a {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: hsl(258, 49%, 51%);
  transition: all 0.3s ease;
}

.value-card h3 a:hover {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: hsl(258, 56%, 62%);
  transition: all 0.3s ease;
}

.value-card p {
  color: hsl(258, 49%, 51%);
  opacity: 0.8;
  line-height: 1.6;
}

/* =============== TESTIMONIALS =============== */
.testimonials {
  padding: 5rem 5%;
  background: white;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: hsl(220, 80%, 96%);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.6s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
}

.testimonial-rating {
  color: hsl(50, 100%, 50%);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: hsl(258, 49%, 51%);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: hsl(258, 49%, 51%);
  margin-bottom: 0.3rem;
}

.testimonial-author p {
  color: hsl(258, 49%, 51%);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* =============== CTA SECTION =============== */
.cta-section {
  padding: 5rem 5%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/images/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============== FOOTER =============== */
.footer {
  background: hsl(258, 49%, 51%);
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: hsl(258, 56%, 62%);
}

.footer-logo {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-about {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: hsl(258, 56%, 62%);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.footer-newsletter button {
  width: 100%;
  padding: 0.8rem;
  background: hsl(258, 56%, 62%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background: white;
  color: hsl(258, 49%, 51%);
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-payments {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

/* =============== ANIMATIONS =============== */
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-image {
    width: 80%;
    padding-left: 0;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

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

  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Feedback Section */
.feedback-section {
  background: hsl(258, 49%, 98%);
  background-image: radial-gradient(
    circle at 10% 20%,
    hsla(145, 10%, 99%, 0.8) 0%,
    hsla(145, 20%, 97%, 1) 90%
  );
  box-shadow: inset 0 10px 15px -10px hsla(145, 30%, 80%, 0.1);
  padding: 5rem 5%;
  text-align: center;
}

.feedback-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.feedback-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.6s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feedback-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feedback-icon {
  font-size: 2.5rem;
  color: hsl(258, 56%, 62%);
  margin-bottom: 1.5rem;
}

.feedback-card h3 {
  color: hsl(258, 49%, 51%);
  margin-bottom: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-card p {
  color: hsl(258, 49%, 51%);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.feedback-button-container {
  margin-top: auto;
  padding-top: 1rem;
}

.feedback-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: hsl(258, 49%, 51%);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.feedback-button:hover {
  background: hsl(258, 56%, 62%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feedback-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: hsl(258, 49%, 51%);
  margin-top: 2rem;
  font-style: italic;
}

.feedback-note i {
  color: hsl(0, 70%, 60%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feedback-card {
    max-width: 100%;
  }
}
