/* ============================================================
   NdiJob Global · Asonye Realest Group
   Main Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --green-deep:    #0f2d1c;
  --green-primary: #1a5c38;
  --green-mid:     #246b44;
  --green-light:   #2d8a57;
  --green-pale:    #e8f5ee;
  --gold:          #c99718;
  --gold-light:    #e8b82a;
  --gold-pale:     #fdf5e0;
  --terra:         #b85c3a;
  --cream:         #f7f3ec;
  --white:         #ffffff;
  --dark:          #111111;
  --ink:           #2d2d2d;
  --mid:           #555555;
  --muted:         #888888;
  --border:        #e5e0d8;
  --light:         #f0ece5;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow:    0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 22px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 28, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.logo-ndijob  { color: #ffffff; }
.logo-global  { color: var(--gold-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.1); }
.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--green-deep) !important;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 50px;
}
.nav-links a.nav-cta:hover { background: var(--gold-light); }

/* Logo image */
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Footer logo image */
.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
}

/* Embedded event videos */
.event-video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--green-deep);
}
.event-featured .event-video { height: 280px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,151,24,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--green-primary);
  color: var(--green-primary);
  font-size: 0.9rem;
  padding: 11px 28px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-block;
  margin-top: 16px;
}
.btn-outline-dark:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-2px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    var(--green-deep) 0%,
    #1a5c38 45%,
    #0d2215 100%);
}

/* Decorative radial glows */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(201,151,24,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(45,138,87,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 80%, rgba(184,92,58,0.12) 0%, transparent 60%);
}

/* Subtle geometric pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect x='0' y='0' width='40' height='40' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3Crect x='40' y='40' width='40' height='40' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3Ccircle cx='40' cy='40' r='15' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E");
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  padding: 100px 28px 60px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero-title {
  margin-bottom: 28px;
}
.hero-name {
  display: block;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.hero-aka {
  display: block;
  font-size: clamp(1rem, 2.8vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-top: 10px;
}

.hero-tagline {
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 620px;
  margin-inline: auto;
}
.hero-tagline em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 600;
}

.hero-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pillar-icon {
  font-size: 1.4rem;
  color: var(--gold-light);
  line-height: 1;
}
.pillar-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: lineFlow 2s ease-in-out infinite;
}
@keyframes lineFlow {
  0%,100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
}

/* ============================================================
   SECTION FOUNDATION
   ============================================================ */
.section { padding: 96px 0; }
.section-tinted { background: var(--cream); }
.section-dark    { background: var(--green-deep); }

.section-intro { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 12px;
}
.gold-text  { color: var(--gold-light) !important; }
.white-text { color: #ffffff; }
.white-sub  { color: rgba(255,255,255,0.6) !important; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--green-deep);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Scroll fade-in */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: #ffffff; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.lead-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.75;
  margin-bottom: 22px;
}
.about-story p {
  color: var(--mid);
  margin-bottom: 18px;
  line-height: 1.9;
  font-size: 0.97rem;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}
.stat-item span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.value-tile {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.value-tile:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.value-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-icon-wrap svg { width: 22px; height: 22px; }
.value-icon-wrap.gold  { background: var(--gold-pale);  color: var(--gold);          }
.value-icon-wrap.green { background: var(--green-pale); color: var(--green-primary); }
.value-icon-wrap.terra { background: #fdf0eb;           color: var(--terra);         }
.value-icon-wrap.blue  { background: #ebf4ff;           color: #2b6cb0;              }

.value-tile h3 { font-size: 1.05rem; color: var(--green-deep); margin-bottom: 8px; }
.value-tile p  { font-size: 0.88rem; color: var(--mid); line-height: 1.75; }

/* ============================================================
   MILESTONES / TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 48px;
}
.timeline-track {
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,151,24,0.1));
}
.timeline-item {
  position: relative;
  margin-bottom: 52px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -43px;
  top: 14px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--green-deep);
  box-shadow: 0 0 0 5px rgba(201,151,24,0.25);
}
.future-dot {
  background: var(--green-light);
  box-shadow: 0 0 0 5px rgba(45,138,87,0.2);
}
.timeline-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.timeline-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,151,24,0.3);
}
.future-card {
  border-style: dashed;
  border-color: rgba(255,255,255,0.15);
}
.tl-date {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.timeline-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.timeline-card p  { color: rgba(255,255,255,0.68); font-size: 0.93rem; line-height: 1.85; margin-bottom: 16px; }
.tl-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.tl-badge.founding      { background: rgba(201,151,24,0.2);  color: var(--gold-light); }
.tl-badge.homecoming    { background: rgba(45,138,87,0.25);  color: #7ae0aa; }
.tl-badge.badge-upcoming{ background: rgba(232,184,42,0.25); color: var(--gold-light); border: 1px solid rgba(232,184,42,0.4); }
.tl-badge.future-badge  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }

/* Upcoming homecoming dot */
.dot-upcoming {
  background: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(232,184,42,0.3), 0 0 16px rgba(232,184,42,0.4);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 5px rgba(232,184,42,0.3), 0 0 16px rgba(232,184,42,0.4); }
  50%      { box-shadow: 0 0 0 9px rgba(232,184,42,0.15), 0 0 24px rgba(232,184,42,0.25); }
}

/* Upcoming homecoming card */
.card-upcoming {
  border-color: rgba(232,184,42,0.35) !important;
  background: rgba(232,184,42,0.07) !important;
}

/* Venue line inside timeline card */
.tl-venue {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  font-style: italic;
}
.tl-venue svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold-light); }

