/* Start Global Rules */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:root {
    --main-color: #2196f3;
    --main-color-alt: #1787e0;
    --main-color-bck: #fafafa;
    --main-transition: 0.3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
    --main-color-bck:#ececec;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Cairo', sans-serif;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Poppins', sans-serif;
}
a {
    text-decoration: none;
}
ul {
    list-style: none ;
    margin: 0;
    padding: 0;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Small*/
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
} 
/* Medium */
@media (min-width: 992px) {
    .container {
    width: 970px;
    }
}
/* large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
.main-title {
    margin:  0 auto 80px;
    border: 3px solid black;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 30px;
    text-transform: uppercase;
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}
.main-title::after,
.main-title::before {
    content: "";
    width: 0px;
    height: 0px;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.main-title::before {
    left: 0px;
} 
.main-title::after {
    right: 0px;
}
.main-title:hover::before {
    z-index: -1;
    animation: left-move 0.5s linear forwards;
}
.main-title:hover::after {
    z-index: -1;
    animation: right-move 0.5s linear forwards;
}
.main-title:hover {
    color: white;
    border: 2px solid white;
    transition-delay: 0.5s;
}
.spikes {
    position: relative;
}
.spikes::after {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 1;
    background-image: linear-gradient(135deg, white 25%, transparent 25%),
    linear-gradient(225deg, white 25%, transparent 25%);
    background-size: 30px 30px;
}
.dots{
    background-image: url(../imgs/dots.png);
    height: 186px;
    width: 204px;
    background-repeat: no-repeat;
    position: absolute;
}
.dots-up {
    top: 200px;
    right: 0;
}
.dots-dwon {
    bottom: 200px;
    left: 0;
}
/* End Global Rules */
/* Start Header */
.header {
    background-color: white;
    position: relative;
    -webkit-box-shadow: 0 0 10px #ddd;
    -moz-box-shadow: 0 0 10px #ddd;
    box-shadow: 0 0 10px #ddd;
    
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}
.header .logo {
    color: var(--main-color);
    font-size: 24px;
    font-weight: bold;
    height: 77px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 767px) {
    .header .logo {
        width: 100%;
        height: 50px;
    }
}
.header .main-nav {
    display: flex;
}
@media (max-width: 767px) {
    .header .main-nav{
        margin: auto;
    }
}
.header .main-nav > li:hover .mega-menu {
    opacity: 1;
    z-index: 100;
    top: calc(100% + 1px) ;
    transition: var(--main-transition);
}
.header .main-nav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 77px;
    position: relative;
    color: black;
    padding: 0 30px;
    overflow: hidden;
    transition: var(--main-transition);
}
@media (max-width: 767px) {
    .header .main-nav > li > a {
        padding:  10px ;
        font-size: 13px;
        height: 40px;
    }
}
.header .main-nav > li > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    top: 0;
    left: -100%;
    transition: var(--main-transition);
    
}
.header .main-nav > li > a:hover {
    color: var(--main-color);
    background-color: #f9f9f9;
}
.header .main-nav > li > a:hover::before {
    left: 0;
    
}
.header .mega-menu {
    position: absolute;
    width: 100%;
    left: 0;
    padding: 30px;
    background-color: white;
    border-bottom: 3px solid var(--main-color);
    z-index: -1;
    display: flex;
    gap: 40px;
    top: calc(100% + 50px);
    opacity: 0;
    transition: top var(--main-transition), opacity var(--main-transition);
}

@media (max-width: 767px){
    .header .mega-menu {
        flex-direction: column;
        gap: 0;
        padding: 5px;
    }
}
.header .mega-menu .image img {
    max-width: 100%;
}
@media (max-width: 991px) {
    .header .mega-menu .image {
        display: none;
    }
}
.header .mega-menu .links {
min-width: 250px;
flex: 1;
}
.header .mega-menu .links li {
    position: relative;
}
.header .mega-menu .links li:not(:last-child) {
    border-bottom:1px solid #E9E6E6;
}
@media (max-width: 767px){

.header .mega-menu .links:first-of-type li:last-child {
    border-bottom:1px solid #E9E6E6;
}
}
.header .mega-menu .links li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fafafa;
    z-index: -1;
    transition: var(--main-transition);
}
.header .mega-menu .links li:hover::before {
width: 100%;
}
.header .mega-menu .links li a {
    color: var(--main-color);
    display: block;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}
