﻿:root {
  --primary: #f26522;
  --primary-hover: #d44d0f;
  --secondary: #5e35b1;
  --secondary-light: #f3e5f5;
  --secondary-dark: #311b92;
  --text-color: #212121;
  --text-muted: #616161;
  --surface: #ffffff;
  --surface-alt: #f8f9fa;
  --surface-soft: #f7f4fc;
  --border-color: #e0e0e0;
  --success: #2e7d32;
  --error: #c62828;
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 16px 38px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 26px 54px rgba(17, 24, 39, 0.12);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-round: 999px;
  --transition-fast: 180ms ease;
  --transition-smooth: 280ms cubic-bezier(.2, .8, .2, 1);
  --max-width: 1200px;
  --header-height: 80px;
  --header-scroll-height: 70px;
  --section-space: clamp(5rem, 7.5vw, 7rem);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-scroll-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: linear-gradient(180deg, #ffffff 0%, #fdfcff 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-color);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

a:hover { color: var(--primary-hover); }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

main { position: relative; }


:focus-visible {
  outline: 3px solid #1f4fbf;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-area:focus-visible,
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.carousel-control:focus-visible,
.dot-btn:focus-visible,
.btn:focus-visible,
.volunteer-link:focus-visible,
.contact-link:focus-visible,
.map-link-btn a:focus-visible,
.back-to-top-btn:focus-visible {
  outline: 3px solid #1f4fbf;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(31, 79, 191, 0.18);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 1rem 1.25rem;
  background: var(--secondary);
  color: var(--surface);
  font-weight: 700;
  border-bottom-right-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 0; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.text-center { text-align: center; }

.divider {
  width: 60px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-round);
  background: rgba(94, 53, 177, 0.12);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.45rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
  box-shadow: 0 10px 24px rgba(242, 101, 34, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--surface);
  box-shadow: 0 14px 28px rgba(242, 101, 34, 0.24);
}

.btn-secondary {
  background-color: transparent;
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background-color: var(--surface);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
}

.w-100 { width: 100%; }

.card {
  background: var(--surface);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.sub-heading {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header .divider {
  margin-top: 1.1rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.main-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: height var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.main-header.scrolled {
  height: var(--header-scroll-height);
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
}

.header-container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: width var(--transition-fast), height var(--transition-fast);
}

.main-header.scrolled .logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--primary);
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.logo-text small {
  margin-top: 0.15rem;
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.nav-menu { display: none; }

.nav-list {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  color: var(--text-color);
  font-weight: 600;
  padding: 0.45rem 0;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hamburger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 999px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--border-color);
  transition: max-height 0.3s ease;
}

.mobile-nav.open { max-height: 320px; }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.mobile-nav-link {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  padding-left: 4px;
}

.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 3.25rem) 0 5.5rem;
  overflow: hidden;
  color: var(--surface);
  background: linear-gradient(135deg, var(--secondary-dark) 0%, #1a0b36 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.06) 0%, transparent 45%, rgba(242,101,34,0.08) 100%);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 80% 20%, rgba(242, 101, 34, 0.16) 0%, transparent 60%);
}

.hero-container {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-text-content {
  max-width: 640px;
}

.hero-text-content h1 {
  margin-bottom: 0.35rem;
  color: var(--surface);
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.tagline {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-family: var(--font-headings);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-desc {
  max-width: 660px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

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

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background-color: #000;
  border: 1px solid rgba(255,255,255,0.08);
}

.carousel-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.95);
}

.carousel-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
  color: var(--surface);
}

.carousel-caption h3 {
  margin-bottom: 0.4rem;
  color: var(--surface);
  font-size: 1.25rem;
}

.carousel-caption p {
  max-width: 540px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-round);
  background-color: rgba(0, 0, 0, 0.45);
  color: var(--surface);
  font-size: 1.35rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.carousel-control:hover {
  background-color: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

.carousel-dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.dot-btn {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width var(--transition-fast), background-color var(--transition-fast);
}

.dot-btn.active {
  width: 24px;
  border-radius: 999px;
  background-color: var(--primary);
}

.about-section,
.activities-section,
.events-section,
.contact-section {
  padding: var(--section-space) 0;
}

.about-section { background-color: var(--surface); }
.about-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.intro-card {
  margin-bottom: 1.5rem;
  padding: 1.8rem 1.7rem;
  border-left: 5px solid var(--primary);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-elevated) 100%);
}

.intro-card h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.intro-card p { margin-bottom: 0.7rem; color: var(--text-muted); text-align: justify;}

.about-facts-list {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.15rem;
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.mission-vision-grid {
  display: grid;
  gap: 1rem;
}

.mission-card,
.vision-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.6rem;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-elevated) 100%);
}

