/*Start Variables*/
:root {
  --main-color: #000000;
  --second-color: #d80f0f;
  --third-color: #1b1b1b;
  --main-duration: 0.5s;
  --main-padding: 30px;
  --main-duration: 0.5s;
}
/*End Variables*/

/* Start Global Rule */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  -webkit-scroll-behavior: smooth;
  -moz-scroll-behavior: smooth;
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  background-color: var(--main-color);
  color: white;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--main-color);
  display: block;
}

h2 a {
  color: inherit;
  display: inline-block;
  cursor: pointer;
  font-weight: lighter;
  font-size: 25px;
}

p {
  text-align: justify;
  font-size: 22px;
  hyphens: auto;
  line-height: 1.8;
}

.imgs {
  margin-top: 10px;
}

.container {
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .container {
    width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 720px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}
/* x-Large */
@media (min-width: 1400px) {
  .container {
    width: 1320px;
  }
}

/* End Global Rule */

/* Start Components */
.section {
  margin-bottom: 100px;
}
.section-header {
  margin-bottom: 50px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  right: 0px;
  top: calc(50% - 2px);
  width: 30%;
  height: 4px;
  background-color: var(--second-color);
}

.section-title {
  color: var(--second-color);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.section-title h2 {
  font-size: 35px;
  font-weight: bold;
  margin-inline-end: 20px;
}

.section-title .line {
  background-color: var(--second-color);
  height: 4px;
  flex: 1;
}

.content.gary {
  background-color: var(--third-color);
  padding-block: 30px;
}

.content.back {
  background-color: var(--main-color);
  padding-block: 30px;
}

footer {
  background-color: var(--third-color);
  padding-block: 15px;
  display: flex;
  align-items: center;
}

/* end Components */

header {
  background-color: #ffffffeb;
  color: var(--main-color);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0px 2px 20px 0px #00000061;
}

header .container {
  display: flex;
  align-items: center;
  height: 120px;
}

header img {
  height: 100px;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex: 1;
}

header ul {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  right: calc(202.5px / 2);
}

header ul li {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

header ul li:hover,
header ul li.active {
  background-color: var(--second-color);
}

header ul li a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
}

header ul li:hover a,
header ul li.active a {
  color: white;
}

@media (max-width: 1000px) {
  header .container {
    flex-direction: column;
    height: 170px;
  }

  header img {
    margin-block: 10px;
  }

  header nav {
    width: 100%;
  }

  header ul {
    right: 0px;
    width: 100%;
    justify-content: space-between;
  }

  header ul li a {
    padding-inline: 10px;
  }
}

@media (max-width: 500px) {
  header ul {
    justify-content: center;
  }
}

/* =================================== */

.landing {
  position: relative;
  width: 100%;
}

.landing img {
  width: 100%;
}

.landing .img-text {
  width: 452px;
  position: absolute;
  top: 55px;
  right: 96px;
}

@media (max-width: 1270px) {
  .landing .img-text {
    display: none;
  }
}

/* =================================== */

.about-us .content .container {
  display: flex;
}

.about-us img {
  width: 30%;
  height: auto;
  margin-right: 40px;
}

.about-us p {
  width: 70%;
}

@media (max-width: 1270px) {
  .about-us .content .container {
    flex-direction: column;
  }

  .about-us img {
    width: 100%;
    height: auto;
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .about-us p {
    width: 100%;
  }
}

/* =================================== */

.provide-list p {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 100px;
}

/* ############################### service ########################### */
.service-1 {
  margin-top: 50px;
}
.service-1 .container {
  display: flex;
}

.service-1 h2 {
  width: 40%;
  margin-inline-end: 30px;
  margin-inline-start: 20px;
  font-size: 30px;
  position: relative;
  height: fit-content;
}

.service-1 h2::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -20px;
  background-color: var(--second-color);
  width: 6px;
  height: calc(100% - 15px);
}
.service-1 p {
  width: 80%;
}

@media (max-width: 900px) {
  .service-1 .container {
    flex-direction: column;
  }

  .service-1 h2 {
    width: 100%;
    margin-bottom: 30px;
  }
  .service-1 p {
    width: 100%;
  }
}

/* ==================================== */

.list-box {
  width: 100%;
}

.list-box .row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.row-margin {
  margin-bottom: 100px;
}

.box {
  display: flex;
}

.box {
  width: calc((100% - 100px) / 2);
  position: relative;
}

.box .number {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}
.box .number p {
  position: absolute;
  top: 21px;
  left: 30px;
  font-size: 30px;
  font-weight: bold;
}
.box .number .square {
  width: 60px;
  height: 90px;
  background-color: var(--second-color);
  box-shadow: 0px 0px 25px var(--second-color);
}
.box .number .triangle {
  border-bottom: 90px solid transparent;
  border-left: 43px solid var(--second-color);
  height: 0px;
  width: 0px;
}

.box .text {
  width: 100%;
  display: flex;
  position: relative;
  top: 20px;
  padding-inline-start: 10px;
}
.box .text .triangle {
  border-bottom: 200px solid var(--third-color);
  border-left: 100px solid transparent;
  height: 0px;
  width: 0px;
}
.box .text .square {
  width: 100%;
  height: 200px;
  background-color: var(--third-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  text-align: center;
  position: relative;
  padding-inline-end: 30px;
}
.box .text .square::after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 5px;
  background-color: var(--second-color);
  height: 100%;
  transition-duration: 0.5s;
}

.box:hover .text .square::after {
  width: 15px;
}

@media (max-width: 1200px) {
  .list-box .row {
    flex-direction: column;
  }

  .box {
    width: 80%;
    margin-bottom: 120px;
  }

  .row-margin {
    margin-bottom: 0px;
  }
}

@media (max-width: 700px) {
  .box {
    width: 100%;
    margin-bottom: 120px;
  }

  .box .text .triangle {
    border-bottom: 330px solid var(--third-color);
    border-left: 100px solid transparent;
    height: 0px;
    width: 0px;
  }
  .box .text .square {
    height: 330px;
    background-color: var(--third-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    text-align: center;
    position: relative;
    padding-inline-end: 30px;
    padding-block: 10px;
    overflow: hidden;
  }

  .box .number .triangle {
    border-bottom: 134px solid transparent;
  }

  .box .number .square {
    height: 134px;
  }

  .box .number p {
    top: 41px;
  }
}

/* =================================== */

.service-3 .container {
  display: flex;
  justify-content: flex-start;
}

.service-3 p {
  width: 60%;
}

.service-3 .imgs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 40%;
  margin-left: 50px;
}

.service-3 .imgs img {
  width: 100%;
  height: auto;
}

.service-3 .imgs img {
  margin-bottom: 30px;
}

.service-4 .imgs {
  margin-left: 0px;
  margin-right: 50px;
}

.service-5 p {
  width: 60%;
}

.service-5 .imgs {
  width: 40%;
}

@media (max-width: 1270px) {
  .service-3 .container {
    flex-direction: column;
  }

  .service-3 p {
    width: 100%;
    margin-bottom: 30px;
  }

  .service-3 .imgs {
    width: 100%;
    margin-left: 0px;
  }
}

/* ###################### GET IN TOUCH ######################## */

.contact-us {
  background-image: url("/img/Group 51.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  width: 100%;
  height: 70vh;
}

.contact-us .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.contact-us .container h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 40px;
  color: var(--second-color);
}

.contact-us .container p {
  text-align: center;
  width: 70%;
}

.contact-info .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 100px;
}

.contact-info .container div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-info .container div a {
  color: white;
  margin-left: 30px;
  font-size: 22px;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .contact-us .container p {
    width: 90%;
  }

  .contact-info .container {
    flex-direction: column;
  }

  .contact-info .container div {
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
  }

  .contact-info .container div a {
    padding-top: 20px;
    text-align: center;
    margin-left: 0px;
  }
}
.form .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 100px;
}

