/* ===== خلفية قسم رأيك يهمنا ===== */
#feedback {
  position: relative;
  isolation: isolate;
  /* يخلي ::before تحت المحتوى */
  color: #fff;
  background: url("../assets/images/feedback-bg.png") center/cover no-repeat;
  /* لو الصورة كبيرة على الموبايل ممكن تضيف:
     background-position: center top; */
}

#feedback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  /* أوفرلاي خفيف */
  z-index: -1;
  /* حطه تحت المحتوى */
}

/* خليك مكمّل الإسلوب ده عشان أي محتوى يظهر فوق الأوفرلاي */
#feedback>* {
  position: relative;
}

/* ===== بطاقة الفورم (شفافية + توهج) ===== */
.feedback-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(17, 17, 17, .78);
  /* بدل #111 المصمت */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  /* يخلي الخلفية تبان */
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 0 20px rgba(227, 6, 19, .5);
  border: 2px solid rgba(227, 6, 19, .8);
  color: #fff;
}

/* بقية الاستايلات كما هي عندك */
.feedback-card .field {
  margin-bottom: 16px;
}

.feedback-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feedback-card input,
.feedback-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid rgba(227, 6, 19, 0.7);
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  /* الخلفية بيضاء */
  color: #000;
  /* النص أسود */
  transition: all .3s ease;
  box-shadow: 0 0 8px rgba(227, 6, 19, 0.4);
}

.feedback-card input::placeholder,
.feedback-card textarea::placeholder {
  color: #555;
  /* لون placeholder رمادي */
}


.feedback-card .error {
  color: #ff4d4d;
  height: 18px;
  display: block;
  margin-top: 6px;
}

@media (max-width:768px) {
  .feedback-card {
    padding: 18px;
  }
}

/* iOS/mobiles أحيانًا بتكره fixed، لو استخدمت fixed قبل كده:
   خلّيها scroll على الموبايل */
@media (max-width:768px) {
  #feedback {
    background-attachment: scroll;
  }
}

@supports (-webkit-touch-callout: none) {
  #feedback {
    background-attachment: scroll;
  }
}




#feedback .section-title h2 {
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 16px rgba(227, 6, 19, 0.8);
  animation: glowEffect 1.5s ease-in-out infinite alternate;
}

@keyframes glowEffect {
  from {
    text-shadow:
      0 0 5px rgba(255, 255, 255, 0.6),
      0 0 10px rgba(227, 6, 19, 0.5);
  }

  to {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 1),
      0 0 20px rgba(227, 6, 19, 0.9);
  }
}