/* ============================================================
   EVENTS
   ============================================================ */
#events { background: #ffffff; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.event-featured { grid-column: span 2; }

.event-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.event-featured { box-shadow: var(--shadow); }

.event-media { flex-shrink: 0; }
.event-thumb {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.event-featured .event-thumb { height: 280px; }

.thumb-homecoming {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,151,24,0.25) 0%, transparent 60%),
    linear-gradient(140deg, var(--green-deep) 0%, var(--green-primary) 60%, #112b1b 100%);
}
.thumb-founding {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(184,92,58,0.25) 0%, transparent 60%),
    linear-gradient(140deg, #2b1a0f 0%, #7a3520 60%, var(--green-deep) 100%);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-label {
  position: absolute;
  bottom: 14px;
  left: 18px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  color: #fff;
}
.play-circle svg { width: 20px; height: 20px; margin-left: 3px; }
.play-circle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(201,151,24,0.4);
}

.event-info { padding: 22px 26px; flex: 1; }
.event-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-primary);
  background: var(--green-pale);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.event-info h3 { font-size: 1.08rem; color: var(--green-deep); margin-bottom: 8px; line-height: 1.4; }
.event-info p  { font-size: 0.85rem; color: var(--mid); line-height: 1.7; margin-bottom: 12px; }
.event-meta    { font-size: 0.75rem; color: var(--muted); }

/* Add Event Placeholder */
.event-add {
  background: var(--light);
  border: 2px dashed var(--border);
  box-shadow: none;
}
.event-add:hover { transform: none; box-shadow: none; }
.event-add-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  gap: 8px;
  color: var(--muted);
}
.add-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.add-circle svg { width: 22px; height: 22px; }
.event-add-body p    { font-weight: 600; font-size: 0.9rem; color: var(--mid); }
.event-add-body span { font-size: 0.78rem; }

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; }

