/* ===== CSS VARIABLES ===== */
:root {
  --green-dark: #1a5c2a;
  --green-main: #2d8c45;
  --green-light: #4ab562;
  --green-pale: #e8f5ec;
  --gold: #c9a227;
  --gold-light: #f0c040;
  --white: #ffffff;
  --off-white: #f8faf8;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --black: #0a0f0d;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  font-family: var(--font-body); 
  font-size: 17px; /* Increased base size from browser default */
  color: var(--gray-800); 
  background: var(--white); 
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
address { font-style: normal; }

/* ===== TYPOGRAPHY UPDATED ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -0.02em; }

/* Increased headline and paragraph scales */
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }

p { 
  line-height: 1.8; 
  font-size: 1.1rem; /* Increased from standard size */
  color: var(--gray-600); 
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.accent { color: var(--green-light); }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-main); margin-bottom: 12px; }
.section-title { margin-bottom: 48px; color: var(--gray-800); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--green-main); color: var(--white); padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,140,69,0.3); }
.btn-primary.large { padding: 18px 36px; font-size: 1.05rem; }
.btn-primary.full { width: 100%; justify-content: center; border-radius: var(--radius); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--green-main); color: var(--green-main); padding: 12px 26px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); background: transparent; cursor: pointer; }
.btn-outline:hover { background: var(--green-main); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; color: var(--white); padding: 14px 28px; border-radius: 50px; font-weight: 600; border: 2px solid rgba(255,255,255,0.4); transition: var(--transition); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--gray-200);
}

/* INNER */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  gap: 30px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 52px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1.25rem;   /* BIGGER */
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.logo-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
}

#header.scrolled .logo-text strong {
  color: var(--gray-900);
}

#header.scrolled .logo-text span {
  color: var(--gray-500);
}

/* NAV */
.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}

.main-nav li {
  position: relative;
}

/* LINKS */
.main-nav a {
  color: var(--white);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.92rem;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.12);
}

.main-nav .active {
  background: rgba(255,255,255,0.18);
}

#header.scrolled .main-nav a {
  color: var(--gray-800);
}

#header.scrolled .main-nav .active {
  background: var(--green-pale);
  color: var(--green-dark);
}

/* DROPDOWN */
.has-sub .submenu {
  position: absolute;
  top: 120%;
  left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--gray-200);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

/* SHOW ON HOVER */
.has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* submenu links */
.submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--gray-700) !important;
  border-radius: 6px;
}

.submenu li a:hover {
  background: var(--green-pale);
  color: var(--green-dark) !important;
}

/* ARROW FIX */
.chevron {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.has-sub:hover .chevron {
  transform: rotate(180deg);
}

/* ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-login:hover {
  background: rgba(255,255,255,0.25);
}

#header.scrolled .btn-login {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-300);
}

#header.scrolled .btn-login:hover {
  background: var(--gray-100);
}

/* JOIN BUTTON */
.btn-join {
  background: var(--gold);
  color: var(--black);
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-join:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: 0.3s;
}

#header.scrolled .hamburger span {
  background: var(--gray-800);
}

/* ===== MOBILE NAV ===== */
/* ... (Keep your existing desktop CSS above) ... */

/* ===== MOBILE NAV UPDATES ===== */
@media (max-width: 992px) {
  
  /* HIDE HAMBURGER WHEN MENU IS OPEN */
  body.nav-open .hamburger {
    display: none;
  }

  .hamburger {
    display: flex; /* Show by default on mobile */
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%; /* Full width mobile menu */
    height: 100vh; /* Full screen height */
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 20px 40px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Allow scrolling if menu is long */
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 30px;
    width: 100%;
  }

  .main-nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .main-nav a {
    color: var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.1rem;
    width: 100%;
  }

  /* MOBILE DROPDOWN BEHAVIOR */
  .submenu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    padding-bottom: 10px;
    display: none; /* Hidden by default */
    background: var(--gray-50);
  }

  /* When parent li has 'open' class, show submenu */
  .has-sub.open .submenu {
    display: block;
  }

  .has-sub.open .chevron {
    transform: rotate(180deg);
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--green-dark);
  }

  .close-menu {
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--gray-900);
  }
}
@media (max-width: 992px) {
  .has-sub:hover .submenu {
    display: none;
  }
}



