header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f4f4f4;
  padding: 10px 20px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

nav a:hover {
  color: red;
}

body {
  font-family: 'Poppins', 'Comic Sans MS', sans-serif;
  line-height: 1.6;
  font-size: 1.1em;
  background-color: #f0f9ff;
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Baloo 2', cursive;
  color: #0066cc;
}

main {
  padding: 20px;
}

.hero, .mission, .about-hero, .about-card, .lesson {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.hero {
  text-align: center;
  margin-bottom: 24px;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h2 {
  margin: 10px 0;
  font-size: 2rem;
}

.tagline {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #ff7043;
  font-weight: bold;
}

.hero-button {
  display: inline-block;
  margin-top: 16px;
  background-color: #ff7043;
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.about-hero h1 {
  margin: 10px 0 20px;
}

.about-highlights {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #333;
  line-height: 1.7;
}

.about-hero-photo {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
}

.author-photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.about-card {
  border-top: 5px solid #80d8ff;
}

.page-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px 40px;
}


.lesson {
  flex: 1 1 45%;
  max-width: 48%;
  border-top: 5px solid #80d8ff;
}
.lesson iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .about-hero-photo {
    width: 100%;
  }
  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .page-container {
    flex-direction: column;
    padding: 0 10px 30px;
  }

  .lesson {
    max-width: 100%;
  }

  .lesson iframe {
    height: 250px;
  }
}
