/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Header */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  margin-bottom: 10px;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #2c3e50;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}


body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
  color: #333;
  padding: 20px;
  min-height: 100vh;
}

/* Title */
h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #2c3e50;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}

/* Container grid */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 10px;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Images */
.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

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

/* Titles */
.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #34495e;
  text-align: center;
}

/* Description */
.project-card p {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  .project-card {
    padding: 12px;
  }
  .project-card img {
    height: 140px;
  }
}
