body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #141e30, #243b55);
  color: white;
}

/* Header */
header {
  text-align: center;
  padding: 60px 20px 40px;
}

header h1 {
  font-size: 50px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

header p {
  color: #cfcfcf;
  font-size: 18px;
}

/* Projects Section */
.projects {
  padding: 50px 8%;
}

.projects h2 {
  text-align: center;
  font-size: 35px;
  margin-bottom: 40px;
}

/* Grid Layout */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* Card Design */
.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Images */
.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* Card Content */
.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.card-content p {
  color: #d8d8d8;
  line-height: 1.7;
  font-size: 15px;
}

/* Button */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  background: linear-gradient(45deg, #ff6a00, #ee0979);
  transition: 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {

  header h1 {
    font-size: 38px;
  }

  .projects h2 {
    font-size: 28px;
  }
  
}