/* Reset & base */
/* Reset & Base */
/* Root Variables */
:root {
    --blue-primary: #4a90e2;
    --blue-dark: #357ab8;
    --green-light: #bff2bf;
    --green-very-light: #f0fff0;
    --white: #ffffff;
    --grey-light: #f8f9fa;
    --grey-medium: #e0e0e0;
    --grey-dark: #cccccc;
    --text-dark: #1a1a1a;
  }
  
  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 70px;
  }
  
  @media (max-width: 768px) {
    body {
      padding-top: 80px;
    }
  }
  
  .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  /* Header */
  .header {
    background-color: var(--blue-primary);
    color: white;
    padding: 1rem 0;
    position: fixed; /* Changed from sticky to fixed */
    top: 0;
    left: 0;
    width: 100%; /* Ensure it spans full width */
    z-index: 1000; /* Higher z-index to ensure it stays on top */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: adds subtle shadow */
}
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-img {
    height: 60px;
    width: auto;
  }
  
  .logo h1 {
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0;
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--green-light);
  }
  
  /* Dropdown */
  /* Dropdown Container */
.nav-links .dropdown {
    position: relative;
  }
  
  /* Dropdown Menu Styling */
  .nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 6px;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  /* Dropdown Items */
  .nav-links .dropdown-menu li {
    display: block;
  }
  
  .nav-links .dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  
  /* Hover Effects */
  .nav-links .dropdown-menu li a:hover {
    background-color: var(--green-light);
    color: var(--blue-primary);
  }
  
  /* Show Dropdown on Hover */
  .nav-links .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  /* Mobile Behavior */
  @media (max-width: 768px) {
    .header {
      padding: 0.5rem 0;
    }
    
    .header .container {
      padding: 0 1rem;
    }
    
    .logo {
      gap: 0.3rem;
    }
    
    .logo-img {
      height: 30px;
    }
    
    .logo h1 {
      font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
      display: flex;
    }
    
    .header .btn {
      padding: 0.4rem 0.8rem;
      font-size: 0.8rem;
    }
    
    .nav {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--blue-primary);
      transform: translateY(-100%);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1000;
    }
    
    .nav.nav-open {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
    
    .nav-links {
      flex-direction: column;
      padding: 1rem 0;
      gap: 0;
    }
    
    .nav-links li {
      width: 100%;
    }
    
    .nav-links a {
      display: block;
      padding: 1rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
  
    .nav-links .dropdown-menu {
      position: static;
      background-color: rgba(255,255,255,0.1);
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      display: block;
      width: 100%;
      border-radius: 0;
    }
  
    .nav-links .dropdown-menu li a {
      padding: 0.8rem 2rem;
      font-size: 0.9rem;
    }
  
    .nav-links .dropdown:hover .dropdown-menu {
      display: block;
    }
    
    .header .btn {
      margin: 1rem;
    }
  }
  
  /* Buttons */
  .btn {
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .btn-primary {
    background-color: var(--blue-primary);
    color: white;
    background-color: var(--green-light);
  }
  
  .btn-primary:hover {
    background-color: var(--blue-dark);
  }
  
  .btn-secondary {
    background-color: var(--green-light);
    color: var(--text-dark);
  }
  
  .btn-secondary:hover {
    background-color: #98d898;
  }
  
  .btn-blue {
    background-color: var(--blue-primary);
    color: white;
  }
  
  .btn-blue:hover {
    background-color: var(--blue-dark);
  }
  
  /* Hero Section */
  .hero {
    background: 
    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ),
    url('/images/Entrepreneurship.jpg') no-repeat center top/cover; /* Position image at center top */
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.hero-content h2 {
    font-size: 2rem; /* Reduced from 2.8rem */
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    color: var(--green-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.05rem; /* Reduced from 1.25rem */
    color: rgb(15, 15, 15);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero .btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
}

  /* Section Base */
  .section {
    padding: 4rem 0;
  }
  
  .section:nth-child(even) {
    background-color: var(--green-very-light);
  }
  
  .section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--blue-primary);
    position: relative;
  }
  
  .section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--blue-primary);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
  }
/* Mission Section */
.mission {
    background-color: var(--green-very-light);
    padding: 4rem 0;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: var(--blue-primary);
    margin-bottom: 2rem;
  }
  
  /* Core Values */
  .core-values {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .value-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .value-card:hover {
    transform: translateY(-8px);
  }
  
  .value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-primary);
  }
  
  .value-card p {
    font-weight: 600;
    color: var(--text-dark);
  }
  
  /* About */
  /* About Section */
