.project_title h2
{
    text-align: center;
    color: #50aca9;
    font-weight: 900;
    font-family: "Changa", sans-serif;
    font-optical-sizing: auto;
  font-style: normal;
}
.project_title p
{
    text-align: center;
  
}

.projects
{
  display: flex;
  justify-content: center;
}

.projects h3
{
      word-break: auto-phrase;
}

/* {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(373px, 0.5fr));
    gap: 10px;
    justify-items: center;
    align-items:center;
} */


.project-btn {
  padding: 10px 20px;
  border-radius: 50px;
 background: linear-gradient(135deg, #387876eb, #617f7e9e);;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s;
width: 55%;
}

.project-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 5px 15px rgba(195, 193, 193, 0.67);
}

 /* Modal styles */
  #imageModal {
    display: none; /* shown via JS */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  #imageModal.open { display: flex; }
  #imageModal .modal-content {
    max-width: 95%;
    max-height: 90%;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
  }
  #modalImg {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
  }
  .modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10000;
  }
  .btn 
  {
    border: none;
  }
  .btn:hover
  {
    border-color: none;
  }