.single-project-wrapper {
    margin: 0 auto;

  }
  
  .single-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0 40px;
  }
  
  .single-project-header__left {
    flex: 1 1 55%;
  }
  
  .project-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 20px 0 0;
  }
  
  .project-year {
    font-size: 2rem;
    color: white;
    font-weight: 700;
  }
  
  .single-project-top-section {
    margin-bottom: 60px;
    overflow: hidden;
    margin-top: -3%;
  }
  
  .project-top-image {
    width: 1200px;
	  height: 500px;
    border-radius: 18px;
  margin: 0 auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-top-image:hover {
    transform: scale(1.03);
  }
  
  .info-content {
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
  }

  .gallery-info{
    max-width: 1200px;
    margin: 60px auto;
  
    justify-content: space-between;
    gap: 60px;
  }
  
  .info-content__left {
    flex: 1 1 60%;
  }
  
  .label-spc {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px 35px;
    border-radius: 20px;
    background-color: #ececec;
    color: #444;
    margin-bottom: 15px;
  }
  
  .single-project-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: black;
    text-align: left;
  }
  
  .info-content__right {
    flex: 1 1 35%;
  }
  
  .single-project-meta {
    background-color: #f7f7f7;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  
  .single-project-meta > div {
    margin-bottom: 15px;
  }
  
  .single-project-meta strong {
    color: #555;
    font-weight: 600;
  }
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px;
    margin-top: 20px;
}


.project-gallery img {
    width: 100%;

    object-fit: cover;  
    border-radius: 15px;
    max-height: 400px;
 min-height: 400px
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);  
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
}


  .single-project-top {
    background-color: #001E3C;
    height: 400px;
    display: flex;
    align-items: center;
  }
  

  @media (max-width: 900px) {
    .single-project-header {
      flex-direction: column;
      text-align: left;
    }
  
    .info-content {
      flex-direction: column;
      gap: 40px;
    }
  
    .info-content__right {
      order: -1;
    }
  
    .project-main-title {
      font-size: 2.5rem;
    }
  }

.image-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    padding: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); 
}

.image-modal-content {
    margin: auto;
    display: block;
  width: 800px;
  height: 800px;
    border-radius: 10px;
}

.image-modal-content:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}


.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #bbb;
}

@media (max-width: 900px) {
    .project-gallery {
        grid-template-columns: 1fr;  
    }
}


@media (max-width: 1024px) {
  .single-project-header {
      flex-direction: column;
      text-align: center;
  }

  .info-content {
      flex-direction: column;
      gap: 40px;
  }

  .info-content__right {
      order: -1;
  }

  .project-main-title {
      font-size: 2.8rem;
  }

  .project-gallery {
      grid-template-columns: 1fr;  
  }
}


@media (max-width: 768px) {
  .single-project-wrapper {
      width: 95%;
  }
	.project-top-image{
		width: 100%;
	}
  .single-project-header {
      padding: 60px 20px;
      align-items: center;
  }


  .info-content, .gallery-info {
    gap: 30px;
    padding: 25px;
}
  .project-main-title {
      font-size: 2.5rem;
  }

  .single-project-content {
      font-size: 1rem;
  }

  .project-gallery {
      grid-template-columns: 1fr; 
  }
}

@media (max-width: 480px) {
  .single-project-header {
      padding: 50px 15px;
  }

  .project-main-title {
      font-size: 2rem;
  }

  .project-gallery img {
      min-height: 250px;
  }

  .info-content {
      gap: 30px;
  }

  .single-project-meta {
      padding: 20px;
  }
}
