/* impact.css — Impact page specific styles */

/* ============================================
   NAVBAR DROPDOWN
   ============================================ */

.has-dropdown { position: relative; }
.nav-arrow { font-size: 0.65rem; margin-left: 4px; transition: transform 0.25s ease; vertical-align: middle; }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 240px; background-color: #ffffff; border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,0.16); padding: 8px 0; list-style: none; opacity: 0; pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease; z-index: 10000; }
.has-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 22px; color: #1a4a2e !important; font-size: 0.9rem; font-weight: 400 !important; text-decoration: none; transition: background-color 0.15s, color 0.15s; white-space: nowrap; }
.dropdown-menu li a:hover { background-color: #f4f9f3; color: #4a7c59 !important; }
@media (max-width: 992px) {
    .dropdown-menu { position: static; transform: none !important; opacity: 0; max-height: 0; overflow: hidden; box-shadow: none; border-radius: 0; padding: 0; background: rgba(0,0,0,0.08); transition: opacity 0.3s ease, max-height 0.3s ease; pointer-events: none; }
    .has-dropdown.dropdown-open .dropdown-menu { opacity: 1; max-height: 400px; pointer-events: all; }
    .has-dropdown.dropdown-open .nav-arrow { transform: rotate(180deg); }
    .dropdown-menu li a { color: rgba(255,255,255,0.9) !important; padding: 10px 24px; }
    .dropdown-menu li a:hover { background: rgba(255,255,255,0.1); color: #ffffff !important; }
}

/* ============================================
   SECTION LABEL & TITLE
   ============================================ */

.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent-green); margin-bottom: 10px; border-bottom: 2px solid var(--accent-green); padding-bottom: 3px; }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--deep-green); margin-bottom: var(--space-md); }

/* ============================================
   HERO
   ============================================ */

.impact-hero { position: relative; width: 100%; height: 100vh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.impact-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transform: scale(1.03); transition: transform 8s ease; }
.impact-hero:hover .impact-hero-bg { transform: scale(1); }
.impact-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5,28,10,0.93) 0%, rgba(5,28,10,0.62) 35%, rgba(5,28,10,0.22) 65%, rgba(5,28,10,0.06) 100%); }
.impact-hero-content { position: relative; z-index: 2; padding-bottom: 80px; max-width: 820px; }
.impact-hero-label { display: inline-block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3.5px; color: #ffffff; margin-bottom: 16px; padding: 6px 16px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 2px; background: rgba(255,255,255,0.08); }
.impact-hero-content h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; color: #ffffff; line-height: 1.15; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.impact-hero-content > p { font-size: clamp(1rem, 1.8vw, 1.18rem); color: rgba(255,255,255,0.88); max-width: 620px; line-height: 1.72; font-weight: 300; margin-bottom: 32px; }
.impact-hero-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.impact-meta-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.82); font-size: 0.9rem; }
.impact-meta-item i { color: #a8d5a2; }

/* ============================================
   OVERVIEW
   ============================================ */

.overview { background-color: var(--white); }
.overview-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.overview-text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--deep-green); margin-bottom: var(--space-sm); }
.overview-text p { color: var(--text-light); line-height: 1.78; margin-bottom: var(--space-sm); }
.overview-image { position: relative; }
.overview-image img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.overview-badge { position: absolute; bottom: -16px; left: -16px; background-color: var(--accent-green); color: #ffffff; border-radius: 10px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); font-weight: 700; font-size: 0.9rem; }

/* ============================================
   IMPACT HIGHLIGHTS — animated counters
   ============================================ */

.highlights { background-color: var(--off-white); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-top: var(--space-md); }

.impact-card { background-color: var(--white); padding: var(--space-md); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); text-align: center; border-top: 4px solid var(--accent-green); transition: transform 0.25s ease, box-shadow 0.25s; }
.impact-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.12); }

.impact-icon-wrap { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #d4edcf, #a8d5a2); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-sm); }
.impact-icon-wrap i { font-size: 1.3rem; color: var(--deep-green); }

.impact-number { font-family: 'Playfair Display', Georgia, serif; font-size: 3rem; font-weight: 700; color: var(--deep-green); line-height: 1; margin-bottom: 8px; }
.impact-fa-stat { font-size: 2.4rem; color: var(--accent-green); }
.impact-fa-stat i { font-size: 2.4rem; }
.impact-label { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-green); margin-bottom: 6px; }
.impact-detail { font-size: 0.86rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ============================================
   COMMUNITY IMPACT
   ============================================ */

.community-impact { background-color: var(--white); }
.community-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.community-text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--deep-green); margin-bottom: var(--space-sm); }
.community-text p { color: var(--text-light); line-height: 1.78; margin-bottom: var(--space-sm); }
.community-stats { display: flex; flex-direction: column; gap: 14px; margin-top: var(--space-md); }
.community-stat { display: flex; align-items: flex-start; gap: 14px; }
.community-stat i { font-size: 1.2rem; color: var(--accent-green); margin-top: 2px; flex-shrink: 0; }
.community-stat strong { display: block; font-size: 0.92rem; color: var(--deep-green); }
.community-stat span { font-size: 0.84rem; color: var(--text-light); }
.community-image img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 16px 48px rgba(0,0,0,0.15); }

