/* Start Variables */

:root {
    --main-color: #2196f3;
    --main-color-alt: #1787e0;
    --secondery-color: #FAFAFA;
    --paragraph-color: #777;
    --main-transition: .3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
    --section-color: #ECECEC;
}

/* 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: "Cairo", sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.main-title {
    width: fit-content;
    padding: 10px 25px;
    border: 2px solid black;
    margin: 0 auto 80px;
    text-transform: uppercase;
    font-size: 30px;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}

.main-title::before,
.main-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: -1;
    background-color: var(--main-color);
}

.main-title::before {
    left: -30px;
}

.main-title::after {
    right: -30px;
}

.main-title:hover {
    color: white;
    border: 2px solid white;
    transition-delay: .5s;
}

.main-title:hover::before {
    animation: fill-left .5s linear forwards;
}

.main-title:hover::after {
    animation: fill-right .5s linear forwards;
}

.spikes {
    position: relative;
}

.spikes::after {
    content: "";
    position: absolute;
    right: 0;
    height: 30px;
    width: 100%;
    background-image: linear-gradient(135deg, white 25%, transparent 25%), linear-gradient(225deg, white 25%, transparent 25%);
    background-size: 30px 30px;
    z-index: 1;
}

.dots {
    background-image: url(../images/dots.png);
    height: 186px;
    width: 204px;
    background-repeat: no-repeat;
    position: absolute;
}

.dots-up {
    right: 0;
    top: 200px;
}

.dots-down {
    left: 0;
    bottom: 200px;
}

/* End Global Rules */

/* Start Header */

.header {
    background-color: white;
    box-shadow: 0 0 10px #DDD;
    position: relative;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.header .logo {
    display: flex;
    align-items: center;
    height: 72px;
    color: var(--main-color);
    font-size: 30px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .header .logo {
        flex-basis: 100%;
        justify-content: center;
        height: 55px;
    }
}

.header .nav-bar {
    display: flex;
}

@media (max-width: 767px) {
    .header .nav-bar {
        flex-basis: 100%;
        justify-content: center;
    }
}

.header .nav-bar>li:hover .mega-menu {
    opacity: 1;
    z-index: 100;
    top: calc(100% + 1px);
}

.header .nav-bar>li>a:hover:before {
    width: 100%;
}

.header .nav-bar>li>a:hover {
    background-color: var(--secondery-color);
    color: var(--main-color);
}


.header .nav-bar>li>a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 3px;
    background-color: var(--main-color);
    transition: var(--main-transition);
}

.header .nav-bar>li>a {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 20px;
    font-size: 18px;
    color: black;
    overflow: hidden;
    position: relative;
    transition: var(--main-transition);
}

@media (max-width: 767px) {
    .header .nav-bar>li>a {
        padding: 15px;
        height: 45px;
        font-size: 14px;
    }
}

.header .nav-bar .mega-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 50px);
    width: 100%;
    background-color: white;
    z-index: -1;
    opacity: 0;
    display: flex;
    gap: 30px;
    padding: 30px;
    border-bottom: 3px solid var(--main-color);
    transition: var(--main-transition);
}

@media (max-width: 767px) {
    .header .nav-bar .mega-menu {
        flex-direction: column;
        gap: 0;
        padding: 5px;
    }
}

.header .nav-bar .mega-menu .image img {
    width: 520px;
    max-width: 100%;
}

@media (max-width: 991px) {
    .header .nav-bar .mega-menu .image {
        display: none;
    }
}

.header .nav-bar .mega-menu .links {
    min-width: 250px;
    max-width: 100%;
    flex: 1;
}

.header .nav-bar .mega-menu .links li:not(:last-child) {
    border-bottom: 1px solid #CCC;
}

@media (max-width: 767px) {
    .header .nav-bar .mega-menu .links:first-of-type li:last-child {
        border-bottom: 1px solid #CCC;
    }
}

.header .nav-bar .mega-menu .links li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--main-color);
    font-size: 18px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}


.header .nav-bar .mega-menu .links li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondery-color);
    z-index: -1;
    transition: .3s;
}

.header .nav-bar .mega-menu .links li a:hover::before {
    width: 100%;
}

