:root {
  /* GFF Brand Colors */
  --primary: #065f46;       
  --primary-dark: #044e3a;  
  --primary-light: #22c55e; 
  --primary-bg: #ecfdf5;    
  
  --navy: #064e3b;          
  --gold: #f97316;          
  --gold-dark: #ea580c;
  --red: #dc2626;           
  
  --white: #ffffff;
  --light-grey: #f3f4f6;
  --border: #e5e7eb;
  
  --ink: #111827;
  --ink-soft: #4b5563;
  
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 12px rgba(6,95,70,.08);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; background: var(--white); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
.container { width: min(92vw, 1200px); margin-inline: auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* --- Top Bar (Deep Green) --- */
.top-bar { background-color: var(--primary) !important; color: rgba(255,255,255,0.8); font-size: 0.85rem; padding: 0.5rem 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-social a { color: rgba(255,255,255,0.8); margin-right: 1rem; transition: color 0.2s; text-decoration: none; }
.top-social a:hover { color: var(--gold) !important; }
.top-contact a { color: var(--white) !important; font-weight: 600; text-decoration: none; }
.top-contact i { color: var(--gold); margin-right: 0.5rem; }

/* --- Header & Navigation (White) --- */
.site-header { background-color: var(--white) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; padding: 10px 0; border-bottom: 2px solid var(--primary-light); }
.header-flex { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* Brand Styling */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 60px !important; width: auto !important; max-width: 180px !important; object-fit: contain !important; }
.brand-text { color: var(--primary) !important; font-weight: 800; font-size: clamp(1.1rem, 1.4vw, 1.35rem); letter-spacing: 0.5px; line-height: 1.1; white-space: nowrap; }
.brand-text span { color: var(--gold) !important; } 

/* Menu Styling */
.nav-primary { display: flex; align-items: center; flex-grow: 1; justify-content: flex-end; }
.block-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.block-menu li { margin: 0; }
.block-menu a { display: block; padding: 10px 14px; border-radius: 6px; background-color: transparent !important; color: var(--primary) !important; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; transition: all 0.3s ease; white-space: nowrap; }
.block-menu a:hover { background-color: var(--primary-bg) !important; color: var(--primary-dark) !important; }
.block-menu a.donate-btn { background-color: var(--gold) !important; color: var(--white) !important; font-weight: 800; margin-left: 8px; }
.block-menu a.donate-btn:hover { background-color: var(--gold-dark) !important; transform: translateY(-2px); }

/* Mega Menu Submenu */
.has-submenu { position: relative; }
.has-submenu > a { display: flex; align-items: center; }
.submenu { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-radius: 0 0 10px 10px; padding: 0.5rem 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 200; border-top: 3px solid var(--primary); }
.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; width: 100%; }
.submenu a { display: block; padding: 10px 20px !important; color: var(--ink) !important; background: transparent !important; font-weight: 500 !important; text-transform: none !important; font-size: 0.9rem !important; transition: all 0.2s; border-radius: 0 !important; }
.submenu a:hover { background-color: var(--primary-bg) !important; color: var(--primary) !important; padding-left: 25px !important; }

/* --- NEW STATIC HERO GRID --- */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 60vh;
  min-height: 450px;
  width: 100%;
  background: #000;
}

.hero-grid-item {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.hero-grid-item:last-child {
  border-right: none;
}

.hero-grid-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.hero-grid-item:hover .hero-grid-media {
  transform: scale(1.08);
}

.hero-grid-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  pointer-events: none;
}

.hero-grid-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 6rem 1.5rem; 
  z-index: 2;
  color: #fff;
}

.hero-grid-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-grid-excerpt {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-hero-grid {
  display: inline-block;
  background-color: var(--primary-light);
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hero-grid:hover {
  background-color: var(--primary-dark);
}

/* --- BOTTOM WAVE FEATURES --- */
.hero-features-wrapper {
  position: relative;
  background: #fff;
  padding: 2rem 0 3rem;
  margin-top: -3rem;
  z-index: 5;
}

.hero-wave {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 50px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
}

.hero-features-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-light);
}

