@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Poppins:wght@400;500&display=swap');
:root{
  --main-color: #FF9800;
}
$max_small: "max-width:575px";
$max_mobile: "max-width:767px";
$max_tab: "max-width:991px";

*{
  box-sizing: border-box;
}
body{
  font-family: 'Open Sans', sans-serif;
}
html {
  &::-webkit-scrollbar{
    width: 13px;
  }
  &::-webkit-scrollbar-track{
    background: transparent;
  }
  &::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
  }
}
.container{
  // width: 1170px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}
h2{
  font-weight: bold;
  font-size: 30px;
  color: var(--main-color);
  margin: 0 0 50px;
  text-align: center;
}
.clearfix{
  clear: both;
}
/* Start Settings Box */
.setting-box{
  position: fixed;
  left: -200px;
  top: 0;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 200px;
  min-height: 100vh;
  z-index: 10000;
  transition: 0.3s all ease-in-out;
  -webkit-transition: 0.3s all ease-in-out;
  -moz-transition: 0.3s all ease-in-out;
  -ms-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  border-right: 3px solid var(--main-color);
  .toggle-settings{
    position: absolute;
    right: -38px;
    top: 100px;
    background: #FFF;
    border: {
      style: solid;
      width: 3px;
      color: var(--main-color) var(--main-color) var(--main-color) transparent;
    }
    cursor: pointer;
    i{
      width: 30px;
      text-align: center;
      padding: 8px 0;
      font-size: 16px;
  }
  }
  &.open{
    left: 0;
  }
  .option-box{
  padding: 10px;
  text-align: center;
  background: #EEE;
  margin: 10px;
  h4{
  margin: 0;
  color: #666;
  font-size: 14px;
  }
  .colors-list{
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 10px 0 0;
    li{
      width: 25px;
      height: 25px;
      background-color: #333;
      border-radius: 50%;
      -webkit-border-radius:50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
      -webkit-border-radius: 50%;
      cursor: pointer;
      display: inline-block;
      border: 3px solid #eee;
      &.active{
        border-color: #fff;
      }
      &:first-child{
        background-color: #FF9800;
      }
      &:nth-child(2){
        background-color: #E91e63;
      }
      &:nth-child(3){
        background-color: #009688;
      }
      &:nth-child(4){
        background-color: #03a9f4;
      }
      &:last-child{
        background-color: #4caf50;
      }
    }
  }
  .Yes , .No{
      width: 50px;
      background-color: var(--main-color);
      color: #FFF;
      margin-top: 10px;
      display: inline-block;
      font-size: 12px;
      padding: 4px 10px;
      font-weight: bold;
      border-radius: 4px;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      -ms-border-radius: 4px;
      -o-border-radius: 4px;
      cursor: pointer;
      opacity: 0.5;
    }
    span{
      &.active{
        opacity: 1;
      }
    }
  }
  .reset-options{
    outline: none;
    border: none;
    background-color: red;
    width: 178px;
    margin: 10px auto;
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius:4px;
    cursor: pointer;
  }
}
/* End Settings Box */
/* Strat Nav Bullets */
.nav-bullets{
  position: fixed;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  z-index: 100;
  .bullet{
    width: 20px;
    height: 20px;
    border: 3px solid var(--main-color);
    border-radius: 50%;
    margin: 20px auto;
    cursor: pointer;
    position: relative;
    text-align: center;
    &:hover{
      .tooltip{
        display: block;
      }
    }
    .tooltip{
      background-color: var(--main-color);
      color: #fff;
      width: 120px;
      position: absolute;
      padding: 8px 10px;
      right: 32px;
      top: -10px;
      font-size: 15px;
      cursor: default;
      pointer-events: none;
      display: none;
      &::before{
        content: '';
        position: absolute;
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent transparent var(--main-color);
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }
}
/* End Nav Bullets */
/* Start Landing Page */
.landing-page{
  min-height: 100vh;
  background-image: url('./imgs/01.jpg');
  background-size: cover;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: 0.5s all ease;
  &::before{
    content: "";
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
  }
  .header-area{
    display: flex;
    position: fixed;
    width: 100%;
    z-index: 2;
    color: #FFF;
    padding: 0px;
    height: 60px;
    background-color: transparent;
    .container{
      display: flex;
      flex: 1;
    .logo{
      width: 300px;
      padding: 15px;
      font-weight: bold;
    }
    .links-container{
      width: 100%;
      display: flex;
      justify-content: flex-end;
    }
    .links{
      list-style: none;
      text-align: right;
      padding-left: 0;
      li{
        display: inline-block;
        margin-left: 10px;
        a{
          color: #FFF;
          text-decoration: none;
          transition: 0.3s all ease-in-out;
          -webkit-transition: 0.3s all ease-in-out;
          -moz-transition: 0.3s all ease-in-out;
          -ms-transition: 0.3s all ease-in-out;
          -o-transition: 0.3s all ease-in-out;
          &:hover{
            color: var(--main-color);
          }
          &.active{
            color: var(--main-color);
          }
        }
      }
    }
    .toggle-menu{
      background: none;
      border:none;
      display: none;
      width: 35px;
      cursor: pointer;
      margin-top: 15px;
      position: relative;
      span{
        display: block;
        background:#fff;
        height: 4px;
        margin-bottom: 4px;
        border-radius:10px;
      }
      &.menu-active{
        &::before{
          content: '';
          position: absolute;
          border-width:12px;
          border-style: solid;
          border-color: transparent transparent #fff transparent;
          bottom: -8px;
          left: 10px;
        }
      }
    }
  }
  }
  .introduction-text{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    z-index: 1;
    color: #FFF;
    text-align: center;
    width: 100%;
    h1{
      font-size: 34px;
      margin: 0 0 12px;
      span{
        color: var(--main-color);
      }
    }
    p{
      line-height: 1.6;
      font-size: 20px;
      max-width: 650px;
      width: 100%;
      margin: auto;
    }
  }
  .container{
    position: relative;
    z-index: 1000;
  }
}
@media ($max_small){
  .introduction-text{
    h1{
      font-size: 29px !important;
    }
    p{
      width: 96% !important;
    }
  }
}
@media ($max_tab) {
  .header-area{
    .container{
    .links{
      display: none;
      &.open{
        background-color: #fff;
        padding: 10px;
        display: block;
        position: absolute;
        left: 0;
        top: 40px;
        width: 100%;
        border-radius: 4px;
        text-align: left;
        li{
          display: block;
          margin: 10px;
          a{
            color: var(--main-color);
            font-weight: bold;
          }
        }
      }
    }
    .toggle-menu{
      display: block !important;
    }
  }
  }
}
/* End Landing Page */
/* Start About Us */
.about-us{
  padding: 50px 0;
  display: flex;
  align-items: center;
  .info-box{
    flex: 1;
    padding: 30px;
    h2{
      margin: 0 0 10px;
      text-align: left;
    }
    p{
      line-height: 1.8;
      color: #767676;
      margin: 0;
    }
    @media ($max_small) {
        padding: 0;
        padding-bottom: 15px;
      h2{
        text-align: center;
      }
    }
    @media ($max_mobile) {
      padding: 0;
      padding-bottom: 15px;
    h2{
      text-align: center;
    }
  }
  }
  .image-box{
    flex: 1;
    text-align: center;
    img {
      width: 320px;
      background-color: var(--main-color);
      border-radius: 15px;
    }
  }
  @media ($max_mobile){
    flex-direction: column;
    text-align: center;
  }
}
@media ($max_small){
  .about-us{
    flex-direction: column;
    text-align: center;
  }
}
/* End About Us */
/* Start Skills */
.skills{
  padding: 50px 0;
  background-color: #eee;
  .skill-box{
    background-color: #fff;
    display: flex;
    padding: 15px;
    margin-bottom: 15px;
    .skill-name{
      font-weight: bold;
      width: 140px;
      text-align: center;
      line-height: 30px;
    }
    .skill-progress{
      height: 30px;
      width: 100%;
      background-color:#f6f6f6;
      border-radius: 6px;
      position: relative;
      overflow: hidden;
      span{
        position: absolute;
        width: 0%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: var(--main-color);
        transition: all 0.3s ease-in-out;
      }
    }
  }
}
@media ($max_small) {
  .skills .skill-box{
    display: block;
    .skill-name{
      width: 100%;
      margin-bottom: 5px;
    }
  }
}

/* End Skills */
/* Start Gallery */
.gallery{
  padding: 50px 0;
  text-align: center;
  .images-box{
    text-align: center;
    img{
      width: 200px;
      padding: 3px;
      background-color: #f6f6f6;
      border: 1px solid #ccc;
      margin: 5px;
      cursor: pointer;
    }
  }
  @media ($max_mobile){
    .images-box{
      img{
        width: 242px;
      }
    }
  }
}
@media ($max_small) {
  .gallery{
    .images-box{
      img{
        width: 100%;
      }
    }
  }
}

.popup-overlay{
  position: fixed;
  background-color: rgba(0,0,0,.7);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 1000;
}
.popup-box{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 1001;
  transition: 0.5s all ease-in-out;
  border-radius: 10px;
  img{
    max-width: 100%;
  }
  h3{
    font-weight: bold;
    text-align: center;
    margin: 0 0 20px;
    color: var(--main-color);
  }
  .close-button{
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--main-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-family: Arial, Tahoma;
    border-radius: 7px;
  }
  @media ($max_mobile){
    width: 90%;
  }
}
@media ($max_small) {
  .popup-box{
    width: 90%;
  }
}
/* End Gallery */
/* Start TimeLine */
.timeline{
  padding: 50px 0;
  background-color: #EEE;
  .timeline-content{
    position: relative;
    overflow: hidden;
    &::before{
      content: '';
      width: 3px;
      height: 100%;
      background-color: var(--main-color);
      position: absolute;
      left: 50%;
      margin-left: -1px;
      top: 0;
    }
    .year{
      margin: 20px auto;
      width: 50px;
      background-color: var(--main-color);
      position: relative;
      z-index: 1;
      border-radius: 4px;
      text-align: center;
      color: #fff;
      padding: 2px 5px;
      font-weight: bold;
    }
    .left , .right{
      width: calc(50% - 25px);
      margin-bottom: 40px;
      position: relative;
      .content{
        padding: 20px;
        background-color:#fff;
        &::before{
          content: '';
          border-style: solid;
          border-width: 10px;
          height: 0;
          width: 0;
          position: absolute;
          top: 20;
        }
        h3{
          font-weight: bold;
          color: var(--main-color);
          margin: 0 0 10px;
        }
        p{
          color: #666;
          margin: 0;
          line-height: 1.6;
        }
      }
    }
    .left , .right{
      &::before{
        content: '';
        width: 14px;
        height: 14px;
        background-color:#fff;
        border: 3px solid var(--main-color);
        position: absolute;
        border-radius: 50%;
        top: 20px;
      }
    }
    .left{
      float: left;
      &::before{
        right: -35px;
      }
      .content{
        &::before{
          right: -20px;
          border-color: transparent transparent transparent #fff;
        }
      }
    }
    .right{
      float: right;
      &::before{
        left: -35px;
      }
      .content{
        &::before{
          left: -20px;
          border-color: transparent #fff transparent transparent;
        }
      }
    }
  }
}
@media ($max_mobile) {
  .timeline{
    .timeline-content{
      .left , .right{
        width: 100%;
        margin-bottom: 20px;
        &::before{
          display: none;
        }
        .content{
          &::before{
            display: none;
          }
        }
      }
    }
  }
}
/* End TimeLine */
/* Start Features */
.features{
  padding: 80px 0px;
  h2{
    margin: 0 0 50px;
  }
  .container{
    display: flex;
    flex-wrap: wrap;
    align-items:center;
    .feat-box{
      text-align: center;
      margin-bottom: 30px;
      flex: 1 1 23rem;
      padding: 20px 0;
      transition: 0.3s all ease-in-out;
      @media (max-width: 991px) {
        flex: 1 1 15rem;
      }
      img{
        width: 96px;
      }
      h4{
        font-size: 22px;
        margin: 15px 0 40px;
        position: relative;
        &::before{
          content: '';
          position: absolute;
          width: 40px;
          height: 4px;
          background-color: var(--main-color);
          left: 50%;
          margin-left: -20px;
          bottom: -22px;
        }
        @media ($max_mobile) {
          margin: 15px 0 30px;
        }
      }
      p{
        width: 80%;
        margin: 0 auto;
        line-height: 1.7;
        color: #706f6f;
        @media ($max_mobile) {
          width: 100%;
          margin: 0;
        }
      }
      &:hover{
        border-radius: 10px;
        box-shadow: 0 3px 2px 2px #eee;
        transform: translateY(-15px);
      }
    }
  }
}
@media ($max_small) {
  .feat-box{
    width: 100% !important;
  }
}
/* End Features */
/* Start Testimonials */
.testimonials{
  z-index: 1;
  overflow: hidden;
  position: relative;
  padding: 60px 0;
  &::before{
    content: '';
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main-color);
    height: 100%;
  }
  &::after{
    content: '';
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #333;
    height: 100%;
  }
  h2{
    color: #fff;
    margin: 0 0 30px;
    position: relative;
    z-index: 2;
    text-align: left;
  }
  .ts-box{
    position: relative;
    z-index: 2;
    width: calc(98% / 3);
    float: left;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    &:not(:last-of-type){
      margin-right: 1%;
    }
    > p{
      margin: 0 0 20px;
      line-height: 1.5;
      font-size: 18px;
      color: #707070;
      font-style: italic;
    }
    .person-info{
      overflow: hidden;
      img{
        width: 80px;
        height: 80px;
        float: left;
        border-radius: 50%;
        margin-right: 20px;
      }
      h4{
        margin: 14px 0 10px;
      }
      p{
        color: #707070;
        margin: 0;
      }
      @media ($max_tab) {
        text-align: center;
        overflow: visible;
        img{
          float: none;
          margin-right: 0;
        }
      }
    }
    @media ($max_mobile) {
        width: 100% !important;
        float: none;
        margin-bottom: 20px;
      }
  }
}
@media ($max_small) {
  .testimonials{
    h2{
      text-align: center;
    }
  }
  .ts-box{
    width: 100% !important;
    margin-bottom: 1%;
  }
}

/* End Testimonials */
/* Start Contact Us */
.contact{
  z-index: 1;
  min-height: 600px;
  background-image: url('./imgs/contact.png');
  background-size: cover;
  padding: 80px 0;
  position: relative;
  .container{
    position: relative;
    z-index: 2;
  &::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: -1;
  }
}
  form{
    max-width: 800px;
    margin: auto;
    .left{
      float: left;
      width: 49%;
    }
    .right{
      width: 49%;
      float: right;
    }
    input:not([type="submit"]) ,textarea{
      display: block;
      width: 100%;
      padding: 10px;
      caret-color: var(--main-color);
      margin-bottom: 15px;
      border: 1px solid #eee;
      outline: none;
      background-color: rgba(218,218,218,0.19);
      &:focus{
        outline: 1px solid var(--main-color);
      }
    }
    input{
      height: 40px;
    }
    textarea{
      resize: none;
      height: 150px;
    }
    input[type="submit"]{
      padding: 10px;
      width: 100%;
      border-color:transparent;
      background-color: var(--main-color);
      cursor: pointer;
      color: #fff;
    }
    input:not([type="submit"]) , textarea{
      &:focus::-webkit-input-placeholder{
        opacity: 0;
        transition: 0.3s;
      }
    }
  }
}
@media ($max_small) {
  form{
    .right , .left{
      width: 100% !important;
    }
  }
}
@media ($max_mobile) {
  form{
    .right , .left{
      width: 100% !important;
      float: none;
    }
  }
}
/* End Contact Us */
/* Start Footer */
.footer{
  background-color: #eee;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  span{
    color: var(--main-color);
    letter-spacing: 2px;
  }
}
/* End Footer */
.top{
  position: fixed;
  background-color: var(--main-color);
  color: #fff;
  padding: 12px 15px;
  right: 30px;
  bottom: 30px;
  border-radius: 5px;
  outline: none;
  border: none;
  display: none;
  z-index: 1000;
  cursor: pointer;
}