/* End Header */

/* Start Landing */

.landing {
    position: relative;
}

.landing::before {
    content: "";
    position: absolute;
    left: 0;
    top: -47px;
    width: 100%;
    height: 100%;
    background-color: var(--section-color);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: -1;
}

.landing .container {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 120px;
    position: relative;
}

.landing .content,
.landing .image {
    flex: 1;
}



@media (max-width: 991px) {
    .landing .image {
        display: none;
    }

    .landing .content {
        width: 100%;
        text-align: center;
    }
}

.landing .content h1 {
    font-size: 40px;
    letter-spacing: -2px;
    margin: 0;
}

.landing .content p {
    font-size: 26px;
    line-height: 1.7;
    color: var(--paragraph-color);
    margin-top: 10px;
}


@media (max-width: 767px) {
    .landing .content h1 {
        font-size: 33px;
    }

    .landing .content p {
        font-size: 18px;
    }
}

.landing img {
    position: relative;
    border-radius: 20px;
    max-width: 100%;
    animation: Moving-up 5s linear infinite;
}

.landing a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    color: var(--main-color);
    transition: var(--main-transition);
}

.landing a:hover {
    color: var(--main-color-alt);
}

.landing a i {
    font-size: 30px;
    animation: pouncing 1.5s infinite;
}

/* End Landing */

/* Start Articles */

.articles {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.articles .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

.articles .box {
    -webkit-box-shadow: 0 2px 20px 0 rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 2px 20px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 2px 20px 0 rgb(0 0 0 / 20%);
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--main-transition), box-shadow var(--main-transition);
}

.articles .box:hover {
    transform: translateY(-10px);
    -webkit-box-shadow: 0 2px 20px 0 rgb(0 0 0 / 30%);
    -moz-box-shadow: 0 2px 20px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 2px 20px 0 rgb(0 0 0 / 30%);
}

.articles .box:hover .link i {
    animation: arrow-moving .6s linear infinite;
}

.articles .box .image img {
    max-width: 100%;
}

.articles .box .info {
    padding: 20px;
}

.articles .box .info p {
    color: var(--paragraph-color);
    line-height: 1.5;
    margin: 10px 0;
}

.articles .box .link {
    padding: 20px;
    border-top: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.articles .box .link a {
    font-weight: bold;
    color: var(--main-color);
}

.articles .box .link i {
    color: var(--main-color);
}

/* End Articles */

/* Start Gallery */

.gallery {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--section-color);
    position: relative;
}

.gallery .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.gallery .box {
    padding: 15px;
    background-color: white;
    -webkit-box-shadow: 0 2px 3px rgb(0 0 0 / 10%), 0 4px 15px rgb(0 0 0 / 13%);
    -moz-box-shadow: 0 2px 3px rgb(0 0 0 / 10%), 0 4px 15px rgb(0 0 0 / 13%);
    box-shadow: 0 2px 3px rgb(0 0 0 / 10%), 0 4px 15px rgb(0 0 0 / 13%);
}

.gallery .box:hover .image::before {
    animation: flashing var(--main-transition) linear;
}

.gallery .box:hover img {
    transform: rotate(6deg) scale(1.1);
}

.gallery .image {
    overflow: hidden;
    position: relative;
}

.gallery .image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: rgb(255 255 255 / 20%);
    z-index: 2;
}

.gallery .image img {
    max-width: 100%;
    transition: var(--main-transition);
}

/* End Gallery */

/* Start Features */

.features {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.features .box {
    background-color: white;
    text-align: center;
    border: 1px solid #ccc;
    overflow: hidden;
}

.features .box:hover .image::after {
    border-width: 150px 405px 150px 0;
}

.features .box .image {
    position: relative;
}

.features .box .image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.features .box.quality .image::before {
    background-color: rgb(244 64 54 / 60%);
}

.features .box.time .image::before {
    background-color: rgb(0 150 136 / 60%);
}

.features .box.passion .image::before {
    background-color: rgb(3 169 244 / 60%);
}

.features .box .image::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    border-width: 0px 0px 150px 405px;
    border-style: solid;
    border-color: transparent transparent white transparent;
    transition: var(--main-transition);
}

