/* start variable */
:root {
--main-color: #10cab7;
--secondary-color: #2c4755;
--section-background:#f6f6f6;
--section-padding:60px;
} 
/* end variables */
/* start components */
.special-heading{
    color: #ebeced;
    text-align: center;
    font-size: 100px ;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 0;
    display: block;
}
.special-heading + p{
    text-align: center;
    margin: -30px 0 0 ;
    color: #797979;
    font-size: 20px;
}
@media(max-width:767px){
    .special-heading{
        font-size: 60px;
    } 
    .special-heading + p{
        margin-top: -20px 0 0 ;
    } 
}
/* end component */
html{
    scroll-behavior: smooth;
}
/*  start global rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body{
    font-family: "Work Sans", sans-serif;
}
.header{
    padding: 20px;
}
.container{
padding-left: 15px;
padding-right: 15px;
margin-right: auto;
margin-left: auto;
}
/* start mediaquery */
/* small */
@media(min-width:768px){
    .container{
        width: 750px;
    }
}
/* medium */
@media(min-width:992px){
    .container{
        width: 970px;
    }
}
/* large */
@media(min-width:1200px){
    .container{
        width: 1170px;
    }
}
/* End mediaquery */
/*  start global rules */
/* start header  */

.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .links .icon{
    width: 30px;
    display: flex;
    flex-wrap: wrap ;
 justify-content: flex-end ;
 


}

.header .links .icon span {
 
    background-color: #333;
    margin-bottom: 5px;
    height: 2px;
   
}
.header .links .icon span:first-child{
width: 100%;
}
.header .links .icon span:nth-child(2){
    width: 60%;
    transition: 0.3s;
}
.header .links .icon span:last-child{
    width: 100%;
   
}
 .header .links :hover span:nth-child(2){ width: 100%;}
   


.header .container .logo{
   width: 60px;
}

.header .links {
    position: relative;
 
}
.header .links ul{
list-style: none;
background-color: #f6f6f6;
margin: 0;
padding: 0;
min-width: 200px;
top: calc(100% + 15px );
position: absolute;
right: 0;
display: none;
z-index: 100;

}
.links:hover ul {
    display: block;
}
 
.header .links ul::before{
    content: "";
border-width: 10px;
border-style: solid;
border-color:transparent transparent #f6f6f6 transparent;
position: absolute;
right: 0;
right: 5px;
top: -20px;


} 
.header .links ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition:all 0.3s ease ;
}
.header .links ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
.header .links ul li a:hover {
    padding-left: 25px;
}

/*end header  */
/* start landing */
.landing{
    background-image: url(../images/landing.jpg);
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 64px);
  
}
.landing .intro-text{
    width: 320px;
max-width: 100%;
text-align: center
 ;

}
.landing .intro-text h1{
    margin: 0;
    font-weight: bold;
    font-size: 50px;
    color:var(--main-color) ;
}
.landing .intro-text  p{
    font-size: 19px;
    line-height: 1.8;
 

}
/* End landing */
/* start feature */
.features {
padding-top: var(--section-padding);
padding-bottom: var(--section-padding);
background-color:var(--section-background);

}
.features .container {
    display: grid !important;

    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
   
}
.features .feat{
    padding: 20px;
    text-align: center;
}
.features .feat i{
    color: var(--main-color);
}
.features .feat h3{
    font-weight: 800;
    margin: 30px 0;
}   
.features .feat p{
    line-height: 1.8;
    color: #777;
    font-size: 17px;
}
/*endfeature */
/* start services */
.services{
    padding-top: 60px;
padding-bottom: 60px;
}
 
/* end services */
/* start srv-content */
.srv-content{
   display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;
   
    margin-top: 100px ;
    justify-content: center;
    max-width: 1200px;
    margin: auto; 
}
.srv-content .srv{
    display: flex;
    margin-bottom: 40px;
}
@media(max-width:767px){
    .srv-content .srv{
        flex-direction: column;
        text-align: center;
    }

}
.srv-content .col .srv i {
    color: var(--main-color);
    flex-basis: 60px ;
 
}
.srv-content .col .srv .txt{
    flex: 1;
}
.srv-content .col .srv .txt p{
    color: #444;
    font-weight: 300;
    line-height: 1.6;
}
.srv-content .col .srv .txt h3{
    margin: 0 0 20px;
    display: block;
    font-size: 1.17em;
    font-weight: bold;
}
.srv-content .col .image {
    text-align: center;
    position: relative;
  
}
.srv-content .col .image::before {
 content: "";
background-color: var(--secondary-color);
height: calc( 100% + 100px);
right : 0;
top: -50px ;
width: 80px;
position: absolute;  
z-index: -1 ;
}
.srv-content .col .image img{
    width: 260px;
 
}
@media(max-width:1199px){
    .srv-content .col .image{
        display: none;
    }
}

/* end srv-content */
/* start Portfolio */
.portfolio{
    background-color: var(--section-background);
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
.card img {
    width: 100%;
}
.port-content{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;
    position: relative;
    grid-gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: auto; 
    margin-top: 80px;
}
.port-content .card {
    background-color: white;
}
.port-content .card .info {
    padding: 20px ;
}
.port-content .card .info p {

    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}
.port-content .card .info h3{
    margin: 0;
}
/* end Portfolio */
 /*start About  */
 .About{
    padding-top: var(--section-padding);
    padding-bottom:calc( var(--section-padding ) + 60px );
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    

 }
 
 .About .About-content{
 margin-top: 100px;
 display: flex;
 flex-wrap: wrap;
 position: relative;
 justify-content: space-between;
 
 }
  .about-image {
    position:relative;
    width: 250px;
    height: 375px;
 
 }
 .About .About-content .about-image::before{
    content: "";
    background-color: #ebeced;
    width: 100px;
    height: calc( 100% + 80px );

    position: absolute;
    top: -40px ;
    z-index: -1;

 }
 .About .About-content .about-image::after{
    content: "";
    position: absolute;
    width: 120px;
    height: 300px;
   
    border-left: 80px solid var(--main-color);
    border-bottom: 80px solid var(--main-color);
    right: -150px;
    top: -40px;
  z-index: -1;
  
 }
 .about-image img{
    width: 100%;
 }
.about-txt{
flex-basis: calc(100% - 500px );

 }
 .about-txt p:first-of-type{
font-weight: bold;
line-height: 2;
margin-bottom: 50px;
 }
 .about-txt hr{
    border-color:var(--main-color);
    width: 50%;
    display: inline-block;
 }

 .about-txt p:last-of-type{
    line-height: 2;
    margin-bottom: 50px;
    color: #777;
 }

 /* start Contact */
.Contact{
    background-color: var(--section-background);
}
 .contact-info{
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    text-align: center;
}
.contact-info .label {
    font-size: 35px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -2px;
    margin-bottom: 15px;
}
.contact-info .link {
    display: block;
    font-size: 35px;
    font-weight: 800;
    color: var(--main-color);
    text-decoration: none;
}
.contact-info i{
    color: var(--secondary-color);
   margin-left: 10px ;
   
}
.contact-info .social{
    padding: 10px ;
}
/* start footer  */
.footer{
    
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 10px;
    text-align: center;
    font-size: 18px;
}
.footer span {
    font-weight: bold;
    color: var(--main-color);
}
/* end footer  */