/* Children's Education Fund - Modern/Classic/Minimal Design */

:root {
  --primary-color: #2c5f8d;
  --secondary-color: #f4a261;
  --accent-color: #e76f51;
  --light-bg: #fefefe;
  --cream-bg: #faf8f5;
  --text-dark: #2d3748;
  --text-light: #718096;
  --border-color: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary-color);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  background: var(--cream-bg);
  padding: 3rem 0 2rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1rem;
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
}

.nav-link:hover {
  background: rgba(44, 95, 141, 0.1);
}

.nav-link.active {
  background: var(--primary-color);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(44, 95, 141, 0.75), rgba(44, 95, 141, 0.85)), url('../images/8-Picture8.jpg');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
  padding: 4rem 0;
}

.about > h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.mission-statement {
  text-align: center;
  margin-bottom: 4rem;
}

.lead {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 400;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-card {
  background: var(--cream-bg);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(44, 95, 141, 0.1);
}

.icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Values Section */
.values {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.values h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.values ul {
  list-style: none;
  padding: 0;
}

.values li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.values li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.values strong {
  color: var(--primary-color);
}

/* Learn More Section */
.learn-more-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.learn-more-page {
  padding: 4rem 0;
}

.learn-more-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
}

.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.content-with-image.reverse {
  direction: rtl;
}

.content-with-image.reverse > * {
  direction: ltr;
}

.text-content h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.text-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.image-placeholder {
  background: var(--cream-bg);
  border: 3px dashed var(--border-color);
  border-radius: 8px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
  font-size: 1.1rem;
  padding: 2rem;
  text-align: center;
}

.image-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Call to Action */
.call-to-action {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary-color), rgba(44, 95, 141, 0.9));
  color: white;
  border-radius: 12px;
  margin-top: 3rem;
}

.call-to-action h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.call-to-action p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

/* Footer */
footer {
  background: var(--cream-bg);
  padding: 2.5rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

footer p {
  margin: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-note {
  font-style: italic;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .about > h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.15rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .content-with-image {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-with-image.reverse {
    direction: ltr;
  }

  .image-placeholder {
    min-height: 250px;
  }

  .learn-more-section h2 {
    font-size: 1.8rem;
  }

  .text-content h3 {
    font-size: 1.4rem;
  }

  .call-to-action {
    padding: 2rem 1.5rem;
  }

  .call-to-action h3 {
    font-size: 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1rem;
  }
}
