@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================
   CSS VARIABLES & GLOBAL SETTINGS
   ========================================== */
:root {
  --primary-color: hsl(145, 63%, 24%);      /* Deep Forest Green */
  --primary-light: hsl(145, 63%, 34%);
  --secondary-color: hsl(152, 76%, 37%);    /* Vibrant Emerald */
  --secondary-light: hsl(152, 76%, 45%);
  --accent-color: hsl(38, 95%, 50%);         /* Warm Gold/Amber */
  --accent-hover: hsl(38, 95%, 43%);
  --text-dark: hsl(210, 24%, 16%);          /* Charcoal */
  --text-light: hsl(210, 15%, 45%);         /* Muted grey */
  --bg-cream: hsl(40, 20%, 97%);            /* Off-white background */
  --bg-white: hsl(0, 0%, 100%);
  --border-color: hsl(210, 15%, 88%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
  
  --border-radius: 12px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
}

/* ==========================================
   RESET & SYSTEM BASICS
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================
   UTILITY CLASSES & LAYOUT SYSTEM
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFadeIn 0.8s var(--transition-normal) forwards;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 10px hsla(145, 63%, 24%, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px hsla(145, 63%, 24%, 0.3);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-dark);
  box-shadow: 0 4px 10px hsla(38, 95%, 50%, 0.2);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px hsla(38, 95%, 50%, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.badge {
  background-color: hsla(152, 76%, 37%, 0.1);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

/* ==========================================
   STUDENT BADGE & HEADER & NAV SYSTEM
   ========================================== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--bg-cream);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 3px solid var(--accent-color);
  font-weight: 500;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.student-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.student-badge-icon {
  background: var(--accent-color);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-text span {
  color: var(--secondary-color);
}

.nav-menu ul {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition-normal);
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--secondary-color);
  font-weight: 600;
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  z-index: 1100;
}

.nav-toggle-label span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ==========================================
   HERO / BANNER SECTION
   ========================================== */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(15, 30, 20, 0.75), rgba(15, 30, 20, 0.8)), url('images/hero-bg.png') no-repeat center center/cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  padding: 100px 0;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFadeIn 1s var(--transition-normal) forwards;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: hsl(40, 20%, 90%);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.hero-actions .btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

/* ==========================================
   FOCUS AREAS / STATS SECTION
   ========================================== */
.intro-section {
  background-color: var(--bg-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-img-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--accent-color);
  border-radius: calc(var(--border-radius) - 8px);
  pointer-events: none;
}

.intro-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.intro-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.focus-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border-top: 4px solid var(--primary-color);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-color);
}

.focus-icon-box {
  width: 70px;
  height: 70px;
  background-color: hsla(145, 63%, 24%, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.focus-card:hover .focus-icon-box {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.focus-icon-box svg {
  width: 32px;
  height: 32px;
}

.focus-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.focus-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ==========================================
   ACHIEVEMENT STATS BANNER
   ========================================== */
.stats-banner {
  background: linear-gradient(rgba(15, 30, 20, 0.9), rgba(15, 30, 20, 0.9)), url('images/hero-bg.png') no-repeat center center/cover;
  color: var(--bg-white);
  padding: 60px 0;
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  animation: float 4s ease-in-out infinite;
}

.stat-item:nth-child(2) { animation-delay: 1s; }
.stat-item:nth-child(3) { animation-delay: 2s; }
.stat-item:nth-child(4) { animation-delay: 3s; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-cream);
}

/* ==========================================
   PROJECTS GRID SYSTEM (FOR HOME & PAGE)
   ========================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.project-img-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.project-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-meta svg {
  width: 14px;
  height: 14px;
  color: var(--secondary-color);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.project-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  background-color: hsl(40, 20%, 94%);
}

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

.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  color: hsla(152, 76%, 37%, 0.1);
}

.testimonial-content {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-size: 1rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar-placeholder {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================
   SPONSORS / PARTNERS SCROLL SYSTEM
   ========================================== */
.partners-section {
  background-color: var(--bg-white);
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.partners-slider {
  display: flex;
  width: 200%;
  animation: scrollText 20s linear infinite;
}

.partners-slider:hover {
  animation-play-state: paused;
}

.partner-logo-container {
  display: flex;
  justify-content: space-around;
  width: 50%;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--text-light);
  transition: var(--transition-fast);
}

.partner-logo:hover {
  opacity: 1;
  color: var(--primary-color);
}

.partner-logo svg {
  width: 28px;
  height: 28px;
  color: var(--secondary-color);
}

/* ==========================================
   ABOUT US PAGE LAYOUTS
   ========================================== */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0 auto;
  padding: 20px 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 22px;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border: 4px solid var(--bg-white);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -10px;
}

.timeline-panel {
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--secondary-color);
}

.timeline-year {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
  display: block;
}

.timeline-panel h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-panel p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Vision / Mission / Values CSS */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.about-box {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--secondary-color);
}

