/* start variables */
:root {
    --main-color: #19c8fa;
    --transparent-color: rgb(15 116 143 / 70%);
    --section-padding:100px;
}
/* end variables */

/* global ruls */

        *{
            box-sizing: border-box;
            padding: 0;
            margin: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Open Sans', sans-serif;
        }
        ul {
            list-style: none;
        }
        ul a {
            text-decoration: none;
        }
        .container {
            padding-left: 15px;
            padding-right: 15px;
            margin-left: auto;
            margin-right: auto;
        }

        @media(min-width: 768px){
            .container{
                 width: 750px;
            } 
        
        }
        @media (min-width:992px) {
            .container{
                width: 970px;
            } 
        }
        @media (min-width:1200px){
            .container{
                width: 1170px;
            } 
        }
        @media(min-width:1200px){
            .container{
                width: 1200px;
            } 
        }
/* end global ruls */

    /* start components */
        .main-heading {
            
            text-align: center;
        }
        .main-heading h2 {
            font-size: 40px;
            font-weight: normal;
            position: relative;
            margin-bottom: 70px;
            text-transform: uppercase;

}
        .main-heading h2::before {
            content: '';
            position: absolute;
            width: 120px;
            background-color: #333;
            height: 2px;
            left: 50%;
            transform: translateX(-50%);
            bottom: -30px;
        }
        .main-heading h2::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 1px solid #333;
            left: 50%;
            transform: translateX(-50%);
            bottom: -40px;
            background-color: white;
        }
        .main-heading p {
            width: 550px;
            margin: 0 auto 100px;
            max-width: 100%;
            line-height: 2;
            color: #777;
        }
        p::selection {
            background-color: var(--main-color);
            color: white;
        }
    /* start components */

/* start header */

header {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 3;
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
min-height: 98px;
}
header .container::after {
    content: '';
    position: absolute;
    background-color: #a2a2a2;
    height: 1px;
    bottom: 0px;
    width: calc(100% - 30px);
    left: 15px;
}

header .container .logo {
    height: 40px;
    width: 70px;
}
header .container .logo img {
    height: 60px;
    margin-left: 10px;
}
header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
header nav ul {
display: flex;
}

header nav ul li a {
    display: block;
    color: white;
    padding: 40px 14px;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    z-index: 1;
    position: relative;
}

header nav ul li a.active ,
header nav ul li a:hover {
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
header nav .form {
    width: 50px;
    height: 30px;
    position: relative;
    border-left: 1px solid white;
    margin: auto;
    margin-left: 50px;
}

header nav .form i {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 30px;
}
header nav .form i:hover {
    color: var(--main-color);
    cursor: pointer;
}

header nav .toggle-menu {
    color: white;
    font-size: 22px;
    z-index: 2;
}
@media (min-width: 768px) {
    header nav .toggle-menu {
      display: none;
    }
  }
  header nav ul {
    display: flex;
  }
  @media (max-width: 767px) {
    header nav ul {
        display: none;
      }
      header nav .toggle-menu:hover + ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0000007d;
      }
      header nav .toggle-menu:hover + ul li a {
        padding: 15px;
        align-items: center;
      }
}
/* end header */

/* start landing */
.landing {
    min-height: 100vh;
    background-color: black;
    background-image: url(../img/landing2.jpg);
    background-size: cover;
    position: relative;
}
.landing .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 60%);
}
.landing .text {
    position: absolute;
    background-color: var(--transparent-color);
    color: white;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    padding: 50px;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}
@media(max-width:767px) {
    .landing .text {
        width:100% ;
    }
    .landing .text .content {
        max-width: 100%;
    }
}
.landing .text .content {
    max-width: 490px;
}
.landing .text .content h2 {
    
font-size: 32px;
    
font-weight: normal;
    
line-height: 1.5;
    
margin-bottom: 20px;
}
.landing .text .content p {
font-size: 14px;
line-height: 2;
}
.landing .change-background {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    color: #eee;
    cursor: pointer;
    z-index: 2;
}
@media(max-width:767px) {
    .landing .change-background {
        display: none;
    } 
}
.landing .fa-angle-left {
    left: 30px;
}
.landing .fa-angle-right {
right: 30px;
}