.header .mega-menu .links li a i {
margin-right: 10px;
}
/* End  Header */
/* Start Landing */
.landing {
position: relative;
}
.landing::before{
    content: "";
    position: absolute;
    left: 0;
    top: -40px;
    width: 100%;
    height: 100%;
    background-color: var(--main-color-bck);
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: top left;
}
.landing .container {
min-height: calc(100vh - 72px); 
display: flex;
align-items: center;
padding-bottom: 120px;
}
.landing .text {
    flex: 1;
}
@media (max-width: 991px) {
    .landing .text {
        text-align: center;
    }
}
.landing .text h1 {
    margin: 0;
    font-size: 40px;
    letter-spacing: -2px;
}
@media (max-width: 767px) {
    .landing .text h1 {
        margin: 0;
        font-size: 25px;
        letter-spacing: -1px;
    }
}
.landing .text p {
    font-size: 20px;
line-height: 1.7;
margin: 5px 0 0;
color: #777;
max-width: 400px;
}
@media (max-width: 991px) {
    .landing .text p {
        margin: 10px auto;
    }
}
@media (max-width: 767px) { 
    .landing .text p {
        margin: 15px auto;
        font-size: 15px;
    }
}
.landing .image img {
    position: relative;
    width: 600px;
    animation: up-and-down 5s linear infinite;
}
@media (max-width: 991px) {
    .landing .image {
        display: none;
    }
}
.landing .go-down {
    color: var(--main-color);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50px);
    transition: var(--main-transition);
}
.landing .go-down:hover {
    color: var(--main-color-alt);
}
.landing .go-down i {
    animation: bouncing 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 {
    background-color: white;
    box-shadow: 0 2px 15px  rgb(0 0 0 / 10%);
    border-radius: 6px;
    overflow: hidden;
    transition: transform var(--main-transition),box-shadow var(--main-transition); 
}
.articles .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 2px 15px 2px rgb(0 0 0 / 30%);
}
.articles .box img {
    max-width: 100%;
}
.articles .box .content {

    padding: 20px;
    border-bottom: 1px solid #cecece;
}
.articles .box .content h3 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
}
.articles .box .content p {
    font-size: 15px;
    line-height: 1.5;
    color: grey;
}
.articles .box .info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.articles .box .info a{
    font-size: 17px;
    font-weight: 600;
    color: var(--main-color);
}
.articles .box:hover .info i {
    animation: right-and-left 0.6s linear infinite;
}

.articles .box .info 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(--main-color-bck);
    position: relative;
}
.gallery .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.gallery .box {
    background-color: white; 
    border: 15px solid white;
    overflow: hidden;
    box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%), 0px 2px 4px 0px rgb(0 0 0 / 12%);
    
}
.gallery .box .image{
    position: relative;
}
.gallery .box .image::before{
    content: "";
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:rgba(255, 255, 255, 20%);
    width:0px;
    height: 0px;
    opacity: 0;
    z-index: 10;

}
.gallery .box .image:hover::before{
    animation: flashing 0.7s;

}

.gallery .box .image img {
    max-width: 100%;
    transition: var(--main-transition);
}
.gallery .box .image:hover  img {
    transform:rotate(5deg) scale(1.1); 
}

/* End Gallery */
/* Start Features */
.features {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: white;
}
.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.features .box {
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 35px;
    overflow: hidden;
}