.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-slider .slides {
  height: 100%;
  position: relative;
}

/* =========================
   SLIDE FIX (IMPORTANT PART)
========================= */
.hero-slider .slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center 65%; /* 👈 KEY FIX (was center) */
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 8s ease;

  display: flex;
  align-items: flex-end; /* 👈 moves content downward */
}

/* ACTIVE SLIDE */
.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

/* DARK OVERLAY (STRONGER FOR READABILITY) */
.hero-slider .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.7)
  );
  z-index: 1;
}

/* CONTENT */
.hero-slider .hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;

  margin-left: 6vw;

  /* 👇 KEY FIX */
  margin-bottom: 12vh;   /* pushes content down from top balance */
  color: #fff;
  animation: textIn 0.8s ease;
}

/* TEXT ANIMATION */
@keyframes textIn {
  from {opacity:0; transform: translateY(30px);}
  to {opacity:1; transform: translateY(0);}
}

/* BADGE */
.hero-slider .hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 18px;
  color: #fff;
}

/* HEADLINE */
.hero-slider h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: #fff;
}

.hero-slider h1 span {
  color: #ffd700;
}

/* PARAGRAPH (FIXED VISIBILITY) */
.hero-slider p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #fff;
  opacity: 0.95;
  margin-top: 15px;
  margin-bottom: 25px;
}

/* BUTTONS */
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0a7a3d;
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
}

/* DOTS */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {

  .hero-slider .hero-content {
    margin-left: 20px;
    margin-right: 20px;
  }

  .hero-slider h1 {
    font-size: 1.8rem;
  }

  .hero-slider p {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   HERO SLIDER (DESKTOP + BASE)
========================= */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-slider .slides {
  height: 100%;
  position: relative;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 8s ease;

  display: flex;
  align-items: flex-end;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.hero-slider .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.3)
  );
  z-index: 1;
}

.hero-slider .hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  margin-left: 6vw;
  margin-bottom: 12vh;
  color: #fff;
  animation: textIn 0.8s ease;
}

@keyframes textIn {
  from {opacity:0; transform: translateY(30px);}
  to {opacity:1; transform: translateY(0);}
}

.hero-slider .hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 18px;
  color: #fff;
}

.hero-slider h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: #fff;
}

.hero-slider h1 span {
  color: #ffd700;
}

.hero-slider p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #fff;
  opacity: 0.95;
  margin-top: 15px;
  margin-bottom: 25px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0a7a3d;
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* =========================
   MOBILE HERO FIX (ENHANCED TEXT SIZE)
========================= */
@media (max-width: 768px) {

  .hero-slider .hero-content {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 8vh; /* Adjusted for better visual balance */
    max-width: 100%;
  }

  .hero-slider .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 15px;
  }

  /* Headline: Increased from 1.5rem to 2.2rem for impact */
  .hero-slider h1 {
    font-size: 3rem; 
    line-height: 1.15;
    font-weight: 800;
  }

  /* Paragraph: Increased from 0.85rem to 1.05rem for readability */
  .hero-slider p {
    font-size: 2rem;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 25px;
    opacity: 1; /* Full opacity for better contrast on small screens */
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 20px; /* Slightly taller buttons for better thumb-tap targets */
    font-size: 0.95rem;
  }

  .slider-dots {
    bottom: 20px;
  }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 480px) {
  .hero-slider h1 {
    font-size: 1.9rem; /* Still significantly larger than before */
  }

  .hero-slider p {
    font-size: 0.95rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-slider h1 {
    font-size: 1.3rem;
  }

  .hero-slider p {
    font-size: 0.8rem;
  }

  .hero-slider .hero-badge {
    font-size: 0.7rem;
  }
}



/* ===== MANDATE SECTION FINER REFINEMENTS ===== */
.mandate-section { 
  position: relative; 
  padding: 120px 0; 
  background: #041d0c; /* Deeper green for better contrast */
  overflow: hidden;
}

.mandate-bg { 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(circle at 20% 30%, rgba(16, 84, 38, 0.4) 0%, transparent 70%); 
}

.mandate-grid { 
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 100px; 
  align-items: center; 
}

/* Text Styles */
.mandate-text h2 { 
  color: #ffffff !important; 
  font-size: 2.8rem; 
  line-height: 1.2;
  margin-bottom: 24px;
}

.text-white-80 { 
  color: rgba(255, 255, 255, 0.8) !important; 
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Finer Image Styling */
.mandate-inline-image {
  margin: 40px 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
}

.inline-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.img-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 29, 12, 0.4), transparent);
  pointer-events: none;
}