/*Start Grid System*/
@media(min-width:576px){ /* Small Devices => Landscape Phones*/
  .container{
    max-width: 540px;
  }
}

@media(min-width:768px){ /* Medium Devices => Tablets*/
  .container{
    max-width: 720px;
  }
}

@media(min-width:992px){ /* Desktops */
  .container{
    max-width: 960px;
  }
}

@media(min-width:1200px){ /* Large Screens */
  .container{
    max-width: 1140px;
  }
}
/*End Grid System*/

// .button{
//   position: relative;
//   width: 90px;
//   height: 50px;
//   font-size: 16px;
//   background-color: #202231;
//   color: #fff;
//   border:none;
//   border-radius: 4px;
//   cursor: pointer;
//   transition: width 0.5s , border-radius 0.5s;
// }
// .button *{
//   position: absolute;
//   top: 50%;
//   left: 50%;
//   transform: translate(-50%, -50%);
//   transition: opacity 0.25s;
// }
// button i{
//   opacity: 0;
//   font-size: 20px;
// }
// .button:focus{
//   width: 50px;
//   background-color: #44c08a;
//   border-radius: 50%;
// }
// .button:focus .text{
//   opacity: 0;
// }
// .button:focus i{
//   opacity: 1;
//   transition-delay: 0.5s;
// }