.features .box .image img {
    max-width: 100%;
}

.features .box h3 {
    font-size: 35px;
    margin: 30px auto;
    position: relative;
    width: fit-content;
}

.features .box h3::before {
    content: "";
    position: absolute;
    width: calc(100% - 30px);
    height: 5px;
    bottom: -25px;
    left: 15px;
}

.features .quality h3::before {
    background-color: #f44036;
}

.features .time h3::before {
    background-color: #009688;
}

.features .passion h3::before {
    background-color: #03a9f4;
}

.features .box p {
    padding: 30px;
    font-size: 20px;
    line-height: 1.7;
    color: var(--paragraph-color);
}

.features .box:hover a {
    color: white;
}

.features .box a {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    border: 3px solid;
    border-radius: 6px;
    margin: 25px auto;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}


.features .quality a {
    color: #f44036;
    border-color: #f44036;
}

.features .time a {
    color: #009688;
    border-color: #009688;
}

.features .passion a {
    color: #03a9f4;
    border-color: #03a9f4;
}

.features .box:hover a::before {
    width: 100%;
}

.features .box a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: var(--main-transition);
}

.features .quality a::before {
    background-color: #f44036;
}

.features .time a::before {
    background-color: #009688;
}

.features .passion a::before {
    background-color: #03a9f4;
}

/* End Features */

/* Start Testimonials */

.testimonials {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--section-color);
}

.testimonials .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.testimonials .box {
    background-color: white;
    border-radius: 6px;
    padding: 20px;
    -webkit-box-shadow: 0 3px 4px 0 rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 3px 4px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 3px 4px 0 rgb(0 0 0 / 10%);
    position: relative;
}

.testimonials .box img {
    width: 100px;
    border-radius: 50%;
    border: 10px solid var(--section-color);
    position: absolute;
    top: -50px;
    right: -10px;
}

.testimonials .box .title {
    color: var(--paragraph-color);
    margin: 10px 0;
}

.testimonials .box .rating .filled {
    color: #ffc107;
}

.testimonials .box p {
    color: var(--paragraph-color);
    line-height: 1.6;
    margin-top: 10px;
}

/* End Testimonials */

/* Start Team */

.team {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.team .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team .box {
    position: relative;
    padding-top: 60px;
}

.team .box::before,
.team .box::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    transition: var(--main-transition);
}

.team .box::before {
    width: calc(100% - 60px);
    background-color: #f3f3f3;
    z-index: -2;
}

.team .box::after {
    width: 0;
    background-color: #e4e4e4;
    z-index: -1;
}

.team .box:hover::after {
    width: calc(100% - 60px);
}

.team .box:hover img {
    filter: grayscale(100%);
}

.team .box:hover .info h3 {
    color: var(--paragraph-color);
}

.team .box .image {
    display: flex;
    align-items: center;
}

.team .box .image img {
    width: calc(100% - 60px);
    max-width: 100%;
    border-radius: 10px;
    transition: var(--main-transition);
}

.team .box .image .social {
    width: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team .box .image .social a {
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paragraph-color);
}

.team .box .image .social a:hover {
    color: var(--main-color);
}

.team .box .info {
    padding-left: 80px;
}

.team .box .info h3 {
    margin-top: 25px;
    font-size: 25px;
    color: var(--main-color);
    transition: var(--main-transition);
}

.team .box .info p {
    margin: 10px 0 25px;
}

/* End Team */
/* Start Services */
.services {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--section-color);
    position: relative;
}

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.services .box {
    background-color: white;
    -webkit-box-shadow: 0 4px 15px 0 rgb(0 0 0 / 10%), 0 2px 4px 0 rgb(0 0 0 / 13%);
    -moz-box-shadow: 0 4px 15px 0 rgb(0 0 0 / 10%), 0 2px 4px 0 rgb(0 0 0 / 13%);
    box-shadow: 0 4px 15px 0 rgb(0 0 0 / 10%), 0 2px 4px 0 rgb(0 0 0 / 13%);
    counter-increment: services;
    position: relative;
    transition: var(--main-transition);
}

.services .box:hover {
    transform: translateY(-10px);
}

