/* Section Styles */
.section {
  padding: 40px 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  margin: 0 auto 0.5rem;
  position: relative;
  padding-top: 80px;
}

.section-title h2 {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 500;
  margin: 3rem 0;
  display: inline-block;
  position: relative;
  font-family: "Prompt", sans-serif;
}

.section-title h2::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -20px;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  z-index: -1;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd600, transparent);
}

/* Feedback Content */
.feedback-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

/* Banner Image */
.feedback-banner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.feedback-content:hover .banner-image {
  transform: scale(1.02);
}

/* Form Container */
.form-container {
  max-width: 100%;
  padding: 10px 15px;
  background: #fff;
}

/* Embedded Google Form */
.feedback-form {
  border: none;
  width: 100%;
  height: 500px;
  background: #fff;
}

/* Loading Animation (optional shimmer effect) */
.feedback-form:not(:loaded) {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 100% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

/* AOS Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"] {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 30px 0;
  }

  .section-title h2 {
    font-size: 1.25rem;
  }

  .section-title .en {
    font-size: 0.9rem;
  }

  .feedback-form {
    height: 400px;
  }

  .feedback-banner {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .feedback-form {
    height: 350px;
  }
}
