/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9faf9;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   COMMON UTILITIES
===================== */
.container {
  width: 1200px;
  max-width: 92%;
  margin: auto;
}

.section {
  padding: 30px 0;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  margin-right: 12px;
  transition: 0.3s ease;
}

.btn.green {
  background: #1f8b4c;
  color: #fff;
}

.btn.green:hover {
  background: #166b3a;
}

.btn.orange {
  background: #f28c28;
  color: #fff;
}

.btn.orange:hover {
  background: #d97414;
}

/* =====================
   HEADER / NAVBAR
===================== */
header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  width: 1200px;
  max-width: 92%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 80px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul li a {
  font-size: 14px;
  font-weight: 500;
}

nav ul li a:hover {
  color: #1f8b4c;
}

/* =====================
   HERO SECTION (FINAL)
===================== */
.hero {
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  padding: 50px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  width: 1200px;
  max-width: 92%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: #1f8b4c;
}

.hero h2 {
  font-size: 22px;
  margin: 10px 0;
}

.hero p {
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 25px;
}

/* =====================
   HERO IMAGE SLIDER
===================== */
.hero-person {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-person img {
  position: absolute;
  max-height: 360px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1s ease, transform 1s ease;
}

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

/* =====================
   HERO CURVE
===================== */
.hero svg {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: 20px;
}

/* =====================
   ABOUT + ACHIEVEMENTS
===================== */
.about-achievements {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}



.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px;
  display: flex;
  gap: 25px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.about-card img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
}

.about-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.about-card h2 span {
  color: #1f8b4c;
}

.about-card p {
  font-size: 14px;
  margin-bottom: 18px;
}

/* ACHIEVEMENTS */
/* =====================
   ACHIEVEMENTS SCROLL
===================== */
.achievements {
  background: #1f8b4c;
  border-radius: 16px;
  padding: 25px;
  color: #fff;

  max-height: 260px;
  overflow-y: auto;
  align-self: flex-start;
  
}
/* =====================
   ACHIEVEMENTS AUTO-SCROLL
===================== */
/* =====================
   ACHIEVEMENTS SECTION
===================== */

.achievements {
  background: #1f8b4c;
  border-radius: 16px;
  padding: 1px 25px 25px;
  color: #fff;
  max-height: 260px;
  position: relative;
  overflow: hidden; /* important: hides scrolling text behind title */
}

/* Title (STATIC) */
.achievements-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #1f8b4c; /* mask */
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 12px;
}

/* Scrolling wrapper */
.achievement-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 5px;
  animation: scroll-up 15s linear infinite;
}

/* Individual item */
.achievement-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 12px;
  border-radius: 10px;
}

.achievement-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.achievement-item strong {
  font-size: 14px;
  display: block;
}

.achievement-item small {
  font-size: 12px;
  opacity: 0.9;
}

/* Auto scroll animation */
@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* =====================
   NEWS / RALLY / GALLERY
===================== */
.event-layout {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 30px;
}

.news-box,
.gallery-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.news-box h3,
.gallery-box h3 {
  margin-bottom: 15px;
  color: #1f8b4c;
}

.news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.news-item img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
}

/* RALLY */
.rally-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.rally-card img {
  height: 100%;
  object-fit: cover;
}

.rally-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}

.rally-content h3 {
  font-size: 22px;
}

.rally-content .date {
  font-size: 13px;
  color: #f28c28;
}

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

.gallery-grid img {
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
}







/* =====================
   CTA SECTION
===================== */
/* =====================
   CTA SECTION (FIXED)
===================== */
/* ===========================
   CTA / Join the Movement
=========================== */
/* =============================
   CTA Section Creative Version
============================= */
.cta-section {
  position: relative;
  background: url("../images/cta-bg.jpg") center/cover no-repeat;
  padding: 30px 0;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  
  height: 100%;
  background: rgba(0,80,60,0.35);
  z-index: 1;
}

