/* start global variables */

:root {
    --main-color: #2196f3;
    --main-color-alt: #1787e0;
    --main-transition: 0.3s;
    --main-padding: 100px;
    --section-background: #ececec;
}


/* end global variables */


/* start global rulse */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

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


/* 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 rulse */


/* start components */

.main_title {
    position: relative;
    margin: 10px auto 80px;
    font-size: 30px;
    font-weight: bold;
    border: 3px solid;
    width: fit-content;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--main-transition);
    text-transform: uppercase;
    z-index: 2;
}

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

.main_title::before {
    left: -30px;
}

.main_title::after {
    right: -30px;
}

.main_title:hover {
    color: #fff;
    border-color: #fff;
    transition-delay: 0.5s;
}

.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;
}


/* start main title animation */

@keyframes left-move {
    50% {
        left: 0;
        width: 12px;
        height: 12px;
    }
    100% {
        border-radius: 0;
        left: 0;
        width: 51%;
        height: 100%;
    }
}

@keyframes right-move {
    50% {
        right: 0;
        width: 12px;
        height: 12px;
    }
    100% {
        border-radius: 0;
        right: 0;
        width: 51%;
        height: 100%;
    }
}


/* end main title animation */


/* scroll to top button */

.go_to_top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #03a9f4;
    color: #fff;
    overflow: hidden;
    border-radius: 50%;
    z-index: 100;
}

.go_to_top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    background-color: var(--main-color-alt);
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: var(--main-transition);
}

.go_to_top:hover::before {
    left: 0;
}


/* scroll to top button */

.separator {
    position: relative;
}

.separator::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(135deg, #fff 25%, transparent 25%), linear-gradient(225deg, #fff 25%, transparent 25%);
    background-size: 30px;
}

.dots_up {
    position: absolute;
    top: 50px;
    right: 0px;
}

.dots_down {
    position: absolute;
    bottom: 50px;
    left: 1px;
}

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


/* end components */


/* start header */

.header {
    background-color: #fff;
    -webkit-box-shadow: 0 0 10px #ddd;
    -ms-box-shadow: 0 0 10px #ddd;
    -moz-box-shadow: 0 0 10px #ddd;
    -o-box-shadow: 0 0 10px #ddd;
    box-shadow: 0 0 10px #ddd;
    position: relative;
}

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

.header .logo {
    font-size: 25px;
    font-weight: 700;
    color: var(--main-color);
    height: 73px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width:767px) {
    .header .logo {
        width: 100%;
    }
}

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

@media (max-width:767px) {
    .header .mun-nav {
        margin: auto;
    }
}

.header .mun-nav>li>a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 73px;
    padding: 0 30px;
    color: #000;
    position: relative;
    font-size: 18px;
    transition: var(--main-transition);
    overflow: hidden;
}

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

.header .mun-nav>li>a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    top: 0;
    left: -100%;
    transition: var(--main-transition);
}

@media (max-width:767px) {
    .header .mun-nav>li>a::before {
        height: 3px;
    }
}

.header .mun-nav>li>a:hover {
    color: var(--main-color);
    background-color: #fafafa;
}

.header .mun-nav>li>a:hover::before {
    left: 0;
}


/* start megamenu */

.header .mega_menu {
    width: 100%;
    position: absolute;
    left: 0;
    padding: 30px;
    background-color: #fff;
    display: flex;
    z-index: -1;
    gap: 40px;
    border-bottom: 3px solid var(--main-color);
    top: calc(100% + 50px);
    opacity: 0;
    transition: top var(--main-transition), opacity var(--main-transition);
}

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

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

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

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

.header .mega_menu .links {
    min-width: 240px;
    flex: 1;
}

.header .mega_menu .links li {
    position: relative;
    overflow: hidden;
}

.header .mega_menu .links li::before {
    content: '';
    position: absolute;
    background: whitesmoke;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    z-index: -1;
    transition: all var(--main-transition);
}

.header .mega_menu .links li:hover::before {
    left: 0;
}

.header .mega_menu .links li::after {
    content: '';
    position: absolute;
    background: var(--main-color);
    width: 100%;
    height: 3px;
    bottom: 0;
    left: -100%;
    z-index: -1;
    transition: all var(--main-transition);
}

.header .mega_menu .links li:hover::after {
    left: 0;
}

