:root {
  --primary: #4361ee;
  --secondary: #3a0ca3;
  --accent: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #4cc9f0;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}




/* Header Styles */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary) !important;
}

.brand-highlight {
  color: var(--accent);
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 8px;
  color: var(--dark);
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}
/* .nav-item .nav-link .active{

} */


.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  background: #4361EE;
  color: white;
  border-radius: 10px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  border: 2px solid white;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
  color: white;
}

.animate-text-programmes {
  background: linear-gradient(270deg, #fe230f, #123eee, #fe230f);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s ease infinite;
  border: none;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Hero Section */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(67, 97, 238, 0.9),
      rgba(58, 12, 163, 0.9)
    ),
    url("https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 50px 0 100px;
  position: relative;
  height: 80vh;
}

.hero-content {
  max-width: 650px;
}

.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  background-color: var(--accent);
  color: white;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.cta-btn:hover {
  background-color: #e11575;
  transform: translateY(-3px); 
  box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
  color: white;
}

.hero-image {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.hero-section .hero-image img{
    width: 100%;
  height: auto; /* maintain aspect ratio */
  max-height: 70vh; /* optional limit */
  object-fit: cover;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.feature-card h4 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: #6c757d;
}

/* Courses Section */
.courses-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.course-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.course-content {
  padding: 25px;
}

.course-category {
  display: inline-block;
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.course-card h4 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #6c757d;
}

.course-price {
  font-weight: 700;
  color: #E11575;
  font-size: 1.2rem;
}
.enroll-btn{
    background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  /* font-weight: 600; */
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}
.enroll-btn:hover {
  /* background-color: #e11575; */
  transform: translateY(-3px); 
      box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);

  color: white;
}
.view-all-course{
  background-color: var(--accent);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}
.view-all-course:hover {
  background-color: #e11575;
  transform: translateY(-3px); 
  box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
  color: white;
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 15px;
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  color: rgba(67, 97, 238, 0.1);
  font-family: Georgia, serif;
}

.testimonial-text {
  color: #6c757d;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  /* border: 5px solid red; */
}
.author-img img{
  width: 100%;
  height: 100%;
}

.author-info h5 {
  margin: 0;
  font-weight: 600;
}

.author-info p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 70px 0 0;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  font-size: 1.2rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--accent);
  bottom: -8px;
  left: 0;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.contact-info p {
  margin-bottom: 15px;
  color: #adb5bd;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary);
  margin-top: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  margin-top: 50px;
  text-align: center;
  color: #adb5bd;
  font-size: 0.9rem;
}
.whatsapp-cons {
  border-radius: 50%;
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 1000;
  background-color: #25D366;
  color: white;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
  animation: pulse 1.5s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-cons:hover {
  transform: scale(1.1);
}


@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}



/* Responsive Adjustments */
@media (max-width: 600px) {
    .hero-section{
        height: max-content;
    }
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
   .whatsapp-cons {
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
  }
  .navbar-brand {
    font-size: 1.4rem;
  }
}
@media screen and (min-width: 600px) and (max-width: 992px) {
    .hero-section{
        height: max-content;
    }
}