.cta-container {
  max-width: 1250px; /* match your gallery container */
  margin: auto;
  position: relative;
  z-index: 2;
  padding: 0 20px; /* optional padding for smaller screens */
}

.cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  width: 100%; /* full width inside container */
  background: #fff;
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.cta-card:hover {
  transform: translateY(-10px);
}

.cta-text h2 {
  font-size: 38px;
  color: #1a4d3f;
  
 
}

.cta-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
 
}

.cta-buttons .btn {
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
    margin-bottom: 50px;
}

.btn.orange {
  background: linear-gradient(90deg, #ff7b00, #ffa500);
  color: #fff;
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(255,123,0,0.4);
}

.btn.orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,123,0,0.5);
}

.btn.green {
  background: linear-gradient(90deg, #28a745, #5cd65c);
  color: #fff;
  box-shadow: 0 5px 15px rgba(40,167,69,0.4);
}

.btn.green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40,167,69,0.5);
}

.cta-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

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

/* Fade-up animation for text & buttons */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 35px 20px;
  }

  .cta-buttons .btn {
    margin: 10px 5px 0 5px;
  }

  .cta-img img {
    max-width: 200px;
    margin: 20px auto 0 auto;
  }
}


/* =====================
   FOOTER
===================== */
.footer {
  background: #0f2f1f;
  color: #fff;
  padding: 60px 0;
}

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

.footer h4 {
  color: #f28c28;
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer ul li a:hover {
  color: #f28c28;
}

.copyright {
  background: #081a11;
  color: #bbb;
  text-align: center;
  font-size: 13px;
  padding: 12px 0;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 992px) {
  .hero-inner,
  .about-achievements,
  .event-layout,
  .cta-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-person {
    height: 300px;
  }

  .hero-person img {
    max-height: 300px;
  }
}
/* ============================
   SAFE POLISH LAYER
   (Non-destructive)
============================ */

/* smoother scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* consistent interaction feel */
a,
.btn {
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* prevent image layout jump */
img {
  height: auto;
}

/* improve text readability slightly without resizing */
p {
  margin-bottom: 1em;
}

/* keyboard accessibility (no visual change unless focused) */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(31, 139, 76, 0.4);
  outline-offset: 2px;
}
/* ============================
   LATEST NEWS – SCROLL ANIMATION
============================ */

/* initial hidden state */
.news-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* visible state */
.news-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* subtle hover (unchanged layout) */
.news-item:hover {
  transform: translateY(-2px);
}
/* ================================
   LATEST NEWS / ACHIEVEMENTS SCROLL
================================ */

/* container */
.achievements {
  background: #1f8b4c;
  border-radius: 16px;
  padding: 0px 25px;
  color: #fff;
  max-height: 260px;
  position: relative;
  overflow: hidden; /* hide animated overflow */
}

/* title */
.achievements-header {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  background: #1f8b4c;
  z-index: 5;
}

/* scrolling area */
.achievement-items-wrapper {
  max-height: 200px;
  overflow-y: auto;              /* scrollbar */
  padding-right: 6px;
  animation: newsScroll 12s linear infinite;
}

/* pause scroll on hover */
.achievement-items-wrapper:hover {
  animation-play-state: paused;
}

/* scrollbar styling */
.achievement-items-wrapper::-webkit-scrollbar {
  width: 6px;
}

.achievement-items-wrapper::-webkit-scrollbar-thumb {
  background: #f28c28;
  border-radius: 10px;
}

.achievement-items-wrapper::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.15);
}

/* items */
.achievement-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.achievement-item img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
}

.achievement-item strong {
  font-size: 14px;
  display: block;
}

.achievement-item small {
  font-size: 12px;
  opacity: 0.9;
}

/* auto scroll animation */
@keyframes newsScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
	/* ==========================
   PHOTO GALLERY (SAFE ADDON)
========================== */


.photo-gallery {
  position: relative;
}

.photo-gallery .photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.photo-gallery img {
  transition: transform 0.4s ease;
}

