/* homepage.css */

.home-page {
  padding-top: 80px;
  color: var(--text-color);
  font-family: var(--font-tertiary);
}

/* Hero Section */
.home-page .hero {
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 4rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-page .tagline {
  font-size: 1.75rem;
  font-weight: 600;
  font-family: var(--font-primary);
  color: var(--accent-color);
  margin-bottom: 1rem;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.5;
}

/* Pillar Section (Aspire, Access, Achieve) */
.home-page .pillar-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.home-page .pillar {
  flex: 1;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  color: var(--text-muted);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-page .pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.home-page .pillar h3 {
  font-family: var(--font-primary);
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.home-page .pillar ul {
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Button */
.home-page .btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}
.home-page .btn:hover {
  background-color: var(--accent-hover);
}

/* Community Section */
.home-page .community {
  margin-top: 3rem;
}

.home-page .community .community-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.home-page .community .community-icons li {
  background: var(--card-bg-grey);
  padding: 1.5rem;
  flex: 1 1 18%;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  list-style: none;
  color: #f1f5f9;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.home-page .community .community-icons li:hover {
  transform: translateY(-4px);
}

.home-page .community .community-icons img {
  max-width: 50px;
  margin-bottom: 0.75rem;
}

/* Testimonials Section */
.home-page .testimonials {
  background: var(--card-bg-grey);
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-top: 3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.home-page .testimonials h2 {
  text-align: center;
  font-family: var(--font-primary);
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.home-page .carousel {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.home-page .testimonial {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-page .testimonial p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Our Story */
.home-page .our-story blockquote {
  background-color: var(--card-bg-grey);
  padding: 1.75rem 2rem;
  border-left: 5px solid var(--accent-color);
  border-radius: 10px;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .home-page .pillar-container {
    flex-direction: column;
  }

  .home-page .pillar {
    width: 100%;
  }

  .home-page .community .community-icons {
    flex-direction: column;
    gap: 1rem;
  }

  .home-page .community .community-icons li {
    flex: 1 1 100%;
  }

  .home-page .carousel {
    padding-bottom: 2rem;
  }

  .home-page .testimonial {
    flex: 0 0 85%;
  }
}
