/*=========================
UJAMAA HERO SECTION
=========================*/
.hero-section {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
  }
  
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(57, 42, 118, 0.6); /* same as button color with transparency */
    z-index: 1;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons a {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .btn-primary {
    background-color: #392a76;
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #2c215c;
  }
  
  .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .btn-secondary:hover {
    background-color: white;
    color: #392a76;
  }
  
/* ===============================
   WHAT WE OFFER SECTION
=============================== */
#what-we-offer {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  #what-we-offer .section-header h2 {
    color: #392a76;
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  #what-we-offer .section-header p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .offer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .offer-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
  }
  
  .offer-card:hover {
    transform: translateY(-5px);
  }
  
  .offer-card h3 {
    color: #392a76;
    margin-bottom: 1rem;
  }
  
  .offer-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
  }

  .offer-card i {
    font-size: 2.5rem;
    color: #392a76;
    margin-bottom: 1rem;
    display: block;
  }

  .learn-more-button {
    display: inline-block;
    background-color: #332c78;
    color: #fff;
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .learn-more-button:hover {
    background-color: #5946b2;
    transform: translateY(-2px);
  }
  
  /* ===========================
   FEATURED PROJECTS SECTION
=========================== */
#featured-projects {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  text-align: center;
}

#featured-projects .section-header h2 {
  color: #392a76;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#featured-projects .section-header p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.projects-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
  padding: 1.5rem; 
}


.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #392a76;
  padding: 1rem 1rem 0.5rem;
}

.project-card p {
  font-size: 0.95rem;
  padding: 0 1rem 1rem;
  color: #555;
}

.project-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.view-button,
.secure-button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  border: none;
  border-radius: 0.25rem;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
}

.view-button {
  background-color: #392a76;
}

.view-button:hover {
  background-color: #2f2261;
}

.secure-button {
  background-color: #268142;
}

.secure-button:hover {
  background-color: #1b5d30;
}


