*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.green-text {
  color: #006838;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-col {
  flex-shrink: 0;
}

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

.logo {
  width: 55px;
  height: auto;
}

.ministry-name {
  font-size: 12px;
  font-weight: 700;
  color: #006838;
  max-width: 200px;
  line-height: 1.3;
  text-transform: uppercase;
}

.nav-col {
  display: flex;
  align-items: center;
  gap: 20px;
}

#main-nav .nav-list {
  display: flex;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 15px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-item > a:hover {
  color: #006838;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 100;
  padding: 8px 0;
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #333;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}

.sub-menu li a:hover {
  background: #f0f7f0;
  color: #006838;
  border-left-color: #006838;
}

.sub-menu.nested {
  left: 100%;
  top: 0;
}

.nav-item.has-sub:hover > .sub-menu {
  display: block;
}

.sub-menu .has-sub:hover > .sub-menu {
  display: block;
}

/* Search */
.search-btn {
  background: none;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.search-btn:hover {
  border-color: #006838;
}

.search-icon {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #333;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 2px;
  height: 8px;
  background: #333;
  transform: rotate(-45deg);
}

/* Menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 80px 30px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}

.mobile-nav-item .arrow {
  font-size: 18px;
  transition: transform 0.3s;
}

.mobile-nav-item.open > a .arrow {
  transform: rotate(45deg);
}

.mobile-sub {
  display: none;
  padding-left: 20px;
}

.mobile-sub li a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #555;
}

.mobile-sub li a:hover {
  color: #006838;
}

.mobile-sub.nested {
  padding-left: 30px;
}

/* ===== SEARCH MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
}

.search-input:focus {
  border-color: #006838;
}

.search-submit {
  padding: 12px 24px;
  background: #006838;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-submit:hover {
  background: #004d29;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
  margin-top: 80px;
}

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

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 60px;
}

.slide-content h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-links {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.slide-label {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.2s;
  text-transform: uppercase;
}

.slide-btn:hover {
  background: #006838;
  color: #fff;
}

.slide-btn.green {
  background: transparent;
  color: #fff;
  border: 2px solid #58a946;
}

.slide-btn.green:hover {
  background: #58a946;
  color: #fff;
}

.arrow-right {
  font-size: 18px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.slider-nav.prev {
  left: 30px;
}

.slider-nav.next {
  right: 30px;
}

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

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background: #fff;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 4px;
}

.about-text h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives-section {
  padding: 80px 0;
  background: #f5faf5;
}

.objectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.objectives-image img {
  width: 100%;
}

.objectives-image .mobile-img {
  display: none;
}

.objectives-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.objectives-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.objectives-content ol,
.objectives-content ul {
  padding-left: 24px;
  margin-bottom: 30px;
}

.objectives-content ol li,
.objectives-content ul li {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
  list-style-type: decimal;
}

.objectives-content ul li {
  list-style-type: disc;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  margin-top: 80px;
  background: linear-gradient(135deg, #006838 0%, #004d29 100%);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-header .breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb a:hover {
  color: #fff;
}

/* ===== CONTENT SECTION (subpages) ===== */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: #006838;
  margin-bottom: 20px;
  margin-top: 40px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  margin-top: 30px;
}

.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.content-section ul li {
  list-style-type: disc;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.content-section ol li {
  list-style-type: decimal;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.content-section ul li strong,
.content-section ol li strong {
  color: #333;
}

.content-section .highlight-box {
  background: #f0f7f0;
  border-left: 4px solid #006838;
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.content-section .highlight-box p {
  margin-bottom: 0;
}

.content-section .download-list {
  list-style: none;
  padding-left: 0;
}

.content-section .download-list li {
  list-style: none;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-section .download-list li::before {
  content: '\1F4C4';
  font-size: 20px;
}

.content-section .download-list li a {
  color: #006838;
  font-weight: 600;
}

.content-section .download-list li a:hover {
  text-decoration: underline;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 30px;
  margin: 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #006838;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #006838;
  border: 3px solid #f5faf5;
}

.timeline-year {
  font-size: 18px;
  font-weight: 800;
  color: #006838;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
}

.contact-info h3 {
  margin-top: 0;
  color: #006838;
}

.contact-info p {
  margin-bottom: 8px;
}

/* ===== PHASES GRID ===== */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.phase-card {
  background: #f5faf5;
  padding: 24px;
  border-radius: 8px;
  border-top: 4px solid #006838;
}

.phase-card h3 {
  margin-top: 0;
  color: #006838;
}

/* ===== STAKEHOLDER GRID ===== */
.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.stakeholder-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.stakeholder-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #006838;
  text-transform: uppercase;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.gallery-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item p {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE FOR SUBPAGES ===== */
@media (max-width: 768px) {
  .page-header {
    padding: 40px 0;
    margin-top: 65px;
  }
  .page-header h1 {
    font-size: 24px;
  }
  .content-section {
    padding: 40px 0;
  }
  .content-section h2 {
    font-size: 22px;
  }
  .phases-grid {
    grid-template-columns: 1fr;
  }
  .stakeholder-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #006838;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #004d29;
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a2e;
  color: #ccc;
}

.footer-main {
  padding: 50px 0 30px;
}

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

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #006838;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-col ul li a:hover {
  color: #58a946;
}

.footer-bottom {
  background: #0f0f1a;
  padding: 30px 0;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #444;
  color: #aaa;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  text-transform: uppercase;
}

.social-icon:hover {
  border-color: #58a946;
  color: #58a946;
  background: rgba(88,169,70,0.1);
}

.footer-links {
  margin-bottom: 15px;
  font-size: 13px;
}

.footer-links a {
  color: #aaa;
  margin: 0 6px;
  transition: color 0.2s;
  font-weight: 600;
}

.footer-links a:hover {
  color: #58a946;
}

.copyright p {
  font-size: 13px;
  color: #777;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  #main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-slider {
    height: 500px;
  }

  .slide-content h1 {
    font-size: 36px;
  }

  .about-grid,
  .objectives-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 15px;
  }

  .ministry-name {
    display: none;
  }

  .logo {
    width: 45px;
  }

  .hero-slider {
    height: 420px;
    margin-top: 65px;
  }

  .slide-content {
    padding: 0 30px;
  }

  .slide-content h1 {
    font-size: 28px;
  }

  .slide-label {
    font-size: 14px;
  }

  .slide-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .slider-nav.prev {
    left: 10px;
  }

  .slider-nav.next {
    right: 10px;
  }

  .about-section,
  .objectives-section {
    padding: 50px 0;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .objectives-image .desktop-img {
    display: none;
  }

  .objectives-image .mobile-img {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main {
    padding: 30px 0 20px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 350px;
  }

  .slide-content h1 {
    font-size: 22px;
  }

  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }
}
