/* خلفية متدرجة عصرية */
.contact-section {
  background: linear-gradient(120deg, #e6f4f5 0%, #fafdff 100%);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: unset;
  margin: 0 !important;
  position: relative;
  overflow: visible;
}

/* حاوية حديثة */
.contact-modern-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.contact-modern-row {
  min-height: 480px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(3,129,135,0.10), 0 2px 18px rgba(196,154,108,0.08);
  background: rgba(255,255,255,0.85);
  display: flex;
  flex-wrap: wrap;
}

/* معلومات التواصل */
.contact-info-modern {
  background: linear-gradient(135deg, var(--primary-color) 70%, var(--secondary-color) 100%);
  color: #fff;
  min-height: 100%;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
}

.contact-modern-title {
  font-size: 2.1rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: #fff;
}

.contact-modern-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-modern-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.13rem;
  margin-bottom: 1.1rem;
  justify-content: flex-start;
}

.contact-modern-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.contact-modern-link {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
  direction: rtl;
}
.contact-modern-link:hover {
  color: #ffe6b0;
  text-decoration: underline;
}

/* خريطة جوجل داخل بطاقة التواصل */
.contact-map {
  width: 100%;
  margin-top: 1.5rem;
}
.google-map {
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(3,129,135,0.10);
  border: 1.5px solid #e6f4f5;
  width: 100%;
  height: 220px;
  min-height: 120px;
  transition: box-shadow 0.2s, border 0.2s;
  background: #fafdff;
}
.google-map:hover {
  box-shadow: 0 8px 32px rgba(3,129,135,0.13);
  border-color: var(--primary-color);
}

/* نموذج التواصل */
.contact-form-modern-col {
  background: #fff;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-modern {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: rgba(250,253,255,0.97);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(3,129,135,0.13);
  border: 2px solid #e6f4f5;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
}

.contact-form-modern-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-form-modern-label {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
  display: block;
  text-align: right;
}

.contact-form-modern-input {
  width: 100%;
  border: 1.7px solid #e6f4f5;
  border-radius: 13px;
  padding: 0.95rem 1.1rem;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  background: #fafdff;
  color: var(--primary-color);
  transition: border 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(3,129,135,0.05);
  text-align: right;
  resize: none;
}

.contact-form-modern-input:focus {
  border-color: var(--secondary-color);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(196,154,108,0.10);
}

.contact-form-modern-input::placeholder {
  color: #b0b8bb;
  opacity: 1;
  font-size: 1.01em;
}

.contact-form-modern-btn {
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%);
  color: #fff;
  border-radius: 22px;
  font-size: 1.22rem;
  font-weight: bold;
  padding: 0.95rem 0;
  border: none;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 24px rgba(3,129,135,0.13);
  letter-spacing: 0.5px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  cursor: pointer;
}
.contact-form-modern-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 12px 36px rgba(3,129,135,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* رسالة النجاح */
.contact-success-message {
  display: none;
  background: linear-gradient(90deg, #e6f4f5 60%, #fafdff 100%);
  color: var(--primary-color);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-size: 1.13rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 18px rgba(3,129,135,0.08);
  border: 1.5px solid #2ecc71;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.4s, transform 0.4s;
}
.contact-success-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.contact-success-message i {
  color: #2ecc71;
  font-size: 1.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* استجابة الموبايل */
@media (max-width: 991px) {
  .contact-modern-row {
    flex-direction: column;
    border-radius: 18px;
  }
  .contact-info-modern,
  .contact-form-modern-col {
    border-radius: 0 !important;
    min-height: unset;
    padding: 2rem 1rem;
  }
  .contact-info-card {
    max-width: 100%;
  }
  .contact-form-modern {
    max-width: 100%;
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
}

@media (max-width: 767px) {
  .contact-modern-row {
    border-radius: 8px;
    min-height: unset;
  }
  .contact-info-modern,
  .contact-form-modern-col {
    padding: 1.2rem 0.3rem;
  }
  .contact-form-modern {
    padding: 1rem 0.1rem 0.7rem 0.1rem;
    border-radius: 8px;
  }
  .contact-modern-title {
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
  }
  .contact-form-modern-title {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
  }
  .contact-form-modern-label {
    font-size: 0.98rem;
  }
  .contact-form-modern-btn {
    font-size: 1rem;
    border-radius: 10px;
    padding: 0.7rem 0;
  }
}
