/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-image: url('feedback-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background: rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.feedback-container {
  max-width: 700px;
  margin: 4em auto;
  padding: 2em;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.feedback-container h1 {
  text-align: center;
  margin-bottom: 1em;
}

.feedback-container p {
  text-align: center;
  margin-bottom: 1.5em;
}

.rating-preview {
  text-align: center;
  font-size: 1.5em;
  color: gold;
  margin-bottom: 1em;
}

.rating-score {
  display: block;
  color: white;
  font-size: 1em;
  margin-top: 0.3em;
}

#feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

#feedback-form input,
#feedback-form textarea {
  padding: 0.8em;
  border-radius: 6px;
  border: none;
  outline: none;
}

textarea {
  resize: none;
  min-height: 100px;
}

.rating-label {
  margin-top: 0.5em;
}

.rating-stars {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
}

.rating-stars input[type="radio"] {
  display: none;
}

.rating-stars label {
  color: #ccc;
  transition: color 0.3s ease;
}

.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: gold;
}

.submit-btn {
  padding: 0.7em;
  background: gold;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #ffd700;
}

.testimonial-section {
  padding: 3em 1em;
  background: rgba(255, 255, 255, 0.1);
}

.testimonial-section h2 {
  text-align: center;
  margin-bottom: 2em;
  color: #fff;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.testimonial {
  background: rgba(0, 0, 0, 0.6);
  padding: 1em;
  border-radius: 12px;
  max-width: 250px;
  text-align: center;
  color: white;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
