:root {
  --main-color: #000;
  --general-border: 0.2rem solid var(--main-color);
  --gray-color: #e7e5e4;
  --gray-color-500: #737373;
  --width-adjust: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@font-face {
  font-family: "FedraSansPro";
  src: url("assets/Fonts/FedraSansPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: bold;
}

@font-face {
  font-family: "FedraSansPro";
  src: url("assets/Fonts/FedraSansPro-Normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "FedraSansPro";
  src: url("assets/Fonts/FedraSansPro-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: light;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}

body {
  /*box-sizing: border-box;*/
  font-family: "FedraSansPro", sans-serif;
  /*font-weight: 400;
    line-height: 1.6;
    color: var(--main-color);
    padding: 24px;
    display: grid;
    place-content: center;
    min-height: 100vh;*/
}

.container {
  margin: auto;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  box-sizing: border-box;
}

.subcontainer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  padding: 34px 28px;
  background-position: top center;
  background-repeat: no-repeat;

  /* background-image: url(bg-mob.jpg); */
  background-size: contain;
  display: flex;
  align-items: center;
}

.content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  border: var(--general-border);
  /* min-height: calc(100vb - 4.8rem); */
  margin: auto;
}

.header {
  grid-column: 6 / span 12;
  grid-row: 1 / span 1;
  border-bottom: var(--general-border);
  display: flex;
  align-items: center;
  position: relative;
}

.header__loading {
  flex: 1.45;
  align-self: stretch;
}

.header__loading-img {
  display: block;
  width: 100%;
  height: 100%;
}

.header__title-group {
  flex: 2;
  display: flex;
  flex-direction: column;
  border-inline: var(--general-border);
  align-self: stretch;
}

.header__title {
  font-size: calc(var(--width-adjust) * 1.55);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  flex: 1;
}

.header__title--ar {
  border-bottom: var(--general-border);
}

.header__title--ar > img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(0.9);
}

.header__title--en {
  /* padding-top: 1rem; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo_container {
  flex: 0.9;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.header__logo {
  width: 75%;
}

.hero-section {
  grid-column: 6 / span 12;
  grid-row: 2 / 3;
  border-bottom: var(--general-border);
  /* display: flex; */
}

.sub-hero-section {
  display: flex;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  flex-basis: 63%;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: stretch;
  justify-content: space-between;
}

.hero__title {
  flex: 1;
  padding: calc(var(--width-adjust) * 2) 10px calc(var(--width-adjust) * 2)
    calc(var(--width-adjust) * 3.5);
  font-weight: 400;
  font-size: calc(var(--width-adjust) * 2.35);
  line-height: calc(var(--width-adjust) * 3.5);
}

.hero__title-gray-line {
  background-color: var(--gray-color);
  display: block;
  height: calc(var(--width-adjust) * 4.7);
  border-top: var(--general-border);
}

.hero__img {
  flex-basis: 37%;
  border-left: var(--general-border);
  position: relative;
  background: url(assets/images/rawia.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.thankyou-section {
  grid-column: 6 / span 12;
  grid-row: 3 / span 3;
  display: flex;
  flex-direction: column;
}

.thankyou {
  display: flex;
  flex: 1;
}

.thankyou__title {
  flex: 1;
  font-size: calc(var(--width-adjust) * 6.9);
  text-transform: uppercase;
  line-height: 1.2;
  padding: calc(var(--width-adjust) * 2.4) calc(var(--width-adjust) * 2.5)
    calc(var(--width-adjust) * 1.6) calc(var(--width-adjust) * 3.5);
  font-weight: 700;
  letter-spacing: calc(var(--width-adjust) * 0.7);
}

.thankyou__title--line-2 {
  display: flex;
}

.thankyou__title-small {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.thankyou__title--line-2 {
  display: flex;
  align-items: center;
}

.thankyou__title-small {
  font-size: 2rem;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.4rem;
  transition: 0.2s;
}

.thankyou__title-small:hover {
  letter-spacing: 0.5rem;
}

.thankyou__title-small-line-2 {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bg-orange {
  background: #fcc419;
  line-height: 1;
  align-self: baseline;
}

.thankyou__title-small-line-2-1 {
  display: flex;
  gap: 1rem;

  align-items: center;
}

.thankyou__title-small img {
  display: block;
  height: 100%;
  width: 9rem;
}

/*.thankyou__title-small > img {*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    transform: scale(0.9);*/
/*    margin-left: -8px;*/
/*}*/

.thankyou__black-line {
  background-color: var(--main-color);
  display: block;
  flex-basis: 3rem;
  border-top: var(--general-border);
}

.thankyou__qr-code {
  flex-basis: 37%;
  border-left: var(--general-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou__qr-image {
  display: block;
  width: calc(var(--width-adjust) * 15);
}

.capabilities-section {
  grid-column: 1 / span 5;
  grid-row: 1 / 13;
  border-right: var(--general-border);
  padding: calc(var(--width-adjust) * 1.4);
  padding-right: 10px;
}

.secondary-heading {
  font-size: calc(var(--width-adjust) * 3.25);
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  margin-bottom: calc(var(--width-adjust) * 1.8);
  line-height: 1.4;
}

.capabilities {
  list-style: none;
  padding-left: calc(var(--width-adjust) * 0.5);
}

.capabilities__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: calc(var(--width-adjust) * 1.9);
}

.capabilities__item:not(:first-child) {
  margin-top: calc(var(--width-adjust) * 2);
}

.capabilities__item-line {
  grid-column: 2;
  display: inline-block;
  background-color: orange;
  height: 0.2rem;
  width: 75px;
  margin-bottom: calc(var(--width-adjust) * 0.7);
}

.capabilities__title {
  font-weight: 400;
  font-size: calc(var(--width-adjust) * 1.3);
  margin-bottom: calc(var(--width-adjust) * 1);
  letter-spacing: calc(var(--width-adjust) * 0.12);
  text-transform: uppercase;
}

.capabilities__icon {
  width: calc(var(--width-adjust) * 2.3);
}

.capabilities__des-list {
  grid-column: 2;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  row-gap: calc(var(--width-adjust) * 0.65);
  color: var(--gray-color-500);
  font-weight: 400;
}

.capabilities__des-item {
  font-weight: 400;
  font-size: calc(var(--width-adjust) * 0.85);
}

.capabilities__des-item:not(:last-child):after {
  content: "|";
  margin-inline: 0.4rem;
  font-weight: 700;
  color: var(--main-color);
}

@media only screen and (max-width: 1000px) {

  .content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
  }

  .subcontainer {
    padding: 16px 12px;
    display: block;
  }

  .header {
    order: 1;
  }

  .hero-section {
    order: 2;
    display: block;
    /* align-items: flex-start; */
  }

  .sub-hero-section {
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
  }

  .capabilities-section {
    order: 3;
    border: none;
  }

  .thankyou-section {
    order: 4;
    border-top: var(--general-border);
  } 

  .hero__heading {
    display: block;
    flex-basis: unset;
    width: 60%;
  }

  .hero__img {
    display: block;
    flex-basis: unset;
    width: 40%;
  }

  .hero__title {
    padding: calc(var(--width-adjust)* 1.2) 10px calc(var(--width-adjust)* 0.5) calc(var(--width-adjust)* 2.3);
    font-size: calc(var(--width-adjust)* 1.9);
    line-height: calc(var(--width-adjust)* 2.9);
  }

  .secondary-heading {
    font-size: calc(var(--width-adjust)* 3.25);
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    margin-bottom: calc(var(--width-adjust)* 1.4);
    line-height: 1.4;
  }

  .capabilities-section {
    padding: calc(var(--width-adjust)* 2);
  }

  .capabilities__title {
    font-size: calc(var(--width-adjust)* 1.6);
    letter-spacing: 0;
    margin-bottom: calc(var(--width-adjust)* 0.6);
  }

  .capabilities__des-item {
    font-size: calc(var(--width-adjust)* 1.2);
  }

  .capabilities__item {
    column-gap: 0;
  }

  .capabilities__item:not(:first-child) {
    margin-top: calc(var(--width-adjust)* 1.6);
  }

  .thankyou__title {
    flex: 1;
    font-size: calc(var(--width-adjust)* 5.8);
    text-transform: uppercase;
    line-height: 1.2;
    padding: calc(var(--width-adjust)* 2.4) calc(var(--width-adjust)* 2) calc(var(--width-adjust)* 1.6) calc(var(--width-adjust)* 2);
    font-weight: 700;
    letter-spacing: calc(var(--width-adjust)* 0.7);
  }

  .thankyou__title-small {
    font-size: calc(var(--width-adjust)* 1.5);
    letter-spacing: calc(var(--width-adjust)* 0.2);
  }

  .thankyou__title-small img {
    width: calc(var(--width-adjust)* 6.5);
  }

  .header__title {
    font-size: calc(var(--width-adjust) * 1.4);
  }
  
}