body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
}

header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo a:hover {
  color: #ff6b35;
  transform: scale(1.05);
}

.logo-img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
  display: block;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s ease;
}

.logo a:hover .logo-text {
  color: #ff6b35;
}

nav {
  display: flex;
  gap: 3rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

nav a:hover {
  color: #ff6b35;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: #ff6b35;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

main {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 20px;
}

form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

form p {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: maroon;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.5s ease;
}

button:hover {
  background: green;
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    gap: 1rem;
    padding: 0.8rem 1rem;
    justify-content: space-between;
    align-items: center;
  }

  .logo a {
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  .logo-img {
    height: 35px;
  }

  .logo-text {
    font-size: 1rem;
  }

  nav {
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  nav a {
    font-size: 0.85rem;
  }

  form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem 0.8rem;
    gap: 0.8rem;
  }

  .logo a {
    font-size: 1.1rem;
    gap: 0.4rem;
  }

  .logo-img {
    height: 30px;
  }

  .logo-text {
    display: none;
  }

  nav {
    gap: 0.8rem;
    flex-wrap: nowrap;
  }

  nav a {
    font-size: 0.75rem;
  }

  main {
    padding: 1.5rem 1rem;
  }

  form {
    padding: 2rem 1.5rem;
  }

  form p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }

  label {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  textarea {
    min-height: 180px;
  }

  button {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    width: 100%;
  }
}