.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background-color: #111;
  padding: 1rem;
}
.navbar a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 500;
}
.navbar a:hover {
  color: #00bfa6;
}

**********


body {
  font-family: "Inter", Arial, sans-serif;
  background-color: #f4f5f7;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.profile-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  transition: all 0.3s ease;
  margin:auto
}

.profile-card:hover {
  transform: translateY(-5px);
}

header h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1rem;
}

figure {
  text-align: center;
}

figure img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

figcaption {
  color: #777;
  font-size: 0.9rem;
}

p, h4{
  color: #555;
  line-height: 1.5;
  text-align: justify;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #0077b5;
  font-weight: 500;
}

h3 {
  color: #444;
  margin-top: 1.5rem;
  text-align: center;
}

ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

li {
  margin: 0.3rem 0;
}



@media (min-width: 768px) {
  .profile-card {
    display: grid;
    grid-template-columns: 1fr;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background: #fafafa;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

h2 {
  color: #00bfa6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea, button {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button {
  background-color: #00bfa6;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #009f8c;
}

.error-message {
  color: red;
  font-weight: 500;
}

.success-message {
  color: green;
  font-weight: 500;
}

@media (max-width: 600px) {
  main {
    padding: 0.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}