body {
    font-family: 'Open Sans', sans-serif;
}

*{
    box-sizing: border-box;
}
a {
    text-decoration: none;
}

li {
    list-style: none;
}

:root {
    --main-color: #e38528;
    --main-transition: .4s
}

.settings-box {
    position: fixed;
    left: -230px;
    top: 0;
    min-height: 100vh;
    background-color: white;
    width: 230px;
    z-index: 100;
    transition: var(--main-transition);
    text-align: center;
    border: 1px solid #eee;
}

.settings-box .rotate {
    position: absolute;
    right: -35px;
    top: 134px;
    background-color: white;
    padding: 10px;
    cursor: pointer;
}

.settings-box.open {
    left: 0;
}

.settings-box .settings-container >div:not(:last-child){
    background-color: #eee;
    padding: 0px 0px 10px;
    margin: 10px auto;
    width: 200px;
    text-align: center;
    max-height: 140px;
}

.settings-box h4 {
    padding: 10px 20px 0;
}

.settings-box ul.colors {
    display: flex;
    padding: 0 7px;
    justify-content: space-between;
    width: 100%;
}

.settings-box .colors li {
    height: 25px;
    width: 25px;

    margin-right: 5px;
    border-radius: 50%;
    cursor: pointer;
}
.settings-box .colors li.active{
    border: 4px solid white;

}


.settings-box .colors li:first-child {
    background-color: #e38528;
}

.settings-box .colors li:nth-child(2) {
    background-color: #E91E63;
}

.settings-box .colors li:nth-child(3) {
    background-color: #009688;
}

.settings-box .colors li:nth-child(4) {
    background-color: #03a9f4;
}

.settings-box .colors li:nth-child(5) {
    background-color: #4CAf50;
}
/* end color */

/* start backGround */
.settings-container .background h4{
    font-size: 15px;
    width: 100%;
}
.settings-box .background>div{
    display: flex;

}
.settings-box .background  span{
    display: inline-block;
    color: white;
    background-color: black;
    padding: 3px 16px;
    margin: 0px auto;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
    opacity: .5;
}
.settings-box  .background span.active{
    opacity: 1;
}
.settings-box .resetOption{
    padding: 13px;
    color: white;
    background-color: #ff5722;
    cursor: pointer;
}
/* end background */

/* start landing */
.landing-page {
    background-image: url(../imgs/tarbawy.webp);
    min-height: 100vh;
    position: relative;
    transition: .5s;
}
@media(max-width:540px){
    .landing-page {
        min-height: 70vh;}
}

.landing-page .overflow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.603);
    z-index: 1;
}

.header {
    display: flex;
    width: (100% - 30px);
    position: relative;
    z-index: 2;
    text-align: center;
    align-items: center;
    padding: 10px;
    padding-right: 40px;
    /* overflow: hidden; */
    max-height: 80px;
    justify-content: space-between;
}


.header .logo {
    font-size: 30px;
    font-weight: bold;
    color: var(--main-color);
    max-width: 300px;
    padding: 15px;
    transition: var(--main-transition);
    overflow: hidden;
}

.header .links {
    width: 100%;
    text-align: left;
    padding-left: 0;
    padding: 0;
    padding-right: 20px;
}
.header .menu{
    display: none;
}
.header .menu i::before{
    font-size: 30px;
    cursor: pointer;
}
@media(max-width:991px){
    .header .links{
        display: none;
    }
    .header .links.open{
        width: 96%;
        padding: 10px;
        background-color: white;
        display: flex;
        position: absolute;
        top: 60px;
        flex-direction: column;
        text-align: left;
        z-index: 10000;
        transition: var(--main-transition);
    }
    .header .links.open li{
        margin-bottom: 10px;
        cursor: pointer;

    }
    .header .links.open li a{
        color: var(--main-color);
        z-index: 10000;

    }
    .header .menu.open::after{
        content: "";
    position: absolute;
    right: 38px;
    /* background-color: black; */
    /* width: 28px; */
    /* height: 20px; */
    bottom: 4px;
    border-width: 15px;
    border-style: solid;
    border-color: transparent transparent white transparent;
    transition: var(--main-transition);

    }
    .header .menu{
        display: block;
    }
}
.header .links li {
    display: inline-block;
    /* margin-left: 10px; */
}

.header .links a {
    color: white;
    padding: 20px;
    transition: var(--main-transition);
    font-size: 18px;
}

.header .links a.active {
    color: var(--main-color);
}

.header .links li:hover>a {
    color: var(--main-color);
    letter-spacing: 2px;
}

.introduction-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    text-align: center;
}

.introduction-text .anemation {
    position: relative;
}

.introduction-text .anemation::after {
    content: "";
    width: 20%;
    height: 100%;
    background-color: white;
    z-index: -1;
    animation: a 7s linear infinite;
    left: 85%;
    top: 0;
    position: absolute;
}

@keyframes a {

    0%,
    100% {
        left: 0
    }

    50% {
        left: 90%;
    }
}