/* Glassmorphism Card Stack */
.mandate-card-stack {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.m-card { 
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 20px; 
  padding: 30px; 
  backdrop-filter: blur(15px); 
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-card:hover { 
  background: rgba(255, 255, 255, 0.07); 
  transform: translateX(-15px);
  border-color: rgba(212, 175, 55, 0.5); /* Subtle Gold border */
}

.m-card h4 { 
  color: #ffffff !important; 
  margin: 0 0 5px 0; 
  font-size: 1.1rem;
  font-weight: 700;
}

.m-card p { 
  color: rgba(255, 255, 255, 0.6) !important; 
  margin: 0; 
  font-size: 0.9rem;
}

.mc-icon { 
  font-size: 2rem; 
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

/* Section Label Light Override */
.section-label.light {
  color: #d4af37 !important; /* Elegant Gold */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .mandate-grid { grid-template-columns: 1fr; gap: 50px; }
  .mandate-text h2 { font-size: 2.2rem; }
  .m-card:hover { transform: translateY(-10px); }
}

/* ===== MARQUEE ===== */
.marquee-bar { background: var(--green-main); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee-track span { padding: 0 24px; color: rgba(255,255,255,0.9); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.dot { color: var(--gold-light) !important; font-size: 0.5rem !important; vertical-align: middle; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== PILLARS REFINEMENTS ===== */
.pillars { background: var(--off-white); }

.pillars-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
  align-items: stretch;
}

.pillar-card { 
  background: var(--white); 
  border-radius: var(--radius-lg); 
  padding: 0 0 40px 0; /* Padding handled by internal elements */
  position: relative; 
  overflow: hidden; 
  border: 1px solid var(--gray-200); 
  transition: var(--transition); 
  display: flex;
  flex-direction: column;
}

/* Adjusting internal content padding since the card padding is now 0 */
.pillar-card h3, 
.pillar-card p, 
.pillar-card .pillar-icon, 
.pillar-card .pillar-line {
  padding-left: 32px;
  padding-right: 32px;
}

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

.pillar-card.featured { 
  background: var(--green-dark); 
  border-color: var(--green-dark); 
  transform: scale(1.05); /* Slightly larger to emphasize "Featured" */
  z-index: 2;
}

/* Featured Text Colors */
.pillar-card.featured h3, 
.pillar-card.featured p { color: var(--white); }
.pillar-card.featured p { color: rgba(255,255,255,0.8); }

/* Image Wrapper Styles */
.pillar-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(20%); /* Subtle professional tone */
}

.pillar-card:hover .pillar-img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.pillar-icon { font-size: 2.2rem; margin-bottom: 15px; }
.pillar-card h3 { margin-bottom: 12px; }
.pillar-card p { font-size: 0.95rem; line-height: 1.6; }

.pillar-line { 
  width: 40px; 
  height: 3px; 
  background: var(--green-light); 
  margin-top: auto; 
  margin-left: 32px;
  border-radius: 2px; 
}

.pillar-card.featured .pillar-line { background: var(--gold-light); }

/* Responsive adjustments */
@media (max-width: 992px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar-card.featured { transform: scale(1); }
}

/* ===== PILLARS CTA ADDITIONS ===== */

/* Padding for the new CTA section */
.pillar-card .pillar-cta {
  padding: 20px 32px 0 32px;
  margin-top: 10px;
}

/* Base Button Style */
.btn-pillar {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--green-main);
  color: var(--green-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.btn-pillar:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

/* Featured Card Button Style */
.pillar-card.featured .btn-pillar {
  border-color: var(--gold-light);
  background: var(--gold);
  color: var(--black);
}

.pillar-card.featured .btn-pillar:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Adjusting the line to sit between text and button */
.pillar-line { 
  width: 40px; 
  height: 3px; 
  background: var(--green-light); 
  margin-top: auto; /* Pushes everything below it to the bottom */
  margin-left: 32px;
  border-radius: 2px; 
}

/* Ensure the featured line remains gold */
.pillar-card.featured .pillar-line { background: var(--gold-light); }

/* Ensure the card has enough space at the bottom */
.pillar-card {
  padding-bottom: 35px;
}
/* ===== REFINED MEMBERSHIP CTA ===== */
.membership-cta {
  position: relative;
  /* Your specified gradient */
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  padding: 100px 0;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  /* Subtle glass border to define the area */
  border-radius: 32px;
  padding: 20px 0;
}

.cta-content {
  flex: 1;
  max-width: 650px;
}

/* Badge at the top */
.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
  color: #ffffff !important;
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}

.text-white-op {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

/* Membership Tiers Styling */
.membership-tiers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tier-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tier-chip:hover {
  background: #ffffff;
  color: var(--green-dark);
  transform: translateY(-3px);
}

/* CTA Buttons */
.cta-actions-wrapper {
  flex-shrink: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
}

.btn-cta-white {
  background: #ffffff;
  color: var(--green-dark) !important;
  padding: 18px 35px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.9);
}

.btn-cta-ghost {
  color: #ffffff !important;
  padding: 16px 35px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.cta-note {
  margin-top: 15px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .cta-inner { 
    flex-direction: column; 
    text-align: center; 
    gap: 40px;
  }
  .cta-content h2 { font-size: 2.2rem; }
  .membership-tiers { justify-content: center; }
  .cta-buttons { width: 100%; }
}
/* ===== NEWS ===== */
.news-section { background: var(--off-white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card.skeleton { height: 340px; background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-200) 50%, var(--gray-100) 100%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.news-img { height: 200px; object-fit: cover; width: 100%; }
.news-img-placeholder { height: 200px; background: linear-gradient(135deg, var(--green-pale), var(--green-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.news-body { padding: 24px; }
.news-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-main); margin-bottom: 10px; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--gray-800); line-height: 1.4; }
.news-card p { font-size: 0.875rem; margin-bottom: 16px; color: var(--gray-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--gray-400); }
.news-read { color: var(--green-main); font-weight: 600; }

/* ===== QUOTE ===== */
.quote-section { background: var(--white); padding: 80px 0; }
blockquote { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
.quote-mark { font-size: 8rem; line-height: 0; color: var(--green-pale); font-family: var(--font-display); position: absolute; top: 20px; left: -20px; }
blockquote p { font-family: var(--font-display); font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; color: var(--gray-800); margin-bottom: 24px; line-height: 1.5; position: relative; }
blockquote cite { color: var(--green-main); font-weight: 600; font-size: 0.9rem; }

/* ===== WORKING GROUPS ===== */
.wg-section { background: var(--off-white); }
.wg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.wg-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: var(--transition); cursor: default; }
.wg-item:hover { border-color: var(--green-main); background: var(--green-pale); transform: translateY(-4px); }
.wg-icon { font-size: 2rem; margin-bottom: 12px; }
.wg-item span { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.wg-more { text-align: center; }

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.partners-wrapper {
    width: 100%;
    position: relative;
    margin-top: 40px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.partner-logo {
    width: 180px; /* Base width for desktop */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Keeps aspect ratio intact */
    filter: grayscale(100%); /* Optional: Uniform professional look */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Infinite Scroll Animation */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .partner-logo {
        width: 140px;
        height: 80px;
        padding: 0 20px;
    }
    .partners-section {
        padding: 40px 0;
    }
    @keyframes scrollLogos {
        100% { transform: translateX(-50%); }
    }
}

/* Pause on hover for better UX */
.partners-wrapper:hover .partners-track {
    animation-play-state: paused;
}

/* ===== FOOTER ===== */
.footer { background: var(--black); color: rgba(255,255,255,0.7); }
.footer-top { padding: 80px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); color: var(--white); }
.social-links a:hover { background: var(--green-main); border-color: var(--green-main); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.875rem; transition: var(--transition); }
.footer-col a:hover { color: var(--green-light); }
.footer-col address p { font-size: 0.875rem; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.82rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 440px; position: relative; animation: modalIn 0.3s ease; }
@keyframes modalIn { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--gray-400); transition: var(--transition); }
.modal-close:hover { color: var(--gray-800); }
.modal-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--green-main); margin-bottom: 8px; }
.modal-box h2 { margin-bottom: 4px; font-size: 1.6rem; }
.modal-sub { color: var(--gray-400); font-size: 0.875rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition); background: var(--off-white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green-main); background: var(--white); box-shadow: 0 0 0 3px rgba(45,140,69,0.1); }
.modal-footer-links { display: flex; gap: 12px; justify-content: center; margin-top: 20px; font-size: 0.85rem; color: var(--gray-400); }
.modal-footer-links a { color: var(--green-main); font-weight: 600; }
.error-msg { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 16px; font-size: 0.85rem; margin-top: 12px; }
.success-msg { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; border-radius: 8px; padding: 10px 16px; font-size: 0.85rem; margin-top: 12px; }

/* ===== AOS ANIMATIONS ===== */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].aos-animate { opacity: 1 !important; transform: none !important; }

/* ===== PAGE HEADER ===== */
.page-hero { padding: 160px 0 80px; background: linear-gradient(135deg, var(--green-dark), #0d3d1c); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.08)"/></svg>'); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.5); font-size: 0.82rem; margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ===== MEMBERSHIP PAGE ===== */
.membership-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan-card { background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; position: relative; transition: var(--transition); }
.plan-card:hover, .plan-card.popular { border-color: var(--green-main); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan-card.popular { background: var(--green-dark); }
.plan-card.popular h3, .plan-card.popular .plan-price, .plan-card.popular .plan-price-label, .plan-card.popular ul li { color: var(--white) !important; }
.plan-card.popular .plan-features li { border-color: rgba(255,255,255,0.15); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--black); font-size: 0.72rem; font-weight: 800; padding: 4px 16px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.plan-icon { font-size: 2.4rem; margin-bottom: 16px; }
.plan-card h3 { font-size: 1.1rem; margin-bottom: 20px; }
.plan-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--green-dark); }
.plan-price-label { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 24px; }
.plan-features { margin-bottom: 28px; }
.plan-features li { padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.875rem; color: var(--gray-600); text-align: left; display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: 'âœ“'; color: var(--green-main); font-weight: 700; flex-shrink: 0; }
.plan-card.popular .plan-features li::before { color: var(--gold-light); }

/* ===== DASHBOARD ===== */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 80px); }
.dashboard-sidebar { background: var(--green-dark); color: var(--white); padding: 0; position: sticky; top: 80px; height: calc(100vh - 80px); overflow-y: auto; }
.dash-nav { padding: 24px 0; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 24px; color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.dash-nav a:hover, .dash-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.dash-nav a.active { border-right: 3px solid var(--gold); }
.dash-nav a span { font-size: 1.1rem; }
.dashboard-main { padding: 36px; background: var(--gray-100); }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.dash-welcome h2 { margin-bottom: 4px; font-size: 1.6rem; }
.dash-welcome p { color: var(--gray-400); margin: 0; font-size: 0.9rem; }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.dash-card { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray-200); }
.dash-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.dash-card h4 { font-size: 0.82rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.dash-card .val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--gray-800); }
.dash-card .sub { font-size: 0.78rem; color: var(--green-main); margin-top: 4px; }
.dash-section { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-200); margin-bottom: 24px; }
.dash-section h3 { margin-bottom: 20px; font-size: 1.1rem; }
.member-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-pale); color: var(--green-dark); padding: 8px 20px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; }
.member-badge.gold { background: #fef9e7; color: #92400e; }

/* ===== BLOG ===== */
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.blog-post-full { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); margin-bottom: 32px; }
.blog-post-full:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-img { height: 280px; object-fit: cover; width: 100%; }
.post-img-placeholder { height: 280px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.post-body { padding: 32px; }
.post-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-main); margin-bottom: 12px; }
.post-body h2 { font-size: 1.4rem; margin-bottom: 12px; color: var(--gray-800); }
.post-body p { margin-bottom: 20px; }
.post-meta { display: flex; gap: 20px; font-size: 0.8rem; color: var(--gray-400); }
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-200); margin-bottom: 24px; }
.sidebar-widget h3 { margin-bottom: 20px; font-size: 1rem; }
.sidebar-post { display: flex; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.sidebar-post:last-child { border: none; margin: 0; padding: 0; }
.sidebar-post-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--green-pale); display: flex; align-items: center; justify-content: center; }
.sidebar-post h4 { font-size: 0.85rem; line-height: 1.4; margin-bottom: 4px; }
.sidebar-post span { font-size: 0.75rem; color: var(--gray-400); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--gray-100); color: var(--gray-600); padding: 6px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 500; transition: var(--transition); cursor: pointer; }
.tag:hover { background: var(--green-pale); color: var(--green-dark); }