.feature-item h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* --- Ticker --- */
.ticker-wrap { width: 100%; overflow: hidden; background: var(--gold) !important; padding: 1rem 0; }
.ticker { display: flex; white-space: nowrap; animation: ticker 20s linear infinite; }
.ticker__item { display: inline-block; padding: 0 2rem; font-size: 1.25rem; font-weight: 700; color: var(--white); text-transform: uppercase; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* --- Sections & Stats --- */
.section { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary) !important; background: var(--primary-bg); padding: 0.4rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.stat { display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; overflow: hidden; height: 100%; }
.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--primary-light) !important; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 0.5rem; min-height: 2.2rem; }
.stat-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; display: block; }
.stat-desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Story Cards --- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; padding: 0; margin: 0; list-style: none; }
.story-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.story-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--primary-light); }
.story-card-img { position: relative; height: 240px; overflow: hidden; }
.story-card-img img { width: 100%; height: 100%; object-fit: cover; }
.story-card-badge { position: absolute; top: 1rem; left: 1rem; background: var(--primary) !important; color: var(--white); padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.story-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.story-title a { color: var(--ink); font-weight: 700; }
.story-title a:hover { color: var(--primary) !important; }
.story-excerpt { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.story-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.story-link { font-weight: 600; color: var(--primary) !important; }
.story-share a { margin-left: 10px; color: var(--ink-soft); }
.story-share a:hover { color: var(--gold) !important; }

/* --- Layout Pages (Including Sidebar) --- */
.page-hero { padding: 8rem 0 6rem; background-size: cover; background-position: center; text-align: center; position: relative; }
.page-layout-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .page-layout-grid { grid-template-columns: 2.5fr 1fr; } }
.page-content { font-size: 1.1rem; line-height: 1.8; color: var(--ink-soft); }
.page-sidebar { background: var(--light-grey); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.sidebar-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.5rem; border-bottom: 2px solid var(--primary) !important; padding-bottom: 0.75rem; }
.sidebar-card { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: center; text-decoration: none; }
.sidebar-img { width: 85px !important; height: 85px !important; flex-shrink: 0 !important; border-radius: 8px; overflow: hidden; background-color: var(--border); }
.sidebar-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.sidebar-text h4 { font-size: 0.95rem; font-weight: 700; margin: 0; color: var(--ink); }

/* --- Buttons --- */
.btn, .btn-primary { background-color: var(--primary) !important; color: var(--white) !important; border: none !important; padding: 0.875rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.2s; display: inline-block; text-decoration: none !important; text-align: center; }
.btn:hover, .btn-primary:hover { background-color: var(--primary-dark) !important; }

/* --- Footer (Deep Green) --- */
.site-footer { background-color: var(--navy) !important; color: rgba(255,255,255,0.7); padding: 3rem 0 2rem !important; border-top: 4px solid var(--primary-light); margin-top: 0; }
.site-footer a:hover { color: var(--gold) !important; }
.site-footer img { margin-bottom: 0.5rem !important; background: var(--white); padding: 5px; border-radius: 8px; }
.site-footer p { margin-bottom: 0.5rem !important; }
.text-center { text-align: center; }

/* --- Back to Top --- */
#backToTop { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary) !important; color: var(--white) !important; border: none; border-radius: 8px; font-size: 1.2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999; transition: all 0.3s ease; opacity: 0; visibility: hidden; transform: translateY(20px); display: flex; align-items: center; justify-content: center; }
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background-color: var(--gold) !important; transform: translateY(-5px); }

/* --- WhatsApp Floating Chat (MOVED TO RIGHT) --- */
.whatsapp-float {
  position: fixed;
  bottom: 90px; 
  right: 30px; 
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  font-family: system-ui, sans-serif;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: translateY(-5px);
  color: white;
}

/* --- Responsive Navigation --- */
.mobile-nav-toggle { display: none; background: transparent; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; padding: 0.5rem; }

@media (max-width: 1150px) {
    .header-flex { flex-direction: column; align-items: flex-start; }
    .nav-primary { width: 100%; justify-content: flex-start; margin-top: 0.5rem; }
    .block-menu { justify-content: flex-start; }
}

@media (max-width: 991px) {
    .mobile-nav-toggle { display: block; position: absolute; top: 20px; right: 4vw; }
    .header-flex { position: relative; flex-direction: row; align-items: center; }
    .nav-primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid var(--border); z-index: 999; flex-direction: column; margin-top: 0; }
    .nav-primary.open { display: flex; }
    .block-menu { flex-direction: column; gap: 0.5rem; width: 100%; }
    .block-menu li { width: 100%; }
    .block-menu a { width: 100%; text-align: center; padding: 12px; }
    .submenu { position: static; box-shadow: none; border: none; background: var(--primary-bg); padding-left: 1rem; display: none; width: 100%; }
    .has-submenu.active .submenu { display: block; }
}

@media (max-width: 768px) {
    .top-bar .container { flex-direction: column !important; justify-content: center !important; text-align: center; }
    .top-social { margin-bottom: 8px; }
    .top-social a { margin: 0 5px !important; }
    
    /* HERO MOBILE FIX: Only show the first item, hide the rest */
    .hero-grid { 
        grid-template-columns: 1fr; 
        height: 55vh; 
    }
    .hero-grid-item { 
        display: none; 
        border-right: none;
    }
    .hero-grid-item:first-child { 
        display: block; 
    }
    
    /* Wave fixes for mobile */
    .hero-features-grid { flex-direction: column; text-align: center; gap: 1.5rem; }
    .feature-item { flex-direction: column; gap: 0.5rem; }
    
    .whatsapp-float { padding: 10px 15px; font-size: 0.9rem; right: 15px; bottom: 80px; }
}