.contact-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.form-group {
  position: relative;
}

/* خلفية الخريطة */
.map-background {
  background: url('https://i.imgur.com/O6XQmFd.jpg') center center/cover no-repeat;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* طبقة التعتيم */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* صندوق الفورم الزجاجي */
.glass-form {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* مدخلات الفورم */
.glass-form .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding-left: 40px;
  color: #fff;
  font-weight: 500;
}

.glass-form .form-control:focus {
  background: transparent;
  border-color: #0dcaf0;
  box-shadow: none;
}

/* الأيقونات */
.form-group .icon {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  color: #0dcaf0;
  font-size: 18px;
  transition: 0.3s ease;
}

.form-group:focus-within .icon {
  transform: translateY(-50%) scale(1.3);
  color: #ffffff;
}

/* الزر */
.glass-form .btn {
  background-color: #0dcaf0;
  border: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.glass-form .btn:hover {
  background-color: #00b3d6;
}


.social-links a {
  color: #fff;
  font-size: 20px;
  transition: 0.3s ease;
}

.social-links a:hover {
  color: #0dcaf0;
  transform: scale(1.2);
}

/* للخريطة */
.map-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 0;
}


/*************** رسالة النجاح او الفشل للارسال**************/
.flash-message {
  position: relative;
  margin: 0 auto 30px auto;
  padding: 15px 50px 15px 20px;
  border-radius: 8px;
  background-color: #d1e7dd; /* اللون الأخضر الافتراضي للنجاح */
  color: #0f5132;
  font-weight: bold;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  animation: slideDown 0.5s ease;
  position: relative;
}

.flash-message.error {
  background-color: #f8d7da;
  color: #842029;
}

.flash-message .close-btn {
  position: absolute;
  top: 5px;
  right: 15px;
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