/* ===== ADMIN ===== */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--gray-800); color: var(--white); padding: 0; }
.admin-logo { padding: 24px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 24px; color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav a.active { border-left: 3px solid var(--green-light); }
.admin-main { background: var(--gray-100); }
.admin-topbar { background: var(--white); padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--gray-200); }
.admin-content { padding: 32px; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--gray-200); }
.admin-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.bg-green { background: var(--green-pale); }
.bg-blue { background: #eff6ff; }
.bg-yellow { background: #fef9e7; }
.bg-red { background: #fef2f2; }
.admin-card h4 { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }
.admin-card .num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.data-table th { background: var(--gray-800); color: var(--white); padding: 12px 16px; text-align: left; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.875rem; vertical-align: middle; }
.data-table tr:hover td { background: var(--off-white); }
.badge { display: inline-flex; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.table-action { background: none; border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px 12px; font-size: 0.78rem; cursor: pointer; transition: var(--transition); }
.table-action:hover { background: var(--green-pale); border-color: var(--green-main); color: var(--green-dark); }
.rich-editor { border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.editor-toolbar { background: var(--gray-100); padding: 8px 12px; display: flex; gap: 4px; border-bottom: 1px solid var(--gray-200); flex-wrap: wrap; }
.editor-btn { background: none; border: 1px solid transparent; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 0.82rem; font-weight: 600; transition: var(--transition); }
.editor-btn:hover { background: var(--white); border-color: var(--gray-200); }
.editor-area { min-height: 200px; padding: 16px; font-family: var(--font-body); font-size: 0.95rem; line-height: 1.7; outline: none; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-info-card { background: var(--green-dark); color: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; }
.contact-info-card h2 { color: var(--white); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item h4 { color: var(--white); margin-bottom: 4px; font-size: 0.9rem; }
.contact-item p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin: 0; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; border: 1px solid var(--gray-200); }

/*about preview*/

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  background: #f9fbf9;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--green-dark);
  margin-bottom: 25px;
  line-height: 1.2;
}

.main-para {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 500;
}

.secondary-para {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 40px;
  border-left: 3px solid var(--green-light);
  padding-left: 20px;
}

/* Vision & Mission Cards */
.about-objectives {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.obj-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.obj-card:hover {
  transform: translateX(10px);
}

.obj-icon {
  font-size: 1.8rem;
  background: var(--green-pale);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.obj-text h4 {
  color: var(--green-dark);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.obj-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Image Side */
.about-visual {
  position: relative;
}

.image-stack {
  position: relative;
  padding-right: 20px;
}

.main-img-wrap {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.about-img-main {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -10px;
  background: var(--green-dark);
  color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.experience-badge .number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-light);
}

.experience-badge .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; } /* Image on top for mobile */
  .about-img-main { height: 350px; }
}

/* ===== ABOUT PAGE ===== */
.about-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.vision-card { padding: 36px; border-radius: var(--radius-lg); }
.vision-card.vision { background: var(--green-dark); color: var(--white); }
.vision-card.mission { background: var(--off-white); border: 1px solid var(--gray-200); }
.vision-card .icon { font-size: 2.4rem; margin-bottom: 16px; }
.vision-card h3 { margin-bottom: 12px; }
.vision-card.vision h3, .vision-card.vision p { color: var(--white); }
.vision-card.vision p { color: rgba(255,255,255,0.8); }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.board-card { background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); }
.board-card:hover { border-color: var(--green-main); box-shadow: var(--shadow); }
.board-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--green-light), var(--green-dark)); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--white); font-family: var(--font-display); font-weight: 900; }
.board-card h4 { margin-bottom: 4px; font-size: 1rem; }
.board-card p { font-size: 0.82rem; color: var(--gray-400); margin: 0; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 32px; right: 32px; background: var(--green-dark); color: var(--white); padding: 16px 24px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; z-index: 3000; transform: translateY(100px); opacity: 0; transition: var(--transition); max-width: 360px; box-shadow: var(--shadow-lg); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #dc2626; }

/* ===== SEARCH ===== */
.search-bar { display: flex; gap: 0; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 50px; overflow: hidden; transition: var(--transition); }
.search-bar:focus-within { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(45,140,69,0.1); }
.search-bar input { flex: 1; padding: 12px 20px; border: none; outline: none; font-family: var(--font-body); font-size: 0.92rem; background: transparent; }
.search-bar button { background: var(--green-main); color: var(--white); border: none; padding: 12px 20px; cursor: pointer; transition: var(--transition); font-size: 1rem; }
.search-bar button:hover { background: var(--green-dark); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--gray-200); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; transition: var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--green-main); border-color: var(--green-main); color: var(--white); }

