@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");
:root {
  --color-primary: #000;
  --color-second: #fc0;
  --color-third: #808080;
  --color-error: #fc5a5a;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  overflow-x: hidden;
  font-family: "Tajawal", sans-serif;
  color: var(--color-primary);
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: middle;
  background: transparent;
}

a {
  color: var(--color-primary);
  font-size: 16px;
  text-decoration: none;
}

ul {
  list-style: none;
}

nav {
  padding: 10px 35px 22px;
  display: flex;
  align-items: center;
}
nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex: 1;
}
nav ul li a {
  font-weight: 500;
}
nav ul li:lang(en):first-of-type {
  margin-top: -6px;
}
nav ul li:last-of-type {
  border-radius: 50px;
  background: #000;
  padding: 10px 20px;
}
nav ul li:last-of-type a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-second);
}
nav ul li:last-of-type a:lang(en) img {
  transform: rotateY(180deg);
}
nav ul li:last-of-type a:lang(en) span {
  margin-top: 4px;
}
@media (max-width: 592px) {
  nav {
    padding: 20px 10px;
  }

  nav .logo a {
    display: block;
    width: 90px;
  }

  nav .logo a img {
   max-width: 100%;
   width: 100%;
  }

  nav ul {
    justify-content: space-between;
    gap: 5px;
  }

  nav ul:lang(en) {
    justify-content: space-evenly;
  }

  nav ul li:last-of-type {
    padding: 10px;
  }
}

.container_ {
  padding: 0 45px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .container_ {
    padding: 0 10px;
  }
}

.flexAlign {
  display: flex;
  align-items: center;
}

.flexCenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexColumn {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  justify-content: center;
}

.flexGrow {
  flex: 1;
}

