#project-section {
  width: 100%;
  margin: 20px auto;
}

.project-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.project-header img {
  width: 100%;
  height: auto;
}

.project-header h1 {
  position: absolute;
  top: 50%;
  left: 14%;
  padding: 0px 10px 10px 50px;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 4rem;
  /* background: rgb(38, 43, 195); */
  font-weight: bold;
}

.project-container {
  padding: 10px 100px 10px 130px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.project-left,
.project-right {
  flex: 1;
}

.project-left {
  overflow: hidden; /* Prevent image overflow */
}

.project-left img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Added transformation transition */
  display: block;
}

.project-left img:hover {
  transform: scale(1.1); /* Scale image on hover */
}

.project-right {
  padding: 20px;
}
.project-right p {
  margin: 10px 0; /* Add space between <p> tags */
}

.address {
  color: #cb4c32; /* Color for address */
}

.project-details {
  margin: 10px 0;
  color: #2f2e2e; /* Color for project details */
}


.additional-details {
  margin-top: 20px;
  padding: 16px;
  color: white;
  background-color: hsl(210, 67%, 31%);
  border-radius: 10px;
}


/* Media Queries for responsiveness */

/* Tablet view */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 3rem;
    left: 50%;
    padding: 0px 10px;
  }

  .project-container {
    padding: 10px;
    flex-direction: column;
  }

  .project-left, .project-right {
    padding: 10px;
  }
}

/* Mobile view (small screens) */
@media (max-width: 576px) {
  .project-header h1 {
    font-size: 2rem;
    padding: 5px 10px;
  }

  .project-container {
    padding: 5px;
  }

  .project-left img {
    transition: none; /* Disable hover scaling on small screens */
  }

  .additional-details {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* Extra small mobile view */
@media (max-width: 400px) {
  .project-header h1 {
    font-size: 1.5rem;
    padding: 5px;
  }

  .project-container {
    padding: 0;
    gap: 10px;
  }

  .project-right p {
    font-size: 0.9rem;
  }

  .additional-details {
    font-size: 0.8rem;
    padding: 8px;
  }
}