.about {
    background-color: var(--green-very-light, #f0fdf4);
    position: relative;
    overflow: hidden;
    padding: 4rem 1rem;
}

/* Flex container */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Text content */
.about-text {
    flex: 1;
    min-width: 300px;
    padding: 2rem 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--blue-primary, #4a90e2);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--blue-primary, #4a90e2);
    position: relative;
    text-align: left;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--blue-primary, #4a90e2);
    margin: 1rem 0;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-dark, #333);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Stats Section */
.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    list-style: none;
    padding: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-primary, #4a90e2);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark, #333);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Button */
.about-text .btn {
    margin-top: 1rem;
}

/* Image Container */
.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Image Hover Effect */
.about-image:hover img {
    transform: scale(1.05);
}

/* Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74,144,226,0.2) 0%, rgba(74,144,226,0) 100%);
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        text-align: center;
    }

    .about-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats {
        justify-content: center;
    }
}

  
/* Projects Section */
.project-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background-color: /*var(--green-light)*/white;
  border-radius: 40px 40px 40px 40px; /* Top-left, top-right, bottom-right, bottom-left */
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  box-sizing: border-box;
}


.card h4 {
  color: var(--blue-primary);
  margin-bottom: 0.7rem;
}

.card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.card a.btn {
  align-self: flex-start;
  margin-top: auto;
  background-color: var(--blue-primary);
  color: white;
}

.card a.btn:hover {
  background-color: var(--blue-dark);
}

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



/* Improve responsiveness for smaller screens */
@media (max-width: 768px) {
  .project-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }
}



  /* Get Involved */
  .get-involved {
    background-color: var(--green-very-light); /* Light background for contrast */
    padding: 4rem 0;
    text-align: center;
  }
  
  .get-involved .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .get-involved h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
  }
  
  .get-involved p {
    font-size: 1.1rem;
    color: var(--green-medium);
    margin-bottom: 2rem;
  }
  
  .get-involved .btn {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
  }
  
  

  
/* Contact Section */
.contact {
    background-color: var(--blue-primary);
    padding: 4rem 0;
    color: var(--white); /* Set default text color */
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding: 0 1.5rem;
}

/* Organization branding */
.contact-info:first-child h2 {
    font-size: 2rem; /* Larger size for organization name */
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700; /* Bolder weight */
    position: relative;
    display: inline-block;
}

/* Add decorative element */
.contact-info:first-child h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--green-light);
}

.contact-info {
    flex: 1;
    min-width: 220px;
    padding: 1rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.contact-info p {
    font-size: 1rem;
    color: var(--grey-light); /* Better contrast */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Link List */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-links a {
    color: var(--grey-light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.contact-links a i {
    margin-right: 0.8rem;
    color: var(--green-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-links a:hover i {
    color: var(--white);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-icon {
    font-size: 1.4rem;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--blue-primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        width: 100%;
        text-align: center;
    }
    
    .contact-info:first-child h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-links {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
  
  /* Footer */
  .footer {
    background-color: var(--grey-medium);
    color: var(--text-dark);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
  }
  
  /* CTA Banner */
  .cta-banner {
    background-color: var(--blue-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
  }
  
  .cta-banner a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .project-cards,
    .about-content,
    .contact-container,
    .nav-links {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-links {
      align-items: center;
    }
  
    .social-icons {
      justify-content: center;
    }
  
    .nav-links .dropdown-menu {
      position: static;
      box-shadow: none;
      background-color: var(--green-very-light);
    }
  }

  /*health.html css */
  
.health-info {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.health-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.health-info h1 {
    color: #4a90e2;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.health-info p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.health-info img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Programs Section - Centered */
.programs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.program-activity {
    margin-bottom: 3rem;
    text-align: center;
}

.program-activity h2 {
    color: #357ab8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-activity p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design */
@media (min-width: 768px) {
    .health-info {
        padding: 2rem;
    }
    
    .programs-container {
        padding: 3rem;
    }
}

/* education.html */
.education-info {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.education-info h1 {
    color: #4a90e2;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.education-info p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.education-info img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: contain;
    filter: contrast(1.1) brightness(1.05) saturate(1.1) sharpen(1px);
}
@media (min-width: 768px) {
    .education-info {
        padding: 2rem;
    }
    
    .programs-container {
        padding: 3rem;
    }
}

/* peacebuilding */
.peacebuilding-info {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.peacebuilding-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.peacebuilding-info h1 {
    color: #4a90e2;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.peacebuilding-info p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.peacebuilding-info img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: contain;
}
@media (min-width: 768px) {
    .peacebuilding-info {
        padding: 2rem;
    }
    
    .programs-container {
        padding: 3rem;
    }
}
.card-modified {
    background-color: white;
    border-radius: 40px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 360px;
}

.card-modified .card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin: 0;
}

.card-modified .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-modified .card-icon {
    font-size: 2rem;
    color: #3498db;
    text-align: center;
    margin: 0.5rem 0;
}

.card-modified .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-modified h4 {
    color: #3498db;
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
}

.card-modified p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: #555;
}

.card-modified a.btn {
    align-self: flex-start;
    margin-top: auto;
    background-color: var(--blue-primary);
    color: white;
}

.card-modified a.btn:hover {
    background-color: var(--blue-dark);
}

.card-modified:hover {
    transform: translateY(-10px);
}
.project-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    width: 380px;
    height: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin: 0;
    border-radius: 20px 20px 0 0;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.4rem;
    color: #3498db;
}

.card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.card p {
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #555;
}

.card a.btn {
    align-self: flex-start;
    margin-top: auto;
    background-color: var(--blue-primary);
    color: white;
}

.card a.btn:hover {
    background-color: var(--blue-dark);
}

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

@media (max-width: 768px) {
    .project-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 400px;
    }
}