/* ===== POLICY CARDS (Programmes page) ===== */
.policy-card { background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);padding:28px;transition:var(--transition); }
.policy-card:hover { border-color:var(--green-main);transform:translateY(-4px);box-shadow:var(--shadow); }
.policy-icon { font-size:2rem;margin-bottom:14px; }
.policy-card h3 { font-size:1rem;margin-bottom:8px; }
.policy-card p { font-size:0.85rem;margin:0; }

/* ===== PLATFORM FEATURE CARDS (Programmes page) ===== */
.platform-feature-card { display:flex;gap:20px;background:var(--white);border-radius:var(--radius);padding:28px;border:1px solid var(--gray-200);transition:var(--transition); }
.platform-feature-card:hover { box-shadow:var(--shadow-lg);border-color:var(--green-light); }
.platform-feature-card h3 { font-size:1rem;margin-bottom:8px; }
.platform-feature-card p { font-size:0.875rem;margin:0; }

/* ===== STAKEHOLDER ROWS (About page) ===== */
.stakeholder-row { display:flex;gap:14px;align-items:center;padding:12px;background:var(--white);border-radius:10px;border:1px solid var(--gray-200); }
.stakeholder-row span { font-size:1.6rem;flex-shrink:0; }
.stakeholder-row strong { font-size:0.9rem;display:block;margin-bottom:2px; }

