/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", "Roboto",
    "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Color Variables */
:root {
  --primary-green: #2e8b57;
  --secondary-green: #3cb371;
  --light-green: #90ee90;
  --primary-blue: #1e90ff;
  --secondary-blue: #4169e1;
  --light-blue: #87ceeb;
  --dark-gray: #333;
  --medium-gray: #666;
  --light-gray: #f5f5f5;
  --white: #fff;
  --black: #000;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Mobile Navigation Bar - Hidden on Desktop */
.mobile-nav {
  display: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

.nav-logo h2 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin: 0;
  margin-left: 70px;
}

/* Nav Logo Small */
.nav-logo-small {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-logo-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: #fff;
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 139, 87, 0.3);
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 64px; /* ensure top rounded corners are visible under fixed navbar */
}

/* Subtle texture overlay */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
  opacity: 0.6;
}

/* Glass card within header */
.page-header .container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 24px 28px;
  backdrop-filter: blur(6px);
}

.page-header h1 {
  margin-bottom: 1rem;
  font-family: inherit;
  letter-spacing: 0.4px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.92;
}

/* Decorative underline for title */
.page-header h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.6));
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  color: var(--white);
  padding: 84px 0 60px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-family: "Inter", "Poppins", sans-serif;
  letter-spacing: 0.3px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.hero-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}
.section-header p {
  margin-top: 12px;
  color: #5f6b7a;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background: var(--light-gray);
}

