/* Start Variables */
:root {
    --main-color: #10cab7;
    --secondary-color: #2c4755;
    --section-padding: 60px;
    --section-background: #f6f6f6;
  }
  /* End Variables */
  /* Start Global Rules */
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: "Work Sans", sans-serif;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  /* 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 Global Rules */
  /* Start Components */
  .heading {
    padding: 50px;
    text-align: center;
    h2 {
      margin: 0;
      letter-spacing: -5px;
      font-size: 80px;
      color: #ebeced;
    }
    p {
      color: #797979;
      margin-top: -25px;
    }
  }
  /* End Components */
  /* Start Header */
  .header {
    padding: 20px;
    .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    img {
      width: 60px;
    }
  }
  .header .links {
    position: relative;
    .icon {
      display: flex;
      flex-wrap: wrap;
      width: 30px;
      justify-content: flex-end;
    }
    span {
      width: 100%;
      height: 3px;
      background-color: #333;
      margin-bottom: 3px;
    }
    span:nth-child(2) {
      width: 50%;
      transition: .3s;
    }
  }
  .header .links:hover .icon span:nth-child(2) {
    width: 100%;
  } 
  .header ul {
    position: absolute;
    margin: 0;
    padding: 0;
    right: 0;
    top: 25px;
    width: 180px;
    list-style: none;
    display: none;
    background-color: var(--section-background);
    li:not(:last-child) a{
      border-bottom:1px solid #ddd ;
    }
    li a{
      display: block;
      width: 100%;
      text-decoration: none;
      padding: 15px;
      color: var(--secondary-color);
      transition: .3s;
    }
    li a:hover {
      padding-left: 30px;
    }
  }
  .header .links:hover ul{
    display: block;
  }
  .header ul::before {
    content: " ";
    width: 0;
    height: 0;
    position: absolute;
    top: -20px;
    right: 5px;
    border: 10px solid;
    border-color: transparent transparent var(--section-background) transparent;
  }
  /* End Header */
  /* Start Landing */
  .landing {
    background-image: url(../images/landing.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 64px);
    display: flex;
    justify-content: center;
    align-items: center;
    .text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    h1 {
      margin: 0;
      font-weight: bold;
      font-size: 50px;
      color: var(--main-color);
    }
    p {
      max-width: 90%;
      text-align: center;
    }
  }
  /* End Landing */
  /* Start Features */
  .features {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--section-background);
  }
  .features .container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    .box {
      width: 300px;
      max-width: 100%;
      margin-bottom: 50px;
      margin-right: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
        i {
          color: var(--main-color);
          font-size: 50px;
        }
        h2 {
          font-size: 20px;
          margin-top: 20px;
        }
        p {
          color: #777;
        }
      }
    }
    @media (max-width:767px) {
      .box {
        margin-left: 30px;
      }
    }
  /* End Features */
  /* Start Services */
  .services {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    .container {
      display: flex;
      flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .content {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .boxes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      place-content: center;
      .box {
        width: 300px;
        margin-bottom: 50px;
        display: flex;
        i {
          color: var(--main-color);
          margin-right: 30px;
        }
        .head {
          display: flex;
          flex-direction: column;
          h3 {
            margin-bottom: 30px;
          }
          p {
            color: var(--secondary-color);
          }
        }
      }
    }
    .image
    {
      position: relative;
    }
    img {
      width: 250px;
      height: 350px;
      margin-left: 30px;
    }
    .image::before {
      content: " ";
      width: 100px;
      height: 110%;
      position: absolute;
      z-index: -1;
      top: -5%;
      right:-50px ;
      background-color: var(--secondary-color);
    }
  }
  @media (max-width: 1199px) {
    .services .image {
      display: none;
    }
  }
  @media (max-width: 767px) {
    .services .boxes {
      grid-template-columns: 1fr;
      
    }
    .services .box {
     flex-direction: column;
     text-align: center;
     margin-left: 10px;
     i {
      margin-left: 30px;
      margin-bottom: 20px;
     }
    }
  }
  /* End Services */
  /* Start Portfolio */
  .portfolio {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--section-background);
      .boxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
       .box {
        width: 350px;
        img {
          max-width: 100%;
        }
        .text {
          background-color: white;
          padding: 20px;
          p{
            margin-top: 20px;
            color:#777 ;
          }
        }
       }
      }
    }
  @media (max-width:376px) {
    .heading h2 {
      font-size: 50px;
    }
  }
  @media (max-width: 767px) {
    .portfolio .box {
      margin-left: 0px;
    }
  }
  /* End Portfolio */
  /* Start About */
  .about {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    .content {
      display: grid;
      place-content: center;
      grid-template-columns: 1fr 2fr;
      gap: 150px;
      .image img {
        width: 200px;
      }
      .image {
        position: relative;
      }
      .image::before {
        content: " ";
        width: 70px;
        height: 370px;
        background-color:var(--section-background);
        position: absolute;
        left: -20px;
        top: -35px;
        z-index: -1;
      }
      .image::after {
        content: " ";
        width: 100px;
        height:240px;
        position: absolute;
        z-index: -1;
        right: -20px;
        top: -30px;
        border-left: 70px solid var(--main-color);
        border-bottom: 70px solid var(--main-color);
      }
      .text {
        padding: 20px;
        line-height: 1.6;
        h3 {
          margin-bottom: 40px;
        }
        hr {
          display: inline-block;
          width: 60%;
          border-color: var(--main-color);
        }
        p {
          margin-top: 30px;
          color: #777;
        }
      }
    }
  }
 
  @media (max-width: 1200px) {
    .about .content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 50px;
        
    }
    .image::after,
    .image::before {
      display: none;
    }
  }
  /* End About */
  /* Start Contact */
  .contact {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--section-background);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    .text {
      padding: 20px;
      h3 {
        color: var(--secondary-color);
        margin-bottom: 15px;
      }
      h4 a {
        display: inline-block;
        text-decoration: none;
        color: var(--main-color);
        margin-bottom: 15px;
      }
      .social {
        font-size: 13px;
        color: var(--secondary-color);
        display: flex;
        justify-content: center;
        i {
          margin-left: 10px;
        }
      }
    }
  }
  /* End Contact */
  /* Start Footer */
  .footer {
    background-color: var(--secondary-color);
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    span {
      color: var(--main-color);
    }
  }
  /* End Footer */
 