.flexBetween {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flexStart {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flexEnd {
  display: flex;
  justify-content: flex-end;
}

.text-center {
  text-align: center;
}

.owl-carousel img {
  height: 100%;
  width: 100%;
}
.owl-carousel .owl-dots {
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.owl-carousel .owl-dots button.owl-dot {
  height: 8px;
  width: 8px;
  background: var(--color-second);
  border-radius: 8px;
  transition: 0.3s;
  opacity: 0.3;
}
.owl-carousel .owl-dots button.owl-dot.active {
  opacity: 1;
}

section {
  padding-bottom: 60px;
}
@media (max-width: 430px) {
  section {
    padding-bottom: 30px;
  }
}

h2 {
  height: 60px;
  width: -moz-max-content;
  width: max-content;
  border-radius: 75px 0px 28.9px 75px;
  background: #000;
  padding: 0 12px 0 26px;
  color: var(--color-second);
  font-size: 40px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
h2:lang(en) {
  border-radius: 0px 75px 75px 28.9px;
  padding: 0 26px 0 12px;
}
@media (max-width: 430px) {
  h2 {
    font-size: 28px;
  }
}

p {
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.linkBtn {
  display: block;
  width: -moz-max-content;
  width: max-content;
  padding: 8px 20px;
  border-radius: 76px;
  border: 2px solid #fc0;
  background: rgba(217, 217, 217, 0);
}

.head {
  margin-bottom: 46px;
  gap: 4px;
}
.head h2 {
  border-radius: 75px 0px 75px 75px;
  padding: 0 16px 0 36px;
  margin-top: 12px;
  margin-bottom: 0;
}
.head h2:lang(en) {
  border-radius: 0px 75px 75px 75px;
  padding: 0 36px 0 16px;
}

.logo img {
  height: 50px;
}

.about .content {
  height: 100%;
  padding-inline-start: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about img {
  width: 100%;
}
@media (max-width: 430px) {
  .about .content {
    padding: 0 20px;
  }
}

video {
  width: 100%;
}

.statistics {
  gap: 20px;
}
.statistics .staitc {
  height: 165px;
  width: 165px;
  border-radius: 50%;
  background: var(--color-second);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.statistics .staitc .img {
  margin-bottom: 5px;
}
.statistics .staitc h3 {
  font-size: 32px;
  font-weight: 900;
}
@media (max-width: 950px) {
  .statistics {
    gap: 10px;
  }
}
@media (max-width: 878px) {
  .statistics {
    flex-wrap: wrap;
  }
}

.categories {
  background: url("../assets/images/bg.svg");
  padding: 45px 0 100px;
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
}
.categories .head {
  margin-bottom: 60px;
}
.categories .head h3 {
  font-size: 70px;
  font-weight: 700;
  line-height: 86px;
  color: var(--color-second);
  border-inline-end: 1.5px solid var(--color-primary);
  padding-inline-end: 36px;
  margin-inline-end: 18px;
}
.categories .category {
  width: 280px;
}
@media (max-width: 930px) {
  .categories .category {
    width: calc(100% / 3);
  }
}
.categories .category .img {
  height: 210px;
}
.categories .category .img img {
  height: 100%;
  width: 100%;
}
@media (max-width: 930px) {
  .categories .category .img img {
    object-fit: cover;
  }
}
.categories .category .des {
  min-height: 125px;
  width: 90%;
  margin: 0 auto;
  margin-top: -36px;
  border-radius: 6px;
  background: #f5f7fa;
  box-shadow: 0px 5.569px 11.137px 0px rgba(171, 190, 209, 0.4);
  padding: 12px;
  position: relative;
  z-index: 2;
}
.categories .category .des p {
  font-size: 14px;
  font-weight: 600;
  color: #717171;
  text-align: center;
}
.categories .category .des a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-second);
  font-weight: 700;
}
.categories .category .des a img {
  height: 16px;
  width: 16px;
}
.categories .category .des a:lang(en) img {
  transform: rotateY(180deg);
}
@media (max-width: 767px) {
  .categories .head {
    flex-direction: column;
  }
  .categories .head h3 {
    border-inline-end: none;
    border-bottom: 1px solid var(--color-primary);
    padding-inline-end: 0;
    margin-inline-end: 0;
    padding-bottom: 36px;
    margin-bottom: 18px;
  }
  .categories .head p {
    text-align: center;
  }
}
@media (max-width: 705px) {
  .categories .category .des {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .categories .category .des p {
    font-size: 12px;
    font-weight: 400;
  }
}
@media (max-width: 430px) {
  .categories {
    background-position: center;
  }
  .categories .head,
  .categories .head + div {
    flex-direction: column;
    row-gap: 16px;
  }

  .categories .category {
    width: 100%;
  }

  .categories .category .des {
    min-height: auto;
  }
}
.products .head {
  margin-bottom: 80px;
}
.products .head h2 {
  height: 64px;
  border-radius: 75px 0px 75px 75px;
  padding: 0 16px 0 36px;
  margin: 0 -30px 0;
}
.products .head:lang(en) h2 {
  border-radius: 0px 75px 75px 75px;
  padding: 0 36px 0 16px;
}
.products .head:lang(en) img {
  transform: rotateY(180deg);
}
.products .product {
  text-align: center;
}
.products .product .img {
  margin-bottom: 20px;
}
.products .product h4 {
  font-size: 32px;
}

.clients .head:lang(en) img {
  transform: rotateY(180deg);
}
.clients h2 {
  height: 64px;
  border-radius: 75px 0px 75px 75px;
  padding: 0 16px 0 36px;
  background: var(--color-second);
  color: var(--color-primary);
  margin: 0 -10px 0;
}
.clients .clients_content {
  flex-wrap: wrap;
}
.clients .clients_content .clinet {
  text-align: center;
  width: 11.1111111111%;
}
@media (max-width: 1100px) {
  .clients .clients_content {
    gap: 8px;
  }
  .clients .clients_content .clinet {
    width: auto;
  }
}
@media (max-width: 430px) {
  .clients .clients_content {
    row-gap: 16px;
  }
  .clients .clients_content .clinet {
    width: 50%;
  }
}

.contactUs {
  padding: 20px 150px;
}
.contactUs h1 {
  width: -moz-max-content;
  width: max-content;
  border-radius: 0px 20px 0px 20px;
  padding: 10px;
  background: #000;
  color: var(--color-second);
  margin: 0 auto 40px;
}
.contactUs p {
  text-align: center;
  color: var(--color-second);
  display: none;
}
.contactUs p.success {
  display: block;
}
.contactUs form input {
  width: 100%;
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 5px;
}
.contactUs form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: none;
  padding: 5px;
}
.contactUs form button {
  display: block;
  width: -moz-max-content;
  width: max-content;
  padding: 10px 50px;
  border-radius: 76px;
  border: 2px solid #fc0;
  background: rgba(217, 217, 217, 0);
  margin: 0 auto;
  margin-inline-end: 0;
}
@media (max-width: 430px) {
  .contactUs {
    padding: 20px;
  }
}

footer {
  background: var(--color-primary);
  padding: 85px;
}
footer .footer_nav {
  display: flex;
  align-items: center;
  gap: 40px;
  border-radius: 80px;
  border: 1px solid #fff;
  padding: 10px 30px;
  margin-bottom: 32px;
}
footer .footer_nav a {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
footer .footer_nav a.active {
  color: var(--color-second);
}
footer .social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}
footer .social img {
  height: 25px;
  width: 25px;
}
footer p {
  text-align: center;
  color: #fff;
  font-size: 12px;
  margin-bottom: 0;
  line-height: normal;
}
footer .vat > div {
  gap: 22px;
  margin-bottom: 6px;
}
footer .vat span {
  display: block;
  text-align: center;
  font-size: 8px;
  color: var(--color-second);
}
@media (max-width: 800px) {
  footer {
    padding: 85px 45px;
  }
}
@media (max-width: 676px) {
  footer > div {
    flex-direction: column-reverse;
    row-gap: 40px;
  }
  footer > div .footer_nav {
    gap: 20px;
  }
  footer > div .vat span {
    font-size: 14px;
  }
}
