* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to bottom right, #f0f8ff, #e6f0ff);
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #003366, #0055aa);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.navbar .nav-title {
  font-size: 1.5rem;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar .nav-links li a {
  color: white;
  padding: 0.5rem 1rem;
  display: block;
  transition: background 0.3s ease;
}

.navbar .nav-links li a:hover {
  background: #003355;
  border-radius: 6px;
}

/* Projects Section */
section.projects {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Project Cards */
.project-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Project Images */
.project-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1rem auto;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

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

/* Buttons */
.button-group {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to right, #0072ff, #00c6ff);
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: #dceeff;
  margin-top: 2rem;
}

a {
  color: #1e1e2f;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .project-img {
    max-width: 100%;
    padding: 0 10px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }
}