.introduction-text h1 {
    margin-bottom: 20px;
    padding: 20px;
    z-index: 2;
    mix-blend-mode: difference;
    transition: var(--main-transition);

}
@media(max-width:540px){
    .introduction-text h1 {
        font-size: 25px;
        margin-top: 50px;
    }
}

.introduction-text h1 span {
    color: var(--main-color);
    transition: var(--main-transition);

}

.introduction-text p {
    padding: 20px;
    line-height: 1.8;
    color: white;
    text-align: center;
    max-width: 500px;
}
@media(max-width:540px){
    .introduction-text p{
        font-size: 15px;
        /* margin-top: 50px; */
    }
}

/* end landing */

/* start About */
.container{
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 300px) {
    .container {
      width: 300px;
    }
}
@media (min-width: 540px) {
    .container {
      width: 500px;
    }
}
@media (min-width: 770px) {
    .container {
      width: 750px;
    }
}
  /* Medium */
  @media (min-width: 992px) {
    .container {
      width: 970px;
    }
}
  /* Large */
  @media (min-width: 1200px) {
    .container {
      width: 1170px;
    }
}
.about-us{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    min-height: 60vh;
}

.about-us .info-text{
    flex: 1;
    max-width: 700px;
    min-width: 270px;
}
.about-us .info-text h2{
    padding: 20px 0 0;
    color: var(--main-color);
    font-size: 35px;
    font-weight: bold;
}
.about-us .info-text p{
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}
@media(max-width:350px){
    .about-us .img img{
        width: 266px;
    }
}



/* end About */

/* start skilles */

.our-skilles{
    padding: 20px 0 60px;
    background-color: #eee;
}
.our-skilles h2{
    margin: 20px auto;
    text-align: center;
    color: var(--main-color);
    font-weight: bold;
    font-size: 30px;
    padding: 20px 0;
}
.our-skilles .skilles{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.our-skilles .skilles .box{
    flex-basis: 45%;
}
@media(max-width:500px){
    .our-skilles .skilles {
        flex-direction: column;
        gap: 0;
    }
}
.our-skilles .box .info-skilles{
    padding: 0px 10px 20px;
    background-color: white;
    margin-bottom: 20px;
}
.our-skilles .box .info-skilles .text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.our-skilles .box .info-skilles .text h3{
    font-size: 18px;
    color: #666;
}
.our-skilles .box .info-skilles .text span{
    font-size: 18px;
    color: #666;
}
.our-skilles .box .info-skilles .score{
    width: 100%;
    height: 20px;
    background-color: #eee;
    border-radius: 4px;
    position: relative;
}
.our-skilles .box .info-skilles .score span{
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--main-color);
    transition: var(--main-transition);
}
.our-gallery{
    padding-top: 50px ;
    padding-bottom: 50px;
}
.our-gallery h2{
    margin: 20px auto;
    text-align: center;
    color: var(--main-color);
    font-weight: bold;
    font-size: 30px;
    padding: 20px 0;
}
.our-gallery .images{
    text-align: center;
}
.our-gallery .images img{
    width: 200px;
    padding: 3px;
    border: 1px solid #ccc;
    margin: 5px;
    background-color: #f6f6f6;
    cursor: pointer;
}
.pop-overflow{
    width: 100%;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    background-color: black;
    opacity: .5;
    z-index: 100000;
    transition: .5s;
}
.popUp{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    border: 1px solid white;
    z-index: 100000;
    border-radius: 11px;
    transition: .5s;
    max-height: 400px;
    background-color: white;
    padding: 0 20px 20px;}
@media(max-width:770px){
    .popUp{
        width: 90%;
    }
}
.popUp img{
    width: 100%;
}
.popUp .closePop{
    position: absolute;
    top: -19px;
    right: -19px;
    background-color: var(--main-color);
    width: 40px;
    height: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    font-size: 25px;
    color: white;
    cursor: pointer;
}
.timeline{
    background-color: #eee;
    min-height: 100vh;
}
.timeline .info-time{
    position: relative;
    overflow: hidden;
}
.timeline .info-time::after{
    content: "";
    height: 100%;
    width: 2px;
    position: absolute;
    left: 50%;
    background-color: var(--main-color);
    top: 0;
}
.timeline .info-time .year{
    position: relative;
    background-color: var(--main-color);
    width: 50px;
    text-align: center;
    margin: 20px auto;
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
}
.timeline .info-time .left,
.timeline .info-time .right{
    width: calc(50% - 25px);
    position: relative;
    margin-bottom: 40px;
    
}
@media(max-width:770px){
    .timeline .info-time .left,
.timeline .info-time .right{
    width: 100%;
    z-index: 2;
}
}
.timeline .info-time .left{
    float: left;
}
.timeline .info-time .left::before,
.timeline .info-time .right::before{
    content: "";
    width: 14px;
    height: 14px;
    background-color: white;
    border: 3px solid var(--main-color);
    border-radius: 50%;
    position: absolute;
    top: 10%;
    z-index: 2;
}
.timeline .info-time .left::before{
    right: -35px;
    
}
.timeline .info-time .right::before{
    left: -35px;
    
}