.photo-gallery .photo-item::after {
  content: "View";
  position: absolute;
  inset: 0;
  background: rgba(31,139,76,0.75);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s ease;
}

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

.photo-gallery .photo-item:hover::after {
  opacity: 1;
}
/* ==========================
   PHOTO GALLERY LIGHTBOX
========================== */

.pg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pg-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* Buttons */
.pg-close,
.pg-prev,
.pg-next {
  position: absolute;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50%;
  transition: 0.3s ease;
}

.pg-close {
  top: 20px;
  right: 25px;
  font-size: 38px;
}

.pg-prev {
  left: 20px;
}

.pg-next {
  right: 20px;
}

.pg-close:hover,
.pg-prev:hover,
.pg-next:hover {
  background: #1f8b4c;
}

/* Mobile tweak */
@media (max-width: 600px) {
  .pg-prev,
  .pg-next {
    font-size: 26px;
    padding: 8px 12px;
  }
}

/* ==========================
   PHOTO GALLERY – 3 COLUMN
   (Safe Override)
========================== */

.gallery-box .gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Tablet */
@media (max-width: 992px) {
  .gallery-box .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .gallery-box .gallery-grid {
    grid-template-columns: 1fr;
  }
}



/* ============================
   IMPACT SECTION (SAFE ADD)
============================ */

.impact-section {
  background: #ffffff;
  padding: 80px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.impact-text h2 {
  font-size: 32px;
  color: #1f8b4c;
  margin-bottom: 15px;
}

.impact-text p {
  font-size: 15px;
  margin-bottom: 12px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.impact-card {
  background: #f9faf9;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.impact-card strong {
  display: block;
  font-size: 32px;
  color: #f28c28;
}

.impact-card span {
  font-size: 14px;
  color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .impact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ============================
   PARALLAX DIVIDER (SAFE ADD)
============================ */

.parallax-divider {
  position: relative;
  height: 320px;
  background: url("../images/hero-bg.jpg") center / cover fixed no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 60px 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 60, 40, 0.55);
}

.parallax-content {
  position: relative;
  color: #fff;
  max-width: 700px;
  padding: 0 20px;
}

.parallax-content h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.parallax-content p {
  font-size: 15px;
  opacity: 0.95;
}

/* Mobile fix (disable fixed bg) */
@media (max-width: 768px) {
  .parallax-divider {
    background-attachment: scroll;
  }
}

/* ============================
   SCROLL PROGRESS INDICATOR
============================ */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #f28c28, #1f8b4c);
  z-index: 1000;
}



/* ============================
   POLITICAL JOURNEY TIMELINE
============================ */
/* ============================
   POLITICAL JOURNEY TIMELINE
   (Matched with site style)
============================ */

.timeline-section {
  background: #fff;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #e6e6e6;
}

/* ITEM */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  margin-bottom: 40px;
}

/* LEFT */
.timeline-item.left {
  left: 0;
  text-align: right;
}

/* RIGHT */
.timeline-item.right {
  left: 50%;
  text-align: left;
}

/* DOT */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: #1f8b4c;
  border-radius: 50%;
  z-index: 2;
}

.timeline-item.left::before {
  right: -8px;
}

.timeline-item.right::before {
  left: -8px;
}

/* YEAR UNDER DOT */
.timeline-item .year {
  position: absolute;
  top: 52px;
  font-size: 12px;
  font-weight: 600;
  color: #1f8b4c;
}

.timeline-item.left .year {
  right: -22px;
}

.timeline-item.right .year {
  left: -22px;
}

/* CONTENT CARD */
.timeline-item .content {
  background: #f9faf9;
  padding: 20px 22px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.timeline-item h4 {
  margin-bottom: 6px;
  color: #1f8b4c;
  font-size: 18px;
}

.timeline-item p {
  font-size: 14px;
  opacity: 0.9;
}

/* MOBILE STACK */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 12px;
  }

  .timeline-item .year {
    left: 4px;
  }
}