.header .mega_menu .links li a {
    display: block;
    padding: 15px;
    color: var(--main-color);
    font-size: 18px;
    font-weight: bold;
}

.header .mega_menu .links li a i {
    margin-right: 10px;
}


/* end megamenu */


/* end header */


/* start landing */

.landing {
    position: relative;
}

.landing::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: -25px;
    left: 0;
    background-color: #ececec;
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: top left;
}

.landing .container {
    display: flex;
    height: calc(100vh - 73px);
    align-items: center;
    padding-bottom: 120px;
}

.landing .container .text {
    flex: 1;
}

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

.landing .container .text h1 {
    font-size: 40px;
    letter-spacing: -1px;
    margin: 0;
}

.landing .container .text p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 500px;
    color: #5a5a5a;
    margin: 5px 0 0;
}

@media (max-width:767px) {
    .landing .container .text h1 {
        font-size: 28px;
    }
    .landing .container .text p {
        font-size: 15px;
        margin: 10px auto;
    }
}

@media (max-width:991px) {
    .landing .container .text p {
        margin: 10px auto;
    }
}

.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(-50%);
    transition: var(--main-transition);
    animation: bouncing 1.5s infinite linear;
}

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


/* 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);
    }
}


/* end animation */


/* end landing */


/* start articles */

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

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

.articles .container .box {
    box-shadow: 0 2px 15px #0000001a;
    background-color: #fff;
    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 #00000033;
}

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

.articles .box .content {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.articles .box .content p {
    color: #777;
    margin-top: 10px;
    line-height: 1.5;
}

.articles .box .info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    color: var(--main-color);
}

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

.articles .box:hover .info i {
    animation: right-mo 0.7s infinite linear;
}

@keyframes right-mo {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(7px);
    }
}


/* end articles */


/* start gellary */

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

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

.gellary .container .box {
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 15px #0000003d;
}

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

.gellary .box .image {
    position: relative;
    overflow: hidden;
}

.gellary .box .image::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2;
}

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

.gellary .box .image:hover img {
    transform: rotate(5deg) scale(1.1);
}

@keyframes flashing {
    0%,
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        width: 200%;
        height: 200%;
    }
}


/* end gellary */


/* start features */

.features {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #fff;
}

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

.features .box {
    box-shadow: 0 2px 10px #ddd;
}

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

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

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

.features .box .image::after {
    content: "";
    position: absolute;
    background: white;
    width: 102%;
    height: 57%;
    bottom: -125px;
    left: 0px;
    transform: skewY(-23deg);
    transition: var(--main-transition);
}

.features .box .image:hover::after {
    transform: skewY(23deg);
}

.features .red .image::before {
    background-color: rgba(244, 67, 54, 0.5);
}

.features .green .image::before {
    background-color: rgba(0, 150, 135, 0.5);
}

.features .blue .image::before {
    background-color: rgba(3, 168, 244, 0.5);
}

.features .text {
    text-align: center;
    padding: 20px;
}

.features .text h3 {
    font-size: 40px;
    margin: 30px auto;
    width: fit-content;
    padding-bottom: 10px;
    position: relative;
}

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

.features .red .text h3::before {
    background-color: #f44336;
}

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

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

.features .text p {
    color: #777;
    line-height: 1.7;
    font-weight: 800;
}

.features .box .button {
    position: relative;
    text-align: center;
    margin: 40px auto;
    padding: 15px 30px;
    border: 3px solid;
    width: fit-content;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
    overflow: hidden;
    z-index: 100;
}

.features .red .button {
    color: #f44336;
    border-color: #f44336;
}

.features .green .button {
    color: #009688;
    border-color: #009688;
}

.features .blue .button {
    color: #03a9f4;
    border-color: #03a9f4;
}

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

.features .red .button::before {
    background-color: #f44336;
}

.features .green .button::before {
    background-color: #009688;
}

.features .blue .button::before {
    background-color: #03a9f4;
}

.features .button:hover {
    color: #fff;
    transition-delay: 0.1s;
}

.features .button:hover::before {
    left: 0;
}


/* end features */


/* start testimonials */

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

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

.testimonials .box {
    padding: 20px;
    background: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgb(0 0 0 / 7%);
}

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

.testimonials .box h3 {
    margin-bottom: 15px;
}

.testimonials .box span {
    color: #777;
}

.testimonials .box .rate {
    margin: 15px 0;
}

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

