.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 15px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background-color: #ff8277;
}

.nav-donate {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  text-decoration: none;
}

.nav-donate:hover {
  transform: translateY(-2px);
  background-color: #0062cc;
}

/* Page Header */
.page-header {
  background-color: var(--primary);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Curriculum Overview */
.curriculum-overview {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

.curriculum-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Curriculum Levels */
.curriculum-level {
  padding: 80px 0;
  position: relative;
}

.curriculum-level:nth-child(odd) {
  background-color: var(--light);
}

.level-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.level-text {
  flex: 1;
  min-width: 300px;
}

.level-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.level-text p {
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.level-image {
  flex: 1;
  min-width: 300px;
  height: 450px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}
.level-image img {
  height: 100%;
  object-fit: cover;
}

.curriculum-features {
  margin-top: 30px;
}

.curriculum-features h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* Curriculum Books */
.books-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.book-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.book-image {
  height: 200px;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}

.book-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.book-details h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--primary);
}

.book-details p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark);
  opacity: 0.8;
}

.book-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--gray);
}

.price {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--accent);
}

.view-details {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.3s;
  text-decoration: none;
}

.view-details:hover {
  background-color: #0062cc;
}

/* Implementation Section */
.implementation-section {
  padding: 80px 0;
  background-color: white;
}

.implementation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.implementation-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.3s;
}

.implementation-card:hover {
  transform: translateY(-10px);
}

.implementation-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(0, 123, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--primary);
}

.implementation-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.implementation-card p {
  line-height: 1.6;
  opacity: 0.8;
}

/* Call to Action */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-btn {
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
}

.primary-btn {
  background-color: var(--accent);
  color: white;
}

.primary-btn:hover {
  background-color: #ff8277;
  transform: translateY(-3px);
}

.secondary-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-about p {
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: var(--accent);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .level-content {
    flex-direction: column-reverse;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  .level-content .level-image {
    order: 1 !important;
  }

}

@media (max-width: 768px) {
  .header-content {
    gap: 15px;
  }

  nav ul {
    gap: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2.2rem;
  }
  .level-image img {
    width: 100%;
  }
}
