* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #f8f4e1;
  color: #4e1f00;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #4e1f00;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #f8f4e1;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #feba17;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #f8f4e1;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Comments Section */
.comments {
  padding: 120px 50px 100px;
  text-align: center;
  background: linear-gradient(180deg, #f8f4e1, #74512d);
}

.comments h1 {
  font-size: 48px;
  color: #feba17;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(78, 31, 0, 0.5);
}

.comments p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #74512d;
}

.comment-form {
  max-width: 600px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-form input,
.comment-form textarea {
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #f8f4e1;
  color: #4e1f00;
  box-shadow: 0 0 10px rgba(78, 31, 0, 0.2);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: #74512d;
}

.comment-form textarea {
  height: 150px;
  resize: vertical;
}

.cta-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #feba17;
  border: none;
  color: #4e1f00;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
  background-color: #74512d;
  color: #f8f4e1;
  transform: translateY(-5px);
}

.comment-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-card {
  display: flex;
  align-items: flex-start;
  background-color: rgba(248, 244, 225, 0.9);
  padding: 15px;
  border-radius: 10px;
  border-left: 5px solid #feba17;
  transition: transform 0.3s, border-left-color 0.3s;
  opacity: 0;
  animation: fadeInScale 0.5s ease-out forwards;
}

.comment-card:hover {
  transform: scale(1.02);
  border-left-color: #74512d;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  border: 2px solid #74512d;
}

.comment-content {
  flex: 1;
  text-align: left;
}

.comment-card h3 {
  font-size: 18px;
  color: #feba17;
  margin-bottom: 5px;
}

.comment-card p {
  font-size: 16px;
  color: #4e1f00;
  margin-bottom: 5px;
  line-height: 1.5;
}

.comment-card span {
  font-size: 12px;
  color: #74512d;
  font-style: italic;
}

/* Feedback Pop-Up */
.feedback-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(78, 31, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background-color: #4e1f00;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.popup-content p {
  font-size: 18px;
  color: #f8f4e1;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: #f8f4e1;
  cursor: pointer;
}

.slider-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.comment-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}

.comment-card {
  min-width: 300px;
  max-width: 300px;
  background-color: rgba(248, 244, 225, 0.9);
  padding: 15px;
  border-radius: 10px;
  border-left: 5px solid #feba17;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.comment-card:hover {
  transform: scale(1.05);
  border-left-color: #74512d;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4e1f00;
  color: #feba17;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.slide-btn:hover {
  background-color: #feba17;
  color: #4e1f00;
}

.slide-btn.left {
  left: -10px;
}

.slide-btn.right {
  right: -10px;
}

@media screen and (max-width: 768px) {
  .comment-card {
    min-width: 250px;
    max-width: 250px;
  }

  .slide-btn {
    font-size: 20px;
    padding: 8px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #4e1f00;
  color: #f8f4e1;
  margin-top: 200px;
}

/* Fade-In with Scale Animation */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background-color: #4e1f00;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .comments {
    padding: 100px 20px 80px;
  }

  .comments h1 {
    font-size: 36px;
  }

  .comment-form {
    margin: 0 20px 40px;
  }

  .comment-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  .comment-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
