* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial;
  background: #0f172a;
  color: white;
}

header {
  background: #1e293b;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
}

button {
  padding: 10px;
  background: #38bdf8;
  border: none;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 20px;
}
.logo {
  font-size: 28px;
  font-weight: bold;
  color: #38bdf8;
  text-decoration: none;
  transition: 0.3s;
}

.logo:hover {
  transform: rotate(5deg) scale(1.1);
}
nav a {
  position: relative;
  color: white;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

nav a:hover::after {
  width: 100%;
}
h1, h2, p {
  transition: 0.3s;
}

h1:hover, h2:hover, p:hover {
  transform: scale(1.05);
  color: #6dc5eb;
}
body {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body {
  transition: opacity 0.3s;
}