/* ========================= */
/* CSS for Learn More Page - Descriptive Layout */
/* ========================= */

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.8;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  width: 60px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffcc00;
}

/* Descriptive Section Styles */
main {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2rem;
  
}
section h3 {
  color: #5e3ce8;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

section p {
  color: #444;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  color: #333;
}

section ul li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, #5e3ce8, #b71c1c);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 3rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: white;
  color: #5e3ce8;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.cta-btn:hover {
  background-color: #fcecec;
  color: #b71c1c;
}

/* Footer */
footer {
  background: linear-gradient(to right, #3a26d6, #b71c1c);
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
  }

  .nav-links li {
    margin-bottom: 0.8rem;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

html {
  scroll-behavior: smooth;
}