@import 'utilities.css';

:root {
    --primary: #3DCFD3;
    --dark: #161616;
    --pure: #FFFFFF;
    --ternary: #898989;
    --light: #F2F2F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 1000px;
    font-family: 'Poppins', sans-serif;
}

header {
    background-color: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 87%, 0 100%);
}

.container {
    max-width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
}

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 .left img {
    width: 400px;

}

.hero .right {
    color: var(--pure);
}

.hero .right h6 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.hero .right h1 {
    font-size: 4rem;
    font-weight: 100;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero .right h1 span {
    color: var(--primary);
}

.hero .right p {
    line-height: 1.9rem;
    margin-bottom: 2rem;
}

.hero {
    padding: 3rem 0;
}

.hero .right {
    margin-top: -7rem;
}

section {
    padding: 6rem 0;
}


section.about .about-img {
    height: 450px;
}

section.about h1 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 400;
}

section.about h1 span {
    color: var(--primary);
}

section.about h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

section.about p {
    color: var(--ternary);
    line-height: 1.9;
    font-weight: 200;
    margin-bottom: 2rem;
}


section.about .social {
    display: flex;
}

section.about .social a {
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    margin-right: 0.6rem;
    transition: all .3s ease;
}

section.about .social a img {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
}

section.about .social a:hover {
    background: var(--primary);
}

.section-heading {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 0.6rem;
}

.section-heading span {
    color: var(--dark);
}

.section-heading + p {
    color: var(--ternary);
    font-family: 'lato', sans-serif;
    margin-bottom: 8rem;
    text-align: center;
}

.services .card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 2rem;
    grid-row-gap: 6rem;
}

.services {
    background: var(--light);
}

.card-wrapper .single-card {
    background: var(--pure);
    padding: 3rem 2rem;
    position: relative;
    padding-top: 5rem;
    text-align: center;
    transition: all .5s ease;
}

.card-wrapper .single-card:hover {
    background: var(--dark);
}

.card-wrapper .single-card:hover h2,
.card-wrapper .single-card:hover p {
    color: var(--pure);
}

.card-wrapper .single-card img {
    position: absolute;
    top: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.card-wrapper .single-card h2 {
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-wrapper .single-card p {
    font-family: 'lato', sans-serif;
    color: var(--ternary);
    line-height: 1.6;
}

.freelancer {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 67% 80%, 0 100%);
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/camera.png);
    color: var(--pure);
    padding-bottom: 14rem;
}

.freelancer h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.freelancer p {
    margin-bottom: 2rem;
    font-family: 'lato', sans-serif;

}

section.reviews .slider .slide img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
}

section.reviews .slider .slide{
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 10rem;
}


section.reviews .slider .slide span{
    font-size: 0.8rem
}


section.reviews .slider .slide p{
    font-family: 'lato',sans-serif;
    color: var(--ternary);
    margin-bottom: 1rem;
}

section.reviews .slider-dots .dots{
    list-style-type: none;
    display: flex;
    justify-content: center;
}

section.reviews .slider-dots{
    margin-top: 3rem;
}

section.reviews .slider-dots button{
    font-size: 0;
    width: 8px;
    height: 5px;
    margin-right: 0.3rem;
    border: none;
    outline: none;
    background: var(--ternary);
    border-radius: 50px;
    cursor: pointer;
}

section.reviews .dots li.slick-active button{
    background: var(--primary);
    width: 20px;
}
section.work {
    background: var(--light);

}

.card img {
    width: 100%;
    height: 100%;
}

section.work .card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}

section.work .card-wrapper .card {
    position: relative;
    height: 250px;
}

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;
    flex-direction: column;
    color: var(--light);
    opacity: 0;
    transition: all .5s ease;

}

section.work .card-wrapper .card .overlay a {
    color: var(--dark);
    text-decoration: none;

}

section.work .card-wrapper .card:hover .overlay {
    opacity: 1;
}

section.blog {
    background: var(--dark);
    background-color: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 67% 90%, 0 100%);
    padding-bottom: 12rem;

}

section.blog .section-heading {
    color: var(--pure);
}

section.blog .card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}


section.blog .card {
    background: var(--pure);
}

section.blog .card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.blog .card-wrapper .card .car-content {
    padding: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.car-content h1 {
    font-size: 1rem;
    font-weight: 600;
}

.car-content a {
    color: var(--dark);
    text-decoration: none;
}

.car-content a:hover {
    color: var(--primary);
}

.car-content span {
    color: var(--ternary);
    font-size: 0.8rem;
}

.car-content p {
    font-family: 'lato', sans-serif;
    color: var(--ternary);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.car-content .read-more {
    font-size: 0.8rem;
}

.card .img {
    width: 128px;
    height: 96px;
    margin-bottom: 3rem;
}

section.contact .card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;

}


section.contact .card-wrapper .card {
    text-align: center;
}

section.contact .card-wrapper .card h1{
    font-weight: 400;
    margin-bottom: 1rem;
}

section.contact .card-wrapper .card h6{
    font-size: 1rem;
    color: var(--ternary);
    font-weight:400;
    margin-bottom: 4rem;
}

section.contact .input-wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin-bottom: 2rem;
}

section.contact .input-wrap-2{
    display: flex;
    flex-direction: column;
}

section.contact .input-wrap-2  input{
margin-bottom: 2rem; 
}


section.contact .input-wrap-2 textarea{
    padding: 0.5rem;
    border: 1px solid var(--light);
    
}

section.contact input{
    font-size: 0.8rem;
    padding: 0.5rem;
      border: 1px solid var(--light);
}

section.contact input:focus, section.contact textarea:focus{
    outline: none;
}

section.contact .btn-wrapper{
    text-align: center;
    margin-top: 2rem;
}


footer{
    background: var(
    --dark);
    text-align: center;
    padding: 5rem 0;
}

footer .footer-social a{
    margin-right: 1rem;
    
}
footer .footer-social{
    margin-bottom: 2rem;
}

footer .footer-logo{
    margin-bottom: 3rem;
    width: 150px;
}
footer .copy-right{
    color: var(--ternary);
}