.about-box h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.value-card {
  background-color: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.value-card svg {
  width: 44px;
  height: 44px;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Team Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-img-box {
  height: 280px;
  overflow: hidden;
}

.team-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-details {
  padding: 24px;
}

.team-details h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-color);
}

.team-details span {
  display: block;
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-details p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ==========================================
   GALLERY PAGE GRID
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFadeIn 0.8s var(--transition-normal) forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.4s; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(15, 30, 20, 0.9), rgba(15, 30, 20, 0.3));
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.gallery-overlay span {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================
   VOLUNTEER & FORM SYSTEMS
   ========================================== */
.form-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.form-info-column {
  animation: slideUpFadeIn 0.8s var(--transition-normal) forwards;
}

.form-info-column h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.form-info-column p {
  color: var(--text-light);
  line-height: 1.7;
  word-wrap: break-word;
}

.form-card-wrapper {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: slideUpFadeIn 0.8s var(--transition-normal) 0.15s forwards;
}

.form-card-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.styled-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.styled-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="tel"],
.styled-form input[type="number"],
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px hsla(152, 76%, 37%, 0.15);
}

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

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 5px;
}

.checkbox-option-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.checkbox-option-label span {
  font-weight: 400;
  line-height: 1.4;
}

.checkbox-option-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.donation-options input[type="radio"] {
  display: none;
}

.donation-amount-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.donation-options input[type="radio"]:checked + .donation-amount-btn {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.donation-amount-btn:hover {
  border-color: var(--secondary-color);
  background-color: hsla(152, 76%, 37%, 0.05);
}

#custom-amount-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-bottom 0.4s ease;
}

body:has(#amount-custom:checked) #custom-amount-wrapper {
  max-height: 100px;
  opacity: 1;
  margin-bottom: 20px;
}

.payment-method-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.payment-radio-label span {
  font-weight: 500;
}

.payment-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
  cursor: pointer;
}

.payment-radio-label:has(input[type="radio"]:checked) {
  border-color: var(--secondary-color);
  background-color: hsla(152, 76%, 37%, 0.03);
}

.payment-radio-label:hover {
  border-color: var(--secondary-color);
}

.btn-block {
  width: 100%;
}

/* ==========================================
   DONATE PAGE TABLES & FORMS
   ========================================== */
.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin: 30px 0;
  border: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  text-align: left;
  min-width: 600px;
}

.data-table th {
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-weight: 600;
  padding: 18px 24px;
  font-size: 0.95rem;
}

.data-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 0.95rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) {
  background-color: hsl(40, 20%, 95%);
}

.data-table tr:hover {
  background-color: hsla(152, 76%, 37%, 0.05);
}

.donation-chip-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 24px;
}

.donation-chip-group input[type="radio"] {
  display: none;
}

.donation-chip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--primary-color);
}

.donation-chip-group input[type="radio"]:checked + .donation-chip-label {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.donation-chip-label:hover {
  border-color: var(--secondary-color);
  background-color: hsla(152, 76%, 37%, 0.05);
}

/* ==========================================
   CONTACT PAGE GRID & MAP
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.contact-icon-box {
  width: 54px;
  height: 54px;
  background-color: hsla(145, 63%, 24%, 0.08);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
}

.contact-card-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-card-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-map-wrapper {
  margin-top: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-map-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.main-footer {
  background-color: hsl(210, 24%, 12%);
  color: var(--bg-cream);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--bg-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-col p {
  font-size: 0.9rem;
  color: hsl(210, 15%, 75%);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: hsl(210, 15%, 75%);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-cream);
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--accent-color);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
}

.footer-newsletter-form input {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  flex-grow: 1;
  font-size: 0.9rem;
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  font-size: 0.85rem;
  color: hsl(210, 15%, 60%);
}

.footer-bottom p {
  margin-bottom: 6px;
}

/* ==========================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .top-bar {
    font-size: 0.8rem;
    text-align: center;
  }
  
  .top-bar-container {
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }
  
  /* Mobile Navigation Checkbox Toggle Hack */
  .nav-toggle-label {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 999;
    border-bottom: 4px solid var(--secondary-color);
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
  }
  
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  
  .nav-toggle-checkbox:checked ~ .nav-menu {
    max-height: 380px;
  }
  
  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }
  
  .intro-grid,
  .about-mission-grid,
  .contact-grid,
  .form-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .styled-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .form-card-wrapper {
    padding: 24px;
  }
  
  /* Timeline Responsive */
  .history-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-badge {
    left: 10px !important;
    right: auto !important;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .donation-options {
    grid-template-columns: repeat(3, 1fr);
  }
}
.no-scroll {
  overflow: hidden;
  position: relative;
}
body.no-scroll::before{
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}
@media screen and (max-width: 666px) {
  .contact-details-grid{
    display: flex !important;
    flex-direction: column !important;
  }
}
.contact-details-grid>div{
  word-break: break-word;  
  overflow-wrap: anywhere;  
  white-space: normal;      
}