.mission-card::before,
.vision-card::before {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(242, 101, 34, 0.08);
  pointer-events: none;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.mission-card h3,
.vision-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  text-align: center;
}

.mission-card p,
.vision-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: justify;
}

.history-card { padding: 1.7rem; }
.history-card h3 { margin-bottom: 1.25rem; font-size: 1.35rem; }

.timeline {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding-left: 1.35rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  padding: 0.85rem 0 0.85rem 1rem;
  border: 1px solid rgba(94, 53, 177, 0.08);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.timeline-marker {
  position: absolute;
  left: -0.95rem;
  top: 1.15rem;
  width: 14px;
  height: 14px;
  border: 4px solid var(--primary);
  border-radius: 50%;
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.12);
}

.timeline-content h4 { font-size: 1rem; color: var(--primary); }
.timeline-content p { text-align: justify; color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.timeline-step {
  margin-bottom: 0.2rem;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ethics-section {
  margin-top: 3.5rem;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #faf7ff 0%, var(--surface-alt) 100%);
  border: 1px solid rgba(94, 53, 177, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.section-sub-title {
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.ethics-grid {
  display: grid;
  gap: 1.25rem;
}

.ethics-card {
  padding: 1.7rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(94, 53, 177, 0.08);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.ethics-card:hover {
  border-color: rgba(242, 101, 34, 0.18);
  box-shadow: var(--shadow-md);
}

.ethics-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  transition: transform 0.4s ease, filter 0.4s ease;
  margin-bottom: 1rem;
  border-radius: var(--radius-round);
}

.ethics-icon.red { background-color: #ffebee;}
.ethics-icon.blue { background-color: #e3f2fd; }
.ethics-icon.orange { background-color: #fff3e0; }
.ethics-icon.green { background-color: #e8f5e9; }

.ethics-card h4 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  text-align: center;
}

.ethics-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
}

.activities-section {
  background: linear-gradient(180deg, var(--surface-alt) 0%, #f4f1fb 100%);
}

.activities-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.activity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(94, 53, 177, 0.08);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.activity-card,
.impact-card,
.ethics-card,
.info-block-card,
.past-events-card,
.contact-card,
.contact-details-card,
.map-card {
  position: relative;
  isolation: isolate;
}
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.12);
  border-color: rgba(242, 101, 34, 0.2);
}

.activity-img-wrapper {
  position: relative;
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
  padding: 0.8rem 0.8rem 0;
  background: linear-gradient(135deg, rgba(248, 247, 252, 0.95), rgba(244, 241, 251, 0.95));
  border-bottom: 1px solid rgba(94, 53, 177, 0.08);
}

.activity-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.06) 100%);
  pointer-events: none;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  filter: saturate(0.92);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.activity-card:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

.activity-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.85rem 1.6rem 2.1rem;
}

.activity-content h3 {
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: 1.2rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.activity-card:hover .activity-content h3 { color: var(--primary); }

.activity-content p {
  /*margin-top: auto;*/
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
}

.impact-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}

.impact-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.impact-card {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 1.7rem;
  text-align: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--secondary-light) 100%);
  border: 1px solid rgba(94, 53, 177, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.impact-card h3 {
  max-width: 14rem;
  margin-inline: auto;
}
.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.08) 0%, transparent 60%);
}

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

.impact-number {
  position: relative;
  margin-bottom: 0.4rem;
  color: var(--secondary);
  font-family: var(--font-headings);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  min-height: 2.8rem;
}

.impact-number--text {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  color: var(--primary);
}

.impact-card h3 {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.5;
}

.events-section { background-color: var(--surface); }
.events-container-grid {
  display: grid;
  gap: 2.3rem;
}

.events-col {
  display: grid;
  gap: 1.75rem;
}

.event-status-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-top: 5px solid var(--primary);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.05);
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #fff3e0;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-status-card h3 { font-size: 1.55rem; margin-bottom: 1rem; }
.event-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.event-meta-info .p {text-align:justify;}

.meta-item {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.event-status-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  text-align: justify;
}

.info-block-card,
.past-events-card,
.contact-card,
.contact-details-card,
.map-card {
  padding: 1.9rem;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.styled-list {
  display: grid;
  gap: 0.7rem;
}

.styled-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.past-events-card h3,
.info-block-card h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }

.past-event-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.past-event-item:last-child { border-bottom: none; padding-bottom: 0; }
.past-event-item:first-of-type { padding-top: 0; }

.event-highlight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 0 1rem;
}

.event-photo-link {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.08), rgba(242, 101, 34, 0.12));
  border: 1px solid rgba(94, 53, 177, 0.12);
  width: clamp(76px, 11vw, 96px);
}