.services .box:hover::before {
    width: 100%;
}

.services .box::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--main-color);
    transition: var(--main-transition);
}

.services .box .icon {
    text-align: center;
}

.services .box .icon i {
    color: #d5d5d5;
    margin: 35px 0 20px;
}

.services .box .icon h3 {
    font-size: 25px;
    color: var(--main-color);
    margin-bottom: 40px;
}

.services .box .info {
    padding: 15px;
    border-top: 1px solid #ccc;
    background-color: #f9f9f9;
    position: relative;
}

.services .box .info::before {
    content: "0" counter(services);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 80px;
    background-color: var(--main-color);
    color: white;
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    padding-left: 25px;
}

.services .box .info::after {
    content: "";
    position: absolute;
    height: calc(100% + .4px);
    width: 50px;
    background-color: #d5d5d5;
    top: 0px;
    left: 80px;
    transform: skewX(-30deg);
}

.services .box a {
    text-align: right;
    display: block;
    color: var(--main-color);
}

/* End Services */

/* Start Skills */

.skills {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.skills .container {
    display: flex;
}

.skills img {
    width: 450px;
    max-width: 100%;
    margin-right: 40px;
}

@media (max-width: 991px) {
    .skills img {
        display: none;
    }
}

.skills .box {
    flex: 1;
}

.skills .box h3 {
    margin-bottom: 20px;
    position: relative;
}

.skills .box h3::before {
    content: attr(data-progress);
    position: absolute;
    right: 0;
    font-weight: bold;
    font-size: 14px;
    padding: 3px 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: var(--main-color);
}

.skills .prog {
    height: 30px;
    background-color: #EEE;
    margin-bottom: 20px;
    position: relative;
}

.skills .prog span {
    position: absolute;
    height: 100%;
    background-color: var(--main-color);
}

/* End Skills */

/* Start Work */

.work {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--section-color);
}

.work .container {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .work .container {
        flex-direction: column;
        text-align: center;
    }
}

.work .image,
.work .content {
    flex: 1;
}

.work .image img {
    max-width: 100%;
}

.work .box:hover::before {
    width: 100%;
    height: 100%;
}

.work .box {
    background-color: #f5f5f5;
    border: 2px solid white;
    margin-top: 30px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .work .box {
        flex-direction: column;
    }
}

.work .box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: #ededed;
    z-index: -1;
    transition: var(--main-transition);
}

.work .box img {
    width: 64px;
}

.work .box .text h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.work .box .text p {
    color: var(--paragraph-color);
    line-height: 1.7;
    font-size: 18px;
}


/* End Work */

/* Start Events */

.events {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.events .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.events .event {
    flex: 1;

}

.events img {
    width: 450px;
    max-width: 100%;
}

@media (max-width: 991px) {
    .events img {
        display: none;
    }
}

.events .event .time {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.events .event .time .units {
    width: 75px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: var(--main-transition);
}

.events .event .time .units:hover,
.events .event .time .units:hover span:last-child {
    border-color: var(--main-color);
}

.events .event .time .units span {
    display: block;
    text-align: center;
}

.events .event .time .units span:first-child {
    font-size: 40px;
    font-weight: bold;
    color: var(--main-color);
    margin: 20px auto;
}

.events .event .time .units span:last-child {
    padding: 10px 0;
    border-top: 1px solid #ccc;
    font-size: 14px;
    transition: var(--main-transition);
}

.events .event .text {
    text-align: center;
}

.events .event .text h3 {
    margin: 40px auto 25px;
    font-size: 31px;
}

.events .event .text p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--paragraph-color);
}

.events .subscribe {
    width: 100%;
}

.events form {
    width: 600px;
    max-width: 100%;
    border-radius: 50px;
    padding: 30px;
    margin: 50px auto 20px;
    background-color: var(--section-color);
    display: flex;
    gap: 15px;
}

@media (max-width: 767px) {
    .events form {
        flex-direction: column;
        border-radius: 0;
        padding: 20px;
    }
}

.events form [type="email"] {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: 50px;
    caret-color: var(--main-color);
}

.events form [type="email"]:focus {
    outline: none;

}

