    .card-container {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      flex-wrap: wrap;
      column-gap: 25px;
      row-gap: 25px;
      margin-bottom:90px;
    }

    .card_diy {
      position: relative;
      width: 100%;
      max-width: 379px;
      overflow: hidden;
      /* border-radius: 5px; */
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      background-color: #fff;
    }

    .card_diy img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: 0.3s ease;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: black;
      opacity: 0;
      transition: 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .card_diy:hover .overlay {
      opacity: 1;
    }

    .icon-btn {
      border: none;
      padding: 10px;
      border-radius: 2px;
      cursor: pointer;
      background: white;
    }

    .icon-btn i {
      font-size: 18px;
      color: black;
    }

    .text-content {
      position: absolute;
      bottom: 10px;
      left: 10px;
      color: white;
    }

    .text-content h3 {
      margin: 0;
    font-size: 15px;
    font-weight: bold;
    border-radius: 50px;
    color: white;
    width: 174px;
    background: black;
    padding: 9px 0px;
    text-align: center;
    }

    .text-content p {
      margin: 5px 0 0;
      font-size: 14px;
    }

    /* Responsive Layout */
    @media (min-width: 768px) {
      .card_diy {
        flex: 1 1 calc(33.333% - 20px);
      }
    }

    /* Modal Styles */
 .modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%;
  text-align:center;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
}

.modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  display: inline-block;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  border: 3px solid #fff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Close button exactly like image example */
.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  color: black;
  border: none;
  font-size: 18px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
    
    .details_projects{
        margin-bottom:20px;
    }
    
    .details_projects h2{
        font-family: 'Poppins', sans-serif;
    font-size: 30px;
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
    }
    
    .build_your{
    color: #C7D9E5;
    font-weight: 500;
    }
    
    .details_projects p{
            font-size: 16px;
    font-weight: 500;
    color: #85b3d1;
    }
    
    @media(max-width:850px){
        .card-container {
            grid-template-columns: 1fr 1fr;
    }
    
    }
    
     @media(max-width:500px){
        .card-container {
            grid-template-columns: 1fr;
    }
    .card_diy {
        max-width:100%;
    }
    }