.testimonials .box p {
    color: #777;
    line-height: 1.5;
}


/* end testimonials */


/* start team  */

.team {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #fff;
}

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

.team .container .box {
    position: relative;
    z-index: 1;
}

.team .container .box::before,
.team .container .box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    z-index: -1;
    border-radius: 15px;
    transition: var(--main-transition);
}

.team .container .box::before {
    width: calc(100% - 60px);
    background-color: var(--section-background);
}

.team .container .box::after {
    width: 0;
    background-color: #dbdbdb;
}

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

.team .box .data {
    display: flex;
    align-items: center;
    padding-top: 60px;
}

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

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

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

.team .box .social a {
    width: 60px;
    height: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.team .box .social i {
    color: #777;
    transition: var(--main-transition);
}

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

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

.team .box .info h3 {
    margin: 15px 0px;
    color: var(--main-color);
    font-size: 22px;
}

.team .box:hover h3 {
    color: #777;
}

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


/* end team  */


/* start services */

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

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

.services .box {
    background-color: #fff;
    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);
    counter-increment: services;
}

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

.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:hover::before {
    width: 100%;
}

.services .box i {
    color: #d5d5d5;
    text-align: center;
    margin: 30px auto 20px;
    display: block;
}

.services .box h3 {
    font-size: 22px;
    text-align: center;
    margin: 30px auto;
    color: var(--main-color);
}

.services .box .info {
    padding: 15px;
    background: #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;
    height: 100%;
    width: 80px;
    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;
    top: 0;
    left: 80px;
    width: 50px;
    height: calc(100% + 0.4px);
    transform: skewX(-30deg);
}

.services .error .info::after {
    height: calc(100% + 0.4px);
}

.services .box .info a {
    color: var(--main-color);
}


/* end services */


/* start skills  */

.skills {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #fff;
}

.skills .container {
    display: flex;
    justify-content: space-between;
}

@media (max-width:1200px) {
    .skills .container .image {
        display: none;
    }
}

.skills .container .prog {
    flex: 1;
    text-align: center;
}

.skills .container .prog .html,
.skills .container .prog .css,
.skills .container .prog .js,
.skills .container .prog .python {
    position: relative;
    height: 35px;
    width: calc(100% - 60px);
    background-color: #d5d5d5;
    margin: 60px auto;
}

.skills .container .prog div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--main-color);
}

.skills .container .prog .html::before {
    width: 80%;
}

.skills .container .prog .css::before {
    width: 85%;
}

.skills .container .prog .js::before {
    width: 70%;
}

.skills .container .prog .python::before {
    width: 85%;
}

.skills .container .prog div::after {
    content: '';
    position: absolute;
    top: -45px;
    right: 5px;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    padding: 4px;
    color: var(--main-color);
    font-weight: bold;
}

.skills .container .prog .html::after {
    content: '80%';
}

.skills .container .prog .css::after {
    content: '85%';
}

.skills .container .prog .js::after {
    content: '70%';
}

.skills .container .prog .python::after {
    content: '85%';
}

.skills .prog div span {
    position: absolute;
    font-size: 18px;
    top: -35px;
    left: 0;
    text-transform: uppercase;
    font-weight: bolder;
}


/* end skills  */


/* start work steps */

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

.work_steps .container {
    display: flex;
    justify-content: space-between;
}

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

.work_steps .container .image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.work_steps .container .image img {
    max-width: 100%;
    margin: 0 0 50px;
}

.work_steps .container .steps .box {
    max-width: 700px;
    position: relative;
    margin: 10px auto 40px;
    padding: 30px;
    border-radius: 6px;
    background-color: #f6f5f5;
    border: 2px solid white;
    display: flex;
    align-items: center;
    z-index: 1;
}

@media (max-width:767px) {
    .work_steps .container .steps .box {
        flex-direction: column;
        text-align: center;
    }
}

.work_steps .container .steps .box::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: #cbcbcb66;
    z-index: -1;
    transition: var(--main-transition);
}

.work_steps .container .steps .box:hover::before {
    width: 100%;
    height: 100%;
}

.work_steps .steps .box img {
    width: 60px;
    margin-right: 30px;
    margin-left: 30px;
}

.work_steps .steps .box h3 {
    font-size: 22px;
    margin: 15px auto;
}

.work_steps .steps .box p {
    font-size: 21px;
    line-height: 1.7;
    color: #777;
    margin: 15px auto;
}

