/* start global varibles */
:root {
    --main-color: #1C1C1C;
    --second-color: #DEB531;
    --section-background: #F0F0F5;
}

/* end global varibles */


/* start of global rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* direction: rtl; */
}

@font-face {
    font-family: myfirstfont;
    src: url(../images/DINNextLTArabic-Regular-2.ttf);
}

p,
h1,
h2 {
    direction: ltr;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: myfirstfont, Arial, Helvetica, sans-serif;
    /* font-family: 'Work Sans', sans-serif; */
    background-image: url(../images/tile_background2.png);
    background-size: cover;
    background-repeat: repeat;
    min-height: calc(100vh - 72px);
    background-attachment: fixed;
    position: relative;
    direction: ltr;

}

ul {
    list-style: none;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}


/* small screen */
@media (min-width: 768px) {
    .container {
        /* width: 748px; */
        width: calc(100vw - 160px);

    }
}

/* medium screen */
@media (min-width: 992px) {
    .container {
        /* width: 972px; */
        width: calc(100vw - 160px);

    }
}

/* big screen */
@media (min-width: 1200px) {
    .container {
        width: 1180px;
        /* width: calc(100vw - 160px); */
    }
}

/* start header */
header {
    background-color: var(--section-background);
}

header .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

header .container nav .menu-icon {
    color: var(--main-color);
    font-size: 25px;
    padding: 0px 10px;
}

@media (min-width: 992px) {
    header .container .menu-icon {
        display: none;
    }
}

header .container nav .logo img {
    height: 72px;
    padding: 10px 0px;
}

@media (max-width: 786px) {
    header .container nav .logo img {
        height: 50px;
    }
}

header .container nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* margin-right: 60px; */
    justify-content: space-between;
    flex: 1;
}

header .container nav .links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-left: 70px;
    align-items: center;
}

@media (max-width: 992px) {
    header .container nav .links {
        display: none;
    }
}

header .container .links ul li {
    /* padding: 30px; */
    /* ## */
    background-color: var(--section-background);
    height: 38px;
    border-radius: 20px;
    margin: 0px 10px;
    color: var(--main-color);
    display: flex;
}

header .container nav .links .menu-line .x-icon {
    font-size: 30px;
}

header .container nav .links .menu-line img {
    width: 80px;
}

header .container nav .links .line {
    width: 100%;
    height: 1px;
    background-color: var(--main-color);
    margin: 15px 0px;
}

header .container nav .links .social {
    display: flex;
    align-items: center;
    height: 100%;
    background-color: var(--main-color);
    justify-content: center;
}

header .container nav .links .social i {
    padding: 20px;
    font-size: 30px;
    color: white;
    align-items: center;
}

header .container ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 24px;
}

header .container ul a {
    padding: 5px 17px;
    text-decoration: none;
    color: var(--main-color);
    /* margin: 0px 18px; */
    transition: 0.3s;
    word-break: keep-all;
}

header .container ul li.active a {
    color: white;
    /* margin: 0px 18px; */
}

/* header .container ul li.active:hover {
    color: var(--second-color);
} */

header .container .links ul li.active {
    border-radius: 20px;
    background-color: var(--main-color);
    color: #f0f0f5;
}

header .container .links ul a:hover {
    color: var(--second-color);
}

header .container .links ul li.active a:hover {
    color: var(--second-color);
}

header .container nav .lang {
    display: flex;
    flex-direction: row-reverse;
    font-weight: bold;
    height: 30px;
    align-items: center;
}

@media (max-width: 992px) {
    header .container nav .lang {
        display: none;
    }

    header .container .menu-icon:hover + .links {
        width: 40%;
    }
}

@media (min-width: 992px) {
    header .container nav .line,
    header .container nav .social,
    header .container nav .menu-line {
        display: none !important;
    }
}

header .container nav .lang .ar {
    border-radius: 5px 0px 0px 5px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    color: #F0F0F5;
    /*transition: 0.5s;
    */text-decoration: none;
    -webkit-border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -ms-border-radius: 5px 0px 0px 5px;
    -o-border-radius: 5px 0px 0px 5px;
}

