* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Topbar */
.topbar {
  background-color: #E8531A;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  position: sticky;
  z-index: 999;
}

.topbar .f {
  margin: 0;
  font-weight: bold;
}

.social-icons a {
  margin-left: 10px;
  color: #141414;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}
.language-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
}

.language-toggle select {
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .language-toggle {
    margin-top: 10px;
  }
}


/* Off-screen menu */
.off-screen-menu {
    background-color: #7B3F00;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position:fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    z-index: 888;
}
.off-screen-menu.active {
    right: 0;
}

.off-screen-menu ul {
  list-style: none;
  text-align: center;
}

.off-screen-menu ul li {
  margin: 20px 0;
}

.off-screen-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 24px;
}

/* Navbar with logo */

.main-nav {
  background: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* MOBILE DRAWER MENU */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(180deg, #7B3F00, #5a2d00);
  color: white;
  z-index: 2000;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  right: 0;
}

/* Header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.drawer-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Nav links */
.drawer-nav {
  padding: 20px;
  overflow-y: auto;
}

.drawer-nav a {
  display: block;
  padding: 14px 0;
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  
}


.drawer-group {
  margin-top: 10px;
}

/* Toggle buttons */
.drawer-toggle {
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-size: 1.05rem;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.15);

}

.drawer-toggle span {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}


.drawer-submenu {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
}

.drawer-submenu a {
  font-size: 0.95rem;
  opacity: 0.95;
  padding: 10px 0;
}

/* Active submenu */
.drawer-group.active .drawer-submenu {
  display: block;
}

.drawer-group.active .drawer-toggle span {
  transform: rotate(45deg);
}

/* Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Lock body */
body.drawer-open {
  overflow: hidden;
}

/* Desktop safety */
@media (min-width: 768px) {
  .mobile-drawer,
  .drawer-backdrop {
    display: none;
  }
}



.logo {
  height: 120px;
  width: auto;
  mix-blend-mode: multiply;
}

.menulogo{
  height: 70px;
  width: auto;
  mix-blend-mode: multiply;
  margin-top: 30px;
}



.has-submenu {
  position: relative;
  
}
.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  list-style: none;
  padding: 8px 0;
  min-width: 200px;
  z-index: 999;

  
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
}
.has-submenu .submenu::-webkit-scrollbar {
  width: 6px;
}

.has-submenu .submenu::-webkit-scrollbar-thumb {
  background: #2E8B2E;
  border-radius: 10px;
}

.has-submenu .submenu::-webkit-scrollbar-track {
  background: transparent;
}


.has-submenu:hover .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.submenu li a:hover {
  background: #f0f0f0;
}


.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-nav > * {
  display: inline-block; 
}

.has-submenu {
  position: relative;
}

.has-submenu > a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.has-submenu > a:hover {
  color: #2E8B2E;

}


.has-submenu > a::after {
  content: " ▾";
  font-size: 0.8rem;
}







/* Submenu default hidden */
.off-screen-menu .submenu {
  display: none;
  flex-direction: column;
  padding-left: 15px;
  margin-top: 5px;
}

/* Show submenu when active */
.off-screen-menu .submenu.active {
  display: flex;
}


.off-screen-menu .submenu li a {
  font-size: 0.9rem;
  padding: 8px 0;
  display: block;
}


.off-screen-menu .has-submenu > a::after {
  content: "▾";
  margin-left: 5px;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.off-screen-menu .has-submenu.open > a::after {
  transform: rotate(180deg);
}







/* Hamburger */
.ham-menu {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.ham-menu span {
  height: 4px;
  background: #2E8B2E;
  border-radius: 2px;
  transition: 0.3s;
}

/* Desktop nav*/
.desktop-nav {
  display: none;
  gap: 20px;
}

.desktop-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: #2E8B2E;
}

/* MEDIA QUERIES */
@media (min-width: 768px) {
  .ham-menu {
    display: none; /* Hide hamburger */
  }

  .desktop-nav {
    display: flex; /* Show full nav */
    align-items: center;
  }
}

.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: #2E8B2E;
    cursor: pointer;
    
   
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* --- Hero Section --- */

.program-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Background image layer */
.program-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/images/justice1.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.55);
  z-index: 0;
}

/* Content */
.program-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.program-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.program-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
}

/*Program Sections */
.program-section {
  padding: 70px 5%;
  background: #ffffff;
}

.program-section.alt-bg {
  background: #f7f9fa;
}

/*Grid Layout */
.program-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap; 
}

.program-grid.reverse {
  flex-direction: row-reverse;
}


.program-text {
  flex: 1 1 52%;
  min-width: 320px;
}

.program-text h2 {
  color: #2E8B2E;
  font-size: 1.9rem;
  margin-bottom: 18px;
}

.program-text p {
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}


.program-image {
  flex: 1 1 45%;
  text-align: center;
  min-width: 320px;
}

.program-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-image img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.3);
}


.activity-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.activity-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  background: #e0f7fa;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.activity-list li:hover {
  background: #c8f6f2;
  transform: translateX(6px);
}

/*Impact Strip */
.impact-strip {
  background: linear-gradient(120deg, #2E8B2E, #7B3F00);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.impact-strip h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.impact-strip p {
  max-width: 850px;
  margin: auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* CTA Section*/
.program-cta {
  background: #f0f0f0;
  text-align: center;
  padding: 70px 20px;
}

.program-cta h2 {
  color: #2E8B2E;
  font-size: 1.9rem;
  margin-bottom: 28px;
}

.program-cta .btn {
  background-color: #2E8B2E;
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.program-cta .btn:hover {
  background-color: #236b23;
  transform: translateY(-3px);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.9s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .program-grid {
    flex-direction: column;
    flex-wrap: wrap; 
  }

  .program-image,
  .program-text {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .program-hero {
    height: 50vh;
  }

  .program-hero h1 {
    font-size: 2.1rem;
  }

  .program-text p {
    text-align: left;
  }
}






/* FOOTER STYLES  */

footer {
  background: linear-gradient(135deg, #7B3F00, #E8531A);
  color: #fff;
  margin-top: 80px;
}

/* FOOTER CONTENT */
.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}


.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: #eaffea;
  position: relative;
}

.footer-section h3::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #2E8B2E;
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}


.footer-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f1f5f9;
  opacity: 0.95;
}


.footer-section a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-section a:hover {
  color: #2E8B2E;
  transform: translateX(4px);
}


.footer-section.links ul {
  list-style: none;
  padding: 0;
}

.footer-section.links li {
  margin-bottom: 10px;
}


.footer-section.contact p {
  margin-bottom: 10px;
}


footer .social-icons {
  margin-top: 12px;
}

footer .social-icons a {
  margin-right: 12px;
  font-size: 1.2rem;
  color: #ffffff;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

footer .social-icons a:hover {
  transform: translateY(-4px) scale(1.1);
  color: #2E8B2E;
}

/* CALL TO ACTION */
.footer-cta {
  background: rgba(0, 0, 0, 0.15);
  padding: 25px 20px;
  text-align: center;
  margin-top: 40px;
}

.footer-cta h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-cta a {
  display: inline-block;
  background: #2E8B2E;
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer-cta a:hover {
  background: #d2ab75;
  transform: translateY(-2px);
}


.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 14px 10px;
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* desktop layout */
@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 70px 60px 50px;
  }

  .footer-section h3 {
    font-size: 1.25rem;
  }
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}