.events form [type="email"]::placeholder {
    transition: var(--main-transition);
}

.events form [type="email"]:focus::placeholder {
    opacity: 0;
}

.events form [type="submit"] {
    border: none;
    background-color: var(--main-color);
    color: white;
    padding: 20px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--main-transition);
}

.events form [type="submit"]:hover {
    background-color: var(--main-color-alt);
}

@media (max-width: 767px) {

    .events form [type="email"],
    .events form [type="submit"] {
        border-radius: 0;
    }
}

/* End Events */

/* Start Pricing */

.pricing {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--section-color);
    position: relative;
}

.pricing .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.pricing .box:hover::before,
.pricing .box:hover::after {
    width: 100%;
}

.pricing .box {
    text-align: center;
    background-color: white;
    -webkit-box-shadow: 0 6px 20px 0 rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 6px 20px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 6px 20px 0 rgb(0 0 0 / 20%);
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}

.pricing .box::before,
.pricing .box::after {
    content: "";
    position: absolute;
    width: 0;
    height: 50%;
    background-color: #f6f6f6;
    z-index: -1;
    transition: var(--main-transition);
}

.pricing .box::before {
    top: 0;
    left: 0;
}

.pricing .box::after {
    bottom: 0;
    right: 0;
}

@media (min-width: 1200px) {
    .pricing .popular {
        top: -20px;
    }
}

.pricing .popular p {
    writing-mode: vertical-lr;
    background-color: var(--main-color);
    color: white;
    padding: 10px 10px 40px;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    right: 25px;
    top: 0;
}

.pricing .popular p::before {
    content: "";
    position: absolute;
    border-width: 21px;
    border-style: solid;
    border-color: transparent transparent white;
    bottom: -1px;
    right: 0;
}

.pricing .box h3 {
    margin: 30px auto;
    font-size: 25px;
}

.pricing .box img {
    width: 85px;
}

.pricing .box .price {
    color: var(--main-color);
    font-size: 66px;
    font-weight: bold;
    margin: 30px 0 5px;
}

.pricing .box span {
    display: block;
    color: var(--paragraph-color);
    margin-bottom: 20px;
}

.pricing .box ul {
    text-align: left;
}

.pricing .box ul li {
    padding: 20px 50px;
    border-top: 1px solid #EEE;
    position: relative;
}

.pricing .box ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--main-color);
    font-size: 20px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.pricing .box a {
    display: block;
    width: fit-content;
    padding: 15px 20px;
    margin: 30px auto 40px;
    border: 2px solid var(--main-color);
    border-radius: 6px;
    color: var(--main-color);
    font-weight: bold;
    transition: var(--main-transition);
}

.pricing .box a:hover {
    background-color: var(--main-color);
    color: white;
}

/* End Pricing */

/* Start Videos */

.videos {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.videos .container {
    display: flex;
}

@media (max-width: 991px) {
    .videos .container {
        flex-direction: column;
    }
}

.videos .videos-list {
    min-width: 300px;
    border: 1px solid #e2e2e2;
}

.videos .videos-list h3 {
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.videos .videos-list ul li {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #e2e2e2;
    cursor: pointer;
    transition: var(--main-transition);
}

.videos .videos-list ul li:hover {
    background-color: #fafafa;
    color: var(--main-color);
}

.videos .videos-list ul li span {
    color: var(--paragraph-color);
}

.videos .show {
    padding: 10px;
    background-color: #e2e2e2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.videos .show img {
    max-width: 100%;
}

.videos .show p {
    padding: 20px;
    margin-top: 10px;
    background-color: white;
}

/* End Videos */

/* Start Stats */

.stats {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-image: url(../images/stats.png);
    background-size: cover;
    position: relative;
}

.stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 93%);
}

.stats h2 {
    position: relative;
    text-align: center;
    font-size: 45px;
    margin-bottom: 50px;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.stats .box {
    position: relative;
    padding: 30px;
    background-color: white;
    text-align: center;
    opacity: .8;
    transition: var(--main-transition);
}

.stats .box::before,
.stats .box::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--main-color);
    transition: .7s;
}

.stats .box::before {
    top: 0;
    left: 0;
}

