*
{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}
body
{
height: 3000px;
font-family: 'Roboto', sans-serif;
}
/* Start header section  */

.menu
{
    visibility:visible;
    padding:25px 25px;
    position: fixed;
    top:30px;
    right:90%;
    bottom: 0px;
    width:90px;
    height: 90px;
    background-color:#455871;
    z-index:999;
    border-radius: 3px;
    cursor: pointer;
}
.menu .bar,
.menu .bar::before,
.menu .bar::after
{
    content:"";
    position: absolute;
    height: 2px;
    width:45px;
    background-color: white;
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    margin: auto;
    transition: 650ms;
  }
.menu .bar:before
{
    top:-2rem;
}
.menu .bar::after
{
    top:2rem;
}
.active .bar
{
    background-color: transparent;    /* ده عشان الخط اللي في النصف يتمسح */
}
.active .bar::before
{
    transform:rotate(45deg);
}
.active .bar::after
{
    transform:rotate(-45deg);
}
.active .bar::before,
.active .bar::after
{
    top:0;
}
.content
{
    background-color:rgba(0, 0, 0, 0.329);
    align-items:center; 
    flex-direction: column;
    height: 200px;
    top:10px;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    transition: all 0.4s;
    justify-content: center;
    transform: scale(0);
    opacity: 0;
}
.content.menu-open
{
    transform: scale(1);
    opacity: 1;
}
.content .nav-li a
{
    display: block;
    content: "";
    width:150px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position-y: 100px;
    transition:all 1m;
    background-color: rgb(131, 108, 78);
}
.content .nav-li .link1
{
    background-image: url('img/home-icon.png');
}
.content .nav-li a:hover{
    background-color: rgb(121, 97, 179);
    background-position-y: 170px;
}




