/* ===== CSS Custom Properties ===== */
:root {
  --green-dark: #4a7a1a;
  --green: #5a8a2a;
  --green-light: #7FB141;
  --green-pale: #e8f0dc;
  --red: #b33224;
  --red-dark: #8c2218;
  --cream: #faf8f5;
  --cream-dark: #f0ece6;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #999;
  --gray-600: #555;
  --gray-800: #333;
  --text: #3a3a3a;
  --text-light: #666;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1100px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-dark);
}

ul {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===== Header ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.header-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.header-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
}

.header-nav {
  display: none;
  gap: 8px;
}

.header-nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.header-nav a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  color: var(--text);
  transition: background var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--gray-100);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 20px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 500;
  transition: background var(--transition);
}

.mobile-nav a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gray-800);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Feature Cards ===== */
.features {
  padding: 60px 0;
  background: var(--white);
}

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

.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.feature-card-content {
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card ul li {
  font-size: 0.95rem;
  padding: 3px 0;
  padding-left: 18px;
  position: relative;
  opacity: 0.95;
}

.feature-card ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: bold;
}

/* ===== Program Details ===== */
.program {
  padding: 60px 0;
  background: var(--cream);
}

.program-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.program-section:last-child {
  margin-bottom: 0;
}

.program-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--green-light);
  display: inline-block;
}

.program-block ul li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.program-block ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
  font-size: 1.1rem;
}

.program-image-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.program-image-block img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.program-image-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* ===== Mission ===== */
.mission {
  padding: 60px 0;
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}

.mission blockquote {
  max-width: 750px;
  margin: 0 auto 24px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  opacity: 0.95;
}

.mission blockquote:last-child {
  margin-bottom: 0;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  opacity: 0.85;
}

.mission-divider {
  width: 60px;
  height: 3px;
  background: var(--green-light);
  margin: 0 auto 24px;
  border: none;
  border-radius: 2px;
}

/* ===== Photos ===== */
.photos {
  padding: 0;
  background: var(--cream);
}

.photos-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.photos-image-wrapper img {
  width: 100%;
  display: block;
}

.photos-link {
  text-align: center;
  padding: 28px 20px;
  background: var(--cream-dark);
}

.photos-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--green);
  padding: 10px 24px;
  border: 2px solid var(--green);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.photos-link a:hover {
  background: var(--green);
  color: var(--white);
}

.photos-link a svg {
  width: 18px;
  height: 18px;
}

/* ===== Contact ===== */
.contact {
  padding: 60px 0;
  background: var(--white);
}

.contact-inner {
  max-width: 620px;
  margin: 0 auto;
}

.contact h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.contact-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1rem;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(127, 177, 65, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-400);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  display: inline-block;
  padding: 14px 36px;
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-form button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.contact-form button:active {
  transform: translateY(0);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer p {
  max-width: 700px;
  margin: 0 auto;
}

.site-footer .footer-credits {
  margin-top: 12px;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ===== Responsive: Tablet (768px+) ===== */
@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero {
    min-height: 480px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    min-height: 300px;
  }

  .program-section {
    grid-template-columns: 1fr 1fr;
  }

  .program-image-row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

/* ===== Responsive: Desktop (1024px+) ===== */
@media (min-width: 1024px) {
  .hero {
    min-height: 520px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .section-padding {
    padding: 80px 0;
  }

  .features {
    padding: 80px 0;
  }

  .program {
    padding: 80px 0;
  }

  .mission {
    padding: 80px 0;
  }

  .contact {
    padding: 80px 0;
  }

  .feature-card {
    min-height: 340px;
    padding: 32px 28px;
  }
}
