*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins",monospace;
  scroll-behavior: smooth;

}
:root {
  /* Core Background & Text */
  --background: 220 20% 98%;
  --foreground: 215 25% 15%;

  /* Card & Surface Colors */
  --card: 0 0% 100%;
  --card-foreground: 215 25% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 215 25% 15%;

  /* Brand Colors - Educational Theme */
  --primary: 200 85% 55%;
  --primary-foreground: 0 0% 100%;
  --primary-light: 200 75% 70%;
  --primary-glow: 200 85% 85%;

  /* Success & Progress Colors */
  --secondary: 145 70% 50%;
  --secondary-foreground: 0 0% 100%;
  --secondary-light: 145 60% 65%;

  /* Accent & Action Colors */
  --accent: 25 85% 60%;
  --accent-foreground: 0 0% 100%;
  --accent-light: 25 75% 75%;

  /* Neutral Tones */
  --muted: 215 15% 95%;
  --muted-foreground: 215 15% 45%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 215 20% 88%;
  --input: 215 20% 94%;
  --ring: 200 85% 55%;

  /* Design System Extensions */
  --radius: 0.75rem;
}
header{
  padding: 1rem 10%;
  display: flex;
  justify-content: space-between;
  position: sticky;
  background-color: #fff;

  z-index: 50;
  top: 0;
  border-bottom: 1px solid hsl(var(--border))
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  text-decoration: none;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
nav ul li{
  display: inline-block;
  list-style: none;
  padding: 1rem 1rem;
}

nav ul li a{
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: color 0.3s;
  text-align: center;
  align-items: center;
}
nav ul li a:hover,
nav ul li a.active{
  color: hsl(var(--primary));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  color: #fff;
}
.btn-primary:hover{
  background: linear-gradient(to right, hsl(var(--primary-light)), hsl(var(--secondary)));
}
main{
  padding: 1rem 10%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--background)), hsl(var(--secondary) / 0.1));
}
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0px 1%;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(620px,auto));
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary-glow));
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  width: fit-content;
}
.badge:hover{
  background: hsl(var(--primary-light));
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}
.hero-buttons:hover span{
  padding-left: 3px;
  transition: 0.4s ease;
}
.btn-primary i{
  font-size: 1rem;
  padding-left: 3px;
}



/* Card Styles */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px -2px hsl(var(--primary) / 0.1);
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background: hsl(var(--muted));
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
  border-radius: 9999px;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: hsl(var(--muted) / 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, hsl(var(--card)), hsl(var(--muted) / 0.2));
  border: 2px solid hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px -4px hsl(var(--primary) / 0.15);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.transition{
  margin-top: 1.5rem;
  border-left: 2px solid hsl(var(--accent-light));
  padding-left: 0.5rem;
  justify-content: center;
}
.transition p{
  font-style: italic;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
}


/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--background)), hsl(var(--secondary) / 0.05));
}

.cta-content {
  text-align: center;
  max-width: 4rem;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
#card1{
  background: linear-gradient(145deg, hsl(var(--card)), hsl(var(--primary) / 0.05));
  border: 1px solid hsl(var(--primary) / 0.2);
}
#card2{
  background: linear-gradient(145deg, hsl(var(--secondary-foreground)), hsl(var(--secondary) / 0.05));
  border: 1px solid hsl(var(--primary) / 0.2);
}
#card3{
  background: linear-gradient(145deg, hsl(var(--accent-foreground)), hsl(var(--accent) / 0.05));
  border: 1px solid hsl(var(--primary) / 0.2);
}
.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: hsl(var(--primary));
}

/* Testimonials */
.testimonials {
  padding: 10rem 10%;
  padding-bottom: 10rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px -2px hsl(var(--primary) / 0.1);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: #fbbf24;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}
/* Footer */
.footer {
  
  border-top: 1px solid hsl(var(--border));
  padding: 1rem 10%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  text-decoration: none;
  transition:0.3s;
}

.social-link:hover {
  background: hsl(var(--primary) / 0.2);
}


/* PAGE 2 CSS */
.find{
  height: auto;
  padding-bottom: 1rem;
}
.find-path{
  text-align: center;
  padding: 4rem;
}
.find-path h1{
  font-size: clamp(2rem, 5vw, 3.5rem);
  padding: 1.3rem 0 1.3rem;
}

.find-path-p{
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
 padding-bottom: 1.3rem;

}
.features-on-page2{
  padding: 5rem 10%;
}
.features-information {
  display: flex;
  justify-content: space-between; /* Spread items apart */
  align-items: center;
  margin-bottom: 1.5rem;
}

.features-infor {
  display: flex;
  align-items: center;            /* Vertical alignment */
  gap: 0.5rem;                     /* Space between h4 and link */
}

.features-infor a {
  display: flex;                
  align-items: center;          
  justify-content: center;      
  padding: 1px 10px;
  font-weight: 500;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  background-color: hsl(var(--secondary));
  border-radius: 2rem;
  cursor: auto;
}
#features-infor a{
  background-color:#f71313d2;
}
#features-infor2 a{
  background: hsl(var(--primary));
}
.lessons{
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  font-size: 0.8rem;
}
.lessons div{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}
.lessons p{
  color: hsl(var(--muted-foreground));
}
.lessons i{
  color: hsl(var(--primary));
}

.feature-card hr{
  margin: 1.5rem 0 1.5rem;
  border-top: 1px solid hsl(var(--muted-foreground));
}
.price{
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.price h3{
  color: hsl(var(--primary));
}
.features-infor-btn{
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.features-infor-btn:hover{
  background: linear-gradient(to right, hsl(var(--primary-light)), hsl(var(--secondary)));
}
.fa-play{
  font-size: 0.8rem;
  margin-right: 0.1rem;
}

/* Mobile Responsive */

@media (max-width:860px){
  
  .start-learning{
    display: none;
  }
  header{
    padding: 1rem 5%;
    background: #fff;
  }
  main{
    padding: 1rem 5%;
  }
  .footer{
    padding: 1rem 5%;
  }
  .testimonials{
    padding: 5rem 5%;
  }
  .logo{
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav {
    display: none;
  }
  .section-title{
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1.1rem;

  }
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;

  }
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 5%;
  }

  nav {
    width: 100%;
    order: 3; 
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
  }

  nav ul li {
    padding: 0.5rem 0.6rem;

  }

  .btn {
    padding: 0.5rem 1rem;
  }

  header > div:last-child {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    order: 2; 
    margin-top: 0.5rem;
  }
  .Sign{
    display: none;
  }
  .start-learning{
    display: none;
  }
}

@media (max-width: 480px) {
  .section-title{
    font-size: 1.5rem
  }

}