/* ===== MODAL FOOTER ===== */
.modal-footer-links { display:flex;gap:12px;justify-content:center;align-items:center;margin-top:16px;font-size:0.82rem; }
.modal-footer-links a { color:var(--green-main);font-weight:600; }
.modal-logo { font-family:var(--font-display);font-size:1.4rem;font-weight:900;color:var(--green-dark);text-align:center;margin-bottom:16px; }
.modal-sub { text-align:center;color:var(--gray-400);margin-bottom:24px;font-size:0.9rem; }
.error-msg { color:#dc2626;font-size:0.82rem;margin-top:12px;text-align:center;padding:10px;background:#fef2f2;border-radius:8px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block;font-size:0.82rem;font-weight:600;color:var(--gray-700);margin-bottom:6px;text-transform:uppercase;letter-spacing:0.05em; }
.form-group input, .form-group select, .form-group textarea { width:100%;padding:11px 16px;border:1.5px solid var(--gray-200);border-radius:var(--radius);font-family:var(--font-body);font-size:0.92rem;transition:var(--transition);outline:none;background:var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--green-main);box-shadow:0 0 0 3px rgba(45,140,69,0.1); }
.form-group textarea { resize:vertical;min-height:120px; }

/* ===== MODAL ===== */
.modal-overlay { position:fixed;inset:0;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px);z-index:2000;display:none;align-items:center;justify-content:center;padding:20px; }
.modal-overlay.open { display:flex; }
.modal-box { background:var(--white);border-radius:var(--radius-lg);padding:48px 40px;max-width:460px;width:100%;position:relative;animation:modalIn 0.3s ease; }
@keyframes modalIn { from{opacity:0;transform:translateY(-20px) scale(0.97)} to{opacity:1;transform:none} }
.modal-close { position:absolute;top:16px;right:16px;background:var(--gray-100);border:none;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:var(--transition); }
.modal-close:hover { background:var(--gray-200); }

