:root {
  --green1: #0f1f1b;   /* deeper bottom tone */
  --green2: #25463d;   /* darker top tone */
  --green3: #1d3b34;   /* mid tone for accents */
  --white: #ffffff;
  --muted: #dce6e2;
}

/* Load local Arabic font: Speda */
@font-face {
  font-family: "Speda";
  src: url("fonts/Speda.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset & Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif; /* English stays Inter */
  color: var(--white);
  background: linear-gradient(180deg, var(--green2) 0%, var(--green1) 100%);
  min-height: 100vh;
}

/* Arabic-only font */
[lang="ar"],
:lang(ar),
.ar,
[dir="rtl"] {
  font-family: "Speda", Tahoma, Arial, sans-serif !important;
}

/* Header */
.site-header {
  text-align: center;
  padding: 40px 0 20px;
}
.brand-logo {
  width: 250px;
  height: auto;
}

/* Hero Section */
.hero-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}
.headline.en {
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 800;
}
.sub.en {
  color: var(--muted);
  margin-bottom: 35px;
}
.headline.ar {
  font-size: clamp(22px, 4vw, 30px);
  margin-top: 40px;
}
.sub.ar {
  color: var(--muted);
  margin-bottom: 50px;
}

/* Form Card */
.form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto 20px; /* sits closer to contact panel */
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.form-title { margin-bottom: 20px; }
.muted { color: var(--muted); margin-bottom: 28px; }
.muted span[lang="ar"] { display: block; color: #cfe0da; }
.lead-form { display: grid; gap: 20px; }

/* Field titles bold */
label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}
.req { color: #ffb3b3; }

input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
input::placeholder { color: #c7d4cf; }

button {
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  color: #0b1f18;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ===== Contact panel (under box, above footer) ===== */
.contacts-panel {
  max-width: 560px;
  width: 100%;
  margin: 0 auto 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}

/* One professional row per item */
.contacts-row {
  display: grid;
  grid-template-columns: 1fr auto; /* title left, value right */
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contacts-row:last-child { border-bottom: 0; }

.contacts-title {
  font-weight: 800;            /* bold title */
  font-size: 0.95rem;
  color: var(--white);
}
.contacts-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  text-align: right;           /* value aligned right */
}
.contacts-value a {
  color: var(--white);         /* email stays white */
  text-decoration: none;
}
.contacts-value a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 16px 0 26px; /* compact footer */
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0;
}
.footer-inner { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Mobile */
@media (max-width: 520px) {
  .contacts-panel { width: 92%; }
  .contacts-row {
    grid-template-columns: 1fr;   /* stack title above value on small screens */
    text-align: left;
  }
  .contacts-value { text-align: left; }
}
