:root {
  --primary-accent: #4a5568;
  --secondary-accent: #718096;
  --text-muted: #4a5568;
  --card-bg: #ffffff;
  --header-overlay: rgba(74, 85, 104, 0.3);
}

/* ==== General Styling ==== */
html, body {
  width: 100%;
  overflow-x: hidden;
}
/* Navigation Styles */
.nav {
    display: flex;
    align-items: center;
    margin-bottom: -29.7%;
    margin-right: 0%;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: black;
    background: rgba(252, 255, 255, 1);
    font-weight: 600;
}

/* Donate Button */
.donate-button {
    background: white;
    color: #000000 !important;
    padding: 0.75rem 1.5rem;
	position: relative;
	top: -110px;
	z-index: 999;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3.3px 0px !important;
}

.donate-button:hover {
    transform: translateY(-2px);

}

* {
  box-sizing: border-box;
}
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #f9fafb;
}

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

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section, .grey-section {
  padding: 3rem 0;
  margin-bottom: 2rem;
  clear: both;
  background-color: var(--card-bg);
}

.section:nth-child(even) {
  background-color: #f8f9fa;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
  color: #2d3748; /* dark text */
}

.section h2,
.grey-section h2 {
  color: var(--primary-accent);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section h2::after,
.grey-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-accent);
  margin: 1rem auto;
}

.section h3 {
  color: var(--primary-accent);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-accent);
  padding-left: 1rem;
}

/* ==== Typography and Text ==== */
.intro-text {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.section p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #4a5568;
}

/* ==== Mission Bullets ==== */
.mission-bullets {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mission-bullets h3 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.mission-bullets ul {
  list-style: none;
  padding: 0;
}

.mission-bullets li {
  padding: 0.8rem 0 0.8rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.mission-bullets li:last-child {
  border-bottom: none;
}

.mission-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ==== Cards (Arms, Services, Programs, Values) ==== */
.arm-box,
.service-card,
.program-card,
.objective-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-top: 5px solid var(--primary-accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.job-listing:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.service-card h4,
.program-card h3,
.objective-card h4 {
  color: var(--primary-accent);
}

.service-card li::before,
.program-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  font-weight: bold;
}

/* ==== Values Section ==== */
.value-card {
  padding: 0rem;
  border-radius: 3px;
  min-height:140px;
  padding-top:1px;
  padding-bottom:2px;
  text-align: center;
}

.value-card h4 {
  font-size: 1.4rem;
  color: #04372a;
  margin-bottom: 1rem;
}

/* ==== Target Groups ==== */
.target-group {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--primary-accent);
}

.target-group h4 {
  color: var(--primary-accent);
}

/* Header Styles */
header {
  width: 100%;
  min-height: 43vh;
  position: sticky;
  top: 0;
  z-index: 999;
  color: white;
  background-image: url('../asset/imgs/hd.jpg');
  background-attachment: fixed;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header .nav-links .donate-button {
  background: white;
  color: var(--primary-accent) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  height: 250px;
  width: auto;
  max-width: 700px;
}

/* Hamburger Menu Styles - CRITICAL FIX */
.hamburger {
  display: none ; /* Will be shown on mobile */
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  margin-top:-153%;
  margin-left:-24%;
  background: none;
  border: none;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger Animation - CRITICAL */
.hamburger.active .hamburger-line:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:last-child {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles - CRITICAL */
@media (max-width: 768px) {
  .hamburger {
      display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      transition: right 0.3s ease;
      z-index: 1000;
  }

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

  .nav {
      margin-bottom: 0;
      margin-right: 0;
  }

  .nav-links a {
      font-size: 1.5rem;
      padding: 1rem 2rem;
      border-radius: 8px;
      text-align: center;
      min-width: 200px;
  }

  .donate-button {
      font-size: 1.2rem;
      padding: 1rem 2rem;
  }

  .logo img {
      height: 155px;
  }
}



header .nav-links .donate-button {
    background: white;
    color: var(--primary-accent) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 250px;
    width: auto;
    max-width: 700px;
}

.logo:hover {
  
}

/* Hamburger Menu Styles - CRITICAL FIX */
.hamburger {
    display: none; /* Will be shown on mobile */
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
	margin-top:-153%;
	margin-left:-24%;
    background: none;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation - CRITICAL */
.hamburger.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles - CRITICAL */
@media (max-width: 768px) {
  .hamburger {
      display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      transition: right 0.3s ease;
      z-index: 1000;
  }

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

  .nav {
      margin-bottom: 0;
      margin-right: 0;
  }

  .nav-links a {
      font-size: 1.5rem;
      padding: 1rem 2rem;
      border-radius: 8px;
      text-align: center;
      min-width: 200px;
  }

  .donate-button {
      font-size: 1.2rem;
      padding: 1rem 2rem;
  }

  .logo img {
      height: 155px;
  }
}
/* Footer */
.site-footer {
    background: var(--primary-accent);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: white;
    color: var(--primary-accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
}

.footer-bottom-text {
    color: inherit;
    text-decoration: none;
}

/* Layout Grids */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-accent);
    transition: transform 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-5px);
}

.approach-item h4 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .approach-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem;
    }

    .logo img {
        height: 155px;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .nav-links a {
        font-size: 1.3rem;
        min-width: 180px;
    }
}

/* ==== Career Section ==== */
.job-listing {
  background-color: #ffffff;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-accent);
}

.job-listing h3 {
  color: var(--primary-accent);
}

.application-section {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.application-section h2,
.application-section a {
  color: var(--primary-accent);
}