.modal-box {
  background: var(--green-deep);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 720px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  padding: 8px;
  line-height: 1;
  transition: var(--transition);
}
.modal-close:hover { color: #fff; }
.modal-title { font-size: 1.4rem; color: #fff; margin-bottom: 6px; }
.modal-date  { font-size: 0.8rem; color: var(--gold-light); letter-spacing: 1px; margin-bottom: 22px; }
.modal-video-area {
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.4);
  padding: 40px;
  text-align: center;
}
.video-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.video-placeholder p { font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-cell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.cell-tall { grid-row: span 2; }
.cell-wide { grid-column: span 2; }

.gallery-img {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.gallery-cell:hover .gallery-img { transform: scale(1.07); }

.gimg-1 { background: linear-gradient(145deg, #0f2d1c 0%, #1a5c38 50%, #2d8a57 100%); }
.gimg-2 { background: linear-gradient(145deg, #7a3a10 0%, #c9991a 100%); }
.gimg-3 { background: linear-gradient(145deg, #6b2020 0%, #b85c3a 100%); }
.gimg-4 { background: linear-gradient(145deg, #1a3252 0%, #2b6cb0 60%, #4299e1 100%); }
.gimg-5 { background: linear-gradient(145deg, #2d1654 0%, #6b46c1 100%); }
.gimg-6 { background: linear-gradient(145deg, #1a4040 0%, #2c7a7b 100%); }
.gimg-7 { background: linear-gradient(145deg, #3a2010 0%, #8b5e3c 100%); }

.gallery-caption {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 18px;
  transition: var(--transition);
}
.gallery-cell:hover .gallery-caption {
  background: rgba(0,0,0,0.5);
}
.gallery-caption svg { width: 16px; height: 16px; color: transparent; flex-shrink: 0; transition: var(--transition); }
.gallery-caption span { color: transparent; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.gallery-cell:hover .gallery-caption svg,
.gallery-cell:hover .gallery-caption span { color: #fff; }

/* Upload placeholder */
.gallery-upload {
  background: var(--light);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.upload-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}
.upload-body svg { width: 28px; height: 28px; margin-bottom: 4px; }
.upload-body p    { font-size: 0.82rem; font-weight: 600; color: var(--mid); }
.upload-body span { font-size: 0.72rem; }

/* Photo Modal */
.photo-modal-box {
  background: var(--dark);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.photo-modal-img {
  width: 100%;
  height: 400px;
}
.photo-modal-info { padding: 20px 28px 24px; }
.photo-modal-info h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.photo-modal-info p  { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ============================================================
   ACTIVITIES
   ============================================================ */
#activities { background: #ffffff; }

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.activity-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.activity-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  background: #fff;
}
.activity-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--green-primary);
  transition: var(--transition);
}
.activity-card:hover .activity-icon-wrap {
  background: var(--green-primary);
  color: #fff;
}
.activity-icon-wrap svg { width: 24px; height: 24px; }
.activity-card h3 { font-size: 1.05rem; color: var(--green-deep); margin-bottom: 10px; }
.activity-card p  { font-size: 0.88rem; color: var(--mid); line-height: 1.8; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.project-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-visual {
  height: 160px;
  position: relative;
}
.proj-1 { background: linear-gradient(145deg, var(--green-deep) 0%, var(--green-primary) 60%, var(--green-light) 100%); }
.proj-2 { background: linear-gradient(145deg, #7a3a10 0%, var(--gold) 70%, var(--gold-light) 100%); }
.proj-3 { background: linear-gradient(145deg, #1a3252 0%, #2b6cb0 100%); }

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
}
.proj-status {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.status-active   { background: rgba(255,255,255,0.9); color: var(--green-primary); }
.status-upcoming { background: rgba(255,255,255,0.9); color: var(--gold); }

.project-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { font-size: 1rem; color: var(--green-deep); margin-bottom: 10px; line-height: 1.4; }
.project-body p  { font-size: 0.84rem; color: var(--mid); line-height: 1.8; flex: 1; margin-bottom: 16px; }
.project-footer { margin-top: auto; }
.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

/* Propose card */
.project-propose {
  background: var(--cream);
  border: 2px dashed var(--border);
  box-shadow: none;
}
.project-propose:hover { transform: none; box-shadow: none; }
.propose-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 8px;
}
.propose-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--muted);
}
.propose-icon svg { width: 22px; height: 22px; }
.propose-body h3 { font-size: 1rem; color: var(--green-deep); }
.propose-body p  { font-size: 0.84rem; color: var(--mid); line-height: 1.75; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-top {
  background: var(--green-deep);
  padding: 80px 0 56px;
}
.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.6fr;
  gap: 48px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-org-name {
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 260px;
}
.footer-pillars {
  display: flex;
  gap: 18px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 10px; line-height: 1.6; }

.footer-connect-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 16px;
}
.footer-email {
  display: block;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-email:last-of-type { margin-bottom: 22px; }
.footer-email:hover { color: #fff; }
.footer-domain {
  color: var(--gold-light);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-domain:hover { color: #fff; }

.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
  transform: translateY(-2px);
}

.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-motto {
  font-style: italic;
  color: rgba(201,151,24,0.7) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .about-layout  { grid-template-columns: 1fr; gap: 48px; }
  .events-grid   { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .event-featured { grid-column: span 1; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .cell-tall     { grid-row: span 1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(10,28,18,0.98);
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 999;
    backdrop-filter: blur(16px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; padding: 10px 24px; }
  .nav-toggle { display: flex; }

  .hero-scroll-hint { display: none; }
  .about-values-grid { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }
}

@media (max-width: 560px) {
  .hero-pillars { gap: 12px; }
  .pillar-divider { height: 28px; }
  .about-stats { flex-direction: column; gap: 20px; }
  .activities-grid { grid-template-columns: 1fr; }
  .projects-grid   { grid-template-columns: 1fr; }
  .gallery-grid    { grid-template-columns: 1fr; }
  .cell-wide       { grid-column: span 1; }
  .hero-actions    { flex-direction: column; align-items: center; }
  .events-grid     { max-width: 100%; }
}

/* ============================================================
   PRINT (basic)
   ============================================================ */
@media print {
  .navbar, .hero-scroll-hint, .modal-backdrop { display: none; }
}