@media (max-width:767px) {
    .work_steps .steps .box h3 {
        font-size: 18px;
    }
    .work_steps .steps .box p {
        font-size: 15px;
    }
}


/* end work steps */


/* start events */

.events {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #fff;
    position: relative;
}

.events .dots_up {
    position: absolute;
    top: 50px;
    right: 0px;
}

.events .dots_down {
    position: absolute;
    bottom: 50px;
    left: 1px;
}

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

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

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

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

.events .container .info {
    flex: 1;
}

.events .container .info .time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.events .container .info .time .unit {
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    width: 75px;
    text-align: center;
    transition: var(--main-transition);
    cursor: pointer;
}

.events .container .info .time .unit span {
    display: block;
}

.events .container .info .time .unit span:first-child {
    font-size: 35px;
    color: var(--main-color);
    font-weight: 500;
    padding: 15px;
}

.events .container .info .time .unit span:last-child {
    font-size: 13px;
    padding: 8px;
    border-top: 1px solid #d4d4d4;
    transition: var(--main-transition);
}

.events .container .info .time .unit:hover,
.events .container .info .time .unit:hover span:last-child {
    border-color: var(--main-color);
}

.events .container .info h2.title {
    margin: 40px 0 0;
    font-size: 30px;
    text-align: center;
}

.events .container .info p.description {
    margin: 30px 0 0;
    line-height: 1.7;
    color: #777;
    font-size: 19px;
    text-align: center;
}

.events .container .subscribe {
    width: 100%;
}

.events .container .subscribe form {
    width: 600px;
    margin: 30px auto;
    padding: 30px 20px;
    border-radius: 50px;
    background-color: #f5f5f5;
    display: flex;
    gap: 10px;
}

@media (max-width:767px) {
    .events .container .subscribe form {
        flex-direction: column;
        max-width: 100%;
        border-radius: 0;
    }
}

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

.events .container .subscribe form input[type="email"]:focus {
    outline: none;
}

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

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

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

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

@media (max-width:767px) {
    .events .container .subscribe form input[type="email"],
    .events .container .subscribe form input[type="submit"] {
        border-radius: 5px;
    }
}


/* end events */


/* start pricing */

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

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

.pricing .container .box {
    background-color: white;
    padding: 15px;
    position: relative;
    text-align: center;
    box-shadow: 0 2px 15px rgb(0 0 0 / 9%);
    z-index: 1;
}

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

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

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

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

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

.pricing .container .box.popular .label {
    position: absolute;
    padding: 10px 10px 35px 10px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    writing-mode: vertical-lr;
    top: 0;
    right: 20px;
    width: 40px;
}

.pricing .container .box.popular .label::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: 0;
    border: 20px solid;
    border-color: transparent transparent white transparent;
}

.pricing .container .box img {
    width: 80px;
    margin: 0 auto 40px;
}

.pricing .container .box .title {
    margin: 30px auto;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: -1px;
}

.pricing .container .box .num span:first-child {
    display: block;
    font-size: 60px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 5px;
}

.pricing .container .box .num span:last-child {
    color: #777;
    margin-bottom: 20px;
    display: block;
    font-size: 15px;
}

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

.pricing .box ul li {
    padding: 20px;
    border-top: 1px solid #eee;
}

.pricing .box ul li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    margin-right: 10px;
    color: var(--main-color);
}

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

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


/* end pricing */


/* start video  */

.video {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-color: #fff;
}

.video .container .holder {
    display: flex;
    justify-content: center;
    background-color: var(--section-background);
    border: 1px solid #ddd;
}

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

.video .holder .list {
    min-width: 300px;
    background-color: white;
}

.video .holder .list .list_title {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f4f4f4;
    color: var(--main-color);
    font-weight: bold;
}

.video .holder .list ul li {
    padding: 20px;
    border-top: 1px solid var(--section-background);
    transition: var(--main-transition);
    cursor: pointer;
}

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

.video .holder .list ul li span {
    display: block;
    margin-top: 10px;
}

.video .container .preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.video .container .preview img {
    max-width: 100%;
}

.video .container .preview .info {
    padding: 20px;
    background-color: white;
    margin-top: 10px;
}


/* end video  */


/* start stats/ */

.stats {
    padding-top: var(--main-padding);
    padding-bottom: var(--main-padding);
    background-image: url(/images/stats.jpg);
    background-size: cover;
    min-height: 300px;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
}