.form h3 {
  font-size: 40px;
  color: var(--second-color);
  margin-bottom: 50px;
  text-align: center;
}

.form .fields {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin-bottom: 50px;
}

.form .fields > div {
  width: 50%;
}

.form .fields > div:first-child {
  display: flex;
  flex-direction: column;
}

.form .fields .field {
  position: relative;
}

.form .fields input {
  height: 60px;
  background-color: var(--third-color) !important;
  border: none;
  outline: none;
  width: 100%;
  font-size: 20px;
  padding-left: 10px;
  color: white;
  caret-color: var(--second-color);
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

.form .fields input:hover {
  border: none;
  outline: none;
}

.form .fields .field::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -5px;
  width: 5px;
  height: 100%;
  background-color: var(--second-color);
}

.form .fields .name {
  margin-bottom: 30px;
}

.form .fields .message {
  margin-left: 30px;
  height: 100%;
}

.form .fields .message textarea {
  height: 150px;
  background-color: var(--third-color);
  border: none;
  outline: none;
  width: 100%;
  color: white;
  font-size: 20px;
  padding: 10px;
  resize: none;
  caret-color: var(--second-color);
}

.form .fields .message::before {
  height: 150px;
}

.form input[type="submit"] {
  padding: 15px 40px;
  background-color: var(--second-color);
  color: white;
  font-size: 22px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition-duration: 0.5s;
}

.form input[type="submit"]:hover {
  background-color: var(--third-color);
  color: var(--second-color);
}

@media (max-width: 992px) {
  .form .fields {
    flex-direction: column;
  }

  .form .fields .message {
    margin-left: 0px;
  }

  .form .fields .email {
    margin-bottom: 30px;
  }

  .form .fields div {
    width: 100%;
  }
}

@keyframes start-right {
  from {
    opacity: 0%;
    transform: translateX(70px);
  }

  to {
    opacity: 100%;
    transform: translateX(0px);
  }
}

@keyframes start-left {
  from {
    opacity: 0%;
    transform: translateX(-70px);
  }

  to {
    opacity: 100%;
    transform: translateX(0px);
  }
}

@keyframes start-bottom {
  from {
    opacity: 0%;
    transform: translateY(70px);
  }

  to {
    opacity: 100%;
    transform: translateY(0px);
  }
}

.start-right {
  animation-name: start-right;
  animation-duration: 1s;
}
.start-left {
  animation-name: start-left;
  animation-duration: 1s;
}

.start-bottom {
  animation-name: start-bottom;
  animation-duration: 1s;
}

.notif {
  padding: 20px 20px;
  position: fixed;
  top: 179px;
  left: 20px;
  border-radius: 5px;
  font-weight: 600;
  z-index: 99999;
}

#ok {
  border: 1px solid #0ad406;
  background: #023d32;
  color: #0ad406;
}

#wrong {
  background: #480f1b;
  border: 1px solid #ff0303;
  color: #ff0303;
}

/* For modern browsers */
::selection {
  background-color: var(--second-color);
  color: white;
}

/* For older browsers (Internet Explorer) */
::-moz-selection {
  background-color: var(--second-color);
  color: white;
}