.features .box .img-holder {
    position: relative;
    overflow: hidden;
}
.features .box .img-holder::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.features .box .img-holder::after {
content: "";
position: absolute;
bottom: 0;
right: 0;
border-style: solid;
border-width: 0px 0px 170px 500px;
border-color: transparent transparent white transparent;
transition: var(--main-transition);

}
.features .box .img-holder img {
max-width: 100%;
}
.features .box:hover .img-holder::after {
    border-width: 170px 500px 170px 0px;
}
.features .box h2 {
    position: relative;
    font-size: 40px;
    margin: auto;
    width: fit-content;
    
}
.features .box h2::after{
    content: "";position: absolute;
    bottom: -20px;
    left: 15px;
    height: 5px;
    width: calc(100% - 30px);
}
.features .box p {
    line-height: 2;
    font-size: 20px;
    margin: 30px 0;
    padding: 25px;
    color: gray;
}
.features .box a {
    display: block;
    padding: 10px 25px;
    border-radius: 20px;
    border: 3px solid transparent;
    width: fit-content;
    margin: 0 auto 30px;
    font-size: 22px;
    font-weight: bold;
    transition: var(--main-transition);
}
.features .quality .img-holder::before {
background-color: #f43f3699;
}
.features .quality h2::after {
    background-color: #f44036;
}
.features .quality a {
color: #f44036;
border-color: #f44036;
background: linear-gradient(to right, #f44036 50%, white 50%);
background-size: 200% 100%;
background-position: right bottom;
}
.features .time .img-holder::before {
background-color: #00968899;
}
.features .time h2::after {
    background-color: #009688;
}
.features .time a {
color: #009688;
border-color: #009688;
background: linear-gradient(to right, #009688 50%, white 50%);
background-size: 200% 100%;
background-position: right bottom;
}
.features .passion .img-holder::before {
background-color: #03a9f499;
}
.features .passion h2::after {
    background-color: #03a9f4;
}
.features .passion a {
color: #03a9f4;
border-color: #03a9f4;
background: linear-gradient(to right, #03a9f4 50%, white 50%);
background-size: 200% 100%;
background-position: right bottom;
}
.features .box:hover a {
    background-position: left bottom;
    color: white;
}
/* End Features */
/* Start Testimonials */
.testimonials {
padding-top: var(--main-padding-top);
padding-bottom: var(--main-padding-bottom);
background-color: var(--main-color-bck);
position: relative;

}
.testimonials .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.testimonials  .box {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 5px 2px rgb(0 0 0 / 10%);
    border-radius: 7px;
    position: relative;
    
}
.testimonials .box img {
    position: absolute;
    top: -50px;
    right: -10px;
    width: 100px;
    height: 100px;
    border: 10px solid var(--main-color-bck);
    border-radius: 50%;
}
.testimonials .box h3 {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: var(--main-color);
}
.testimonials .box .title {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    color:rgb(77, 76, 76);

}
.testimonials .box .rate  {
font-size: 22px;
}
.testimonials .box .rate .filled {
    color: gold;
}
.testimonials .box p {
    font-size: 20px;
    color:  gray;
    line-height: 1.5;
    margin-top: 10px;
}

/* End Testimonials */
/* Start Team */
.team {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.team .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.team .box {
position: relative;
}
.team .box::before,
.team .box::after {
    content: "";
    background-color: #f3f3f3;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    transition: var(--main-transition);
}
.team .box::before {
    width: calc(100% - 60px);
    z-index: -2;
}
@media (max-width:767px) {
    .team .box::before {
        width: 100%;
    }
}
.team .box::after {
    z-index: -1;
    background-color: #e4e4e480;
    width: 0;
}
.team .box:hover::after{
    width: calc(100% - 60px) ;
    z-index: -1;
}
@media (max-width:767px) {
    .team .box:hover::after {
        width: 100%;
    }
}
.team .box .data {
    display: flex;
    align-items: center;
    padding-top: 60px;
}
.team .box .data img {
    width: calc(100% - 60px);
    transition: var(--main-transition);
    border-radius: 10px;
}
@media (max-width:767px) {
    .team .box .data img {
        margin-left: 10px;
    }
}
.team .box:hover img {
filter: grayscale(100%);
}
.team .box .data .social {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    gap: 20px;
}
@media (max-width:767px) {
    .team .box .data .social {
        width: 50px;
    }
}
.team .box .data .social a {
    width: 60px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    
} 
.team .box .data .social a:hover i {
    color: var(--main-color);
}
.team .box .data .social i {
    color: #777;
    transition: var(--main-transition);
}
.team .box .info {
    padding-left: 80px;
}
@media (max-width:767px) {
    .team .box .info {
        padding-left: 20px;
    }
}
.team .box .info h3 {
    margin-bottom: 0;
    color: var(--main-color);
    font-size: 22px;
    transition: var(--main-transition);
}
.team .box .info p {
    margin-top: 10px;
    margin-bottom: 25px;
}
.team .box:hover .info h3 {
    color: #777;
}
/* End Team */
/* Start Services */
.services {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--main-color-bck);
    position: relative;
    background-color: var(--main-color-bck);
}
.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.services .box {
    background-color: white;
    box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
    border-radius: 10px;
    counter-increment: services;
    transition: var(--main-transition);
    position: relative;
}
.services .box::before {
    content: "";
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    top: -3px;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 70px 70px 0 0;
    width: 0;
}
.services .box:hover {
    transform: translateY(-10px);
}
.services .box:hover::before {
    width: 96%;
}
.services .box > i {
    margin: 40px auto 20px;
    display: block;
    text-align: center;
    color: #d5d5d5;
}

.services .box > h3 {
    text-align: center;
    margin: 20px 0 40px;
    font-size: 25px;
    color: var(--main-color);
}
.services .box .info {
    padding: 15px;
    background-color: #f9f9f9;
    position: relative;
    text-align: right;
}
.services .box .info::before {
content: "0" counter(services);
position: absolute;
background-color: var(--main-color);
color: white;
left: 0;
top: 0;
width: 80px;
height: 100%;
font-size: 30px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
padding-right: 15px;


}
.services .box .info::after {
    content: "";
    position: absolute;
    background-color: #D5D5D5;
    left: 60px;
    top: 0;
    height: calc(100% + 0.5px);
    width: 50px;
    transform: skewX(-30deg);
    transform-origin: bottom right; 
}
.services .box .info a {
    color: var(--main-color);
}
/* End Services */
/* Start Our Skills */
.our-skill {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.our-skill .container {
    display: flex;
    align-items: center;
}
@media (max-width:991px) {
    .our-skill  img {
    display: none;
}
}
.our-skill .container .skills {
    flex: 1;
}
.our-skill .container .skill h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    

}
.our-skill .container .skill h3 span {
    font-weight: normal;
    font-size: 12px;
    color: var(--main-color);
    padding: 2px 4px;
    border:1px solid #eee;
    border-radius: 5px;
}
.our-skill .container .skill .prog {
position: relative;
height: 30px;
background-color: #eee;
}
.our-skill .container .skill .prog span {
position: absolute;
left: 0;
top: 0;
height: 100%;
background-color: var(--main-color);

}
/* End Our Skills */

 /* Start Work   */
.work-steps{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: var(--main-color-bck);
}
.work-steps .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width:991px) {
    .work-steps .container {
        flex-direction: column;
    }
}

.work-steps .image{
    max-width: 100%;
    margin-right: 30px;
}
@media (max-width:991px) {
    .work-steps .image{
        margin: 0 0 50px;
}
}
.work-steps .info .box {
    background-color: #f6f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 30px;
    border: 2px solid white;
    box-shadow: 0 1px 2px 1px #d5d5d5;
    position: relative;
    z-index: 1;
}
@media (max-width:991px) {
    .work-steps .info .box {
        flex-direction: column;
    }
}
.work-steps .info .box::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    background-color: #ededed;
    z-index: -1;
    transition: 0.5s;
}
.work-steps .info .box:hover::before {
    width: 100%;
    height: 100%;
    background-color: #ededed80;
    z-index: 0;
}

.work-steps .info .box img {
    width: 64px;
    margin-right: 30px;
}
@media (max-width:991px) {
    .work-steps .info .box img {
        margin: 0 0 20px;
    }
}
@media (max-width:991px) {
    .work-steps .info .text {
        text-align: center;
    }
}
.work-steps .info .box h3 {
    margin: 0;
    font-size: 22px;
}
.work-steps .info .box p {
    line-height: 1.5;
    margin: 10px 0 0 ;
    font-size: 18px;
}
 /* End Work */
/* Start Events  */
.events {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.events .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.events .img {
max-width: 450px;
} 
@media (max-width:991px) {
    .events .img {
        display: none;
    } 
}
.events .info {
    flex: 1;
text-align: center;
}
.events .info .time {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto ;
    gap: 10px;
}
.events .info .time .unit {
    
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    width: 75px;
    text-align: center;
    transition: var(--main-transition);
}

.events .info .time .unit span {
    display: block;
    transition: var(--main-transition);
}
.events  .time .unit span:first-child {
    font-size: 35px;
    font-weight: bold;
    color: var(--main-color);
    padding: 15px;
}
.events .info .time .unit span:last-child {
    font-size: 12px;
    padding: 4px 10px;
    border-top: 1px solid #D4D4D4;
}
.events .info .time .unit:hover, 
.events .info .time .unit:hover span:last-child {
    border-color: var(--main-color);
}
.events .info .title {
    margin: 40px 0 0;
    font-size: 30px;
}
.events .info p {
    line-height: 2;
    font-size: 19px;
    color: #777;
}

.events .subscribe {
    width: 100%;
    margin-top: 50px;
}
.events .subscribe form {
    width: 600px;
    margin: 20px auto;
    padding: 30px 40px;
    background-color: #f6f5f5;
    border-radius: 50px;
    display: flex;
    gap: 20px;
}
.events .subscribe form input[type="email"]{
    padding: 20px;
    border-radius: 50px;
    border:none;
    caret-color: var(--main-color);
    flex: 1;
}
.events .subscribe form input[type="email"]:focus {
    outline: none;
}
.events .subscribe form input[type="email"]::placeholder {
    transition: opacity var(--main-transition);
}
.events .subscribe form input[type="email"]:focus::placeholder {
    opacity: 0;
}
.events .subscribe input[type="submit"] {
    padding: 20px;
    border-radius: 50px;
    border: none;
    color: white;
    font-weight: bold;
    background-color: var(--main-color);
    cursor: pointer ;
    transition: var(--main-transition);
}
.events .subscribe input[type="submit"]:hover {
    background-color: var(--main-color-alt);
}
@media (max-width:776px) {
    .events .subscribe form {
        width: 100%;
        padding: 20px;
        border-radius: 4px;
        flex-direction: column;
    }
    .events .subscribe form input[type="email"] {
        border-radius: 4px;
    }
    .events .subscribe form input[type="submit"] {
        border-radius: 4px;
    }
}
/* End Events  */
/* Strat Pericing Plans */
.pricing {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: var(--main-color-bck);
}
.pricing .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.pricing .box {
    background-color: white;
    box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
    position: relative;
    transition: var(--main-transition);
    text-align: center;
    z-index: 1;
}
.pricing .box::before,
.pricing .box::after {
    content: "";
    width: 0;
    height: 50%;
    background-color: #f6f6f6;
    position: absolute;
    z-index: -1;
    transition: var(--main-transition);
}
@media (min-width: 1200px) {
    .pricing .popular {
    top: -20px;
}
}
.pricing .popular .label {
    position: absolute;
    writing-mode: vertical-rl;
    color: white;
    background-color: var(--main-color);
    font-weight: bold;
    padding: 10px 10px 35px 10px;
    font-size: 18px;
    right: 20px;
    width: 40px;
}
.pricing .popular .label::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-color: transparent transparent white ;
    border-width: 20px;
    transition: var(--main-transition);
}
.pricing .box:hover .label::before  {
    border-color: transparent transparent #f6f6f6;
}

.pricing .box::before {
    left: 0;
    top: 0;
}
.pricing .box::after {
    right: 0;
    bottom: 0;
}
.pricing .box:hover::before,
.pricing .box:hover::after{
    width: 100%;
}
.pricing .box .title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -1.2px;
    margin: 20px auto;
}
.pricing .box img {
    max-width: 80px;
}
.pricing .box span {
    display: block;
}
.pricing .box .amount {
font-size: 50px;
margin-top: 30px;
color: var(--main-color);
font-weight: bold;
}
.pricing .box .time {
    font-size: 15px;
    color: #777;
    margin: 10px auto;
    margin-bottom: 15px;
}
.pricing .box ul {
    text-align: left;
}
.pricing .box ul li {
    border-top: 1px solid var(--main-color-bck);
    padding: 20px;
}
.pricing .box ul li::before {
    font-family: "font Awesome 5 Free";
    content: "\f00c";
    margin-right: 10px;
    font-weight: 900;
    color: var(--main-color);
}
.pricing .box a {
    margin: 40px auto;
    display: block;
    width: fit-content;
    padding: 10px;
    color: var(--main-color-alt);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--main-color);
    border-radius: 10px;
}
.pricing .box a:hover {
background-color: var(--main-color-alt);
color: white;
border: none;
transition: 0.8s;
}
/* End Pericing Plans */
/* Start Videos */
.videos {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}
.videos .holder {
    display: flex;
    justify-content: center;
    background-color: var(--main-color-bck);
    border: 1px solid #ddd;
}
@media (max-width: 991px) {
    .videos .holder {
        flex-direction: column;
    }
}
.videos .holder .list {
    min-width: 300px;
    background-color: white;
}
.videos .holder .list .name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    background-color: #f4f4f4;
}
.videos .holder .list ul li {
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid var(--main-color-bck);
    cursor: pointer;
    transition: var(--main-transition);
}
.videos .holder .list ul li:hover {
    color: var(--main-color);
    background-color:#fafafa;
}
.videos .holder .list li span {
    display: block;
    color: #777;
    margin-top: 10px;
}
.videos .holder .preview {
padding: 10px ;
display: flex;
justify-content: space-between;
flex-direction: column;
background-color:#E2E2E2;
}
.videos .holder .preview img {
    max-width:  100%;
}
.videos .holder .preview .info {
    padding: 20px;
    background-color: white;
    margin-top: 10px;
    font-size: 14px;
}