.stats h2.title {
    position: relative;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 50px;
    width: fit-content;
}

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

.stats .container .box {
    padding: 20px 30px;
    background-color: white;
    opacity: 0.8;
    text-align: center;
    position: relative;
    transition: var(--main-transition);
    min-height: 200px;
    box-shadow: 0 2px 15px rgb(0 0 0 / 9%);
}

.stats .container .box::before,
.stats .container .box::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 0;
    background-color: var(--main-color);
    transition: var(--main-transition);
}

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

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

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

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

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

.stats .container .box i {
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.stats .container .box .number {
    display: block;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 10px;
}

.stats .container .box .text {
    font-style: italic;
    font-size: 20px;
    color: var(--main-color);
    font-weight: bold;
    margin: 0 auto 10px;
}


/* end stats/ */


/* start discount */

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

.discount .image {
    background-image: url(./images/discount-background1.jpg);
    background-size: cover;
    color: white;
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: change-backgound 5s linear infinite;
}

.discount .image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(23 135 224 / 97%);
    z-index: -1;
}

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

.discount .content {
    text-align: center;
    padding: 0 30px;
}

.discount .image .content h2 {
    font-size: 40px;
    margin: 10px auto 40px;
}

.discount .image .content p {
    line-height: 1.7;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 40px;
    max-width: 500px;
}

.discount .image .content img {
    width: 300px;
    max-width: 100%;
}

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

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

.discount .form .content h2 {
    font-size: 40px;
    margin: 10px auto 40px;
}

.discount .form .content .input {
    display: block;
    margin: 30px auto;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 20px;
    width: 100%;
    background-color: #f6f6f6;
    caret-color: var(--main-color);
    transition: var(--main-transition);
}

.discount .form .content .input:focus {
    outline: none;
    border-bottom: 2px solid var(--main-color);
}

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

.discount .form .content .input::placeholder {
    transition: var(--main-transition);
}

.discount .form .content .input:focus::placeholder {
    opacity: 0;
}

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

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

@keyframes change-backgound {
    0%,
    100% {
        background-image: url(../images/discount-background1.jpg);
    }
    50% {
        background-image: url(../images/discount-background2.jpg);
    }
}


/* end discount */


/* start footer  */

.footer {
    background-color: #191919;
    padding: 70px 0 0;
}

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

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

.footer .box h2 {
    color: white;
    font-size: 40px;
    font-weight: bold;
    margin: 0 0 20px;
}

.footer .box .social {
    display: flex;
}

@media (max-width:767px) {
    .footer .box .social {
        justify-content: center;
    }
}

.footer .box .social li {
    margin-right: 10px;
}

.footer .box .social a {
    background-color: #313131;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-bottom: 15px;
    border-radius: 6px;
    transition: var(--main-transition);
}

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

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

.footer .box .social a:hover.instagram {
    background: linear-gradient(to right, #da4453, #89216b);
}

.footer .box .text {
    font-size: 18px;
    line-height: 1.7;
    color: #b9b9b9;
}

.footer .box .links li {
    padding: 15px 0;
    transition: var(--main-transition);
}

.footer .box .links li:hover {
    padding-left: 10px;
}

.footer .box .links li:hover a {
    color: white;
}

.footer .box .links li:not(:last-child) {
    border-bottom: 1px solid #444;
}

.footer .box .links a {
    color: #b9b9b9;
    position: relative;
    transition: var(--main-transition);
}

.footer .box .links 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: #9d9d9d;
    margin-bottom: 20px;
}

@media (max-width:767px) {
    .footer .box .line {
        flex-direction: column;
        margin-bottom: 30px;
    }
}

.footer .box .line i {
    font-size: 30px;
    color: var(--main-color);
    margin-right: 10px;
}

@media (max-width:767px) {
    .footer .box .line i {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.footer .box .line .info {
    line-height: 1.7;
    flex: 1;
}

.footer .box .line span {
    display: block;
}

.footer .footer-gallery img {
    width: 78px;
    border: 3px solid white;
    margin: 3px;
}


/* end footer  */


/* start copyright */

.copyright {
    color: white;
    text-align: center;
    margin: 30px 0 0;
    padding: 20px 0;
    border-top: 1px solid #444;
}

.copyright span {
    color: red;
}


/* end copyright */
