/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
  }
  
  h1, h2, h3 {
    color: #222;
  }
  
  a {
    text-decoration: none;
  }
  
  .section {
    padding: 50px 20px;
    text-align: center;
  }
  
  /* Hero Section */
  .hero-section {
    background: linear-gradient(to bottom, #0d3b66, #145374);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
  }
  
  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .cta-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 1rem;
    border-radius: 5px;
  }
  
  .primary-btn {
    background-color: #28a745;
    color: white;
  }
  
  .secondary-btn {
    background-color: #ffc107;
    color: black;
  }
  
  /* About Section */
  .about-section {
    background-color: #fff;
    text-align: center;
    padding: 50px;
  }
  
  .ebook-cover {
    max-width: 200px;
    margin-top: 20px;
  }
  
  /* Preview Section */
  .preview-section {
    background-color: #f9f9f9;
    padding: 50px;
  }
  
  .topic-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    margin: 10px;
  }
  
  /* Motivation Section */
  .motivation-section {
    background-color: #0d3b66;
    color: white;
    padding: 50px;
  }
  
  blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px auto;
    max-width: 700px;
  }
  
  /* Footer */
  .footer {
    background-color: #222;
    color: white;
    padding: 20px;
    text-align: center;
  }
/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
}

h1, h2, h3 {
  color: #0d3b66;
  font-weight: 600;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
}

.section {
  padding: 50px 20px;
  text-align: center;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom, #4e54c8, #8f94fb);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-buttons .btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  font-size: 1.1rem;
  border-radius: 25px;
  transition: background 0.3s, transform 0.3s;
  font-weight: 600;
}

.primary-btn {
  background-color: #28a745;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.secondary-btn {
  background-color: #ffc107;
  color: black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-btn:hover {
  background-color: #e0a800;
  transform: scale(1.05);
}

/* About Section */
.about-section {
  background-color: #ffffff;
  text-align: center;
  padding: 50px;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.ebook-cover {
  max-width: 250px;
  margin-top: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.ebook-cover:hover {
  transform: scale(1.1);
}

/* Preview Section */
.preview-section {
  background: linear-gradient(to right, #ffffff, #f7f9fc);
  padding: 50px;
  border-top: 1px solid #ddd;
}

.topic-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  margin: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 1.4rem;
  color: #145374;
  margin-bottom: 15px;
}

/* Motivation Section */
.motivation-section {
  background-color: #0d3b66;
  color: white;
  padding: 50px;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
}

blockquote {
  font-size: 1.3rem;
  font-style: italic;
  margin: 20px auto;
  max-width: 700px;
  line-height: 1.6;
  color: #ffc107;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer a {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ff9800;
}

/* Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
/* About Section */
.about-section {
  background-color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* Buttons on Left and Right */
.about-left,
.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.nav-btn {
  padding: 10px 20px;
  background-color: #4e54c8;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, background 0.3s;
}

.nav-btn a {
  color: white;
  text-decoration: none;
}

.nav-btn:hover {
  background-color: #ffc107;
  transform: scale(1.1);
}

/* Centered Book Image */
.about-center {
  flex: 1;
  text-align: center;
}

.ebook-cover {
  max-width: 250px;
  margin-top: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.ebook-cover:hover {
  transform: scale(1.1);
}

/* Buy Now Button */
.buy-btn {
  margin-top: 15px;
  padding: 10px 30px;
  background-color: #28a745;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.buy-btn:hover {
  background-color: #218838;
  transform: scale(1.1);
}
