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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #4A5568;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --primary: #1B7A43;
  --primary-dark: #145C33;
  --primary-light: #E8F5EE;
  --secondary: #2D3748;
  --text-body: #4A5568;
  --text-muted: #718096;
  --bg-alt: #F7FAF8;
  --border: #E2E8E0;
  --white: #fff;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-nav: 0 2px 12px rgba(0,0,0,0.06);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-nav);
  height: 64px;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li > a,
.nav-links > li > .dropdown-toggle {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--secondary);
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-links > li > a:hover,
.nav-links > li > .dropdown-toggle:hover,
.nav-links > li > a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links > li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-links > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--secondary);
  transition: all 0.2s;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--secondary);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-full {
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
}

.hero-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: all 0.2s;
}

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

/* Hero bottom pills */
.hero-pills {
  position: absolute;
  bottom: 80px;
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.hero-pill:hover {
  background: #fff;
  color: var(--secondary);
}

.hero-pill svg {
  width: 16px; height: 16px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 1.5s infinite ease-in-out;
}

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

.scroll-indicator svg {
  width: 24px; height: 24px;
  color: rgba(255,255,255,0.7);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-body);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col .image-wrap {
  border-radius: 12px;
  overflow: hidden;
}

.two-col .image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: scale(1.01);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 20px;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.tag-education { background: #DBEAFE; color: #1D4ED8; }
.tag-community { background: #D1FAE5; color: #047857; }
.tag-environment { background: #DCFCE7; color: #15803D; }
.tag-sports { background: #FED7AA; color: #C2410C; }
.tag-video { background: var(--primary-light); color: var(--primary); }

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card:hover .card-title {
  color: var(--primary);
}

.card-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.card-link svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}

.card:hover .card-link svg {
  transform: translateX(3px);
}

.card-social {
  display: flex;
  gap: 10px;
}

.card-social a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.card-social svg {
  width: 16px; height: 16px;
}

/* ===== MEDIA/EVENT CARDS ===== */
.media-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.media-card {
  position: relative;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3) 50%, transparent);
  z-index: 1;
}

.media-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  color: #fff;
}

.media-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.media-card-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.media-card-content span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.media-card-content svg {
  width: 16px; height: 16px;
}

/* ===== VIDEO CARD ===== */
.video-card .video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.video-card .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: all 0.3s;
}

.video-card .video-thumb:hover img {
  opacity: 0.5;
  transform: scale(1.03);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}

.play-btn svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-left: 3px;
}

.video-card .video-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.video-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
}

/* ===== PILLAR NAV ===== */
.pillar-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 64px;
  z-index: 100;
}

.pillar-nav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pillar-nav .container::-webkit-scrollbar { display: none; }

.pillar-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pillar-tab:hover {
  background: var(--primary-light);
}

.pillar-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pillar-tab svg {
  width: 16px; height: 16px;
}

/* ===== FOUR PILLARS (About) ===== */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
  cursor: pointer;
}

.pillar-card:hover {
  box-shadow: var(--shadow-card-hover);
  background: var(--primary-light);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.pillar-card:hover .pillar-icon {
  background: var(--primary);
}

.pillar-icon svg {
  width: 28px; height: 28px;
  color: var(--primary);
  transition: color 0.3s;
}

.pillar-card:hover .pillar-icon svg {
  color: #fff;
}

.pillar-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
}

/* ===== FOCUS GRID (2x2) ===== */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.focus-card {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 48px;
  transition: all 0.3s;
}

.focus-card:hover {
  background: #fff;
  box-shadow: var(--shadow-card-hover);
}

.focus-card .focus-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 16px;
}

.focus-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.focus-card p {
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.7;
}

.focus-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}

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

.focus-link svg {
  width: 16px; height: 16px;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--secondary);
  transition: all 0.2s;
  background: #fff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 122, 67, 0.1);
}

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

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-checkbox-wrap label {
  font-size: 14px;
  color: var(--text-body);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

.success-msg {
  text-align: center;
  padding: 48px 24px;
  background: var(--primary-light);
  border-radius: 12px;
}

.success-msg h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.success-msg p {
  color: var(--text-body);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0,0,0,0.4);
}

.gallery-item p {
  padding: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.gallery-item:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  color: #fff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a,
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-menu .sub-item {
  padding-left: 32px;
  font-size: 14px;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .focus-grid { grid-template-columns: 1fr; }
  .two-col { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  
  .two-col { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .media-cards { grid-template-columns: 1fr; }
  .pillars-row { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .section { padding: 60px 0; }
  .hero { min-height: 350px; }
  .hero-full { min-height: 100vh; }
  
  .pillar-nav { top: 64px; }
}

@media (max-width: 480px) {
  .pillars-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .focus-card { padding: 32px 24px; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
