/* Start Variables */
:root {
    --main-color: #19c8fa;
    --secondary-color: rgb(15 116 143 / 70%);
    --section-padding: 100px;
}
/* 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: "Open Sans", sans-serif;
}
.padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
.space-between {
    display: flex;
    justify-content: space-between;
}
.align-center {
    display: flex;
    align-items: center;
}
.display-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container {
    padding: 0 15px;
    margin: 0 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 */
div[style] {
    background-image: var(--background);
    background-size: cover;
    position: relative;
}
.dark {
    background-color: rgba(0 0 0 / 60%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
.heading {
    text-align: center;
}
.heading h2 {
    font-size: 40px;
    margin: 0 0 70px;
    text-transform: uppercase;
    font-weight: normal;
    position: relative;
}
.heading h2::before {
    content: "";
    background-color: black;
    width: 120px;
    height: 2px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.heading h2::after {
    content: "";
    background-color: white;
    width: 14px;
    height: 14px;
    border: 2px solid black;
    border-radius: 50%;
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
}
.heading h2 + p {
    color: rgb(119, 119, 119);
    width: 550px;
    max-width: 100%;
    margin: 0 auto 100px;
    line-height: 2;
}
/* End Components */
/* Start Home */
.home {
    min-height: 100vh;
}
.home .container {
    min-height: 97px;
    position: relative;
}
.home .container::after {
    content: "";
    background-color: #a2a2a2;
    width: calc(100% - 30px);
    height: 1px;
    position: absolute;
    bottom: 0;
    z-index: 1;
}
.container .logo img {
    height: 40px;
}
.home .container ul {
    display: flex;
    z-index: 2;
}
.home ul a {
    display: block;
    color: white;
    font-size: 14px;
    padding: 40px 10px;
    border-bottom: 1px solid transparent;
}
.home ul a:hover {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}
.home .container i {
    font-size: 20px;
    color: white;
}
@media (max-width: 767px) {
    .home .container ul {
        display: none;
    }
    .list > i {
        display: inline-block;
    }
    .list > i:hover + ul {
        display: flex;
        flex-direction: column;
        background-color: rgb(0 0 0 / 50%);
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
    }
    .list > i:hover + ul a {
        padding: 15px;
    }
}
@media (min-width: 768px) {
    .container .list > i {
        display: none;
    }    
}
.home .container .search {
    width: 40px;
    height: 30px;
    margin-left: 30px;
    border-left: 1px solid white;
    justify-content: flex-end;
}
.home .inf {
    display: flex;
    justify-content: flex-end;
    background-color: var(--secondary-color);
    color: white;
    width: 50%;
    padding: 50px 50px 50px 70px;
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
}
@media (max-width: 767px) {
    .home .inf {
        width: 100%;
        justify-content: flex-start;
    }
}
.inf .text {
    max-width: 500px;
}
.home .inf h2 {
    font-size: 32px;
    font-weight: normal;
    margin: 0 0 20px;
    line-height: 1.5;
}
.home .inf p {
    font-size: 14px;
    line-height: 2;
}
.home > i {
    color: #ddd;
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
}
@media (max-width: 767px) {
    .home > i {
        display: none;
    }
}
.home i.left {
    left: 30px;
}
.home i.right {
    right: 30px;
}
.home .bullets {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translatex(-50%);
}
.bullets span {
    display: inline-block;
    background-color: transparent;
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 50%;
}
.bullets span:nth-child(2) {
    background-color: var(--main-color);
    border-color: var(--main-color);
    margin: 0 5px;
}
/* End Landing */
/* Start Services */
.down .cont .text h3 {
    color: var(--main-color);
    margin: 0 0 30px;
}
.services .down .cont {
    display: flex;
}
@media (max-width: 767px) {
    .services .down .cont {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }
}
@media (min-width: 768px) {
    .services .container .down {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 40px;
    }
    .services .down .cont:first-child {
        margin-bottom: 60px;
    }
}
.services .down .cont i {
    margin-right: 50px;
}
@media (max-width: 767px) {
    .services .down .cont i {
        margin: 0 0 30px;
    }
}
.services .down .cont .text p {
    color: rgb(119, 119, 119);
    line-height: 2;
}
/* End Services */
/* Start Design */
.design {
    height: 600px;
    overflow: hidden;
}
.design .text {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px;
    flex: 1;
    z-index: 2;
}
.design .image {
    margin-bottom: -300px;
    text-align: center;
    flex: 1;
    z-index: 2;
}
@media (max-width: 767px) {
    .design .image {
        display: none;
    }
}
.design .text h2 {
    margin: 0 0 40px;
    font-weight: normal;
    text-transform: uppercase;
}
.design .text li {
    padding: 15px 0;
}
.design .text li::before {
    content: "\f108";
    font-family: 'FontAwesome';
    color: white;
    margin-right: 20px;
}
/* End Design */
/* Start Portfolio */
.port .container ul {
    display: flex;
    justify-content: center;
}
.port .container li a {
    color: black;
    padding: 10px;
}
.port .container li a:hover {
    background-color: var(--main-color);
    color: white;
}
.image-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
}
.image-container .card {
    width: 25%;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) and (max-width: 1199px) {
    .image-container .card {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .image-container .card {
        width: 100%;
    }
}
.image-container .card img {
    max-width: 100%;
    transition: 0.3s;
}
.image-container .card:hover img {
    transform: rotate(2deg) scale(1.1);
}
.image-container .card .caption {
    background-color: white;
    width: 100%;
    padding: 20px;
    transition: 0.3s;
    position: absolute;
    bottom: -100%;
    left: 0;
}
.image-container .card:hover .caption {
    bottom: 0;
}
.card .caption h4 {
    font-weight: normal;
    margin: 0 0 10px;
}
.card .caption p {
    color: var(--main-color);
}
.more {
    display: block;
    background-color: var(--main-color);
    color: white;
    padding: 15px 20px;
    margin: 30px auto;
    border: none;
    text-transform: uppercase;
}
/* End PORTFOLIO */
/* Start Awesome-video */
.video {
    position: relative;
}
.video video {
    width: 100%;
}
.video .dark {
    background-color: rgba(0 0 0 / 40%);
}
.video .text {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 50px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.video .text h2 {
    text-transform: uppercase;
}
.video .text h2,
.video .text p {
    font-weight: normal;
    margin: 0 0 30px;
}
.video .text button {
    background-color: #000;
    color: white;
    padding: 10px 20px;
    border: none;
    text-transform: uppercase;
}
/* End Awesome-video */
/* Start About */
.about {
    padding-top: var(--section-padding);
    text-align: center;
    overflow: hidden;
}
.about .container img {
    margin-bottom: -120px;
    max-width: 100%;
}
@media (max-width: 767px) {
    .about .container img {
        margin-bottom: -60px;
    }
}
/* End About */
/* Start Stats */
.stats {
    text-align: center;
}
.stats .dark {
    background-color: rgba(0 0 0 / 70%);
}
.stats .container {
    display: flex;
    flex-wrap: wrap;
}
.stats .container .cont {
    background-color: var(--secondary-color);
    color: white;
    width: 25%;
    padding: 50px;
    z-index: 2;
}
@media (min-width: 768px) and (max-width: 1199px) {
    .stats .container .cont {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .stats .container .cont {
        width: 100%;
    }
}
.stats .container .cont p {
    font-size: 14px;
}
.stats .container .cont .num {
    margin-bottom: 20px;
    font-size: 50px;
    font-weight: bold;
}
.stats .container .cont i {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    width: 40px;
    height: 40px;
    margin: 0 auto 30px;
    border-radius: 50%;
}
/* End Stats */
/* Start Skills */
.our-skills .container {
    flex-wrap: wrap;
}
@media (min-width: 991px) {
    .our-skills .container .testimonials,
    .our-skills .container .skills {
        flex-basis: 45%;
    }
}
.our-skills .container>div h3 {
    margin: 0 0 30px;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
}
.our-skills .container>div>p {
    color: #777;
    margin: 0 0 60px;
    text-align: center;
    line-height: 2;
}
.our-skills .container .testimonials .cont {
    margin: 0 0 30px;
}
@media (max-width: 767px) {
    .our-skills .container .testimonials .cont {
        flex-direction: column;
        text-align: center;
    }
}
.our-skills .container .testimonials .cont .text {
    border-bottom: 1px solid #ccc;
    line-height: 1.8;
}
.our-skills .container .testimonials .cont .text p {
    color: #777;
    margin: 0 0 10px;
    font-size: 14px;
    text-align: right;
}
.our-skills .container .testimonials .cont img {
    width: 100px;
    height: 100px;
    margin-right: 50px;
    border-radius: 50%;
}
@media (max-width: 767px) {
    .our-skills .container .testimonials .cont img {
        margin: 0 auto 20px;
    }
}
.our-skills .container .testimonials .bullets {
    margin: 50px 0;
    text-align: center;
}
.our-skills .container .testimonials .bullets span {
    border-color: #aaa;
    width: 14px;
    height: 14px;
}
.our-skills .container .skills .skill-bar .bar {
    height: 30px;
    margin: 0 0 40px;
    position: relative;
    background-image: linear-gradient(to right, var(--main-color) 90%, #dedadc 10%);
}
.our-skills .container .skills .skill-bar:nth-of-type(2) .bar {
    background-image: linear-gradient(to right, var(--main-color) 85%, #dedadc 15%);
}
.our-skills .container .skills .skill-bar:nth-of-type(3) .bar {
    background-image: linear-gradient(to right, var(--main-color) 80%, #dedadc 20%);
}
.our-skills .container .skills .skill-bar .bar::before {
    content: "";
    border: 8px solid transparent;
    border-top-color: #000;
    position: absolute;
    top: -15px;
    right: 10%;
    transform: translateX(50%);
}
.our-skills .container .skills .skill-bar:nth-of-type(2) .bar::before,
.our-skills .container .skills .skill-bar:nth-of-type(2) .bar::after {
    right: 15%;
}
.our-skills .container .skills .skill-bar:nth-of-type(3) .bar::before,
.our-skills .container .skills .skill-bar:nth-of-type(3) .bar::after {
    right: 20%;
}
.our-skills .container .skills .skill-bar .bar::after {
    content: attr(percentage);
    background-color: #000;
    color: white;
    width: 40px;
    border-radius: 4px;
    padding: 4px 0;
    text-align: center;
    position: absolute;
    top: -40px;
    right: 10%;
    transform: translateX(50%);
}
.our-skills .container .skills .skill-bar h4 {
    margin: 0 0 15px;
    font-weight: normal;
}
/* End Skills */
/* Start Quote */
.quote .dark {
    background-color: rgb(0 0 0 / 75%);
}
.quote .container {
    color: white;
    text-align: center;
    position: relative;
}
.quote .container q {
    display: block;
    margin: 0 0 20px;
    font-size: 30px;
}
/* End Quote */
/* Start Pricing */
.pricing .container .plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}
.pricing .container .plans .plan {
    background-color: #fcfcfc;
    text-align: center;
}
.pricing .head {
    padding: 40px 20px;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
.pricing .head h3 {
    margin: 0 0 20px;
    font-weight: normal;
    text-transform: uppercase;
}
.pricing .head span {
    font-size: 60px;
    font-weight: bold;
}
.pricing .head span::before {
    content: "$";
    font-size: 25px;
    font-weight: normal;
    position: relative;
    top: -40px;
    left: -15px;
}
.pricing .head span::after {
    content: "/Mo";
    font-size: 20px;
    position: relative;
    bottom: 0;
    right: -15px;
}
.pricing .container .plans .plan ul {
    border-bottom: 1px solid var(--main-color);
}
.pricing .container .plans .plan ul li {
    padding: 20px;
    position: relative;
}
.pricing .container .plans .plan ul li:not(:last-child):after {
    content: "";
    background-color: var(--main-color);
    width: 60%;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.pricing .container .plans .plan a {
    display: block;
    width: fit-content;
    padding: 20px;
    margin: 30px auto;
    border: 1px solid var(--main-color);
}
.pricing .container > p {
    margin: 50px 0 20px;
    font-size: 20px;
    text-align: center;
}
.pricing .container > a {
    display: block;
    background-color: var(--main-color);
    color: white;
    width: fit-content;
    padding: 15px 30px;
    margin: 20px auto;
}
/* End pricing */
/* Start SubScribe */
.subscribe {
    color: white;
}
.subscribe .dark {
    background-color: rgba(0 0 0 / 50%);
}
.subscribe .container {
    position: relative;
}
@media (max-width:991px) {
    .subscribe .container {
        flex-direction: column;
    }
}
.subscribe .container form input[type="email"] {
    background: none;
    color: white;
    width: calc(100% - 130px);
    padding: 20px 20px 20px 60px;
    border-color: white;
    border-right: none;
    outline: none;
}
.subscribe .container form input[type="email"]::placeholder {
    color: white;
}
.subscribe .container form {
    display: flex;
    width: 500px;
    max-width: 100%;
    position: relative;
}
.subscribe .container form i {
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
}
.subscribe .container form input[type="submit"] {
    background-color: var(--main-color);
    color: white;
    width: 130px;
    padding: 10px 20px;
    border: 1px solid white;
    border-left: none;
}
.subscribe .container p {
    margin-left: 50px;
    line-height: 2;
}
@media (max-width:991px) {
    .subscribe .container p {
        margin: 30px 0 0;
    }
}
/* End Subscribe */
/* Start Contact */
@media (max-width: 767px) {
    .contact .content {
        flex-direction: column;
    }
    .contact .content .text {
        text-align: center;
        order: -1;
    }
}
.contact .container .content form {
    flex-basis: 70%;
}
.contact .container .content form input:not(input[type="submit"]),
.contact .container .content form textarea {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 0 0 30px;
    border: 1px solid #ccc;
    outline: none;
}
.contact .container .content form textarea {
    height: 200px;
}
.contact .container .content form input[type="submit"] {
    display: flex;
    background-color: var(--main-color);
    color: white;
    padding: 20px;
    margin-left: auto;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}
.contact .container .content .text {
    flex-basis: 25%;
}
@media (max-width: 767px) {
    .contact .content .text {
        text-align: center;
        order: -1;
    }
}
.contact .container .content .text h4:not(:first-child) {
    margin: 90px 0 30px;
}
.contact .container .content .text h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 30px;
    text-transform: uppercase;
}
.contact .container .content .text span {
    display: block;
    color: #777;
    margin: 0 0 10px;
}
.contact .container .content .text address {
    color: #777;
    line-height: 2;
}
/* End Contact  */
/* Start Footer  */
.footer {
    padding-top: calc(var(--section-padding) / 2);
    padding-bottom: calc(var(--section-padding) / 2);
    color: white;
    text-align: center;
}
.footer .dark {
    background-color: rgb(0 0 0 / 70%);
}
.footer .container {
    position: relative;
}
.footer .container img {
    margin: 0 0 20px;
}
.footer .container p:not(.copyright) {
    width: fit-content;
    font-size: 22px;
    padding: 20px;
    margin: 20px auto;
    border-bottom: 1px solid white;
    text-transform: uppercase;
}
.footer .container .social i {
    padding: 10px 15px;
    color: white;
}
.footer .container p:last-child {
    margin: 60px 0 0;
}
.footer .container p span {
    color: var(--main-color);
    font-weight: bold;
}
