/* Eltizam — static replica (no Wix runtime) */
:root {
  /*
   * State of Qatar — GCO Brand Guidelines (verbatim swatches).
   * UI uses slight “variation” derivatives for depth, hover, and surfaces.
   */
  /* Primary */
  --al-adaam: #8a1538;
  --dune: #a29475;
  --white: #ffffff;
  --black: #000000;
  /* Secondary */
  --skyline: #0d4261;
  --palm: #129b82;
  --sea: #4194b3;
  --sunrise: #fdf39d;
  --salmon: #dd7877;
  /* Commercial variants (variation layer — depth with Al Adaam) */
  --qr-burgundy: #662046;
  --qr-grey: #818a8f;

  /* Derived tokens (not in guidelines; for contrast & hierarchy) */
  --al-adaam-deep: #6b1430;
  --skyline-soft: #154c6e;
  --surface-warm: #faf6ef;
  --text-muted: #6a6460;

  --al-adaam-rgb: 138, 21, 56;
  --skyline-rgb: 13, 66, 97;
  --sea-rgb: 65, 148, 179;
  --sunrise-rgb: 253, 243, 157;
  --salmon-rgb: 221, 120, 119;

  /* Semantic aliases used in rules below */
  --navy: var(--skyline);
  --navy-mid: var(--skyline-soft);
  --navy-light: var(--sea);
  --teal: var(--palm);
  --gray-bg: var(--surface-warm);
  --focus-ring: var(--sunrise);
  --site-max: 980px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--palm);
  z-index: 10000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.header-logo img {
  width: 220px;
  height: auto;
}

.license-badge {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  justify-self: end;
}

.header-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--al-adaam);
  line-height: 0;
  padding: 0.35rem;
  border-radius: 6px;
}

.header-linkedin:hover {
  color: var(--skyline);
  text-decoration: none;
}

.header-linkedin svg {
  width: 22px;
  height: 22px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: flex-end;
}

.nav a {
  font-family: Raleway, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
}

.nav a:hover {
  color: var(--al-adaam);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--al-adaam);
}

.hero {
  position: relative;
  min-height: min(70vh, 560px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--skyline);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("images/pexels-akbar-nemati-220109-16675721.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Soft darkening behind copy (no panel); full-bleed maroon → skyline */
  background:
    radial-gradient(
      ellipse 85% 95% at 18% 48%,
      rgba(0, 0, 0, 0.38) 0%,
      transparent 58%
    ),
    linear-gradient(
      105deg,
      rgba(var(--al-adaam-rgb), 0.9) 0%,
      rgba(var(--skyline-rgb), 0.76) 36%,
      rgba(var(--skyline-rgb), 0.48) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-card {
  max-width: 420px;
  padding: 0;
}

.hero-card h1 {
  font-family: Raleway, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--white);
  margin: 0 0 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-card p {
  font-size: 18px;
  line-height: 1.45;
  color: var(--white);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-photo-credit {
  position: absolute;
  bottom: 0.35rem;
  right: 0.65rem;
  z-index: 2;
  margin: 0;
  max-width: 16rem;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

.hero-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-photo-credit a:hover {
  color: var(--white);
}

.section {
  padding: 3.5rem 1.25rem;
}

.section--muted {
  background: var(--gray-bg);
}

.section--mission {
  background: linear-gradient(
    165deg,
    var(--qr-burgundy) 0%,
    var(--al-adaam-deep) 38%,
    var(--al-adaam) 100%
  );
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--site-max);
  margin: 0 auto;
}

.anchor-target {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-title {
  font-family: Raleway, sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--al-adaam);
  margin: 0 0 2rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .license-badge {
    order: 3;
  }

  .header-end {
    justify-self: center;
    justify-content: center;
  }

  .nav ul {
    justify-content: center;
  }
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 4px;
  flex-shrink: 0;
  color: var(--white);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--al-adaam);
}

.service p {
  font-size: 14px;
  margin: 0;
  color: var(--navy);
  line-height: 1.55;
}

.mission-block {
  text-align: center;
  max-width: 916px;
  margin: 0 auto;
}

.mission-block h2 {
  font-family: Raleway, sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1.5rem;
}

.mission-block p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  margin: 0;
}

.contact-section {
  position: relative;
  padding: 4rem 1.25rem 5rem;
  color: var(--white);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: var(--skyline) center / cover no-repeat;
  background-image: url("https://static.wixstatic.com/media/5bfb6f_c9a631e8e43443cb9d7ad97133d9d83d.jpg/v1/fill/w_1600,h_900,al_c,q_85/5bfb6f_c9a631e8e43443cb9d7ad97133d9d83d.jpg");
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(var(--skyline-rgb), 0.9) 0%,
    rgba(var(--al-adaam-rgb), 0.32) 55%,
    rgba(var(--salmon-rgb), 0.14) 100%
  );
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--site-max);
  margin: 0 auto;
}

.contact-head {
  margin-bottom: 2rem;
}

.contact-head h2 {
  font-family: Raleway, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1rem;
}

.contact-meta {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 1rem;
}

.contact-address {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.contact-lead {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem 1.25rem;
  max-width: 640px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-field label {
  display: block;
  font-size: 16px;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--white);
  background: rgba(var(--skyline-rgb), 0.78);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

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

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.btn-submit {
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--al-adaam);
  border: 1px solid var(--white);
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--al-adaam-deep);
}

.back-top {
  background: var(--al-adaam);
  padding: 2rem 1.25rem;
  text-align: center;
}

.back-top a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}

.back-top a:hover {
  text-decoration: underline;
}

.back-top svg,
.back-top .back-top-icon {
  width: 28px;
  height: 28px;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(162, 148, 117, 0.4);
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
}

.social {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--al-adaam);
  line-height: 0;
}

.social a:hover {
  color: var(--skyline);
  text-decoration: none;
}

.social svg,
.social .social-icon {
  width: 22px;
  height: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
