/* --- 1. Variables & Core Setup --- */
:root {
  --primary-blue: #4a90e2;
  --success-green: #7ed321;
  --accent-yellow: #f8e71c;
  --text-dark: #2c3e50;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* --- 2. Brand Header & Hero --- */
header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--success-green) 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--success-green) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/*Mobile-First Styles for this section*/
  .btn-jcc-primary {
    background: #7ed321 !important;
    color: #000 !important;
    font-weight: 900 !important;
    padding: 20px 40px !important;
    border-radius: 0 !important; /* Sharp JCC edges */
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s ease;
    letter-spacing: 1px;
  }

  .btn-jcc-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    font-weight: 900 !important;
    padding: 20px 40px !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s ease;
  }

  .btn-jcc-primary:hover {
    background: #fff !important;
    transform: translateY(-3px);
  }

  .btn-jcc-outline:hover {
    border-color: #7ed321 !important;
    color: #7ed321 !important;
    transform: translateY(-3px);
  }

  /* Force vertical buttons on small phones */
  @media (max-width: 576px) {
    .btn-jcc-primary, .btn-jcc-outline {
      width: 100%;
      padding: 18px 20px !important;
    }
  }
  

/* --- 3. Grid & Cards --- */
.container {
  max-width: 80%;
  margin: 2rem auto;
  padding: 0 2rem;
}

h2 {
  color: var(--primary-blue);
  margin: 4rem 0 2rem;
  font-size: 2.2rem;
  text-align: center;
}

/* Involvement Cards */
.involvement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.involvement-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border-top: 5px solid var(--success-green);
}

.involvement-card:hover {
  transform: translateY(-10px);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--success-green));
  padding: 2.5rem;
  color: white;
  text-align: center;
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.card-content {
  padding: 2rem;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: bold;
}

.donation-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.donation-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #eee;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.donation-card:hover {
  transform: translateY(-5px);
  border-color: #7ed321;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.whatsapp-style {
  background-color: #25d366 !important;
  border-color: #25d366 !important;
}

.cta-button {
  display: inline-block;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 15px;
}


/* --- Impact Section Professional Styling --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.impact-card-pro {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid #eee;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.impact-card-pro:hover {
  transform: translateY(-12px);
  border-color: #7ed321;
  box-shadow: 0 20px 40px rgba(126, 211, 33, 0.15);
}

/* Icon Styling */
.impact-icon {
  font-size: 3rem;
  color: #7ed321;
  margin-bottom: 20px;
}

/* Value Styling */
.impact-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.impact-value small {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
}

.impact-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Call to Action Link */
.impact-link {
  text-decoration: none;
  color: #7ed321;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.impact-link:hover {
  color: #000;
}

/* Highlighted Medical Card like JCC */
.highlight-impact {
  background: #000;
  color: #fff;
}
.highlight-impact .impact-value, .highlight-impact .impact-text {
  color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr; /* Stacks cards on mobile */
  }
  .impact-card-pro {
    padding: 30px 20px;
  }
}


.volunteer-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 8px solid #7ed321; /* Signature Green */
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 20px; text-align: left; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #7ed321;
    color: #000 !important;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}


/* --- High-Impact Volunteer Grid Styles --- */
.volunteer-grid-section {
  background: #0f172a; /* Dark JCC-style background */
  color: #fff;
  overflow: hidden;
}

.volunteer-card {
  background: #1e293b;
  padding: 30px;
  border-radius: 0; /* Modern sharp edges */
  border-left: 6px solid #7ed321; /* Brand Green Accent */
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Hover Effect for Desktop */
@media (min-width: 992px) {
  .volunteer-card:hover {
    background: #334155;
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  }
}

.card-icon {
  font-size: 2.8rem;
  color: #7ed321;
  margin-bottom: 15px;
}

.volunteer-card h4 {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.badge-tag {
  display: inline-block;
  background: rgba(126, 211, 33, 0.15);
  color: #7ed321;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 15px;
  width: fit-content;
}

.volunteer-btn {
  background: #7ed321;
  color: #000 !important;
  padding: 20px 45px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
  border-radius: 0;
  transition: 0.3s;
}

/* --- MOBILE RESPONSIVENESS (Media Queries) --- */

/* For Tablets and Small Desktops */
@media (max-width: 991px) {
  .volunteer-card {
    padding: 20px;
  }
  .card-icon {
    font-size: 2.2rem;
  }
}

/* For Mobile Phones (Under 768px) */
@media (max-width: 768px) {
  .volunteer-grid-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .volunteer-card {
    border-left-width: 8px; /* Thicker accent for mobile visibility */
    margin-bottom: 10px;
  }

  .volunteer-btn {
    width: 100%; /* Full width button for easy thumb tapping */
    justify-content: center;
    font-size: 1rem;
    padding: 18px 20px;
  }

  h2 {
    font-size: 1.8rem !important; /* Scale down title for small screens */
  }
}

/* Specific Fix for very small phones */
@media (max-width: 480px) {
  .volunteer-card h4 {
    font-size: 1.1rem;
  }
  .badge-tag {
    font-size: 0.65rem;
  }
}


/* --- Support Section Styling --- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.support-card {
  background:  #000;
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid #eee;
  text-decoration: none !important;
  color: #fff !important;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-bottom: 5px solid #7ed321;
}

.support-card:hover {
  transform: translateY(-10px);
  border-color: #7ed321;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.highlight-card {
  background: #000;
  color: #fff !important;
  border-bottom: 5px solid #7ed321;
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.support-icon {
  font-size: 2.5rem;
  color: #7ed321;
  margin-bottom: 15px;
}

.support-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.support-btn {
  margin-top: 15px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #7ed321;
  letter-spacing: 1px;
}

.text-link {
  color: #7ed321;
  text-decoration: none;
  font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
}


/* Footer Container */
.site-footer {
    background-color: #f8f9fa; /* Light grey or choose your brand color */
    color: #333;
    width: 100%;
}

/* The Grid System */
.footer-grid {
    display: grid;
    /* This creates 4 columns on desktop and 1 on mobile automatically */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center; /* Centers all text content */
    justify-content: center;
}

/* Titles */
.footer-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #004a99; /* Example brand blue */
}

/* Links List Cleanup */
.footer-links {
    list-style: none;
    padding: 0; /* Critical: removes default indent */
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #004a99;
    text-decoration: underline;
}

/* Social Icons */
.footer-social i {
    font-size: 1.5rem;
    color: #004a99;
    transition: transform 0.2s;
}

.footer-social a:hover i {
    transform: scale(1.2);
}

/* Contact text alignment */
.contact-info p {
    margin-bottom: 5px;
}


/* Responsive */
@media (max-width: 1200px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}
