@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
.projects-section {
  background: #f0f0f0;
  padding: 4em 2em;
}

.projects-section h3 {
  text-align: center;
  margin-bottom: 2em;
  font-size: 2em;
  color: #333;

}
.projects-section h5{
    text-align: center;
  font-size: .7em;
  color: #333;
  margin-top: -5em;
  margin-bottom: 7em;
}
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.project {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  text-decoration: none; 
  color: inherit; 
}

  
.project:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
  
.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s;
  z-index: 1;
  opacity: 0;
}

.project:hover::before {
  opacity: 1;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
}

.project-image {
  width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 15px 0 0 15px;
  transition: transform 0.3s;
  z-index: 2;
}

.project:hover .project-image {
  transform: scale(1.05);
}

.project-details {
  padding: 2em;
  position: relative;
  z-index: 2;
}

.project-details h3 {
  margin-top: 0;
  font-size: 1.8em;
  color: #006BD6;
}

.project-description {
  font-size: 1.1em;
  margin: 0.5em 0;
  color: #555;
  line-height: 1.6;
}

.project-tech {
  font-size: 0.9em;
  color: #888;
  font-style: italic;
}

@media (max-width: 1200px) {
  .project {
    flex-direction: row;
  }

  .project-image {
    width: 250px;
    border-radius: 15px 0 0 15px;
  }

  .project-details {
    text-align: left;
    padding: 2em;
  }
}

@media (max-width: 768px) {
  .project {
    flex-direction: column;
  }

  .project-image {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }

  .project-details {
    padding: 1.5em;
  }

  .project-details h3 {
    font-size: 1.5em;
  }

  .project-description {
    font-size: 0.9em;
  }

  .project-tech {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .projects-section {
    padding: 2em 1em;
  }

  .projects-section h3 {
    font-size: 1.5em;
    margin-bottom: 1.5em;
  }

  .projects-section h5 {
    font-size: 0.8em;
    margin-top: -2em;
    margin-bottom: 2em;
  }

  .project-details h3 {
    font-size: 1.3em;
  }

  .project-description {
    font-size: 0.9em;
  }

  .project-tech {
    font-size: 0.7em;
  }

  .project-details {
    padding: 1em;
  }
}