/* contact form 7 */
.wpcf7 {
  width: 100%;
  height:100%;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #1a2a3a62 0%, #0d1b2a39 50%, #16203027 100%);
  padding: 2.5rem 2rem 2rem;
  max-width: 680px;
  border: 2px solid #5580AB;
  border-radius: 10px;
  backdrop-filter: blur(12px);
  margin: 45px auto;
}

/* ===== GOOGLE FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

/* ===== GRID LAYOUT ===== */
.wpcf7 form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* الحقول نص نص */
.wpcf7 form .form-name,
.wpcf7 form .form-email,
.wpcf7 form .form-phone,
.wpcf7 form .form-subject {
  grid-column: span 1;
}

/* الرسالة + الزر عرض كامل */
.wpcf7 form .form-message,
.wpcf7 form .form-actions {
  grid-column: 1 / -1;
}

/* ===== INPUTS & TEXTAREA ===== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 0 !important;
  text-align: right !important;
  width: 100% !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-bottom-color: #4a9fd4 !important;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: rgba(255,255,255,0.45) !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 13px !important;
}

.wpcf7 textarea {
  min-height: 100px !important;
  resize: none !important;
  line-height: 1.6 !important;
}

/* ===== SUBMIT BUTTON ===== */
.wpcf7 input[type="submit"],
.wpcf7 .submit-btn {
  background: linear-gradient(rgba(85, 128, 171, 1), rgba(34, 52, 69, 1)) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 48px !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.1s !important;
  display: block !important;
  margin: 0.5rem auto 0 !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .submit-btn:hover {
  background: #1f6baa !important;
}

.wpcf7 input[type="submit"]:active {
  transform: scale(0.98) !important;
}

/* ===== SUCCESS / ERROR ===== */
.wpcf7 .wpcf7-response-output {
  direction: rtl !important;
  text-align: center !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  padding: 10px !important;
  margin-top: 1rem !important;
  grid-column: 1 / -1 !important;
  color: #fff;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: rgba(125,232,184,0.1) !important;
  border: 0.5px solid rgba(125,232,184,0.3) !important;
  color: #7de8b8 !important;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background: rgba(255,100,100,0.1) !important;
  border: 0.5px solid rgba(255,100,100,0.3) !important;
  color: #ff8080 !important;
}

/* validation */
.wpcf7 .wpcf7-not-valid {
  border-bottom-color: #ff6464 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #ff8080 !important;
  font-size: 11px !important;
  font-family: 'Cairo', sans-serif !important;
  text-align: right !important;
}

/* spinner */
.wpcf7 .ajax-loader {
  display: none !important;
}

/* mobile */
@media (max-width: 520px) {
  .wpcf7 form {
    grid-template-columns: 1fr !important;
  }

  .wpcf7 form .form-name,
  .wpcf7 form .form-email,
  .wpcf7 form .form-phone,
  .wpcf7 form .form-subject {
    grid-column: 1 / -1 !important;
  }
}



