* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f5f8ff;
  color: #333333;
  line-height: 1.6;
}

.container {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

header {
  background: linear-gradient(90deg, #007bff, #ff4da6);
  color: white;
  text-align: left;
  padding: 3rem 2rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

header h1 {
  font-size: 3rem;
  font-weight: bold;
}

header .tagline {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.9;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffe6f2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #007bff;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ff4da6;
  margin-top: 5px;
  border-radius: 5px;
}

#about p {
  font-size: 1.1rem;
  margin-top: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-card h3 {
  color: #007bff;
  margin-bottom: 0.5rem;
}

.project-card p {
  margin-bottom: 1rem;
}

.project-card .btn {
  display: inline-block;
  background: #ff4da6;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.project-card .btn:hover {
  background: #e60073;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  background: #007bff;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #0056b3;
}

footer {
  background: #f0f4ff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  border-top: 2px solid #e6e6e6;
  font-size: 0.9rem;
  color: #555;
}