.event-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.event-photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
  display: block;
}

.event-photo-link:hover .event-photo-preview,
.event-photo-link:focus-visible .event-photo-preview {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
}

.event-photo-badge {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.76);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-card-body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.past-event-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.event-gallery-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.event-gallery-link:hover,
.event-gallery-link:focus-visible {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.event-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.event-lightbox.open {
  display: flex;
}

.event-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 21, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.event-lightbox__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: min(90vh, 860px);
  padding: 1rem 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.event-lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.08);
  color: var(--text-color);
  font-size: 1.3rem;
  cursor: pointer;
}

.event-lightbox__viewport {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.event-lightbox__nav {
  border: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.event-lightbox__image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 1rem;
  display: block;
  background: #f5f3ff;
}

.event-lightbox__caption {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.event-lightbox__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.8rem;
}

.event-lightbox__thumb {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.6rem;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.event-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-lightbox__thumb.active {
  border-color: var(--primary);
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 700px) {
  .event-highlight-card {
    grid-template-columns: 1fr;
    padding: 0.95rem 0 1.05rem;
  }

  .event-photo-link {
    width: 72px;
  }

  .event-lightbox__viewport {
    grid-template-columns: 1fr;
  }

  .event-lightbox__nav {
    display: none;
  }

  .event-lightbox__dialog {
    padding: 0.85rem;
  }
}

.past-date {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background-color: var(--surface-alt);
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
}

.past-event-header h4 { font-size: 1.05rem; color: var(--text-color); text-align: left; }
.past-event-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; text-align: justify; }

.contact-section { background: linear-gradient(180deg, var(--surface-alt) 0%, #f7f4fc 100%); }
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-card h3,
.contact-details-card h3,
.map-card h3 {
  margin-bottom: 1.35rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--secondary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.required { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.1);
  outline: none;
}

.error-message {
  display: block;
  margin-top: 0.25rem;
  color: var(--error);
  font-size: 0.8rem;
}

.form-success-banner {
  display: none;
  padding: 1rem 1.1rem;
  border: 1px solid #c8e6c9;
  border-radius: var(--radius-sm);
  background-color: #e8f5e9;
  color: var(--success);
  font-weight: 700;
  text-align: center;
}

.form-disclaimer {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.info-item {
  display: flex;
  gap: 0.95rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-item:last-child { padding-bottom: 0; border-bottom: none; }

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.12), rgba(94, 53, 177, 0.12));
  color: var(--primary);
  font-size: 1.35rem;
}

.info-item h4 {
  margin-bottom: 0.25rem;
  color: var(--text-color);
  font-size: 1rem;
}

.info-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-link {
  color: inherit;
  font-weight: 600;
}

.contact-link:hover { color: var(--primary); }

.volunteer-content { width: 100%; }
.volunteer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.volunteer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(242, 101, 34, 0.18);
  border-radius: var(--radius-round);
  background-color: var(--surface);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.volunteer-link:hover,
.volunteer-link:focus-visible {
  background-color: var(--primary);
  color: var(--surface);
  box-shadow: 0 10px 22px rgba(242, 101, 34, 0.16);
  transform: translateY(-2px);
}

.volunteer-highlight {
  padding: 1.15rem;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff6eb 0%, #ffe7d2 100%);
  box-shadow: 0 10px 24px rgba(242, 101, 34, 0.12);
}

.volunteer-highlight .info-icon { background-color: var(--surface); }

.map-card { margin-top: 0.5rem; }
.map-container {
  overflow: hidden;
  border: 1px solid rgba(94, 53, 177, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-inset);
}

.map-container iframe {
  display: block;
  transition: transform 0.35s ease;
}

.map-container:hover iframe {
  transform: scale(1.01);
}

.map-frame {
  display: block;
  border: 0;
  border-radius: 8px;
}

.map-link-btn a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
}

.map-link-btn a:hover { color: var(--primary); }

.site-footer {
  padding: 5rem 0 0;
  background: linear-gradient(135deg, #1a0b36 0%, #2b134d 100%);
  color: rgba(255,255,255,0.76);
  position: relative;
}

.footer-widget {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.25rem;
}

.footer-widget {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-widget h3 {
  position: relative;
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  color: var(--surface);
  font-size: 1.1rem;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-logo span {
  color: var(--surface);
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
}

.footer-tagline {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer-desc {
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-round);
  background-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.footer-links ul { display: grid; gap: 0.7rem; }
.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.footer-contact p { line-height: 1.7; font-size: 0.92rem; }
.footer-contact a { color: inherit; }
.footer-partner-link {
  color: var(--surface);
  font-weight: 700;
}
.footer-partner-link:hover { color: var(--primary); }

.footer-bottom {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.back-to-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--surface);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: var(--primary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

@media (min-width: 576px) {
  .hero-text-content h1 { font-size: 3.5rem; }
  .mission-vision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ethics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  :root { --header-height: 90px; }
  .activities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events-container-grid { grid-template-columns: 1.05fr 0.95fr; }
  .contact-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1.25fr 0.9fr 1.1fr; gap: 2rem; }
  .footer-bottom-flex { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 992px) {
  .hamburger-btn { display: none; }
  .nav-menu { display: block; }
  .mobile-nav { display: none; }
  .hero-container { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .hero-text-content { text-align: left; }
  .hero-cta-buttons { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .ethics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .activities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .impact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .impact-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .header-container {
    width: min(100% - 1rem, var(--max-width));
  }

  .hero-section {
    padding: calc(var(--header-height) + 1.5rem) 0 2.75rem;
  }

  .hero-container {
    gap: 2rem;
  }

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

  .tagline {
    font-size: 1rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-cta-buttons,
  .volunteer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-buttons .btn,
  .volunteer-actions .volunteer-link {
    width: 100%;
    justify-content: center;
  }

  .carousel-container {
    aspect-ratio: 4 / 5;
  }

  .carousel-caption {
    padding: 1.25rem 1rem 1rem;
  }

  .carousel-caption h3 {
    font-size: 1.05rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .about-section,
  .activities-section,
  .events-section,
  .contact-section,
  .impact-section {
    padding: 3.75rem 0;
  }

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

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

  .activity-content,
  .impact-card,
  .event-status-card,
  .info-block-card,
  .past-events-card,
  .contact-card,
  .contact-details-card,
  .map-card {
    padding: 1.15rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-bottom {
    padding: 1.2rem 0;
  }
}

@media (max-width: 320px) {
  .container,
  .header-container {
    width: min(100% - 1rem, var(--max-width));
  }

  .hero-section {
    padding: calc(var(--header-height) + 1.5rem) 0 2.5rem;
  }

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

  .tagline {
    font-size: 1rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-cta-buttons .btn,
  .volunteer-actions .volunteer-link {
    width: 100%;
    justify-content: center;
  }

  .carousel-container {
    aspect-ratio: 4 / 5;
  }

  .carousel-control {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

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

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

  .about-section,
  .activities-section,
  .events-section,
  .contact-section,
  .impact-section {
    padding: 3.5rem 0;
  }

  .activity-content,
  .impact-card,
  .event-status-card,
  .info-block-card,
  .past-events-card,
  .contact-card,
  .contact-details-card,
  .map-card {
    padding: 1.1rem;
  }
}

@media (min-width: 321px) and (max-width: 375px) {
  .hero-section {
    padding: calc(var(--header-height) + 1.75rem) 0 2.75rem;
  }

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

  .tagline {
    font-size: 1.05rem;
  }

  .carousel-container {
    aspect-ratio: 4 / 5;
  }

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

@media (min-width: 376px) and (max-width: 425px) {
  .container,
  .header-container {
    width: min(100% - 1.25rem, var(--max-width));
  }

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

  .hero-cta-buttons {
    gap: 0.8rem;
  }

  .carousel-container {
    aspect-ratio: 4 / 3;
  }

  .activity-content,
  .impact-card,
  .event-status-card,
  .contact-card,
  .contact-details-card,
  .map-card {
    padding: 1.25rem;
  }
}

@media (min-width: 426px) and (max-width: 768px) {
  .hero-container,
  .about-grid,
  .contact-grid {
    gap: 2rem;
  }

  .hero-section {
    padding: calc(var(--header-height) + 2.25rem) 0 3.25rem;
  }

  .hero-cta-buttons {
    gap: 0.9rem;
  }

  .activities-grid,
  .impact-grid,
  .ethics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-content,
  .impact-card,
  .event-status-card,
  .contact-card,
  .contact-details-card,
  .map-card {
    padding: 1.35rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-container {
    gap: 2.5rem;
  }

  .about-grid {
    gap: 2rem;
  }

  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .container,
  .header-container {
    width: min(100% - 2.5rem, var(--max-width));
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 3.25rem);
  }

  .hero-container {
    gap: 3rem;
  }
}

@media (min-width: 1441px) and (max-width: 1920px) {
  .container,
  .header-container {
    width: min(100% - 3rem, var(--max-width));
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 3.75rem);
  }

  .hero-container {
    gap: 3.5rem;
  }
}

@media (min-width: 1921px) {
  .container,
  .header-container {
    width: min(100% - 4rem, var(--max-width));
  }
}
