:root {
    --teal: #4B8B9D;
    --pearl: #E8DFD5;
    --rose: #C98880;
    --charcoal: #3A3A3A;
    --misty-blue: #A7BED3;
    --white: hsl(0, 0%, 100%);
    --primary: #2c5e92;  /* Deep blue for trust */
    --secondary: #e67e22;  /* Orange for action */
    --light: #f5f7fa;
    --dark: #333;
    --accent: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    left: 0;
    margin-top: 0px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    height: 15vh;
}

/* .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
} */

/* .logo span {
    color: var(--secondary);
} */
.logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s; 
}
.logo img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    vertical-align: middle;
    background-color: var(--white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.nav-links a:hover {
    color: var(--primary);
}
.research-option{
    border: none;
    outline: none ;
    cursor: pointer;
    width: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    background-color: white;

}
.capacity-option{
    border: none;
    outline: none ;
    cursor: pointer;
    width: 170px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    background-color: white;

}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('partners-img/WhatsApp\ Image\ .jpeg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    opacity: 0.9;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;

}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.hero-text{
    margin-top: 5rem;
    text-align: center;
    width: 80%;
}
.hero-span {
    font-size: 20px;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.mission-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.mission-text {
    flex: 1;
}

.mission-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.mission-text ul {
    list-style:circle;
}

.sectionTwo {
    margin-top: 4rem;
}

.mission-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}
.map{
    height: 70vh;
    width: 100%;
    display: flex;

}
.map img{
    width: 80%;
    height: 100%;
    
}

/* Values Section */
.values {
    padding: 5rem 0;
}

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

.value-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.value-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.logo{
    display: flex;
    padding-bottom: 10px;
  }
  
    .logo-footer{
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }
    .logo-footer img{
      width: 50px;
      height: 50px;
      margin-right: 10px;
      margin-bottom: 20px;
      background-color: var(--primary);
    }
    .logo .logo-text {
      font-size: 30px;
      font-weight: bold;
      margin-top: 20px;
    }

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .hero-content {
        margin-top: 5rem;
    }

    .logo-text{
        display: none;
    }

    .hero-text {
        margin-top: 2rem;
        /* text-align: ; */
        width: 80%;
    }
    
    .page-header  {
        margin-top: 14%;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mission{
        padding: 5rem 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content, 
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
   .mission-content {
    display: block;
   }
   
   .mission-text{
    margin-bottom: 5rem;
   }
   .partner-logo {
    flex: 0 0 calc(50% - 20px); /* 2 per row on mobile */
  }
}

.map{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40vh;
}
.map h2{
margin-bottom: 20px;
}



.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Make the body take up at least the full viewport height */
}
.main-content {
    flex-grow: 1; /* Allow the main content to grow and push the footer down */
    padding-top: 95px;
}



.partners .section-title {
    color: var(--dark);
}

.partners .section-title::after {
    background: var(--rose);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }
  
  .partner-logo {
    width: 150px;
    height: 100px;
    object-fit: contain;
    flex: 0 0 calc(25% - 20px); /* 4 per row with gap */
  }

.partners p{
    text-align: center;
}
.partner-logo:hover {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.05);
}


.peacebuilder-section {
    background-color: #2c5e92;
    padding: 50px 20px;
    text-align: center;
    color: black;
  }
  
  .peacebuilder-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
  }
  
  .peacebuilder-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  
  .peacebuilder-card {
    background: white;
    border-radius: 20px;
    padding: 20px 10px;
    width: 230px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .peacebuilder-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid #2c5e92;
  }
  
  .peacebuilder-name {
    margin-top: 15px;
    font-size: 18px;
    color: #2c5e92;
  }
  
  .peacebuilder-role {
    font-weight: bold;
    color: #e67e22;
    margin: 5px 0;
  }
  
  .peacebuilder-description {
    font-size: 14px;
    margin: 15px 0;
  }
  
  .peacebuilder-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
    color: #2c5e92;
  }

  .peacebuilder-socials a {
  color: inherit;
  text-decoration: none;
  display: flex; /* ensures the <a> behaves like the <i> */
  align-items: center;
  justify-content: center;
}
  
  .peacebuilder-socials i:hover {
    color: #27ae60;
    cursor: pointer;
  }


  .about_intro {
    margin: 2rem 0;
    margin-top: 8rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);

}

.about_intro h1 {
    margin-top: 20px;
    color: #2c5e92;
    font-size: 2.8rem;
    text-align: center;

}

.projects h2 {
    text-align: center;
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: -7rem;
}

.work {
    text-align: center;
    margin: 8rem 0;
}

.work h3{
    margin: 0.5rem auto 1rem;
    width: 70%;
    color: var(--primary);

}

.work p{
    width: 78%;
    margin: 0 auto;
    color: var(--primary);
}

.work img {
    border-radius: 20px;
    object-fit: cover;
    width: 60%;
    height: 70vh;
}

@media (max-width: 768px) {

    .about_intro {
        margin: 5rem 1rem;
    }

    .about_intro h1 {
        margin-top: 5rem;
    }

    .work img{
        width: 80%;
        height: 248px;
        object-fit: cover;
    }

    .work p{
        width: 90%;
    }

    .projects h3{
        margin: 1rem auto 2rem;
        width: 90%;
    }
}
  
  