.timeline .info-time .right{
    float: right;
}
.timeline .info-time .content{
    background-color: #fff;
    padding: 20px;
    position: relative;
}

.timeline .info-time .content h4{
    color: var(--main-color);
    margin: 0;
}
.timeline .info-time .content p{
    color: #666;
    line-height: 1.6;
}
.clearFix{
    clear: both;
}

.timeline .info-time .left .content::after,
.timeline .info-time .right .content::after {
    content: "";
    position: absolute;

    top: 0;
    z-index: 4;
    top: 17px;
    border-style: solid;
    border-width: 12px;
}
.timeline .info-time .left .content::after{
    right: -24px;
    border-color: transparent transparent transparent white;

}
.timeline .info-time .right .content::after{
    left: -24px;
    border-color: transparent white transparent transparent;
}

/* end  */

/* start features */
.features{
    padding-bottom: 50px;
}
.features h2{
    margin: 20px auto;
    text-align: center;
    color: var(--main-color);
    font-weight: bold;
    font-size: 30px;
    padding: 20px 0;
}
.features .icons{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,auto));
    text-align: center;
    gap: 20px;
    margin-top: 50px;
}
/* .features .icons .box{
    
} */

.features .icons .box img{
    width: 90px;
}

.features .icons .box .text span{
    font-size: 16px;
    font-weight: bold;
    padding: 12px 0 20px;
    display: block;
    position: relative;
}
.features .icons .box .text span::after{
    content: "";
    position: absolute;
    width: 14%;
    height: 3px;
    background-color: var(--main-color);
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);

}
.features .icons .box .text p{
    line-height: 1.6;
    color: #666;
    max-width: 90%;
    margin: 25px auto;
}

/* end features */
/* start testimonials */


.testimonilas{
    position: relative;
    padding-bottom: 50px;
}
.testimonilas h2{
    margin: 20px auto;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 30px;
    padding: 20px 0;
}
.testimonilas::before{
    content: "";
    width: 50%;
    height: 100%;
    left: 0;
    background-color: var(--main-color);
    position: absolute;
    z-index: -1;
}
.testimonilas::after{
    content: "";
    width: 50%;
    height: 100%;
    right: 0;
    background-color: black;
    opacity: .6;
    position: absolute;
    z-index: -1;
    top: 0;
}
.testimonilas .tests{
    display: flex;
    gap: 20px;
}
.testimonilas .tests .box{
    background-color: white;
    padding: 0 20px;
}
.testimonilas .tests .box >p{
    line-height: 1.6;
    color: #666;
}
.testimonilas .tests .text{
    display: flex;
    gap: 20px;
    align-items: center;
}
@media(max-width:991px){
    .testimonilas .tests{
        flex-wrap: wrap;
    }
}

.testimonilas .tests .text h4{
    margin: 0;
}
.testimonilas .tests .text img{
    width: 40px;
    height: 40%;
}

/* end testimonilas */

/* start bullet */
.navagitions{
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}
.navagitions .bullet{
    margin-bottom: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    cursor: pointer;
    position: relative;
}
.navagitions .bullet .tooltip{
    color: white;
    font-size: 14px;
    transition: var(--main-transition);
    position: absolute;
    background-color: var(--main-color);
    left: -140px;
    padding: 2px 10px;
    top: -3px;
    width: 120px;
    display: none;
    transition: var(--main-transition);
}
.navagitions .bullet:hover .tooltip{
    display: block;
}

.navagitions .bullet .tooltip::after{
    content: "";
    border-width: 12px;
    border-style: solid;
    border-color: transparent transparent transparent var(--main-color);
    position: absolute;
    right: -24px;
    top: -2px;
}

/* //end nav */


/* form contact */
.contact{
    min-height: 60vh;
    background-image: url(../imgs/contact.png);
}
.contact h2{
    margin: 20px auto;
    text-align: center;
    color: var(--main-color);
    font-weight: bold;
    font-size: 30px;
    padding: 20px 0;
}
.contact form{
    padding-top: 40px;
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: auto;
}
.contact .left , .contact .right{
    flex-basis: 45%;
    display: flex;
    flex-direction: column;
}
.contact .left input:focus , .contact .right textarea:focus{
    border: 1px solid var(--main-color);
    outline: none;
}
.contact .left input:focus::-webkit-input-placeholder,
.contact .right textarea:focus::-webkit-input-placeholder{
    opacity: 0;
    transition: var(--main-transition);
}
.contact .left input{
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}
.contact .right textarea{
    height: 67%;
    border: 1px solid #ccc;
    padding: 10px;
}
.contact .right input[type="submit"]{
    padding: 7px;
    margin-top: 6px;
    border: 1px solid #ccc;
    background-color: var(--main-color);
    color: white;
    cursor: pointer;
}
@media (max-width: 540px) {
    .contact form {
        flex-direction: column;
    }
    .contact{
        margin-bottom: 20px;
    }
}


/* footer */
.footer{
    background-color: #333;
    text-align: center;
    color: white;
    padding: 20px;
}