/* ===== PAGE HERO ===== */
.page-hero { background:linear-gradient(135deg,var(--green-dark) 0%,#0d3d1c 50%,#1a5c2a 100%);padding:160px 0 80px;position:relative;overflow:hidden; }
.page-hero::after { content:'';position:absolute;bottom:0;left:0;right:0;height:80px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,0.05)); }
.page-hero-content { position:relative;z-index:1; }
.page-hero h1 { color:var(--white);margin-bottom:16px; }
.page-hero p { color:rgba(255,255,255,0.75);font-size:1.1rem;max-width:600px; }
.breadcrumb { display:flex;gap:8px;align-items:center;font-size:0.82rem;margin-bottom:20px;font-weight:500; }
.breadcrumb a { color:rgba(255,255,255,0.6);transition:var(--transition); }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb span { color:rgba(255,255,255,0.3); }

/* ===== WG SECTION ===== */
.wg-section { background:var(--off-white); }
.wg-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }
.wg-item { background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);padding:24px 16px;text-align:center;transition:var(--transition); }
.wg-item:hover { border-color:var(--green-main);background:var(--green-pale);transform:translateY(-4px); }
.wg-icon { font-size:2rem;margin-bottom:12px;display:block; }
.wg-item span { font-size:0.85rem;font-weight:600;color:var(--gray-700);line-height:1.4;display:block; }
.wg-more { text-align:center;margin-top:40px; }