/* End Videos */
/* Stats Stats */
.stats {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-image: url("../imgs/stats.jpg");
    background-size: cover;
    position: relative;
    min-height: 300px;
}
.stats::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255 / 95%);
}
.stats h2 {
    width: fit-content;
    margin: 0 auto 40px;
    font-size: 35px;
    text-align: center;
    position: relative;
}
.stats .container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
}
.stats .box {
padding: 30px 15px;
background-color: white;
opacity: 0.8;
position: relative;
text-align: center;
transition: var(--main-transition);
}

.stats .box::before,
.stats .box::after {
    content: "";
    width: 2px;
    height: 0;
    background-color: var(--main-color);
    position: absolute;
    transition: 1s;
}
.stats .box::before {
right: 0;
top: 0;
}
.stats .box::after {
left: 0;
bottom: 0;
}
.stats .box:hover::before,
.stats .box:hover::after{
    height: 100%;
}
.stats .box:hover {
    opacity: 1;
}
.stats .box .number {
    font-size: 50px;
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}
.stats .box .text {
font-style: italic;
font-size: 20px;
font-weight: bold;
color: var(--main-color);
}
/* End Stats */
/* Start Discount */
.discount {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}
.discount .content {
    text-align: center;
    padding: 0 20px;
}
.discount .content h2 {
    font-size: 40px;
    letter-spacing: -2px;
    font-weight: 600;
}
.discount .content p {
    line-height: 1.8;
    font-size: 18px;
    max-width: 500px;
}
.discount .image {
    background-image: url(../imgs/discount-background1.jpg);
    background-size: cover;
    max-width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: change-background 10s linear infinite;
}
.discount .image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(23 135 224 /97%);
    z-index: -1;
}
@media (min-width: 991px) {
    .discount .image {
        flex-basis: 50%;
    }
}

