:root {
  --sodic: #0089b4;
  --ink: #1a1a1a;
  --muted: #494948;
  --wa: #075e54;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Kufi Arabic", sans-serif;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.btn-style1 {
  background-color: var(--sodic);
  border-color: var(--sodic);
  color: #fefefe;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 500;
}

.btn-style1:hover,
.btn-style1:focus {
  color: #494948;
  background: #fff;
  border-color: #494948;
}

.btn-style2 {
  color: #333132;
  border: 1px solid #333132;
  text-transform: uppercase;
  padding: 5px 15px;
  font-size: 0.8rem;
  line-height: 1;
  background: transparent;
  border-radius: 0;
}

.btn-style2:hover {
  background: #333132;
  color: #fff;
}

.btn-wa {
  background-color: var(--wa);
  border-color: var(--wa);
  color: #fefefe;
  border-radius: 6px;
}

.btn-wa:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  color: #fff;
}

.btn-submit {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 28px;
  border-radius: 50px;
  background-color: var(--sodic);
  border-color: var(--sodic);
  color: #fefefe;
}

.btn-submit:hover,
.btn-submit:focus {
  background: #fff;
  border-color: #fff;
  color: #000;
}

#nav_bar {
  background: #fff;
  padding: 18px 0;
}

#nav_bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#nav_bar .navbar-brand {
  margin: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-phone {
  color: #494948;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-phone:hover {
  color: var(--sodic);
}

#header {
  min-height: 750px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.header-content {
  background-color: #494948;
  padding: 28px 0 32px;
  margin-top: auto;
  position: relative;
  z-index: 2;
  color: #fff;
}

.header-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.header-content p {
  margin-bottom: 0;
  line-height: 1.9;
  font-size: 1.02rem;
}

#about {
  padding: 80px 0;
}

#about h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 16px;
}

#about p {
  line-height: 1.9;
  margin-bottom: 12px;
}

.about-photo {
  max-height: 450px;
  width: auto;
  object-fit: contain;
}

#projects {
  padding: 40px 0 75px;
}

#projects h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.project-block {
  color: inherit;
  text-decoration: none;
  display: block;
}

.project-block img.cover {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.project-block_frame {
  position: absolute;
  background: rgba(15, 15, 15, 0.45);
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.project-block_frame img {
  height: 65px;
  width: auto;
}

.project-block p {
  margin-top: 10px;
  color: #1c1c1c;
  font-size: 0.95rem;
}

.project-block:hover p {
  text-decoration: underline;
}

#payments {
  background: #dcdddf;
  padding: 65px 0;
}

#payments h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  margin-bottom: 28px;
}

.pay-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  transition: transform 0.25s ease;
}

.pay-img:hover {
  transform: scale(0.96);
}

.lead-form {
  background: #4d4d4f;
  color: #fff;
  padding: 48px 0;
}

.lead-form h2 {
  font-weight: 700;
}

.lead-form p {
  color: #fff;
}

.lead-form .form-label {
  color: #fefefe;
}

.contact-form .form-control {
  background: #c7c8ca;
  color: #494948;
  border-radius: 0;
  padding: 10px 15px;
  border: 0;
  direction: rtl;
}

.contact-form .form-control:focus {
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-error {
  color: #b42318;
  font-size: 0.8rem;
  min-height: 1.1em;
}

.lead-form .form-error {
  color: #ffd2d2;
}

.form-success {
  display: none;
  background: #e8f6ee;
  color: #0f5132;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 12px;
}

.single_project_wrapper {
  padding: 72px 0 40px;
}

.project-banner {
  margin-bottom: 28px;
}

.project-banner img.banner {
  width: 100%;
  height: auto;
  display: block;
}

.project-banner figcaption {
  background: #005297;
  text-align: center;
  padding: 8px 0;
}

.project-banner.gold figcaption {
  background: #c0915c;
}

.project-banner figcaption img {
  height: 75px;
  width: auto;
}

.single_project_wrapper h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
}

.single_project_wrapper .lead-line {
  font-weight: 600;
}

.single_project_wrapper ul {
  padding-right: 1.1rem;
  line-height: 1.9;
}

.unit_type {
  background: #4d4d4f;
  padding: 10px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 20px;
}

.unit-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.unit_details {
  background: #dcddde;
  padding: 12px 10px;
}

.unit_details p {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.features_wrapper {
  background: #526852;
  padding: 28px 12px 16px;
  border-radius: 6px;
}

.features_wrapper h2 {
  color: #fff;
  margin-bottom: 22px;
}

.feature_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  text-align: center;
}

.feature_block img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.feature_block h6 {
  font-size: 14px;
  font-weight: 400;
  margin: 12px 0 0;
  color: #fff;
  text-transform: capitalize;
  line-height: 1.25;
}

.form_wrapper {
  background: #e5e4e4;
  padding: 28px 18px;
  margin-top: 36px;
}

.form_wrapper h2 {
  margin-bottom: 10px;
}

.form_wrapper p {
  font-size: 14px;
}

.form_wrapper .btn-submit:hover {
  border-color: #0089b4;
}

.site-logo-footer {
  background: #2e2e2e;
  padding: 36px 0;
}

.site-copy {
  background: #2e2e2e;
  color: #cfcfcf;
  font-size: 12px;
  padding: 8px 0 14px;
}

.site-copy a {
  color: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-alert {
  background: #7a1f1f;
  color: #fff;
  padding: 10px 16px;
}

.thanks-page,
.privacy-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.privacy-page {
  align-items: flex-start;
  padding-top: 40px;
}

.privacy-page h1,
.thanks-page h1 {
  font-weight: 700;
}

.privacy-page h2 {
  font-size: 1.25rem;
  margin-top: 1.4rem;
}

a.quick_call,
a.quick_wa {
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 8px;
  z-index: 100;
  box-shadow: rgba(0, 0, 0, 0.16) 0 2px 5px, rgba(0, 0, 0, 0.12) 0 2px 10px;
  text-decoration: none;
}

a.quick_call {
  background: #fefefe;
  bottom: calc(50% - 0px);
  color: #9a9a9a;
}

a.quick_wa {
  background: #075e54;
  color: #fff;
  bottom: calc(50% - 70px);
}

@media (max-width: 767.98px) {
  #nav_bar {
    padding: 12px 0;
  }

  #nav_bar .container {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
  }

  #nav_bar .navbar-brand {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .nav-actions {
    width: 100%;
    margin: 0;
    justify-content: center;
    gap: 10px;
  }

  .nav-phone {
    font-size: 0.9rem;
  }

  #header {
    min-height: 520px;
  }

  .header-content {
    padding: 22px 16px 26px;
  }

  .header-content h2 {
    font-size: 1.3rem;
    line-height: 1.45;
  }

  .header-content p {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  a.quick_call,
  a.quick_wa {
    width: 48px;
    height: 48px;
  }

  a.quick_call {
    right: 12px;
    bottom: 16px;
  }

  a.quick_wa {
    right: 12px;
    bottom: 72px;
  }
}

@media (max-width: 576px) {
  #header {
    min-height: 560px;
  }

  .project-banner figcaption img {
    height: 42px;
  }

  .unit-photo {
    height: 200px;
  }
}