.landing .bullets {position: absolute;left: 50%;transform: translateX(-50%);display: flex;bottom: 30px;z-index: 2;}

.landing .bullets li {
width: 20px;
height: 20px;
border: 1px solid white;
border-radius: 50%;
margin-left: 10px;
cursor: pointer;
}

.landing .bullets .active {
background-color: var(--main-color);
border-color: var(--main-color);
}

/* end landing */

/* start services */

.services {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
@media(min-width:768px) {
    .services .services-container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 15px 30px;
    }
   
}
.services .srv-box {
    display: flex;
    margin-bottom: 40px;
}
.services .srv-box i {
margin-right: 50px;
}

@media(max-width:767px) {
    .services .srv-box {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }
    .services .srv-box i {
        margin: 0 auto 20px auto;
    }
}
.services .srv-box h3 {

margin-bottom: 30px;

color: var(--main-color);
}
.services .srv-box p {

line-height: 2;

color: #777;
}

/* end services */

/* start design */
.design {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    height: 600px;
    background-image: url(../img/des-background.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.design::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 60%);
}
.design .image ,
.design .text {
    position: relative;
    z-index: 2;
    flex: 1;
}
.design .image {
    align-items: center;
}
@media(max-width:767px){
    .design .image {
        display: none;
    }
}
.design .image img {
    position: relative;
    bottom: -150px;
    left: 20px;
}
.design .text {
color: white;
padding: 50px;
background-color: var(--transparent-color);
}
.design .text h2 {
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.design .text ul li {
    padding: 15px 0;
}
/* another way to insert icons */
.design .text ul li::before {
    /* font family is important to appear */
    font-family: 'font awesome 5 free';
    /* uni code in content  */
    content: '\f108';
    font-weight: 900;
    margin-right: 20px;
    position: relative;
    top: 1px;
}

/* end design */

/* start portofolio */
.portofolio {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.portofolio .shuffle { 
    display: flex; 
    justify-content: center;
     transform:0.3s ;
     -webkit-transform:0.3s;
      -moz-transform:0.3s ; 
      -ms-transform:0.3s ; 
      -o-transform:0.3s ; 
      -webkit-transform:0.3s ;
}
.portofolio .shuffle li {
    padding: 10px;
    margin-left: 5px;
}
.portofolio .shuffle .active {
    background-color: var(--main-color);
    color: white;
    cursor: pointer;

}

.portofolio .shuffle li:not(.active):hover {
   animation-name: color;
   animation-duration: 0.5s;
   animation-timing-function: ease-in;
   animation-delay: 0.1s;
   animation-fill-mode: forwards;
    cursor: pointer;
} 
.portofolio .shuffle li .one:hover {
    background-color: var(--main-color);
    color: black !important;
    cursor: pointer;
}

@keyframes color {
    to {
        background-color: var(--main-color);
        color: white;
    }
    
}

.imgs-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
}
.imgs-container .box {
    position: relative;
    overflow: hidden;
}
@media(min-width:768px) {
    .imgs-container .box {
        flex-basis: 50%;
    }
}
@media(min-width:1199px) {
    .imgs-container .box {
        flex-basis: 25%;
    }
}
.imgs-container .box img {
    max-width: 100%;
    min-height: 100%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}
.imgs-container .box:hover img {
    transform: scale(1.1) rotate(2deg);
    -webkit-transform: scale(1.1) rotate(2deg);
    -moz-transform: scale(1.1) rotate(2deg);
    -ms-transform: scale(1.1) rotate(2deg);
    -o-transform: scale(1.1) rotate(2deg);
}
.imgs-container .box:hover .caption {
    bottom: 0;
}
.imgs-container .box .caption {
     position: absolute;
     left: 0;
     padding: 20px;
     width: 100%;
     bottom: -100%;
     background-color: white;
     transition: 0.3s;
     -webkit-transition: 0.3s;
     -moz-transition: 0.3s;
     -ms-transition: 0.3s;
     -o-transition: 0.3s;
}

.imgs-container .box .caption h2 {
font-weight: normal;
font-size: 20px;
}
.imgs-container .box .caption a {
    text-decoration: none;
} 

.imgs-container .box .caption p {
color: var(--main-color);   
font-size: 16px;
}
@media (max-width:768px) {
    .imgs-container .box .caption h2 {
        font-size: 14px;
    }
    .imgs-container .box .caption p {
        font-size: 10px;
    }
}

.imgs-container .more {background-color: var(--main-color);display: block;margin: 30px auto;padding: 10px 20px;text-decoration: none;font-size: 22px;border-radius: 5px;font-weight: 700;color: white;}
/* end portofolio */

/* start vid  */

.video {
    position: relative;
}
.video video {
    width: 100%;
}

.video .text {
    text-align: center;
    position: absolute;
    top: 50%;transform: translateY(-50%);
    width: 100%;
    background-color: var(--transparent-color);
    color: white;
    padding: 50px;
}
.video .text h2 {
font-weight: normal;
text-transform: uppercase;
margin: 0 0 30px;
}
 
.video .text p {

margin-bottom: 30px;
}

.video .text button {
    background-color: black;
    color: white;
    padding: 10px 20px;
    text-transform: capitalize;
    border: none;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}
.video .text button:hover {
    color: var(--main-color);
    cursor: pointer;
}

/* end vid  */

/* start about  */
.about {
    padding-top: var(--section-padding);
    max-width: 100%;
    overflow: hidden;
}

.about img {
    position: relative;
    bottom: -120px;
    margin-top: -140px;
    max-width: 100%;
}
@media (max-width:767px) {
    .about img {
        bottom: -60px;
        margin-top: -60px;
    }
}
/* end about  */

/* start stats  */
.stats {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    text-align: center;
    background-image: url(../img/stats.jpg);
    background-size: cover;
    position: relative;
}
.stats::before {
    content: "";
    background-color: rgb(0 0 0 / 70%);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.stats .container {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
  

.stats .box {
    padding: 50px;
    background-color: var(--transparent-color);
    color: white;
}
@media (max-width:767px) {
    .stats .box {
        flex-basis: 100%;
    }
}
@media (min-width:767px) {
    .stats .box {
        flex-basis: 49%;
    }
}
@media (min-width:1199px) {
    .stats .box {
        flex-basis: 24%;
    }
}

.stats .box i {margin: 0 auto 30px;
    background-color: black;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats .box .number {
    font-size: 50px;
    font-weight: bold;
    margin: 0 0 20px;
}
.stats .box p {
    font-size: 14px;
}

/* end stats  */

/* start skills  */

.our-skills {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
@media(min-width:992px) {
    .our-skills .container > div {
        flex-basis: 45%;
    }
}

.our-skills .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.our-skills .container > div > h3 {
font-weight: normal;
text-align: center;
margin: 0 0 30px;
text-transform: uppercase;
}

.our-skills .container > div > p {
text-align: center;  
line-height: 2;
margin-bottom: 60px;
color: #777;
}
.our-skills .testmonials .content {display: flex;align-items: center;margin-bottom: 30px;}
.our-skills .testmonials .content  img {
width: 100px;
border-radius: 50%;
margin-right: 60px;
}

@media(max-width:767px) {
 .our-skills .testmonials .content {
flex-direction: column;
text-align: center;


}
 .our-skills .testmonials .content  img {
margin: 0 auto 20px;
    }
}
.our-skills .testmonials .content .text {
    line-height: 1.8;
    border-bottom: 1px solid #ccc;
}
.our-skills .testmonials .content .text p {
color: #777; 
text-align: right;  
font-size: 14px;
}
.our-skills .testmonials .bullets {
    display: flex;
    justify-content: center;
}
.our-skills .testmonials .bullets li {
width: 14px;
height: 14px;
border: 1px solid black;
border-radius: 50%;
background-color: white;
margin-right: 10px;
}
.our-skills .testmonials .bullets .active {
background-color: var(--main-color);
border-color: var(--transparent-color);
}

.skills .prog-holder {
    margin-bottom: 30px;
}

.our-skills .skills  h4 {
    margin-bottom: 15px;
    font-weight: normal;
    text-transform: uppercase;
}
@media (max-width:767px) {
    .our-skills .skills h3 {
    padding-top: 20px;
    }
}

.our-skills .skills .prog {
background-color: #dedadc;
height: 30px;
}

.our-skills .skills  .prog span {
    display: block;
    height: 100%;
    background-color: var(--main-color);
    position: relative;
}
.our-skills .skills  .prog span::before {
    content: attr(data-progress);
    position: absolute;
    background-color: black;
    color: white;
    margin-top: -40px;
    right: -18px;
    padding: 4px 0;
    width: 40px;
    text-align: center;
    border-radius: 5px;
}
.our-skills .skills .prog span::after {
    content: '';
    border-style: solid;
    position: absolute;
    border-width: 8px;
    border-color: black transparent transparent;
    top: -11px;
    right: -6px;
}

/* end skills  */

/* start quote */
.quote {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    position: relative;
    background-image: url(../img/quote.jpg);
    background-size: cover;
    text-align: center;
    color: white;
}
.quote::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00000069;
    left: 0;
    top: 0;
}
.quote .container {
    position: relative;
    background-color: var(--transparent-color);
    width: 90%;
    margin: 0 auto;
}
.quote q {
display: block;
margin-bottom: 20px;
font-size: 30px;
}
.quote span {
    color: rgb(230, 228, 164);
}


/* end quote */

/* start price  */
.price {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
  
}

.price .container .plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px ,1fr));
    gap: 30px;
}

.price .container .plans .plan {
background-color: #fcfcfc;
text-align: center;
}

.price .container .plans .plan .head {
    padding: 40px 20px;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}

.price .container .plans .plan .head h3 {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 20px;
}

.price .container .plans .plan .head span {
    font-size: 60px;
    font-weight: 700;
}

.price .container .plans .plan .head span::before {
    content: '$';
    font-size: 25px;
    position: relative;
    font-weight: normal;
    top: -40px;
    margin-right: 15px;
}

.price .container .plans .plan .head span::after {
    content: '/mon';
    position: relative;
    font-size: 20px;
    right: -15px;
}

.price .container .plans ul {
border-bottom: 1px solid var(--main-color);
}
.price .container .plans ul li {
padding: 20px;
position: relative;
}
.price .container .plans ul li:not(:last-child)::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 140px;
    background-color: var(--main-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.price .container .plans .foot a {
      display: block;
      padding: 20px 20px;
      width: fit-content;
      border: 1px solid var(--main-color);
      text-decoration: none;
      margin: 30px auto;
      transition:0.3s ;
      -webkit-transition:0.3s ;
      -moz-transition:0.3s ;
      -ms-transition:0.3s ;
      -o-transition:0.3s ;
      animation-delay: 0.4s;
}

.price .container .plans .foot a:hover {
    background-color: var(--main-color);
}

.price .container p {
text-align: center;
margin-top: 40px;
}

.price .container .contact-link {
    display: block;
    text-decoration: none;
    margin: 20px auto;
    width: fit-content;
    border: 1px solid var(--main-color);
    padding: 15px 30px;
    background-color: var(--main-color);
    color: white;
    font-size: 16px;
    font-weight: bolder;
}


/* end price  */

/* start subscribe */

.subscribe {
padding-top: var(--section-padding);
padding-bottom: var(--section-padding);
position: relative;
color: white;
background-image: url(../img/subscribe.jpg);
background-size: cover;
}

.subscribe::before {
    content: '';
    background-color: rgb(0 0 0 / 50%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.subscribe .container {
    display: flex;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
}

@media(min-width:991px) {
    .subscribe .container {
        flex-direction: column;

    }
    .subscribe p {
        padding-left: 20px;
    }
}
@media(min-width:768px) {
    .subscribe .container  {
        width: 750px;
    }
}
@media(min-width:1119px) {
    .subscribe .container  {
        width: 1110px;
    }
}

.subscribe .container form {
    display: flex;
    width: 500px;
    max-width: 100%;
    position: relative;
    margin: 0 auto;
    margin-bottom: 30px;
}
.subscribe .container form i{
position: absolute;
font-size: 30px;
margin: 20px;
}

.subscribe .container form input[type="email"] {
    padding: 20px 20px 20px 60px;
    width: calc(100% - 130px);
    /* font-size: 25px; */
    background-color: transparent;
    border: 1px solid white;
    border-right: none;
    color: white;
}



.subscribe .container form input[type="submit"] {
    position: relative;
    width: 170px;
    background-color: var(--main-color);
    border: 1px solid white;
    border-left: none;
    font-size: 20px;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
    cursor: pointer;
    caret-color: var(--main-color);
}
.subscribe .container form input:focus {
    outline: none;
}
::placeholder {
    color: white;
}

.subscribe p {
text-align: center;
}

/* end subscribe */



/* start content  */

.contact-us {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

@media(max-width:767px) {
    .contact-us .container .content {
        flex-direction: column;
    }
}

.contact-us .container .content {
display: flex;
justify-content: space-between;
}

.contact-us .container .content form {
flex-basis: 70%;
}

.contact-us .container .content form .main-input {
    display: block;
    width: 100%;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    caret-color: var(--main-color);
    color: #333;
}

.contact-us .container .content form textarea.main-input {
    height: 200px;
}

.contact-us .container .content form .main-input::placeholder {
    color: #333;
}
:focus::placeholder {
    opacity: 0;
    transition: opacity 0.4s ease-out;
    -webkit-transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -ms-transition: opacity 0.4s ease-out;
    -o-transition: opacity 0.4s ease-out;
}

.contact-us .container .content form  input[type="submit"]{
    padding: 13px 14px;
    background-color: var(--main-color);
    border: navajowhite;
    color: white;
    text-transform: uppercase;
    display: flex;
    margin-left: auto;
    cursor: pointer;
}

.contact-us .container .content .info {
flex-basis: 25%;
}

.contact-us .container .content .info h4:first-of-type {
margin-bottom: 30px;
font-size: 18px;
font-weight: normal;
text-transform: uppercase;
}

.contact-us .container .content .info h4:last-of-type {
margin-top: 90px;
margin-bottom: 20px;
font-size: 18px;
font-weight: normal;
text-transform: uppercase;
}

.contact-us .container .content .info span {
display: block;
margin-bottom: 10px;
color: #777;
}

.contact-us .container .content .info address {
    color: #777;
    line-height: 2;
}
/* end content  */


/* start footer  */

.footer {
    padding-top: var(--section-padding);
    background-image: url(../img/footer.jpg);
    background-size: cover;
    position: relative;
    text-align: center;
    color: white;
}

.footer::before {
    content: '';
    background-color: rgb(0 0 0 / 69%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

 .footer .container {
position: relative;
 }

 .footer .container img {
    /* width: 150px; */
    height: 152px;
}

 .footer .container p:not(.copy-right){
    font-size: 25px;
    text-transform: uppercase;
    margin: 20px auto;
    border-bottom: 1px solid white;
    width: fit-content;
    padding: 20px;
    font-weight: 700;
}

.footer .container .social i {
    padding: 10px 15px;
}

.footer .container .social i:hover {
    color: var(--main-color);
}

.footer .container .copy-right{
    margin-top: 20px;
}

.footer .container .copy-right span {
    color: var(--main-color);
}
/* end footer  */