/* ============================================
   YOUTH ENGAGEMENT
   ============================================ */

.youth-engagement { background-color: var(--off-white); }
.youth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.youth-image img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.youth-text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--deep-green); margin-bottom: var(--space-sm); }
.youth-text p { color: var(--text-light); line-height: 1.78; margin-bottom: var(--space-sm); }
.youth-highlights { display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-md); }
.youth-highlight-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-light); }
.yh-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #d4edcf, #a8d5a2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yh-icon i { font-size: 0.85rem; color: var(--deep-green); }

/* ============================================
   FIELD ACTION — 4 cards
   ============================================ */

.field-action { background-color: var(--white); }
.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-top: var(--space-md); }
.action-card { background-color: var(--off-white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: transform 0.25s, box-shadow 0.25s, border-bottom-color 0.25s; border-bottom: 3px solid transparent; }
.action-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.12); border-bottom-color: var(--accent-green); }
.action-img { height: 160px; overflow: hidden; }
.action-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.action-card:hover .action-img img { transform: scale(1.07); }
.action-body { padding: var(--space-md); }
.action-icon { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #d4edcf, #a8d5a2); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: background 0.25s; }
.action-card:hover .action-icon { background: linear-gradient(135deg, var(--accent-green), var(--deep-green)); }
.action-icon i { font-size: 0.95rem; color: var(--deep-green); transition: color 0.25s; }
.action-card:hover .action-icon i { color: #ffffff; }
.action-body h3 { font-size: 1rem; color: var(--deep-green); margin-bottom: 6px; }
.action-body p { font-size: 0.86rem; color: var(--text-light); line-height: 1.62; margin: 0; }

/* ============================================
   QUOTE STRIP
   ============================================ */

.impact-quote-strip { background-color: var(--deep-green); padding: 48px 0; }
.impact-quote-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-lg); align-items: center; }
.impact-quote-item { text-align: center; }
.impact-quote-item i { font-size: 1.5rem; color: #a8d5a2; opacity: 0.6; margin-bottom: 12px; display: block; }
.impact-quote-item p { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.72; margin-bottom: 10px; }
.impact-quote-item cite { font-size: 0.78rem; color: #a8d5a2; font-style: normal; font-weight: 600; }
.impact-quote-divider { width: 1px; height: 80px; background: rgba(255,255,255,0.18); }

/* ============================================
   CTA
   ============================================ */

.impact-cta { background: linear-gradient(135deg, var(--deep-green) 0%, #2d6a4f 100%); }
.impact-cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.impact-cta-label { color: #a8d5a2 !important; border-bottom-color: #a8d5a2 !important; }
.impact-cta-text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #ffffff; margin-bottom: var(--space-sm); }
.impact-cta-text p { color: rgba(255,255,255,0.82); line-height: 1.72; margin-bottom: var(--space-md); }
.impact-cta-buttons { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.btn-white { background-color: #ffffff; color: var(--deep-green); border: 2px solid #ffffff; padding: 12px 28px; border-radius: 4px; font-weight: 700; text-decoration: none; transition: background-color 0.2s, color 0.2s; display: inline-block; font-size: 0.95rem; }
.btn-white:hover { background-color: transparent; color: #ffffff; }
.btn-outline-white-impact { background-color: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.55); padding: 12px 28px; border-radius: 4px; font-weight: 600; text-decoration: none; transition: background-color 0.2s, border-color 0.2s; display: inline-block; font-size: 0.95rem; }
.btn-outline-white-impact:hover { background-color: rgba(255,255,255,0.1); border-color: #ffffff; }
.impact-cta-image { border-radius: 12px; overflow: hidden; height: 320px; box-shadow: 0 20px 56px rgba(0,0,0,0.25); border: 4px solid rgba(255,255,255,0.15); }
.impact-cta-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================
   UTILITY & SCROLL REVEAL
   ============================================ */

.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-md); }
.section-hidden { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.section-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .action-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .overview-layout, .community-layout, .youth-layout { grid-template-columns: 1fr; }
    .overview-image img, .community-image img, .youth-image img { height: 280px; }
    .overview-badge { left: 0; bottom: -14px; }
    .impact-quote-inner { grid-template-columns: 1fr; }
    .impact-quote-divider { width: 60px; height: 1px; margin: 0 auto; }
    .impact-cta-inner { grid-template-columns: 1fr; }
    .impact-cta-image { display: none; }
}
@media (max-width: 768px) {
    .impact-hero { height: 100svh; }
    .impact-hero-content { padding-bottom: 80px; }
    .impact-hero-meta { flex-direction: column; gap: 10px; }
    .highlights-grid { grid-template-columns: 1fr 1fr; }
    .action-grid { grid-template-columns: 1fr; }
    .impact-cta-buttons { flex-direction: column; }
    .btn-white, .btn-outline-white-impact { width: 100%; max-width: 280px; text-align: center; }
}
