#map {
    height: 650px;
    
  }

  #map-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
  }
  
  #map {
    height: 750px;
    border-radius: 12px;
    z-index: 1;
    width: 90%;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 900px;
  }
  
  .map-buttons {
    width: 80%;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.9); */
    padding: 10px 20px;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); */
  }
  
.leaflet-control-attribution {
  display: none !important;
}

.center-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1200;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-width: 90%;
  width: 350px;
}

.d-none {
  display: none;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}


  .leaflet-popup-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .category-buttons {
    text-align: center;
    margin-bottom: 20px;
  }

  .category-button {
    background-color: #caff00;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
    transition: background-color 0.3s;
  }

  .category-button.active {
    background-color: #008080;
    color: white;
  }

  .popup-card {
    font-family: 'Cairo', sans-serif;
    max-width: 270px;
    padding: 10px;
    color: #333;
  }
  
  .popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .popup-icon {
    width: 24px;
    height: 24px;
  }
  
  .popup-title {
    font-size: 15px;
    font-weight: bold;
    color: #005c4b;
    margin: 0;
  }
  
  .popup-img {
    width: 100%;
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .popup-desc p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  .popup-button {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    background-color: #005c4b;
    color: white !important; 
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease;
  }
  
  .popup-button:hover {
    background-color: #00856b;
  }

  popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }


  
  .projects-section {
    background-image: url('../images/projects/implemented_projects_bg.png'); /* ✅ background of section */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    color: white;
  }

  .projects-title {
    font-size: 42px;
    font-weight: 700;
    color: #d4ff00;
    text-align: center;
    margin-bottom: 50px;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .project-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
  }

  .project-image {
    height: 140px;
    background-size: cover;
    background-position: center;
  }

  .project-content {
    padding: 16px;
    color: black;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .project-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .project-link {
    color: #007a5e;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
  }

  .project-link:hover {
    text-decoration: underline;
  }


  @media (max-width: 512px) {
    .map-buttons {
    width: 91%;
    }
    
  }