/* ============================================================
   Gheras Landing Page — Arabic RTL
   Palette mirrors home page (style.css)
   ============================================================ */

:root {
  --green-dark:   #0d3d4d;
  --green-mid:    #135060;
  --green-main:   #1a7a5c;
  --green-bright: #23a078;
  --green-accent: #2bc9a0;
  --black-cta:    #111111;
  --text-dark:    #1a1a1a;
  --text-muted:   #666;
  --border:       #e0e0e0;
  --white:        #ffffff;
  --bg-page:      #f5f7f6;
  --radius:       10px;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --header-h:     68px;
}

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

html { scroll-behavior: smooth; }

body {
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-main) 100%);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 40px;
  display: block;
}

.header-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.header-nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color .2s;
}
.header-nav a:hover { color: var(--white); }

/* ── MAIN LAYOUT ─────────────────────────────────────────── */
.inquiry-main {
  flex: 1;
  margin-top: var(--header-h);
  padding: 48px 24px 60px;
  max-width: 1200px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── CONTENT COLUMN (right in RTL) ───────────────────────── */
.content-col {
  padding-top: 16px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 14px;
}

.content-col h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}

.content-col .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.features-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.features-list li::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ── FORM CARD (left in RTL) ─────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.form-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-accent);
}

.field-group {
  margin-bottom: 20px;
}

.field-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.field-group input,
.field-group .form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
  direction: rtl;
}

.field-group input:focus,
.field-group .form-input:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(35,160,120,.12);
  background: var(--white);
}

.field-group input.is-invalid {
  border-color: #dc3545;
}

.errorlist {
  list-style: none;
  margin-top: 5px;
  font-size: 13px;
  color: #dc3545;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: var(--black-cta);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: .02em;
}
.btn-submit:hover { background: #222; }
.btn-submit:active { transform: scale(.99); }

.form-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  color: var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-brochure {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border: 1.5px solid var(--green-dark);
  border-radius: 6px;
  color: var(--green-dark);
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-brochure:hover {
  background: var(--green-dark);
  color: var(--white);
}

.brochure-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── SUCCESS PAGE ─────────────────────────────────────────── */
.success-main {
  flex: 1;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 56px 48px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.success-icon {
  font-size: 56px;
  color: var(--green-bright);
  margin-bottom: 24px;
  line-height: 1;
}

.success-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.success-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-home {
  display: inline-block;
  padding: 12px 32px;
  background: var(--green-main);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s;
}
.btn-home:hover { background: var(--green-dark); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 18px 24px;
  font-size: 13px;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 8px;
}
.site-footer a:hover { color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* On mobile: content first, then form (natural RTL stack) */
  .content-col { order: 1; }
  .form-col    { order: 2; }

  .form-card {
    position: static;
    padding: 28px 20px;
  }

  .header-nav { display: none; }

  .success-card { padding: 40px 24px; }
}
