* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  direction: rtl;
}

/* start my FrameWork */

.header {
  display: flex;
  justify-content: space-between;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
.container {
  width: 80%;
  margin: 0 auto;
}
.main-title::before {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: rgb(241, 223, 223);
}

/* end my FrameWork */
/* 

Swiss Red:
#db2416
Abanus Black:
#212121
Gray - 009:
#606060
Pale White:
#f4f4f2
Gray - 006:
3A3A3C
Gray - 002:
F1F1F2
*/

:root {
  --swiss-red: #db2416;
  --abanus-black: #212121;
  --gray-009: #606060;
  --pale-white: #f4f4f2;
  --gray-006: #3a3a3c;
  --gray-002: #f1f1f2;
  --main-transition: all 0.3s ease-in-out;
}

/* start nav */
nav {
  background-color: red;
}
.links {
  color: var(--gray-006);
}

/* end nav */
/* start slider */
.imgsliderhome {
  width: 80%;
  margin: 0 auto;
}
.slider-home {
  box-shadow: 0 0 10px #e8e8e8;
  width: 80%;
  margin: 50px auto;
}
.slider-home > img {
  border-radius: 9px;
}

/* end slider */
/* start about */
.about {
  text-align: center;
  background-color: rgb(246, 243, 243);
  margin-bottom: 50px;
  width: 100%;
}

.main-title {
  text-align: center;
  color: var(--swiss-red);
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  font-size: 30px;

  margin-bottom: 20px;
}
.imgServices {
  width: 100%;
}
.textAbout {
  font-size: 14px;
  margin-bottom: 40px;
}
/* start about */
/* start services */
.services {
  margin: 50px 0;
}
.services .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.box {
  width: 49%;
  border: 2px solid rgb(237, 231, 231);
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 0 5px #e8e8e8;
  background-color: var(--pale-white);
}
.box img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

.services .container .content h3 {
  color: var(--swiss-red);
}
.services .container .content p {
  color: var(--gray-009);
}

@media (max-width: 768px) {
  .services .container {
    flex-direction: column;
  }
  .box {
    width: 100%;
  }
}

/* start services */

/* start why */
.why {
  background-color: var(--swiss-red);
  color: white;
  padding: 20px 0;
  width: 100%;

  margin-bottom: 50px;
}
.why .container {
  display: flex;
}
.why .parent {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  align-items: center;
  margin-left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.why .parent img {
  width: 100%;
}
.why .bok1 {
  display: flex;
}
@media (max-width: 767px) {
  .why .parent {
    flex-direction: column;
    margin-left: 0;
    transform: none;
    text-align: center;
  }
  .why .parent img {
    width: 80%;
  }
}
.iconWhy {
  margin-right: -10px;
}

.why .parent .content {
  width: 100%;
  max-width: 500px;
}

.why ol li {
  margin: 25px;
  font-weight: bold;
}

/* end why */
/* start testimonials */
.testimonials {
  margin: 50px 0;
  background-color: var(--swiss-red);
  padding: 20px;
  color: white;
  width: 100%;
}
.chapter .children {
  display: flex;
  text-align: center;
  gap: 10px;
}
.chapter .children i {
  margin-top: 10px;
  font-size: 20px;
}
.tow {
  margin-left: 30%;
}
.three {
  margin-left: 60%;
}
@media (max-width: 767px) {
  .chapter .children {
    display: flex;
  }
  .tow,
  .three {
    margin-left: 0;
  }
}
/* end testimonials */
.final {
  background-image: url(./logo.png);
  margin: 50px auto;
  width: 100%;
  height: 50vh;
  position: relative;
}
.final .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.footer {
  padding: 10px;
  text-align: center;
  align-items: center;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
@media (max-width: 767px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

.attr {
  display: flex;
  flex-direction: column;
}
/*  */
.king {
  font-size: 50px;
}

.mahm {
  margin: 0 auto;
  display: block;
}