header
{ 
    position: relative;
    width:100%;
    height: 22%;
    background-image: url("img/first-bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
header .layout1
{
    position: absolute;
    width:56%;
    height: 100vh;  /*88%*/
    margin: 6% 23%; 
    background-color: rgba(45, 58, 75, 0.5);
    color:white;
}
header .layout1 h1
{
    margin:15% 10% 5%;
    font-size: 30px;
}
header .layout1 h1 strong
{
    font-size: 80px;
}
header .layout1 .inner-layout
{
    position: absolute;
    width:82%;
    height: 40%;
    background-color: #455871;
    margin:5% 23% 5%;
    padding: 4%;
    display: flex;
    flex-wrap: wrap;
}
header .layout1 .inner-layout .part1
{
    width:60%;
}
header .layout1 .inner-layout h3{
    font-size: 22px;
    color: #fff;
    width:85%;
    font-weight: 400;
    letter-spacing: 1px;
    border-bottom: 2px solid #fff;
    margin-bottom:5%;
}
header .layout1 .inner-layout h3 span
{
    color: #fa5252;
}
header .layout1 .inner-layout .part1 p
{
 font-size:    13px;
 line-height: 1.7;
 margin-bottom: 5%;
}
header .layout1 .inner-layout .part1 button 
{
padding: 4%;
background-color: #fa5252;
font-size: 13px;
color: white;
border: 0;
}
header .layout1 .inner-layout .part2
{
    width:40%;
    height: 80%;
    padding-left: 5%;
}
@media (max-width:1199px)
{
    header
    {
        height: 25%;
    }
    header .layout1 .inner-layout 
    {
        height: 70%;
    }
    header .layout1 .inner-layout .part2
    {
        margin-left: 47%;
        width:45%;
    }
}
@media (max-width:992px)
{
    header
    {
        height: 19%;
    }
    header .layout1 h1
    {
        margin:15% 8% 5%;
        font-size: 30px;
    }
    header .layout1
    {
        margin: 6% 8%; 
        width:86%;
    }
    header .layout1 .inner-layout 
    {
       width:85%;
        margin:5% 20% 10%;
        height: 40%;
    }
    header .layout1 .inner-layout .part1
    {
        width:65%;
    }
    header .layout1 .inner-layout .part2
    {
        width:35%;
        margin-left: -5%;
    }
}
@media (max-width:767px)
{
  
    header 
    {
        height: 22%;
    }
    header .layout1
    {
        height: 110%;
        margin: 6% 0%; 
        width:100%;
    }
    header .layout1 h1
    {
        margin:15% 1% 5%;
        font-size: 120%;
    }
    header .layout1 h1 strong
    {
        font-size: 170%;
        margin-left: 30%;
    }
    header .layout1 .inner-layout 
    {
       width:94%;
        margin:5% 3% 5%;
        padding: 3%;
        height: 60%;
    }
    header .layout1 .inner-layout .part1
    {
        width:100%;
        text-align: center;
    }
    header .layout1 .inner-layout .part1 h3
    {
        margin-left: 15%;
        width: 75%;
    }
    header .layout1 .inner-layout .part1 p {
        width: 98%;
    }
    header .layout1 .inner-layout .part1 button
    {
        height:5% ;
        padding: 2% 3% 4%;
    }
    header .layout1 .inner-layout .part2
    {
        width:100%;
        margin-left: 0%;
        height: 45%;
    }
    header .layout1 .inner-layout .part2 img
    {
        margin-left: 24%;
    }
}
/* End header section  */
/* Start about us section */
.about-us , 
.contact 
{
    position: relative;
    width:100%;
    height: 700px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}
.about-us
{
    background-image: url("img/fourth-bg.png");
}
.about-us .layout1 ,
 .project .layout1 ,
  .contact .layout1
{
    position: absolute;
    width:56%;
    height: 95%;
    margin: 0px 23%; 
    background-color: rgba(45, 58, 75, 0.5);
}

.about-us .layout1 h2 ,
 .project .layout1 h2,
 .contact .layout1 h2
{
    margin-top: 33%;
    margin-left: 30%;
    margin-bottom: 8%; 
    font-size: 250%;
    color:white;
}
.about-us .layout1 .about-info .image
{
    position: relative;
    background-image: url("img/about-image.png");
    background-repeat: no-repeat;
    height: 100%;
    width:90%;
    margin-left: -5%;
}
.about-us .layout1 .about-info .image .inner-img
{
    position: absolute;
background-color: white;
width:50%;
height: 43%;
padding: 4%;
margin: 9.5% 57%;
}
.about-us .layout1 .about-info .image .inner-img h3,
.project .layout1 .cards div .card-info h3
{
    padding-bottom: 2%;
    margin-bottom: 6%;
    font-size: 140%;
    color: #121212;
    font-weight: 400;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
}
.about-us .layout1 .about-info .image .inner-img p,
.project .layout1 .cards div .card-info p
{
    padding-bottom: 2%;
    margin-bottom: 5%;
    font-size: 14px;
    line-height: 1.5;
    color: #121212;
    font-weight: 400;
    color:rgb(92, 90, 90);
}
.about-us .layout1 .about-info .image .inner-img button,
.project .layout1 .cards div .card-info button,
.contact .layout1 form button
{
padding: 5% 6%;
background-color: #fa5252;
font-size: 12px;
color: white;
border: 0;
}

@media (max-width:992px)
{
    .about-us  ,
     .contact
     {
        height: 25%;
     }
    .about-us .layout1 ,
    .project .layout1 ,
     .contact .layout1
    {
        margin: 0% 8%; 
        width:86%;
    }
    .about-us .layout1 .about-info .image
    {
        margin-left: -2%;
    }
    .about-us .layout1 .about-info .image .inner-img
    {
        width:93%;
        height: 35%;
        padding: 4%;
        margin: 8% 15%;
    }
    .about-us .layout1 .about-info .image .inner-img button
    {
        padding: 3%;
    }    
}

@media (max-width:767px)
{
  
    .about-us  ,
    .contact
    {
        height: 26%;  
    }
    .about-us .layout1 ,
    .project .layout1 ,
    .contact .layout1
    {
        height: 110%;
        margin: 6% 0%; 
        width:100%;
    }
    .about-us .layout1 h2 ,
    .project .layout1 h2,
    .contact .layout1 h2
    {
        margin-top: 15%;
        margin-left: 40%;
        font-size: 150%;
        width:50%;
    }
    .about-us .layout1 .about-info .image
    {
        margin-left: 5%;
        width:90%;
    }
    .about-us .layout1 .about-info .image .inner-img
    {
        width:85%;
        height: 32%;
        text-align: center;
        padding: 4%;
        margin: 35% 3%;
    }
    .about-us .layout1 .about-info .image .inner-img h3
    {
        width:70%;
        margin-left: 15%;
    }
    .about-us .layout1 .about-info .image .inner-img button
    {
        padding: 3%;
    }    
}

/* End about us section */
/* Start PROJECTS section  */
.project
{
    position: relative;
    width:100%;
    height: 28%;
    background-image: url("img/fourth-bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}
/* .project .layout1   its property above with about section */
.project .layout1
{
    height: 85%;
}

.project .layout1 h2
{
    margin-top: 35%;
    margin-left: 25%;
    margin-bottom: 8%; 
    font-size: 250%;
    color:white;
}
.project .layout1 .cards
{

    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 1.3%;
    width: 100%;
    /* margin-left: -17%; */
    height: 65%;
}
.project .layout1 .cards .card1,
.project .layout1 .cards .card2,
.project .layout1 .cards .card3
{
    margin: 1%;  
    width:31%;
    background-size: 95%;
    background-repeat: no-repeat;
}
.project .layout1 .cards .card1
{
    background-image: url('img/project-item-01.jpg');
}

.project .layout1 .cards .card2
{  
    background-image: url('img/project-item-02.jpg');
}
.project .layout1 .cards .card3
{
    background-image: url('img/project-item-03.jpg');
}
.project .layout1 .cards div .card-info
{
    z-index: 3px;
    background-color: white;
    padding: 8%;
    width: 90%;
    margin-left: 2%;
    margin-top: 60%;
    height: 49%;
}
.project .layout1 .list 
    {
       visibility: hidden;
    }
@media (max-width:1199px)
{
    .project .layout1 h2
    {
        margin-left: 17%;
    }
}
@media (max-width:992px)
{
    .project
    {
        height: 35%;
    }
    .project .layout1 .cards .card1,
    .project .layout1 .cards .card2,
    .project .layout1 .cards .card3
    {
        margin-left: 25%;
        width:50%;
    }
    .project .layout1 .cards>div:not(:first-of-type)
    {
       display: none;
    }
    .project .layout1 h2
    {
        margin-top: 30%;
        margin-left: 25%;
    }
    .project .layout1 .list 
    {
        visibility: visible;
        margin-top: 85%;
        margin-left: 40%;
        cursor: pointer;
       
    }
    .project .layout1 .list li 
    {
        width:3%;
        background-color: rgba(43, 67, 99, 0.5);
        color:rgba(43, 67, 99, 0.5);
        margin-left: 5%;
        display: inline-block;
    }
    .project .layout1 .list .selected
    {
        background-color: #fa5252;
    }
}

@media (max-width:767px)
{
  
    .project
    {
        height: 25%;  
    }
    .project .layout1
    {
        height:100%;
        margin-bottom: 0%;
        padding-bottom: 0%;
        /* background-color: rgb(106, 151, 190); */
        width:98.8%;
    }
    .project .layout1 h2
    {
        margin-top: 15%;
        margin-left: 25%;
        font-size: 150%;
    } 
    .project .layout1 .list 
    {
        margin-top:530px;
    }  
}
/* 
.project .layout1 .cards div .card-info h3
.project .layout1 .cards div .card-info p
.project .layout1 .cards div .card-info button
these property above
*/
/* End PROJECTS section  */
/* Start CONTACT US section */
.contact 
{
    background-image: url("img/third-bg.png");
    height: 130vh;
}
.contact .layout1
{
    height: 110vh;
    display: flex;
    flex-wrap: wrap;
}
.contact .layout1 h2
{
    margin-left: 33%;
}
.contact .layout1 form
{
    position: absolute;
    background-color: rgba(250, 250, 250, 0.03);
    width:60%;
    height: 55%;
    margin-left: 10%;
    margin-top: 48%;
    padding: 3%;
}
.contact .layout1 form input , .contact .layout1 form textarea
{
    width:25vw;
    height:6vh ;
    margin: 3%;
    padding: 3%;
    border: 0px;
    background-color: rgba(250, 250, 250, 0.05);
}
.contact .layout1 form textarea
{
    height:20vh ;
}
.contact .layout1 form button
{
    padding: 4% 3%;
    margin: 2% 3%;
}
.contact .layout1 .info
{
    position: absolute;
    background-color: #fff;
    width:25vw;
    padding: 5%;
    margin-left: 65%;
    margin-top: 55%;
    font-size: 90%;
    line-height: 200%;
}
.contact .layout1 .copy
{
    color: white;
    margin-top: 15%;
    font-size: 80%;
    margin-left: 30%;
    margin-top: 60%;
}
@media (max-width:1199px)
{
    .contact .layout1 h2
    {
        margin-left: 30%;
    }


}
@media (max-width:992px)
{
    .contact 
    {
        height: 115vh;
    }
    .contact .layout1 form
    {
        width:88%;
        height: 55%;
    }
    .contact .layout1 form input , .contact .layout1 form textarea
    {
        width:62vw;
        margin: 1.5%;
        padding: 2%;
    }
    .contact .layout1 .info
    {
        visibility: hidden;
    }
    .contact .layout1 form button
    {
        margin-top: 3%;
        margin-left: 1%;
        padding: 2% 3%;
    }
    .contact .layout1 .copy
    {
        margin-top: 46%;
        margin-left: 28%;
    }     
}
@media (max-width:767px)
{
    .contact 
    {
        height: 130vh;
    }
    .contact .layout1 
    {
        height: 110vh;
    }
    .contact .layout1 h2
    {
       margin-left: 30%;
    }
    .contact .layout1 form
    {
        /* background-color: aquamarine; */
        width:93%;
        margin-top: 25%;
        height: 55%;
        margin-left: 3.5%;
    }
    .contact .layout1 form input , .contact .layout1 form textarea
    {
        width:80vw;
        margin: 1.5%;
        padding: 2%;
    }
    .contact .layout1 FORM button
    {
        margin:3% 1% 5%;
        padding: 3% 3%;
    }
    .contact .layout1 .info
    {
        visibility: visible;
        margin-left: 4%;
        margin-top: 450px;
        width:92%;
    }
    .contact .layout1 .info p
    {
        font-size: 95%;;
    }
    .contact .layout1 .copy
    {
        margin-top: 126%;
        margin-left: 17%;
    }     

}

/* background-color: rgba(250, 250, 250, 0.03); */

/* End CONTACT US section */