.stats .box::after {
    bottom: 0;
    right: 0;
}

.stats .box:hover {
    opacity: 1;
}

.stats .box:hover::before,
.stats .box:hover::after {
    height: 100%;
}


.stats .box .number {
    font-size: 45px;
    font-weight: bold;
    margin: 15px auto;
}

.stats .box span {
    color: var(--main-color);
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
}

/* End Stats */

/* Start Discount */

.discount {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.discount .content {
    flex-basis: 50%;
    background-image: url(../images/discount-2.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: change-background 10s linear infinite;
}

@media (max-width: 991px) {
    .discount .content {
        flex-basis: 100%;
    }
}

.discount .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(33 150 243 / 97%);
}

.discount .content .info {
    position: relative;
    text-align: center;
    color: white;
}

.discount .info {
    padding: 0 20px;
}

.discount h2 {
    font-size: 35px;
    margin: 35px auto;
}

.discount p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
}

.discount img {
    width: 250px;
    margin: 30px auto 0;
}

.discount .form {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .discount .form {
        flex-basis: 100%;
    }
}

.discount .form .input {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    border: none;
    border-bottom: 1px solid #CCC;
    background-color: #f9f9f9;
    caret-color: var(--main-color);
}

.discount .form .input:focus {
    outline: none;
}

.discount .form textarea.input {
    height: 200px;
    resize: none;
}

.discount .form [type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--main-color);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 70px;
    transition: var(--main-transition);
}

.discount .form [type="submit"]:hover {
    background-color: var(--main-color-alt);
}

/* End Discount */

/* Start Footer */

.footer {
    padding-top: 70px;
    background-color: black;
    color: white;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

@media (max-width: 767px) {
    .footer .container {
        text-align: center;
    }
}

.footer .box h3 {
    font-size: 35px;
}

.footer .box .social {
    display: inline-flex;
    gap: 10px;
    margin: 25px auto;
}

.footer .box .social a {
    width: 55px;
    padding: 15px 0;
    background-color: #313131;
    font-size: 20px;
    color: #b9b9b9;
    text-align: center;
    transition: var(--main-transition);
}

.footer .box .social a.facebook:hover {
    background-color: #1877f2;
}

.footer .box .social a.twitter:hover {
    background-color: #1da1f2;
}

.footer .box .social a.youtube:hover {
    background-color: #ff0000;
}

.footer .box .text {
    color: #b9b9b9;
    line-height: 1.6;
}

.footer ul li a {
    display: block;
    padding: 15px;
    color: #b9b9b9;
    position: relative;
    transition: var(--main-transition);
}

.footer ul li a:hover {
    padding-left: 25px;
    color: white;
}

.footer ul li:not(:last-child) a {
    border-bottom: 1px solid #414141;
}

.footer ul li a::before {
    content: "\f101";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--main-color);
    position: relative;
    left: -15px;
}

.footer .info .content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .footer .info .content {
        flex-direction: column;
    }
}

.footer .info .content i {
    font-size: 25px;
    color: var(--main-color);
}

.footer .info .content span {
    color: #b9b9b9;
    line-height: 1.8;
}

.footer .images img {
    width: 74px;
    border: 3px solid white;
    margin-right: 3px;
    margin-bottom: 4px;
}

.footer .copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #414141;
    margin-top: 60px;
}

/* End Footer */

/* Start Animation */

@keyframes Moving-up {

    0%,
    100% {
        top: 0;
    }

    50% {
        top: 50px;
    }

}

@keyframes pouncing {

    0%,
    10%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    60% {
        transform: translateY(-15px);
    }

}

@keyframes fill-left {
    50% {
        left: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        left: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}

@keyframes fill-right {
    50% {
        right: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        right: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}

@keyframes arrow-moving {

    100% {
        transform: translateX(10px);
    }
}

@keyframes flashing {
    100% {
        width: 200%;
        height: 200%;
        background-color: rgb(255 255 255 / 20%);
    }

}


@keyframes change-background {

    0%,
    100% {
        background-image: url(../images/discount-2.jpg);
    }

    50% {
        background-image: url(../images/discount-3.jpg);
    }
}

/* End Animation */