.mission-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Mission layout: intro text left, stats right; concluding text full width */
.mission-content .mission-text:first-child {
  grid-column: 1 / 2;
}
.mission-content .mission-stats {
  grid-column: 2 / 3;
}
.mission-content .mission-text:last-child {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.mission-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat h3 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Programs Preview */
.programs-preview {
  padding: 80px 0;
}

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

.program-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.program-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.program-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.learn-more {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 1rem;
}

.learn-more:hover {
  text-decoration: underline;
}

/* Impact Section */
.impact {
  padding: 80px 0;
  background: var(--light-gray);
}

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

.impact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.impact-image {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.impact-image i {
  color: var(--white);
  font-size: 1.5rem;
}

.impact-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.location {
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-green);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
}

/* About Page Styles */
.our-story {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.story-content {
  display: block;
  /* About – Story card styling for better readability */
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-text h2 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.story-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
  border: 2px dashed var(--primary-green);
}

.image-placeholder i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Values Section */
.values {
  padding: 80px 0;
  background: var(--light-gray);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.value-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Team Section */
.team {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.team-slider {
  display: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  background: #f7fafc;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.member-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.member-image i {
  color: var(--primary-green);
  font-size: 4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--light-gray);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: static;
  display: block;
  z-index: 1;
}

.member-info {
  position: static;
  background: transparent;
  color: var(--dark-gray);
  padding: 1rem 1.25rem 1.25rem;
  text-align: left;
}

.team-member h3 {
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.position {
  color: #61707f;
  font-weight: 500;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Impact Numbers */
.impact-numbers {
  padding: 80px 0;
  background: var(--light-gray);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.number-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.number-card h3 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Programs Page Styles */
.page-header {
  padding: 100px 0 60px;
}

.page-header .section-header {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.page-header .section-header h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header .section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.programs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 0 1rem;
}

.program-nav-item {
  padding: 10px 20px;
  background: var(--white);
  color: var(--dark-gray);
  text-decoration: none;
  border-radius: 25px;
  border: 2px solid var(--primary-green);
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.program-nav-item:hover,
.program-nav-item.active {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.program-section {
  padding: 80px 0;
  position: relative;
}

.program-section:nth-child(even) {
  background: var(--light-gray);
}

.program-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.program-content.reverse {
  direction: rtl;
}

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

.program-text h2 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  line-height: 1.3;
}

.program-text h3 {
  color: var(--primary-blue);
  margin: 2rem 0 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.program-text ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.program-text ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.program-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.1rem;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Program imagery */
.program-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.program-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

/* Keep placeholder styles for programs without images */
.program-image .image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #e6fff2, #e6f2ff);
  color: var(--primary-blue);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-image .image-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.program-image .image-placeholder:hover::before {
  left: 100%;
}

.program-image .image-placeholder i {
  font-size: 2.25rem;
  color: var(--primary-green);
}

.program-image .image-placeholder p {
  margin-left: 0.75rem;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Hover elevation on desktop */
@media (hover: hover) and (pointer: fine) {
  .program-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  }
}

.stat h4 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Success Stories */
.success-stories {
  padding: 80px 0;
  background: var(--light-gray);
}

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

.story-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.story-image {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.story-image i {
  color: var(--white);
  font-size: 1.5rem;
}

.story-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Get Involved Page Styles */
.involvement-options {
  padding: 80px 0;
}

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

.option-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.option-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.option-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.option-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.option-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.option-card ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.option-card ul li {
  margin-bottom: 0.5rem;
}

/* Form Sections */
.form-section {
  padding: 80px 0;
}

.form-section:nth-child(even) {
  background: var(--light-gray);
}

.form-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-content.reverse {
  direction: rtl;
}

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

.form-text h2 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.form-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.volunteer-info,
.fundraiser-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.volunteer-info h3,
.fundraiser-info h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.volunteer-info ul,
.fundraiser-info ul {
  margin-left: 1.5rem;
}

.volunteer-info ul li,
.fundraiser-info ul li {
  margin-bottom: 0.5rem;
}

.form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3,
.donation-form h3 {
  color: var(--primary-green);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

.amount-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.amount-btn {
  padding: 8px 16px;
  border: 2px solid var(--primary-green);
  background: transparent;
  color: var(--primary-green);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--primary-green);
  color: var(--white);
}

/* Success message styling */
.success-message {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
  text-align: center;
}

.success-content i {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.success-content h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.success-content p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.success-actions .btn {
  min-width: 180px;
}

@media (max-width: 768px) {
  .success-actions {
    flex-direction: column;
    align-items: center;
  }

  .success-actions .btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Opportunities */
.opportunities {
  padding: 80px 0;
}

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

.opportunity-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.opportunity-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.location,
.duration {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.location i,
.duration i {
  margin-right: 0.5rem;
}

/* Contact Page Styles */
.contact-info {
  padding: 80px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.info-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.info-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: var(--light-gray);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.faq-item a {
  color: var(--primary-blue);
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* Map Section */
.map-section {
  padding: 80px 0;
}

.map-container {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  padding: 4rem;
  text-align: center;
  background: var(--light-gray);
}

.map-placeholder i {
  font-size: 4rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.map-placeholder h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Contact Simple Section */
.contact-simple {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-info-simple {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
}

.contact-card h3 {
  color: var(--primary-green);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.office-location {
  color: var(--primary-blue);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-row i {
  color: var(--primary-green);
  font-size: 1.2rem;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row span {
  color: var(--dark-gray);
  line-height: 1.5;
}

.contact-row a {
  color: var(--primary-blue);
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* Main Office */
.main-office {
  padding: 80px 0;
  background: var(--light-gray);
}

/* Office Locations */
.office-locations {
  padding: 80px 0;
  background: var(--light-gray);
}

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

.location-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-card h3 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.location-type {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.location-card p {
  margin-bottom: 0.5rem;
}

.location-card i {
  margin-right: 0.5rem;
  color: var(--primary-green);
}

/* Donate Page Styles */
.impact-message {
  padding: 80px 0;
  background: var(--light-gray);
}

.message-content h2 {
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 2rem;
}

.message-content p {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impact-item i {
  color: var(--primary-green);
  font-size: 1.5rem;
}

/* Donation Options */
.donation-options {
  padding: 80px 0;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.option-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
}

.option-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.option-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.option-card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Impact Examples */
.impact-examples {
  padding: 80px 0;
  background: var(--light-gray);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.example-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.example-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.example-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Transparency Section */
.transparency {
  padding: 80px 0;
}

.transparency-content h2 {
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 2rem;
}

.transparency-content p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.transparency-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.transparency-item i {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.transparency-item h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Responsive Design */
/* Tablet enhancements for About page */
@media (max-width: 1024px) {
  .story-content {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding: 1.5rem 1.75rem;
  }

  .team-member {
    height: 320px;
  }

  /* Programs page tablet improvements */
  .page-header {
    padding: 90px 0 50px;
  }

  .page-header .section-header h2 {
    font-size: 1.7rem;
  }

  .page-header .section-header p {
    font-size: 1.05rem;
  }

  .program-content {
    gap: 3rem;
    padding: 1.75rem;
  }

  .program-text h2 {
    font-size: 1.7rem;
  }

  .program-text h3 {
    font-size: 1.25rem;
  }

  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  /* Hero stacking + alignment */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .hero-image {
    order: 2;
  }
  .hero-content {
    order: 1;
  }

  /* Grids to single column on mobile */
  .programs-grid,
  .impact-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Mission: keep 2-column layout; intro text left, stats right; final text full width */
  .mission-content {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
  .mission-content .mission-text:first-child {
    grid-column: 1 / 2;
  }
  .mission-content .mission-stats {
    grid-column: 2 / 3;
  }
  .mission-content .mission-text:last-child {
    grid-column: 1 / -1;
  }

  /* Mission stats: 3 inline cards on mobile */
  .mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .mission-stats .stat {
    padding: 0.9rem;
  }
  .mission-stats .stat h3 {
    font-size: 1.4rem;
  }
  .mission-stats .stat p {
    font-size: 0.8rem;
  }

  /* Footer stacks vertically */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 72px 0 44px;
  }

  .page-header {
    padding: 80px 0 48px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-logo {
    max-height: 250px;
  }

  .btn {
    padding: 14px 22px;
    font-size: 1rem;
    max-width: 100%;
  }

  .program-card,
  .impact-card,
  .option-card,
  .story-card,
  .value-card,
  .team-member,
  .example-card,
  .transparency-item,
  .location-card,
  .faq-item {
    padding: 1.2rem;
  }

  .form-container {
    padding: 1.2rem;
  }

  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .mission-stats,
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat {
    padding: 1.5rem;
  }

  .stat h3,
  .stat h4 {
    font-size: 1.8rem;
  }

  .nav-logo h2 {
    font-size: 1.1rem;
  }

  .nav-container {
    padding: 0 15px;
  }

  .nav-logo-small {
    left: 15px;
  }

  .nav-logo h2 {
    margin-left: 50px;
  }

  .nav-logo-img {
    height: 30px;
  }

  /* Contact page mobile */
  .contact-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .contact-card h3 {
    font-size: 1.4rem;
  }

  .office-location {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .contact-list {
    gap: 1rem;
  }

  .contact-row {
    gap: 0.8rem;
  }

  .contact-row i {
    font-size: 1rem;
    width: 18px;
  }

  .contact-row span {
    font-size: 0.9rem;
  }
}

/* Employment Application fine-tuning */
.page-header + .form-section {
  padding-top: 60px;
}

#employment .form-content {
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 768px) {
  #employment .form-content {
    grid-template-columns: 1fr;
  }
}

/* Contact: two-column layout */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

/* Mobile polish – global improvements */
@media (max-width: 768px) {
  /* Base */
  body {
    line-height: 1.55;
  }
  .container {
    padding: 0 16px;
  }

  /* About – improve mobile layout */
  .story-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .image-placeholder {
    padding: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .team-member {
    height: 300px;
  }

  /* Typography */
  h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  p {
    font-size: 0.95rem;
  }

  /* Buttons */
  .btn {
    width: 100%;
    max-width: 360px;
    display: block;
    margin: 0 auto 12px;
    padding: 12px 16px;
  }

  /* Navbar */
  .nav-container {
    height: 64px;
    padding: 0 16px;
  }
  .nav-menu {
    padding: 1.25rem 0 2rem;
  }
  .nav-menu li {
    margin: 0.5rem 0;
  }
  .nav-link {
    padding: 8px 0;
    display: inline-block;
  }

  /* Hero */
  .hero {
    padding: 80px 0 48px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .hero-buttons {
    gap: 0.75rem;
  }
  .hero-logo {
    max-height: 180px;
    margin: 0 auto;
    display: block;
  }

  /* Section spacing */
  .mission,
  .programs-preview,
  .impact,
  .values,
  .team,
  .impact-numbers,
  .cta {
    padding: 40px 0;
  }
  .page-header {
    padding: 80px 0 48px;
  }

  /* Grids unify */
  .programs-grid,
  .impact-grid,
  .program-content,
  .values-grid,
  .stories-grid,
  .examples-grid,
  .transparency-grid,
  .locations-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Cards */
  .program-card,
  .impact-card,
  .program-content,
  .value-card,
  .story-card,
  .example-card,
  .transparency-item,
  .location-card,
  .number-card {
    padding: 1.25rem;
  }

  /* Program content tighter on mobile */
  .program-content {
    gap: 1.25rem;
    padding: 1.5rem;
    grid-template-columns: 1fr;
  }

  /* Programs navigation mobile */
  .programs-nav {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .program-nav-item {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Program text mobile */
  .program-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .program-text h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
  }

  /* Impact stats mobile */
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .stat h4 {
    font-size: 1.3rem;
  }

  /* Program image mobile */
  .program-image img {
    aspect-ratio: 3/2;
    margin-bottom: 1rem;
  }

  .program-image .image-placeholder {
    aspect-ratio: 3/2;
    margin-bottom: 1rem;
  }

  .program-image .image-placeholder i {
    font-size: 1.8rem;
  }

  .program-image .image-placeholder p {
    font-size: 1rem;
  }

  /* Success stories mobile */
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .story-card {
    padding: 1.5rem;
  }

  .story-card h3 {
    font-size: 1.2rem;
  }

  /* Programs page mobile spacing */
  .page-header {
    padding: 80px 0 40px;
  }

  .page-header .section-header {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .page-header .section-header h2 {
    font-size: 1.5rem;
  }

  .page-header .section-header p {
    font-size: 1rem;
  }

  .program-section {
    padding: 60px 0;
  }

  .success-stories {
    padding: 60px 0;
  }

  /* Program navigation mobile scroll */
  .programs-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .programs-nav::-webkit-scrollbar {
    height: 4px;
  }

  .programs-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
  }

  .programs-nav::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 2px;
  }

  /* Team */
  .team-grid {
    display: none;
  }
  .team-member {
    aspect-ratio: 4 / 5;
  }
  .member-info {
    padding: 0.85rem;
  }
  .team-member h3 {
    font-size: 1.1rem;
  }
  .position {
    font-size: 0.75rem;
  }

  /* Mobile slider for team */
  .team-slider {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 0 -1rem;
  }
  .team-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .team-slider .team-member {
    flex: 0 0 100%;
    min-height: 480px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
  }
  .team-slider .member-image {
    flex: 1;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .team-slider .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  .team-slider .member-image i {
    font-size: 6rem;
    color: var(--primary-green);
  }
  .team-slider .member-info {
    padding: 1rem;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .team-slider .member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
  }
  .team-slider .member-info .position {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.4;
  }

  /* Values */
  .value-card {
    padding: 1.25rem;
  }
  .value-icon {
    width: 48px;
    height: 48px;
  }

  /* Forms */
  .form-content {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .form-container {
    padding: 1rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Contact two-column */
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-card {
    padding: 1.25rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 70px 0 40px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .btn {
    max-width: 300px;
    padding: 10px 14px;
  }
  .hero-logo {
    max-height: 150px;
  }
  .team-member {
    aspect-ratio: 3 / 4;
  }
  .member-info {
    padding: 0.75rem;
  }
  .contact-card {
    padding: 1rem;
  }
  .mission,
  .programs-preview,
  .impact,
  .values,
  .team,
  .impact-numbers,
  .cta {
    padding: 32px 0;
  }
}

/* Enhanced Section Headers */
.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}
.section-header p {
  margin-top: 12px;
  color: #5f6b7a;
}

/* Gradient Primary Button */
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(1.05);
}

/* Secondary Button refinement */
.btn-secondary {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: #fff;
}

/* Card Accents */
.program-card,
.impact-card,
.value-card,
.story-card,
.example-card,
.transparency-item,
.location-card,
.number-card {
  position: relative;
}
.program-card::before,
.impact-card::before,
.value-card::before,
.story-card::before,
.example-card::before,
.transparency-item::before,
.location-card::before,
.number-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Hero Title subtle accent */
.hero .hero-content h1 {
  background-image: linear-gradient(135deg, #ffffff, #e8fff3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Long text wrapping to avoid cut words on phones */
.hero-content h1,
.hero-content p,
.page-header h1,
.section-header p {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
