@import 'utilities.css';
:root{
    --primary: #3DCFD3; 
    --dark: #161616; 
    --pure: #FFFFFF;  
    --ternary: #898989; 
    --light: #F2F2F2; 
    --secondary:#070606;


}
body{
    font-family: 'Playfair Display', sans-serif;
}
html{
    scroll-behavior: smooth;
}
*{
    padding: 0;
    margin:0;
    box-sizing: border-box;
    -webkit-font-smothing: antialiased;
}
header{
    background: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 77% 83%, 0 100%);
    padding-bottom: 14rem;
}
.container{
    max-width:1152px;
    padding:0 15px;
    margin:0 auto;
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        }
        }
        @media (min-width: 992px) {
            .container {
                max-width: 960px;
                }
                }
                @media (min-width: 1024px) {
                    .container {
                        max-width: 992px;
                        }
                    }
                              
header nav .left a{
    color:var(--pure);
    text-decoration: none;
    margin-right:2rem ;
    text-transform: uppercase;
    transition:all .3s ease;
}
header nav .left a:hover{
color:var(--primary);
}
header nav{
    padding:2rem 0;
}
header nav .branding{
    margin-right:3rem;

}
.hero{
    padding:3rem;

}
.hero .left img{
    width: 400px;
}
.circle-border {
    border-radius: 50%; 
    border: 5px solid #3DCFD3; 
  }
  
  
.hero .right{
    color: var(--pure);
}
.hero .right h6{
    font-size: 1.8rem;
    color:var(--primary);
    margin-bottom: 0.8rem;
    margin-right: -7rem;
    margin-left: 2rem;
}
.hero .right h1{
    font-size: 4rem;
    font-weight: 100;
    line-height: 1.2;
    margin-right: -7rem;
    margin-left: 2rem;
}
.hero .right h1 span{
    color: var(--primary);
}
.hero .right h2{
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-right: -7rem;
    margin-left: 2rem;
}
.hero .right p{
    line-height: 1.2;
    color: var(--primary);
    font-weight: 50;
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-right: -7rem;
    margin-left: 2rem;
}
.hero .right .btn{
    margin-right: -7rem;
    margin-left: 2rem;
}
.hero .right{
    margin-bottom: -4rem;
    
}
section{
    padding:6rem 0; 
}
section.about .about-me-img{
    height:300px;
    
   margin-left: 8rem;
}
section.about h1{
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;

}
section.about h1 span{
    color:var(--primary);
    font-weight:400 ;
    font-size: 2rem;
}
section.about h3{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 350;
}
section.about h3 span{
    color:var(--primary);
    font-size: 2rem;
    font-weight: 400;
}
section.about p{
    font-family:'Lato', sans-serif;
    color:var(--ternary);
    line-height: 1.9;
    margin-bottom: 2rem;
}
section.about .social{
    display: flex;

}
section.about .social a{
    display:flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.6rem;
    transition: all .3s ease;
}
section.about .social a:hover{
    background: var(--primary);
}
section.about .social a img{
    width:100%;
height: 100%;
padding:0.5rem;

}
.section-heading{
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 0.5;
}
.section-heading span{
    color: var(--primary);
}
.section-heading + p{
    color: var(--ternary);
font-family: 'Lato',sans-serif;
margin-bottom: 8rem;
text-align: center;
}
section.services{
    background: var(--light);
}
section.services .card-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2rem;
} 
section.services .card-wrapper .card{
    background: var(--pure);
    padding: 3rem 2rem;
    position: relative;
    padding-top: 5rem;
    text-align: center;
    transition: all .3s ease;
}
section.services .card-wrapper .card img{
    position: absolute;
    top: -2.5rem;
    background-color: var(--primary);
    left: 50%;
    transform: translateX(-50%);
}
section.services .card-wrapper .card h2{
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
section.services .card-wrapper .card p{
    font-family: 'Lato',sans-serif;
    color: var(--ternary);
    line-height: 1.6;
}
section.services .card-wrapper .card:hover{
    background-color: var(--dark);
}
section.services .card-wrapper .card:hover h2,section.services .card-wrapper .card:hover p{
    color: var(--pure);
}
section.freelancer{
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)),url("./image/freelancing.jpg" )!important;
    color:var(--pure);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 77% 86%, 0 100%);
    padding-bottom: 14rem;
}
section.freelancer h1{
    font-size: 4rem;
    margin-bottom: 0.5rem;
}
section.freelancer p{
margin-bottom: 4rem;
font-size: 1rem;
font-family: 'Lato',sans-serif;
}
section.work .card-wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 2rem;
    margin-left: -5rem;
}
section.work .card-wrapper .card{
    position: relative;
}
section.work .card-wrapper .card .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 207, 211, 0.9);
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: var(--light);
    opacity: 0;
    transition: all .3s ease;

}
section.work .card-wrapper .card:hover .overlay{
    opacity: 1;

}
section.work .card-wrapper .card .overlay a{
    color: var(--secondary);
    text-decoration: none;

}
section.work .card-wrapper .card .overlay img{
    height: 2px;;
    width: 2px;
}
section.work .see-more{
   margin-left: 75rem;
    color: var(--primary);
    margin-top: 2rem;      
}
section.Ecertificates{
   
    background-color: var(--light);
}
.section-certificate {
    text-align: center;
  }
  
