/* ============================================
   Sokour — Contact Page Styles (Black & Gold)
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #0e0d0b;
  font-family: "Almarai", sans-serif;
  color: #e7e3ec;
  min-height: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background: #0e0d0b;
  border-bottom: 1px solid rgba(238,186,43,0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #e7e3ec;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #eeba2b; }

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.contact {
  font-size: 15px;
  color: #e7e3ec;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.contact:hover { color: #eeba2b; }

@media (max-width: 700px) {
  .navbar { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
  .nav-links { gap: 18px; order: 3; width: 100%; justify-content: center; }
  .logo { width: 90px; height: 90px; }
}

/* ---------- Page Wrapper ---------- */
.page-wrap {
  padding: 40px 20px 80px;
  background: #0e0d0b;
}

/* ---------- Form Card ---------- */
.form-card {
  max-width: 860px;
  margin: 0 auto;
  background: #16150f;
  border: 1px solid rgba(238,186,43,0.22);
  border-radius: 28px;
  padding: 48px 56px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Form Top Row ---------- */
.form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #e7e3ec;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: color 0.2s ease;
}

.back-btn .circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #eeba2b;
  display: inline-block;
}

.back-btn:hover { color: #eeba2b; }

.form-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #eeba2b;
  letter-spacing: 1px;
  font-weight: 700;
}

.form-label-tag .dash {
  width: 24px;
  height: 1.5px;
  background: #eeba2b;
  display: inline-block;
  opacity: 0.6;
}

/* ---------- Title ---------- */
.form-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 40px;
  text-align: right;
}

/* ---------- Form Grid ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-bottom: 40px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: #e7e3ec;
}

.field .req { color: #eeba2b; }

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(238,186,43,0.18);
  border-radius: 12px;
  background: #0e0d0b;
  font-family: inherit;
  font-size: 14px;
  color: #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7a7568;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #eeba2b;
  background: #12100b;
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.field-details {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.field-details textarea {
  min-height: 100%;
}

/* ---------- Service Dropdown ---------- */
.service-field {
  position: relative;
}

.service-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(238,186,43,0.18);
  border-radius: 12px;
  background: #0e0d0b;
  font-family: inherit;
  font-size: 14px;
  color: #ffffff;
  cursor: pointer;
  text-align: right;
  transition: border-color 0.2s ease;
}

.service-toggle:hover { border-color: #eeba2b; }

.service-toggle .chev {
  font-size: 18px;
  color: #eeba2b;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.service-toggle.open .chev {
  transform: rotate(90deg);
}

.service-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  background: #16150f;
  border: 1.5px solid rgba(238,186,43,0.3);
  border-radius: 12px;
  padding: 10px 6px;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-height: 240px;
  overflow-y: auto;
}

.service-dropdown.open { display: block; }

.service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #e7e3ec;
  cursor: pointer;
  text-align: right;
  transition: background 0.15s ease, color 0.15s ease;
}

.service-option:hover {
  background: rgba(238,186,43,0.1);
  color: #eeba2b;
}

.service-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #eeba2b;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Form Footer ---------- */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(238,186,43,0.15);
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 13px;
  color: #9c968a;
}

.submit-btn {
  background: #eeba2b;
  color: #241a2c;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 40px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.submit-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .form-card {
    padding: 32px 22px 28px;
    border-radius: 20px;
  }

  .form-title { font-size: 24px; margin-bottom: 28px; }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field-details {
    grid-column: 1;
    grid-row: auto;
  }

  .form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .submit-btn { width: 100%; }
}