/* ---------------- CONTACT SECTION ---------------- */
.contact-section {
  padding: 80px 20px;
  font-family: 'Cairo', sans-serif;
  background: #fcfcfc;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- LTR (English) ---------- */
html[dir="ltr"] .contact-container {
  flex-direction: row; /* form right, info left */
}

html[dir="ltr"] .contact-form {
  order: 1;
  text-align: left;
  direction: ltr;
}

html[dir="ltr"] .contact-info {
  order: 0;
  text-align: left;
  direction: ltr;
}

/* ---------- RTL (Arabic) ---------- */
html[dir="rtl"] .contact-container {
  flex-direction: row-reverse; /* form left, info right */
}

html[dir="rtl"] .contact-form {
  order: 0;
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .contact-info {
  order: 1;
  text-align: right;
  direction: rtl;
}
/* ---------------- FORM ---------------- */
.contact-form {
  flex: 1;
  min-width: 340px;
}

/* ✅ Labels above input fields */
.contact-form label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  font-size: 15px;
}

/* ✅ Add clear title above the form box */
.contact-form h3 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  text-align: start;
  font-family: 'Cairo', sans-serif; /* matches Arabic style */
}

.contact-form form {
  background: #f7f7f7;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  background: #fbfbfb;
  color: #222;
  transition: border 0.2s, box-shadow 0.2s;
  font-family: 'Cairo', sans-serif; /* matches Arabic style */
}

/* remove placeholders entirely if labels are used */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c89d28;
  box-shadow: 0 0 0 2px rgba(200, 157, 40, 0.15);
  outline: none;
}

.contact-form .form-submit,
.contact-form .btn-submit {
  width: 100%;
  background: #c89d28;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form .form-submit:hover,
.contact-form .btn-submit:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ---------------- INFO SECTION ---------------- */
.contact-info {
  flex: 1;
  min-width: 320px;
}

.contact-info h3 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #222;
  font-weight: 700;
  font-family: 'Cairo', sans-serif; /* matches Arabic style */
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  font-family: 'Cairo', sans-serif; /* matches Arabic style */
}

/* ✅ Contact icons: gold circle with white icon inside */
.contact-info p > i,
.contact-info p > svg,
.contact-info p > img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #0e0202 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* ensure SVG icons turn white */
.contact-info p > svg,
.contact-info p > svg * {
  fill: #fff !important;
  stroke: none !important;
}

/* if icons are images, invert them to white */
.contact-info p > img {
  object-fit: contain;
  filter: brightness(0) invert(1) saturate(100%);
}

/* ---------------- SOCIAL ICONS ---------------- */
.social-icons {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4f4f4;
  font-size: 18px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #c89d28;
  color: #fff;
  transform: scale(1.05);
}

/* ---------------- GENERAL ---------------- */
.social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form form {
    padding: 25px 20px;
  }

  .contact-form h3 {
    text-align: center;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Remove Olivero's dotted background globally */
body {
  background: #fcfcfc !important;
}