/* ===== SOCIAL LINKS (Footer) ===== */
.social-links { display:flex;gap:10px;margin-top:20px; }
.social-links a { width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,0.1);color:var(--white);display:flex;align-items:center;justify-content:center;font-size:0.9rem;font-weight:700;transition:var(--transition); }
.social-links a:hover { background:var(--green-main);transform:translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background:var(--black); }
.footer-top { padding:80px 0 48px; }
.footer-grid { display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px; }
.footer-brand .footer-logo { font-family:var(--font-display);font-size:1.8rem;font-weight:900;color:var(--white);margin-bottom:16px; }
.footer-brand p { color:rgba(255,255,255,0.55);font-size:0.875rem;max-width:280px; }
.footer-col h4 { color:var(--white);font-size:0.85rem;text-transform:uppercase;letter-spacing:0.12em;margin-bottom:20px; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:rgba(255,255,255,0.55);font-size:0.875rem;transition:var(--transition); }
.footer-col ul li a:hover { color:var(--green-light); }
.footer-col address p { color:rgba(255,255,255,0.55);font-size:0.875rem;margin-bottom:10px; }
.footer-col address a { color:rgba(255,255,255,0.55);transition:var(--transition); }
.footer-col address a:hover { color:var(--green-light); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08);padding:20px 0; }
.footer-bottom .container { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px; }
.footer-bottom p { color:rgba(255,255,255,0.35);font-size:0.82rem; }
.footer-links { display:flex;gap:20px; }
.footer-links a { color:rgba(255,255,255,0.35);font-size:0.82rem;transition:var(--transition); }
.footer-links a:hover { color:var(--white); }

/* ===== GREY SECTION (gray-500) ===== */
:root { --gray-500: #6b7280; --gray-700: #374151; --gray-300: #d1d5db; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card.featured { order: -1; }
  .mandate-grid { grid-template-columns: 1fr; gap: 40px; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-plans { grid-template-columns: repeat(2, 1fr); }
  .wg-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
  .about-vision-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mc2 { transform: none; } .mc3 { transform: none; }
}
@media (max-width: 768px) {
  .header-inner { padding: 14px 20px; }
  .main-nav { display: none; position: fixed; inset: 0; top: 72px; background: var(--green-dark); padding: 24px; overflow-y: auto; z-index: 999; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { color: rgba(255,255,255,0.9) !important; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; font-size: 1.05rem; }
  .submenu { display: none !important; }
  .hamburger { display: flex; }
  .btn-join { display: none; }
  .hero-content { padding: 140px 20px 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-div { width: 60px; height: 1px; }
  .pillars-grid { gap: 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr 1fr; }
  .membership-plans { grid-template-columns: 1fr; }
  .wg-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; height: auto; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .dash-cards { grid-template-columns: 1fr; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; }
  .section-pad { padding: 60px 0; }
  .modal-box { padding: 36px 24px; margin: 20px; }
}
@media (max-width: 480px) {
  .platforms-grid { grid-template-columns: 1fr; }
  .wg-grid { grid-template-columns: 1fr; }
  .admin-cards { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-badge { font-size: 0.72rem; }
}
