/* Project section base */
#projects {
  min-height: 100vh;
  background-color: #0b1023;
  padding: 40px 20px;
}

/* Section title */
.projecttitle {
  text-align: center;
  font-size: 32px;
  color: hotpink;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Project container */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Project card */
.pro1 {
  background-color: #181f33;
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease;
}

.pro1:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px hotpink;
}

/* Project image */
.pro1 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
 
}

/* Tools used */
.tools-used {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
}

.tools-used img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.tools-used img:hover {
  transform: scale(1.2);
}

/* Project description */
.text {
  padding: 15px;
  font-size: 14px;
  color: #ddd;
  text-align: center;
}

/* Buttons */
.demo {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 15px;
  gap: 10px;
}

.demo a {
  background-color: black;
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
  text-align: center;
  flex: 1;
}

.demo a:hover {
  background-color: green;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .pro1 {
    width: 90%;
  }

  .demo {
    flex-direction: column;
  }
}