header .container nav .lang .en {
    border-radius: 0px 5px 5px 0px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    color: #F0F0F5;
    text-decoration: none;
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -ms-border-radius: 0px 5px 5px 0px;
    -o-border-radius: 0px 5px 5px 0px;
}

header .container nav .lang .active {
    background-color: var(--main-color);
}

header .container nav .menuu {
    display: none;
}

header .container nav .menuu.show {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: var(--section-background);
    width: 35%;
    top: 0px;
    left: 0px;
    z-index: 5;
    height: 100vh;
}

@media (max-width: 550px) {
    header .container nav .menuu.show {
        width: 70%;
    }
}

header .container nav .menuu .first-line {
    display: flex;
    padding: 15px;
    justify-content: space-between;
}

header .container nav .menuu .first-line i {
    font-size: 26px;
}

header .container nav .menuu .first-line img {
    width: 56px;
}

header .container nav .menuu .lang-line {
    display: flex;
    flex-direction: column;
}


header .container nav .menuu .lang-line .langs {
    display: flex;
    flex-direction: row;
    padding: 0px 15px;
    align-self: flex-end;
    text-decoration: none;

}

header .container nav .menuu .lang-line .ar {
    border-radius: 0px 5px 5px 0px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    text-decoration: none;
    color: var(--main-color);
    -webkit-border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -ms-border-radius: 0px 5px 5px 0px;
    -o-border-radius: 0px 5px 5px 0px;
}

header .container nav .menuu .lang-line .ar.active {
    background-color: var(--main-color);
    color: #F0F0F5;

}

header .container nav .menuu .lang-line .en {
    border-radius: 5px 0px 0px 5px;
    background-color: #D9D9D9;
    padding: 3px 5px;
    text-decoration: none;
    color: var(--main-color);
    -webkit-border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -ms-border-radius: 5px 0px 0px 5px;
    -o-border-radius: 5px 0px 0px 5px;
}

header .container nav .menuu ul {
    flex-direction: column;
    flex-grow: 2;
    justify-content: space-evenly;
}

header .container nav .menuu li div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* background-color: var(--main-color); */
    border-radius: 30px;
    padding: 5px;
    padding-left: 10px;
    width: 150px;
}

header .container nav .menuu li div.active {
    background-color: var(--main-color);
    /* color: white; */
}

header .container nav .menuu li div.active a {
    color: white;
}

header .container nav .menuu .line {
    width: 100%;
    height: 1px;
    background-color: var(--main-color);
    margin: 15px 0px;
}

header .container nav .menuu .social-line {
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px;
    height: 120px;
    background-color: var(--main-color);
    color: white;
}

header .container nav .menuu .social-line i {
    font-size: 28px;
}

header .container nav .black {
    display: none;
}

header .container nav .black.show {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: rgb(0 0 0 / 65%);
    width: 30%;
    top: 0px;
    right: 0px;
    z-index: 3;
    height: 100vh;
}

/* end header */

/* start section */

.section .special-text {
    display: flex;
    align-items: center;
    text-align: center;
}

.section .special-text h2 {
    padding: 0px 20px;
    margin: 15px 0px;
}

.section .special-text div {
    margin-top: 10px;
    border-radius: 10px;
    height: 3px;
    width: 100%;
    background-color: gray;
}

@media (max-width: 767px) {
    .section .special-text>div:first-child {
        display: none;
    }

}

.section .container {
    background-color: var(--section-background);
    /* width: calc(100% - 160px); */
    /* height: calc(100% - 160px); */
    margin: 70px auto;
    padding: 20px 0px;
    /* position: absolute; */
    border-radius: 20px;
    color: var(--main-color);
}