.section-certificate span{
    color: var(--primary);
}
.section-certificate + p{
    color: var(--ternary);
font-family: 'Lato',sans-serif;
margin-bottom: 2rem;
text-align: center;
}
section.Ecertificates  .slider{
    width: 70%; 
    margin: 0 auto;
    overflow: hidden;
  position: relative;
}
section.Ecertificates  .slider img{
  object-fit:cover;
  margin-bottom:2px;
  

}
section.Ecertificates .slider  span{
    font-size: 0.8rem;
}
section.Ecertificates .slider-dots .dots{
    list-style-type:none;
    display:flex!important;
    justify-content: center;
}


section.Ecertificates .slider-dots button{
    font-size:0;
    width:8px;
    height:5px;
    margin-right:0.3rem;
    border: none;
    outline:none;
    background:var(--ternary);
    margin-top: 4rem;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    cursor: pointer;
}
section.Ecertificates .dots li.slick-active button{
    background:var(--primary);
    width:20px;
}

section.contact{
    background: var(--pure);
}
section.contact .card-wrapper{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 5rem;
}
section.contact .card-wrapper .card{
    text-align: center;
}
section.contact .card-wrapper .card img{
    margin-bottom: 3rem;

}
section.contact .card-wrapper .card h1{
    font-weight: 500;
    margin-bottom: 1rem;
}
section.contact .card-wrapper .card h6{
    font-weight: 500;
    font-size: 1rem;
    color: var(--ternary);
    margin-bottom: 4rem;
}
section.contact .Input-wrap{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 2rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
section.contact .Input-wrap-2{
    display: flex;
    flex-direction: column;
}
section.contact .Input-wrap-2 input{
    margin-bottom: 2rem;
    border: 1px solid var(--light);

}
section.contact input{
    padding: 0.5rem;
    border: 1px solid var(--light);
    font-size: 0.9rem;

}
section.contact .Input-wrap-2 textarea{
    padding: 0.5rem;
    border: 1px solid var(--light);
}
section.contact input:focus{
    outline: none;

}
section.contact .Input-wrap-2 textarea:focus{
    outline: none;

}
section.contact .btn-wrapper{
    text-align: center;
    margin-top: 1rem;
}
footer{
    background:var(--dark);
    text-align: center;
    padding:5rem 0;
}
footer .footer-image{
    margin-bottom:2rem;
    width:150px;
}
footer .footer-social{
    display: flex;
    align-items: center;
    justify-content: center;
}
footer .footer-social a{
    display:flex;
    align-items: center;
    margin-right: 2%;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all .3s ease;
}
footer .footer-social a:hover{
    background: var(--primary);
}
footer .footer-social a img{
    width:100%;
height: 100%;
padding:0.5rem;
}
footer .copyright{
    margin-top: 2rem;
    color:var(--ternary);
}
.site-main-wrapper{
    position:relative;
}
.hamberger{
    position:absolute;
    top:40px;
    right:40px;
    z-index:11;
    background:none;
    border:none;
    outline: none;
    cursor: pointer;
    display:none;
}
.hamberger img{
    width:30px;
}

.mobile-nav{
   position: fixed;
   top:0;
   left:0;
   z-index:1001;
   background:var(--secondary);
   font-size: 10px;
   width:40%;
   height:100%;
   padding:2rem;
   padding-top:5rem;
   transform: translateX(-100%);
   -webkit-transform: translateX(-100%);
   -moz-transform: translateX(-100%);
   -ms-transform: translateX(-100%);
   -o-transform: translateX(-100%);
   transition:all .5s ease-in-out;
   -webkit-transition:all .5s ease-in-out;
   -moz-transition:all .5s ease-in-out;
   -ms-transition:all .5s ease-in-out;
   -o-transition:all .5s ease-in-out;
}
.open{
    transform:translateX(0);
    -webkit-transform:translateX(0);
    -moz-transform:translateX(0);
    -ms-transform:translateX(0);
    -o-transform:translateX(0);
}
.times{
   position:fixed;
   top:20px;
   left:60px;
   border: none;
   background:none;
   outline:none;
   cursor: pointer; 
}

.times img{
    height: 2rem;
}

.mobile-nav ul{
    list-style-type: none;
}
.mobile-nav img{
    margin-top: 4rem;
    display: block;
    margin-bottom: 15px;
    width: 100px;
    margin-right: 4rem;
    
}
.mobile-nav ul li a{
    color:var(--pure);
    text-decoration:none;
    font-size: 20px;
}
.mobile-nav ul li a:hover{
    color: var(--primary);
}
.mobile-nav ul li {
    margin: 15px 0;
 }
@media (max-width:1024px){
    header #main-nav{
        display:none;
    }
    .hamberger{
        display: block;
    }

    .hero .left img{
        width:200px;
    }
    .hero .right h1{
        font-size: 3rem;
    }
    .hero{
        padding-top:10rem;
    }
    header{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 94%, 0 100%);
    }
    section.about .about-me-img{
        height: 300px;
    }
    section.services .card-wrapper{
        grid-template-columns: repeat(2, 1fr);
    }
    section.work .card-wrapper{
        grid-template-columns: repeat(2,1fr);
    }
    
}

