/* start variable  */
:root {
    --main-color: #10cab7;
    --secondary-color: #2c4755;
    --general-padding: 60px;
}

/* end variable  */

/* start global rules  */
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    font-family: "Work Sans", sans-serif;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* small */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/*medium */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/*large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/*start special compononts */
.special-heading {
    text-align: center;
    margin: 0;
    font-weight: 800;
    font-size: 100px;
    color: #ebeced;
    letter-spacing: -3px;
}

.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: -20px 0 0;
    }

}

/*end special compononts */

/* end global rules  */
/* start header  */
header {
    padding: 20px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    width: 60px;
}

header .links {
    position: relative;
}

header .links .icon {
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    right: 0;
    /* margin-bottom: 20px; */
}

header .links .icon span {
    background-color: rgb(0 0 0 / 70%);
    margin-right: 5px;
    margin-bottom: 5px;
    height: 3px;
    transition: 0.3s;
    width: 100%;
}

header .links:hover .icon span:nth-child(2) {
    width: 60%;
}

header .links:hover .icon span {
    background-color: var(--main-color);
}

header .links ul {
    background-color: #f6f6f6;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    min-width: 200px;
    top: calc(100% + 39px);
    list-style: none;
    display: none;
}

header .links ul::before {
    content: "";
    border-color: transparent transparent #f6f6f6 transparent;
    border-style: solid;
    border-width: 10px;
    right: 10px;
    position: absolute;
    top: -20px;
}

header .links:hover ul {
    display: block;
    z-index: 1;
}

header .links ul li a {
    text-decoration: none;
    display: block;
    padding: 15px;
    color: #000;
    transition: 0.3s;
}

header .links ul li:hover a {
    padding-left: 25px;
    color: var(--main-color);
}

header .links ul li:not(:last-child) {
    border-bottom: 2px solid #ddd;
}

/* end header  */
/* <!-- start landing  -->  */
.landing {
    background-image: url(../image/landing.jpg);
    background-size: cover;
    height: calc(100vh - 64px);
    /* ** we can use (flex - grid - position) **
    display: flex;
    justify-content: center;
    align-items: center; */
    position: relative;
}

.landing .landing-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: 100%;
}

.landing .landing-text h1 {
    margin: 0;
    font-size: 50px;
    font-weight: bold;
    color: var(--main-color);
}

.landing .landing-text p {
    font-size: 19px;

    line-height: 1.8;
}

/* <!-- end landing  -->  */

/* start features  */
.features {
    padding-top: var(--general-padding);
    padding-bottom: var(--general-padding);
    background-color: #f6f6f6;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.features .feat {
    text-align: center;
    padding: 20px;
}

.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;
}

/* end features  */
/* <!--start services    --> */
.services {
    padding-bottom: 60px;
    padding-top: 60px;
}

.services .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 100px;
}

.services .services-content .srv {
    display: flex;
    margin-bottom: 40px;
}

@media (max-width:767px) {
    .services .services-content .srv {
        flex-direction: column;
        text-align: center;
    }
}

.services .services-content i {
    color: var(--main-color);
    flex-basis: 60px;

}

.services .services-content .services-text {
    flex: 1;
}

.services .services-content .services-text h3 {
    margin: 0 0 20px;
}

.services .services-content .srv p {
    color: #444;
    font-weight: 300;
    line-height: 1.6;
}

.services .services-content .col .image {
    text-align: center;
    position: relative;
}

.services .services-content .col .image::after {
    content: "";
    position: absolute;
    background-color: var(--secondary-color);
    width: 80px;
    height: calc(100% + 100px);
    right: 0;
    top: -50px;
    z-index: -1;
}

@media (max-width: 1199px) {
    .image-column {
        display: none;
    }

    .services .services-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 100px;
    }

}

@media (max-width:767px) {
    .services .services-content {
        display: grid;
        grid-template-columns: minmax(300px, 1fr);
        gap: 20px;
        margin-top: 100px;
    }


}

.services .services-content .col .image img {
    width: 260px;
}

/* <!--end services    --> */
/* <!--start portfolio    --> */


.portfolio {
    padding-top: var(--general-padding);
    padding-bottom: var(--general-padding);
    background-color: #f6f6f6;
}

.portfolio .portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.portfolio .portfolio-card {
    background-color: #fff;
}

.portfolio .portfolio-card img {
    width: 100%;
    transition: 0.3s;
}

.portfolio .portfolio-card .portfolio-text {
    padding: 20px;
}

.portfolio .portfolio-card .portfolio-text p {
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}

.portfolio .portfolio-card .portfolio-text h3 {
    margin: 0;
}
.portfolio .portfolio-card .image{
max-width: 100%;

}
.portfolio .portfolio-card img:hover {
    transform: scale(1.05) rotate(3deg);

}

/* <!--end portfolio    --> */
/* <!--end about    --> */

.about {
    padding-top: var(--general-padding);
    padding-bottom: calc(var(--general-padding) + 60px);
}
.about .about-content {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}
@media (max-width:991px) {
 .about .about-content {
    flex-direction: column;
    text-align: center;
 }   
}
.about  .about-content .image{
    position: relative;
     width: 250px ;
    height: 375px;
}
@media (max-width:991px){
   .about  .about-content .image{
    margin: 0 auto 60px;
   } 
}
.about  .about-content .image img{
 max-width: 100%;
}
.about .about-content .image::before {
    content: "";
    width:100px ;
    height: calc(100% + 80px);
    background-color: #ebeced;
    position: absolute;
    left: -20px;
    top: -40px;
    z-index: -1;
}
.about .about-content .image::after{
    top: -40px;
    content: "";
    position: absolute;
    width: 120px;
    height: 300px;
    border-left: 80px solid var(--main-color);
    border-bottom: 80px solid var(--main-color);
    z-index: -1;
    right: -150px;
}
@media (max-width:991px){
 .about .about-content .image::after,
 .about .about-content .image::before{
    display: none;
 }   
}
.about .about-content .text{
flex-basis: calc(100% - 500px);    
}
.about .about-content .text p:first-of-type{
    font-weight: bold;
    line-height: 2;
    margin-bottom: 50px;
}
.about .about-content .text hr{
    display: inline-block;
    width: 50%;
    border-color: var(--main-color);
}
.about .about-content .text p:last-of-type{
    line-height: 2;
    color: #777;
}
/* <!--end about    --> */
/* <!--start contact    --> */
.contact {
    padding-top: var(--general-padding);
    padding-bottom: var(--general-padding);
    background-color: #f6f6f6;
}
.contact .contact-content{
       padding-top: var(--general-padding);
    padding-bottom: var(--general-padding);
    text-align: center; 
}
.contact .contact-content .label{
    font-size: 35px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -2px;
    margin-bottom: 15px;
}
.contact .contact-content .link{
    color: var(--main-color);
    display: block;
    text-decoration: none;
    font-size:35px ;
    font-weight:800 ;
    margin-bottom: 20px;
}
@media (max-width:767px) {
    .contact .contact-content .link,
    .contact .contact-content .label{
        font-size: 25px;
    }
}
.contact .contact-content .social{
    display: flex;
    justify-content: center;
}
.contact .contact-content .social a{
    margin-left: 5px;
    color: var(--secondary-color);
}
/* <!--end contact    --> */
footer{
     padding-top: 10px;
    padding-bottom: 10px;
    background-color: var(--secondary-color);
}
footer .text{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
font-size: 16px;
}
footer .text span{
    color: var(--main-color);
    font-size: 20px;
    font-weight: 800;
}