.discount .image img {
    width: 300px;
    max-width: 100%;
}
.discount .form  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}
@media (min-width:991px){
    .discount .form {
        flex-basis: 50%;
    }
}
@media (max-width:991px) {
    .discount .form {
        padding-bottom: 20px;
    }
}
.discount .form .input {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: #f9f9f9;
    caret-color: var(--main-color);
}

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

}
.discount .form [type="submit"]{
    display: block;
    width: 100%;
    padding:15px;
    background-color: var(--main-color);
    color: white;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: var(--main-transition);
}
.discount .form [type="submit"]:hover {
background-color: var(--main-color-alt);
}
/* End Discount  */
/* Start Footer */
.footer {
    background-color: #191919;
    padding: 70px 0 0;
}
@media (max-width:991px) {
    .footer {
        text-align: center;
    }
}
.footer .container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
}
.footer .box h3 {
    color: white;
    font-size: 50px;
    margin: 0 0 20px;
    font-weight: bold;
}
.footer .box .social {
display: flex;
}
@media(max-width:767px) {
    .footer .box .social {
        justify-content: center;
        gap: 10px;
    }
}
.footer .box .social
.footer .box .social li {
margin-right: 10px;
}
.footer .box .social li a {
background-color: #313131;
color: #b9b9b9;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 20px;
width: 50px;
height: 50px;
transition: var(--main-transition);
}
.footer .box .social .twitter:hover {
    background-color: #1da1f2;
}
.footer .box .social .facebook:hover {
background-color: #1877f2;
}
.footer .box .social .youtube:hover {
background-color: #ff0000;
}
.footer .box .text {
    line-height: 2;
    color: #b9b9b9;
}
.footer .box .links li {
    padding: 15px 0;
    transition: var(--main-transition);
}
.footer .box .links li:not(:last-child) {
    border-bottom: 1px solid #444;
}
.footer .box .links li:hover {
    padding-left: 10px;
}
.footer .box .links li a {
    color: #b9b9b9;
}
.footer .box .links li:hover a {
    color: white;
}
.footer .box .links li a::before {
    font-family: "font Awesome 5 Free";
    content: "\f101";
    font-weight: 900;
    margin-right: 10px;
    color: var(--main-color);
}
.footer .box .line {
    display: flex;
    align-items: center;
    color: #b9b9b9;
    margin-bottom: 30px;
}
@media(max-width:767px) {
    .footer .box .line {
        flex-direction: column;
    }
}
.footer .box .line i {
    margin-right: 10px;
    font-size: 25px;
    color: var(--main-color);
}
@media(max-width:767px) {
    .footer .box .line i {
        margin-bottom: 10px;
    }
}
.footer .box .line .info {
    line-height: 1.7;
    flex: 1;
}
.footer .box .line .info span {
    display: block;
}
.footer .footer-gallery img {
    width: 78px;
    border: 3px solid white;
    margin: 2px;
}
.footer .copyright {
    
    border-top: 1px solid #444;
    margin: 50px 0 0;
    padding: 25px 0;
    text-align: center;
    color: white;
}
/* End Footer  */
/* Start Animation */
@keyframes up-and-down {
    0%, 100% {
        top: 0;
    }
    50% {
        top: -50px;
    }
}
@keyframes bouncing {
    0%, 10%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 60% {
        transform: translateY(-15px);
    }
}
@keyframes left-move {
    50%{
        left: 0;
        width: 12px;
        height: 12px;

    }
    100% {
        left: 0;
        border-radius: 20px;
        width: 100%;
        height: 100%;
    }
}
@keyframes right-move {
    50%{
        right: 0;
        width: 12px;
        height: 12px;
    }
    100% {
        right: 0;
        border-radius: 20px;
        width: 100%;
        height: 100%;
    }
}
@keyframes right-and-left {
    100% {
        transform: translateX(10px);
    }
}
@keyframes flashing {
    0%, 40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        width: 200%;
        height: 200%;
    }
}
@keyframes change-background {
    0%, 100% {
        background-image: url(../imgs/discount-background1.jpg);
    }
    50% {
        background-image: url(../imgs/discount-background2.jpg);
    }
}
/* End Animation */