@media (max-width:576px){
    .hero{
        flex-direction: column;
    }
    header{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 86% 95%, 0 100%);
    }
    .hero .right{
        top:300px;
        margin-right: 30%;
    }
    .hero .right .btn{
     display: flex;
     margin-bottom: 0;
    }
    .hero .left img {
        margin-right: 10rem;
    }
    .hero .left{
        margin-top:-7rem;
        margin-right: -12rem;
        padding-bottom: 2rem;
    }
    .about .about-me-img {
        margin-top:-5rem;
        margin-right: 6rem;
        padding-bottom: 2rem;
    }
    .about-inner-wrap{
        flex-direction: column;
        display: flex;
    }
    .about .right{
        text-align: center;
        margin-top:2rem;
    }
    .about .right p{
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .about .right .social{
        justify-content: center;  
        display: flex;
        flex-wrap: wrap;
    }
    section{
        padding: 4rem 0;
    }
    section.services .card-wrapper{
        grid-template-columns: repeat(1, 1fr);
        margin-top:6rem;
    }
    section.freelancer h1{
        line-height:1.2;
    }
    section.freelancer p{
        margin-left: 2px;
        margin-right: 2px;
    }
    section.freelancer{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 67% 90%, 0 100%);
        padding-bottom: 8rem;
    }
    .section-heading + p{
        margin-bottom: 3rem;
    }
       
    section.work .card-wrapper {
        grid-template-columns: repeat(1, 1fr);
        margin-left: 2px;
        margin-right: 2px;        
    }
    section.work .card-wrapper img {
        max-width: 100%;
        object-fit: contain;
      }
      
    section.work .see-more {
        margin-left: 75%;
    }
    section.Ecertificates .slider {
        padding: 0;
    }
    section.Ecertificates .slider  img{
        object-fit: contain;
       max-width: 100%;
       height: auto;
        margin: 0 auto;
    }
    section.contact .card-wrapper{
        grid-template-columns: repeat(1,1fr);
    }
    section.contact .Input-wrap{
       grid-template-columns: repeat(1,1fr);
    }
}

