@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Jua&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
  font-family: 'Fredoka';
  color: #2d3436;
  background: #ffffff;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-left: 200px;
  padding-right: 200px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e9e9e9;

}
/* Updated styles for the nav layout */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 25px;
}
  
.nav-links {
    display: none;  /* Initially hidden */
    gap: 20px;
}
  
.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 5px 16px;
    border-radius: 8px;
    transition: color 0.2s;
}
  
.nav-link:hover {
    color: #2c97df;
}

.logo {
    width: 170px;
    height: auto;
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
}

.hero {
    background-color: #ffffff;
    height: 86vh;
}

.hero-content {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    margin-top: 100px;
    gap: 60px;
}

.texts {
    display: flex;
    flex-direction: column;
    width: 400px;
    gap: 60px;
    align-items: center;

}

.texts h1 {
    text-align: center;
    margin-top: 60px;
    font-weight: 500;
    font-size: 2.3rem;
}

.getstarted-btns {
    width: 90%;
}

.button {
    position: relative;
    text-align: center;
    background: #2facff;
    color: white;
    border: none;
    border-bottom: 4px solid #2c97df;
    border-top: 4px solid #ffffff00;
    border-radius: 16px;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: filter 0.1s;
    text-decoration: none; /* This removes the underline if using <a> tag */
}

.button:hover {
    filter: brightness(1.1);
}

.button:active {
    border-bottom: 0px solid #58A700;
    border-top: 8px solid #ffffff00;
    transform: translateY(3px);
}

.btn-w {
    color: rgb(121, 121, 121);
    background: white;
    border-left: 2px solid rgb(214, 214, 214);
    border-right: 2px solid rgb(214, 214, 214);
    border-top: 2px solid rgb(214, 214, 214);
    border-bottom: 4px solid rgb(214, 214, 214);
}

.btn-w:active {
    border-top: 2px solid rgb(180, 180, 180);
    border-bottom: 2px solid rgb(180, 180, 180);
    outline: 10px solid rgba(0, 0, 0, 0);
}

.getstarted-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}

.subjects {
    height: 10vh;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.subjects ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 50px;
}

.subjects ul li {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.subjects ul li img {
    width: 25px;
    height: auto;
}

.learn-content {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.learn {
    background-color: #f9fdff;
    height: 90vh;
}


.learn-content p {
    position: absolute;
    text-align: center;
    width: 700px;
    justify-content: center;
    margin-top: 450px;
    font-size: 25px;
    color: rgb(121, 121, 121);
    line-height: 35px;
}

.features-section {
    background-color: #1a1f35;
    color: white;
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
  
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
  
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}
  
.feature-card:hover {
    transform: translateY(-5px);
}
  
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2facff;
}
  
.feature-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}
  
.feature-description {
    color: #b8c2cc;
    line-height: 1.6;
}
  
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
  
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
  
.section-subtitle {
    color: #b8c2cc;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-container {
  font-family: 'Fredoka', sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem;
  margin-bottom: 2rem;
  border-radius: 24px;
  align-items: center;
  transition: transform 0.3s ease;
}

.feature-section:hover {
  transform: translateY(-5px);
}

.courses-section {
  background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
  color: #0c4a6e;
}

.quiz-section {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #831843;
}

.ai-section {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #14532d;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.section-content {
  padding: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

.section-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.quiz-button {
  background: #db2777;
  color: white;
}

.ai-button {
  background: #16a34a;
  color: white;
}

.footer {
  background-color: #1a1f35;
  color: #f8fafc;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 4rem 2rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}


.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-description {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.bottom-bar {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

@media (max-width: 1150px) {

  nav {
    padding: 0;
  }

  .nav {
    width: 95%;
  }

  .learn-content lottie-player {
    width: 400px !important;
    height: 400px !important;
  }

  .learn-content p {
    margin-top: 350px;
  }

  .section-image {
    display: none;
  }

  .courses-section {
    height: 60vh !important;
  }

  .feature-section {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 10px;
    height: 70vh;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 70vh;
  }

  .hero-content lottie-player{
    width: 300px !important;
    height: 400px !important;
  }


  .texts h1 {
    text-align: left;
    font-size: 2rem;
    margin: 0;
  }

  .getstarted-btns {
    display: flex;
  }

  .btn-b {
    width: 200px;
  }

  .btn-w {
    width: 200px;
  }

  .feature-section {
    height: 80vh !important;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 130vh;
  }

  .hero-content {
    flex-direction: column;
    gap: 0px;
  }


  .texts {
    margin-top: 30px;
  }

  .texts h1 {
    text-align: center;
    
    font-size: 2rem;
    margin: 0;
  }

  .getstarted-btns {
    display: flex;
    align-items: center;
  }

  .subjects {
    display: none;
  }

  .learn-content p {
    width: 500px;
    font-size: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .features-section {
    height: 140vh;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 550px) {
  .nav-links {
    display: none !important;

  }

  .nav {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .texts {
    width: 70vw;
  }
  .texts h1 {
    text-align: center;
    
    font-size: 2rem;
    margin: 0;
  }

  .learn-content p {
    width: 70vw;
  }
  .features-section {
    height: 150vh;
  }
}

@media (max-width: 420px) {

  .features-section {
    height: 80%;
  }
} 





  