/* ============================================================
   Activities Page Styles
   Extracted from activities.ejs inline styles and unified
   into reusable component classes.

   Color Scheme:
     Primary:  #1a472a  (dark green)
     Dark:     #0d3319  (deeper green)
   ============================================================ */


/* ------------------------------------------------------------
   1. Intro Text
   Centered introductory paragraph beneath page headings.
   ------------------------------------------------------------ */

/* Page heading centered */
.content > h2 {
  text-align: center;
  color: #1a472a;
  margin-bottom: 12px;
}

.intro-text {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 48px;
  line-height: 1.8;
  text-align: center;
}


/* ------------------------------------------------------------
   2. Activities Grid
   Responsive auto-fit grid for activity cards.
   ------------------------------------------------------------ */

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}


/* ------------------------------------------------------------
   3. Activity Card
   White card with soft layered shadow and hover lift effect.
   ------------------------------------------------------------ */

.activity-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.06);
}


/* ------------------------------------------------------------
   4. Activity Card - Heading
   ------------------------------------------------------------ */

.activity-card h3 {
  color: #1a472a;
  margin: 0 0 12px;
  font-size: 1.3rem;
}


/* ------------------------------------------------------------
   5. Activity Card - Paragraph
   Uses flex-grow so the button stays at the card bottom.
   ------------------------------------------------------------ */

.activity-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}


/* ------------------------------------------------------------
   6. Icon Wrapper
   Circular gradient container for activity icons.
   ------------------------------------------------------------ */

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a472a 0%, #0d3319 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}


/* ------------------------------------------------------------
   7. Projects Section
   Wrapper and heading for the projects area below activities.
   ------------------------------------------------------------ */

.projects-section {
  margin-bottom: 48px;
}

.projects-section h2 {
  text-align: center;
  color: #1a472a;
  margin-bottom: 8px;
}


/* ------------------------------------------------------------
   8. Projects Grid
   Responsive auto-fit grid for project cards.
   ------------------------------------------------------------ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}


/* ------------------------------------------------------------
   9. Project Card
   Accented card with left border and subtle background gradient.
   ------------------------------------------------------------ */

.project-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid #1a472a;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateX(4px);
}


/* ------------------------------------------------------------
   10. Project Card - Heading
   ------------------------------------------------------------ */

.project-card h3 {
  color: #1a472a;
  margin-bottom: 12px;
}


/* ------------------------------------------------------------
   11. Status Badge
   Pill-shaped badge with color variants for project status.
   ------------------------------------------------------------ */

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.status-badge.in-progress {
  background: #1a472a;
  color: #fff;
}

.status-badge.planned {
  background: #ffc107;
  color: #333;
}


/* ------------------------------------------------------------
   12. Section Banner
   Full-width green gradient banner for section introductions.
   ------------------------------------------------------------ */

.section-banner {
  background: linear-gradient(135deg, #1a472a 0%, #0d3319 100%);
  color: #fff;
  padding: 48px;
  border-radius: 12px;
  margin-bottom: 48px;
  text-align: center;
}

.section-banner h3,
.section-banner p,
.section-banner i {
  color: #fff !important;
}


/* ------------------------------------------------------------
   13. Detail Card
   Informational card with left accent border and hover slide.
   ------------------------------------------------------------ */

.detail-card {
  background: #fff;
  border-left: 4px solid #1a472a;
  padding: 32px;
  margin-bottom: 24px;
  border-radius: 0 12px 12px 0;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateX(4px);
}


/* ------------------------------------------------------------
   14. CTA Section
   Call-to-action block with light background.
   ------------------------------------------------------------ */

.cta-section {
  background: #f0f4f0;
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}

.cta-section h3 {
  color: #1a472a;
  margin-bottom: 16px;
}

.cta-section p {
  color: #555;
  max-width: 600px;
  margin: 0 auto 24px;
}


/* ------------------------------------------------------------
   15. Section Divider
   Subtle horizontal rule with gradient fade.
   ------------------------------------------------------------ */

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #dee2e6, transparent);
  margin: 48px 0;
}


/* ------------------------------------------------------------
   16. Responsive - Tablet & Mobile (max-width: 768px)
   ------------------------------------------------------------ */

@media (max-width: 768px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    padding: 24px 16px;
  }

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

  .section-banner {
    padding: 32px 20px;
  }

  .cta-section {
    padding: 32px 20px;
  }
}