.section .box {
    display: flex;
    flex-direction: row;
    padding: 20px;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

.section .rubber {
    flex-direction: row-reverse;

}

.section .box .text {
    /* margin-right: 30px; */
    padding: 30px 30px 30px 0px;
}

.section .rubber .text {
    padding: 30px 0px 30px 30px;

}

.section .box .text h3 {
    color: var(--second-color);
    font-size: 35px;
    margin-bottom: 10px;
}


.section .box .text p {
    font-size: 24px;
    padding-bottom: 25px;
}

.section .box .img-container {
    position: relative;
    margin: 0px 10px;
}

.section .box .image-special {
    border-radius: 20px;
    overflow: hidden;
    /* background-image: url(../assets/rubber-flooring.png); */
    position: relative;
    min-width: 400px;
    /* max-width: 600px; */
    /* height: 100%; */
    z-index: 2;
}



.section .box .image-special img {
    width: 500px;
    height: 300px;
}

@media (max-width:992px) {
  .section .box .image-special img {
    width: 100%;
    transition: 1s;
} 
    
}

@media (max-width:992px) {
    .section .box {
        flex-direction: column-reverse;

    }

    .section .box .image-special {
        min-width: 400px;
    }

    .section .box .text {
        margin-right: 0px;
        padding: 20px 0px;

    }
}

@media (max-width:768px) {


    .section .box .image-special {
        min-width: 200px;
    }

    .section .container {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        margin: 20px;
    }


    .section .box {
        padding: 10px;
    }
}



/* .section .interlock .image-special::before {
    content: '';
    position: absolute;
    right: 35px;
    bottom: 35px;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    width: 527px;
    height: 360px;
} */
.section .frame {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--main-color);
    transform: translate(10px, 10px);
}

/* end section */


/* start fotter */
footer {
    background-color: var(--main-color);
    position: relative;
    overflow: hidden;
}

footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 80px;
    color: #D9D9D9;
}

@media (max-width: 400px) {
    footer .container {
        padding: 10px 10px;
    }
}

@media (max-width:992px) {
    footer .container {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;

    }
}

footer .container>img {
    position: absolute;
    bottom: 66px;
    left: 0px;
}

@media (max-width:450px) {
    footer .container>img {
        position: absolute;
        width: 90px;
        bottom: 66px;
        left: 0px;
    }
}

footer .logo-section {
    width: 350px;
    color: #D9D9D9;
    text-align: start;
    padding-bottom: 20px;
    /* padding-left: 50px; */
}

/* footer .logo-section img {} */

footer .logo-section p {
    padding-top: 15px;
    font-size: 20px;
    text-align: start;
}

footer .logo-section p span {
    color: var(--second-color);
}

footer .important-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer h2 {
    padding-bottom: 15px;
}

footer .important-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
}

footer .important-links ul li {
    direction: rtl;
    list-style-type: ">";
    /* padding: 10px; */
    list-style-position: inside;
}

footer .important-links ul a {
    text-decoration: none;
    color: #D9D9D9;
    font-size: 20px;
    padding: 10px;
    display: inline-block;
}

footer .contact {
    display: flex;
    flex-direction: column;
    align-items: center;

}

footer .contact i {
    font-size: 30px;
    padding-left: 5px;
    cursor: pointer;

}

@media (max-width: 400px) {
    footer .container>div {
        width: unset !important;
        padding-left: unset !important;
        align-items: center;
    }
}

footer .right  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-items: center;
    padding: 0px 30px;
    align-items: center;
    z-index: 10;
    color: white;
  }
  
  @media(max-width:992px){
    footer .right  {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      justify-items: center;
      padding: 0px 30px;
      align-items: center;
      z-index: 10;
      color: white;
    }
  }
  footer  .right .beacon {
     display: flex;
     align-items: center;
     flex-direction: row;
     
  }
  footer  .right .beacon  span{
    padding-right: 10px;
    font-size: 15px;
  }
  
  @media(max-width:992px){
    footer .right  {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
    }
    footer .right p {
        font-size: 10px;
    padding-bottom: 20px;
    }
    footer .container .right .beacon {
        padding-bottom: 15px;
       
    }
    
  }
  footer  .right   {
    border-top: 1px #ffffff7d solid;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: transparent;
  }
  

/* end fotter */