/*---——— Start Global ———---*/
:root {
  --main-color: #2196f3;
  --alt-color: #ececec;
  --section-padding: 60px;
  --transition: 0.3s;
  --gap: 40px;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Cairo", sans-serif;
}
a {
  text-decoration: none;
  color: black;
}
ul {
  list-style: none;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
.main-title {
  text-transform: uppercase;
  font-size: 30px;
  border: 2px solid black;
  width: fit-content;
  padding: 10px 20px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
@media (max-width: 767px) {
  .main-title {
    font-size: 22px;
  }
}
.main-title:hover {
  color: white;
  border: 2px solid white;
  transition-delay: 0.5s;
}
.main-title::before,
.main-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--main-color);
}
.main-title::before {
  left: -30px;
}
.main-title::after {
  right: -30px;
}
.main-title:hover::before {
  z-index: -1;
  animation: go-right 0.5s linear forwards;
}
.main-title:hover::after {
  z-index: -1;
  animation: go-left 0.5s linear forwards;
}
.triangles {
  position: relative;
}
.triangles::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(135deg, white 25%, transparent 25%),
    linear-gradient(225deg, white 25%, transparent 25%);
  background-size: 30px;
}
/*---——— End Global ———---*/
/*---——— Start Responsive Dimensions ———---*/
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1180px;
  }
}
/*---——— End Responsive Dimensions ———---*/
/*---——— Start Header Style ———---*/
.scroller {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background-color: var(--main-color);
  z-index: 3;
}
header {
  background-color: white;
  box-shadow: 0 0 10px #eee;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 767px) {
  header .container {
    justify-content: center;
  }
}
header .logo {
  font-size: 26px;
  font-weight: bold;
  color: var(--main-color);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  header .logo {
    width: 100%;
    height: 50px;
  }
}
header .main-nav {
  display: flex;
}

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

@media (max-width: 767px) {
  header .main-nav > li > a {
    padding: 0 10px;
    font-size: 14px;
    height: 40px;
  }
}
header .main-nav > li > a:hover {
  background-color: #eee;
}

header .main-nav > li > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background-color: var(--main-color);
  transition: var(--transition);
}
header .main-nav > li > a:hover::before {
  left: 0;
}
header .mega-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  top: calc(100% + 50px);
  width: 100%;
  padding: 20px;
  gap: var(--gap);
  background-color: white;
  box-shadow: 0 0 10px #eee;
  border-bottom: 3px solid var(--main-color);
  transition: var(--transition);
}
@media (max-width: 767px) {
  header .mega-menu {
    flex-direction: column;
    gap: 0;
  }
}
header .container .show {
  opacity: 1;
  visibility: visible;
  top: 100%;
  z-index: 2;
}
header .mega-menu img {
  max-width: 100%;
}
@media (max-width: 991px) {
  header .mega-menu .image {
    display: none;
  }
}

header .mega-menu .links {
  min-width: 250px;
  flex: 1;
}
@media (max-width: 767px) {
  header .mega-menu .links {
    width: 100%;
  }
}

header .mega-menu li:not(:last-child) {
  border-bottom: 1px solid #eee;
}
@media (max-width: 767px) {
  header .mega-menu .links:first-of-type li:last-child {
    border-bottom: 1px solid #eee;
  }
}
header .mega-menu li a {
  display: block;
  padding: 20px;
  position: relative;
  font-size: 1.2rem;
  color: var(--main-color);
  transition: var(--transition);
}
@media (max-width: 767px) {
  header .mega-menu li a {
    padding: 10px;
    font-size: 1rem;
  }
}
header .mega-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  background-color: #eee;
  transition: var(--transition);
}
header .mega-menu li a:hover::before {
  width: 100%;
}

header .mega-menu li a i {
  margin-right: 10px;
}
/*---———End Header Style———---*/
/*---———Start Landing Style———---*/
.landing .container {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: calc(100vh - 72px);
  padding-bottom: 100px;
  position: relative;
}
@media (max-width: 767px) {
  .landing .container {
    min-height: calc(100vh - 90px);
  }
}
.landing::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
  height: 100%;
  background-color: var(--alt-color);
  transform: skewY(-6deg);
  transform-origin: top left;
  z-index: -1;
}
.landing .container .text {
  flex: 1;
}
@media (max-width: 767px) {
  .landing .container .text {
    text-align: center;
  }
}
.landing .container .text h1 {
  letter-spacing: -2px;
  font-size: 40px;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .landing .container .text h1 {
    font-size: 28px;
  }
}
.landing .container p {
  font-size: 22px;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 500px;
}
@media (max-width: 767px) {
  .landing .container .text p {
    font-size: 18px;
    margin: auto;
  }
}
.landing .container .image {
  width: 600px;
  flex: 1;
  position: relative;
  animation: up-and-down 5s linear infinite;
}
@media (max-width: 767px) {
  .landing .container .image {
    display: none;
  }
}
.landing .container .image img {
  width: 100%;
  -webkit-filter: drop-shadow(10px 8px 15px rgb(0 0 0 / 65%));
  -moz-filter: drop-shadow(10px 8px 15px rgb(0 0 0 / 65%));
  filter: drop-shadow(10px 8px 15px rgb(0 0 0 / 65%));
}

.landing .bouncing {
  color: var(--main-color);
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
  animation: bouncing 1.5s infinite;
}
.landing .bouncing:hover {
  color: #0068bd;
}
/*---——— End Landing Style ———---*/
/*---——— Start Articles ———---*/
.articles {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.articles .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--gap);
}
.articles .box {
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgb(0, 0, 0, 10%);
  transition: all var(--transition);
}
.articles .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 2px 15px rgb(0, 0, 0, 20%);
}
.articles img {
  max-width: 100%;
}
.articles .content {
  padding: 20px;
}
.articles .content p {
  margin: 10px 0 0;
  line-height: 1.6;
  color: #777;
}
.articles .info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.articles .info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: var(--alt-color);
}

.articles .info a {
  font-weight: bold;
  color: var(--main-color);
}
.articles .info i {
  color: var(--main-color);
}
.articles .box:hover .info i {
  animation: moving-arrow 0.8s linear infinite;
}
/*---——— End Articles ———---*/
/*---——— Start Gallery ———---*/
.gallery {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--alt-color);
}
.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}
.gallery .image {
  padding: 10px;
  background-color: white;
  box-shadow: 0 12px 20px 0 rgb(0, 0, 0, 13%), 0 2px 4px 0 rgb(0, 0, 0, 12%);
}
.gallery .image div {
  overflow: hidden;
  position: relative;
}
.gallery .image div::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  z-index: 2;
}

.gallery .image:hover div::before {
  animation: flash 0.7s;
}
.gallery img {
  max-width: 100%;
  transition: var(--transition);
}
.gallery .image:hover img {
  transform: rotate(5deg) scale(1.2);
}
/*---——— End Gallery ———---*/
/*---——— Start Features ———---*/
.features {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.features .box {
  text-align: center;
  border: 1px solid var(--alt-color);
}
.features .box .image {
  position: relative;
  overflow: hidden;
}
.features .box .image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.features .quality .image::before {
  background-color: rgb(244 64 54 / 60%);
}
.features .time .image::before {
  background-color: rgb(0 150 136 / 60%);
}
.features .passion .image::before {
  background-color: rgb(3 169 244 / 60%);
}
.features .box .image::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-width: 0 0 150px 500px;
  border-style: solid;
  border-color: transparent transparent white transparent;
  transition: var(--transition);
}
.features .box:hover .image::after {
  border-width: 0 500px 150px 0;
  right: -15px;
}
.features .box .image img {
  max-width: 100%;
}
.features .box h3 {
  position: relative;
  width: fit-content;
  margin: 20px auto;
  font-size: 40px;
}
.features .box h3::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 15px;
  width: calc(100% - 30px);
  height: 4px;
}
.features .quality h3::after {
  background-color: rgb(244 64 54);
}
.features .time h3::after {
  background-color: rgb(0 150 136);
}
.features .passion h3::after {
  background-color: rgb(3 169 244);
}
.features .box p {
  margin: 30px 0;
  padding: 20px;
  font-size: 22px;
  line-height: 2;
  color: #777;
}
.features .box a {
  display: block;
  width: fit-content;
  font-size: 22px;
  font-weight: bold;
  margin: 0 auto 30px;
  padding: 10px 30px;
  border-radius: 6px;
  border: 3px solid;
}
.features .quality a {
  color: rgb(244 64 54);
  border-color: rgb(244 64 54);
  background: linear-gradient(to right, rgb(244 64 54) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: var(--transition);
}
.features .quality:hover a {
  color: white;
  background-position: left bottom;
}
.features .time a {
  color: rgb(0 150 136);
  border-color: rgb(0 150 136);
  background: linear-gradient(to right, rgb(0 150 136) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: var(--transition);
}
.features .time:hover a {
  color: white;
  background-position: left bottom;
}
.features .passion a {
  color: rgb(3 169 244);
  border-color: rgb(3 169 244);
  background: linear-gradient(to right, rgb(3 169 244) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: var(--transition);
}
.features .passion:hover a {
  color: white;
  background-position: left bottom;
}
/*---——— End Features ———---*/
/*---——— Start Testimonials ———---*/
.testimonials {
  background-color: var(--alt-color);
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.testimonials .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

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

.testimonials .box img {
  position: absolute;
  right: 0;
  top: -50px;
  width: 100px;
  border-radius: 50%;
  border: 10px solid var(--alt-color);
}
.testimonials .box h3 {
  margin: 0 0 10px;
}
.testimonials .box .title {
  display: block;
  margin: 0 0 10px;
  color: #777;
  font-size: 16px;
}
.testimonials .box .rate {
  margin: 0 0 10px;
}
.testimonials .box .rate .filled {
  color: gold;
}
.testimonials .box p {
  color: #777;
  padding: 0 10px 10px 0;
  line-height: 1.6;
  font-size: 16px;
}
/*---——— End Testimonials ———---*/
/*---——— Start Team Members ———---*/
.team-members {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.team-members .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}
.team-members .box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding-top: 40px;
}
.team-members .box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 60px);
  height: 100%;
  background: var(--alt-color);
  border-radius: 10px;
  z-index: -1;
}
.team-members .box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: #e4e4e4;
  border-radius: 10px;
  transition: var(--transition);
  z-index: -1;
}
.team-members .box:hover::after {
  width: calc(100% - 60px);
}

.team-members .box img {
  width: calc(100% - 60px);
  border-radius: 10px;
  transition: var(--transition);
}
.team-members .box:hover img {
  filter: grayscale(1);
}

.team-members .box .social {
  display: flex;
  flex-direction: column;
  width: 60px;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
  font-size: 16px;
}
.team-members .box .info {
  padding: 20px 80px;
}
.team-members .box h3 {
  color: var(--main-color);
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: bold;
}
/*---——— End Team Members ———---*/
/*---——— Start Services ———---*/
.services {
  background-color: var(--alt-color);
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}
.services .box {
  position: relative;
  background-color: white;
  text-align: center;
  padding: 30px 0 0;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  counter-increment: service;
  transition: var(--transition);
}
.services .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50);
  height: 4px;
  width: 0;
  background-color: var(--main-color);
  transition: var(--transition);
}
.services .box:hover::before {
  width: 100%;
  left: 0;
}
.services .box:hover {
  transform: translateY(-10px);
}
.services i {
  color: #d5d5d5;
  margin-bottom: 20px;
}
.services h3 {
  font-size: 28px;
  color: var(--main-color);
  margin-bottom: 30px;
}
.services .details {
  text-align: end;
  position: relative;
  padding: 10px 20px;
}
.services .details a {
  color: var(--main-color);
}
.services .details::before {
  content: "0" counter(service);
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background-color: var(--main-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  padding: 0 10px 0 0;
}
.services .details::after {
  content: "";
  position: absolute;
  left: 80px;
  top: 0;
  width: 40px;
  height: calc(100% + 0.4px);
  background-color: #d5d5d5;
  transform: skew(-30deg);
}
/*---——— End Services ———---*/
/*---——— Start Our Skills ———---*/
.our-skills {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.our-skills .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
}
@media (max-width: 991px) {
  .our-skills .container {
    flex-direction: column;
  }
}
.our-skills .container img {
  max-width: 100%;
  -webkit-filter: drop-shadow(-15px -5px 15px rgb(0 0 0 / 40%));
  -moz-filter: drop-shadow(-15px -5px 15px rgb(0 0 0 / 40%));
  filter: drop-shadow(-15px -5px 15px rgb(0 0 0 / 40%));
}
.our-skills .skills {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: 100%;
}
.our-skills .skill h3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.our-skills .skill h3 span {
  font-size: 12px;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  display: block;
  padding: 3px;
}
.our-skills .skill .progress {
  width: 100%;
  height: 40px;
  background-color: #ececec;
}
.our-skills .skill .progress span {
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--main-color);
  transition: 1s;
}
/*---——— End Our Skills ———---*/
/*---——— Start How It Works ———---*/
.how-work {
  background-color: var(--alt-color);
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.how-work .container {
  display: flex;
  align-items: center;
  gap: var(--gap);
}
@media (max-width: 991px) {
  .how-work .container {
    flex-direction: column;
  }
}
.how-work .container > img {
  max-width: 100%;
  -webkit-filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
  -moz-filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
  filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
}
.how-work .work {
  flex: 1;
}
.how-work .box {
  background-color: #f6f5f5;
  margin-bottom: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 2px solid white;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  position: relative;
}
.how-work .box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: #ececec;
  transition: var(--transition);
}
.how-work .box:hover::before {
  width: 100%;
  height: 100%;
}

.how-work .box img {
  width: 60px;
  position: relative;
  z-index: 1;
}
.how-work .box .info {
  position: relative;
  z-index: 1;
}
.how-work .box h3 {
  margin-bottom: 10px;
  font-size: 24px;
}
.how-work .box p {
  color: #777;
  line-height: 1.7;
}
/*---——— End How It Works ———---*/
/*---——— Start Events ———---*/
.events {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.events .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .events .container {
    flex-direction: column;
  }
}
.events img {
  max-width: 450px;
  -webkit-filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
  -moz-filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
  filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
}
@media (max-width: 991px) {
  .events img {
    display: none;
  }
}
.events .event {
  flex: 1;
}
.events .event .timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .events .event .timer {
    gap: 5px;
  }
}
.events .event .timer div {
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: var(--transition);
}
.events .event .timer div:hover,
.events .timer div:hover span:first-child {
  border-color: var(--main-color);
}
.events .timer div span {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}
.events .timer div span:first-child {
  border-bottom: 1px solid #ddd;
  padding: 20px 15px;
  font-size: 30px;
  color: var(--main-color);
  transition: var(--transition);
}
.events .timer div span:last-child {
  font-size: 12px;
  padding: 5px;
}
.events .event h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.events .event p {
  text-align: center;
  line-height: 1.7;
  color: #777;
}
.events .subscribe {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 50px auto;
  padding: 20px 30px;
  background-color: var(--alt-color);
  border-radius: 50px;
  gap: 20px;
}
@media (max-width: 767px) {
  .events .subscribe {
    flex-direction: column;
    border-radius: 10px;
  }
}
.events .subscribe input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  border-radius: 50px;
  padding: 10px 20px;
  caret-color: var(--main-color);
}
.events .subscribe input[type="email"]::placeholder {
  transition: var(--transition);
}
.events .subscribe input[type="email"]:focus::placeholder {
  transform: translateX(20px);
  opacity: 0;
}
.events .subscribe input[type="submit"] {
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
@media (max-width: 767px) {
  .events .subscribe input[type="email"],
  .events .subscribe input[type="submit"] {
    border-radius: 10px;
  }
}
.events .subscribe input[type="submit"]:hover {
  background-color: #0068bd;
}
/*---——— End Events ———---*/
/*---——— Start Price ———---*/
.price {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--alt-color);
}
.price .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}
.price .box {
  position: relative;
  background-color: white;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  z-index: 1;
}
@media (min-width: 992px) {
  .price .box.popular {
    transform: translateY(-20px);
  }
}
.price .box::before,
.price .box::after {
  content: "";
  position: absolute;
  width: 0;
  height: 50%;
  background-color: #eee;
  transition: var(--transition);
  z-index: -1;
}
.price .box::before {
  left: 0;
  top: 0;
}
.price .box::after {
  right: 0;
  bottom: 0;
}
.price .box:hover::before,
.price .box:hover::after {
  width: 100%;
}
.price .box .label {
  writing-mode: vertical-rl;
  position: absolute;
  top: 0;
  right: 30px;
  width: 40px;
  padding: 10px;
  font-weight: bold;
  font-size: 18px;
  color: white;
  background-color: var(--main-color);
}
.price .box .label::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--main-color) 25%, transparent 25%),
    linear-gradient(225deg, var(--main-color) 25%, transparent 25%);
}
.price .box h3 {
  font-size: 28px;
  margin-bottom: 30px;
}
.price .box img {
  width: 80px;
  margin-bottom: 30px;
}
.price .box .pay span:first-child {
  display: block;
  color: var(--main-color);
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 5px;
}
.price .box .pay span:last-child {
  font-size: 12px;
  color: #777;
  display: block;
  margin-bottom: 15px;
}
.price .box ul li {
  text-align: start;
  padding: 20px;
  border-top: 1px solid #dddddda4;
}
.price .box ul li::before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  margin-right: 10px;
  font-weight: 900;
  color: var(--main-color);
}
.price .box a {
  display: block;
  width: fit-content;
  margin: 20px auto;
  padding: 15px;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 10px;
  transition: var(--transition);
}
.price .box a:hover {
  background-color: var(--main-color);
  color: white;
}
/*---——— End Price ———---*/
/*---——— Start Videos ———---*/
.videos {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
@media (min-width: 992px) and (max-width: 1199px) {
  .videos .container {
    width: calc(100% - 15px);
  }
}
.videos .holder {
  display: flex;
}
@media (max-width: 991px) {
  .videos .holder {
    flex-direction: column;
  }
}
.videos .list {
  min-width: 300px;
  height: 100%;
  background-color: white;
}
.videos .list .title {
  padding: 30px;
  background-color: #ddd;
  display: flex;
  justify-content: space-between;
}
.videos .list ul li {
  padding: 15px;
  border: 1px solid #eee;
  cursor: pointer;
  transition: var(--transition);
}
.videos .list ul li:hover {
  color: var(--main-color);
}
.videos .list ul li span {
  display: block;
  margin-top: 10px;
  color: #777;
}
.videos .preview {
  max-height: 633.18px;
  padding: 10px;
  background-color: #ddd;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
}
.videos .preview .size {
  display: flex;
  overflow: hidden;
  height: calc(100% - 78px);
}
.videos .preview img {
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
  order: 1;
  transition: var(--transition);
}
.active {
  opacity: 1 !important;
  visibility: visible !important;
  order: -1 !important;
  align-self: center;
}
.videos .preview .info {
  background-color: white;
  padding: 20px;
}
/*---——— End Price ———---*/
/*---——— Start Stats ———---*/
.stats {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--alt-color);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--gap);
}
.stats .stat {
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
}
.stats .stat::before,
.stats .stat::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 0;
  background-color: var(--main-color);
  transition: var(--transition);
}
.stats .stat::before {
  left: 0;
  bottom: 0;
}
.stats .stat::after {
  right: 0;
  top: 0;
}
.stats .stat:hover::before,
.stats .stat:hover::after {
  height: 100%;
}
.stats .stat i {
  margin: auto;
  padding: 30px 0 15px;
}
.stats .stat span {
  display: block;
  margin: auto;
}
.stats .stat .number {
  font-size: 60px;
  font-weight: bold;
  transition: 3s;
}
.stats .stat .text {
  font-size: 24px;
  color: var(--main-color);
  padding: 10px 0 25px;
  letter-spacing: -1px;
  font-style: italic;
}
/*---——— End Stats ———---*/
/*---——— Start Discount ———---*/
.discount {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}
.discount .image {
  flex-basis: 50%;
  background-color: var(--main-color);
  color: white;
  /* height: 100vb; */
}
@media (max-width: 991px) {
  .discount .image {
    flex-basis: 100%;
  }
}
.discount h2 {
  margin: auto;
  padding: 70px 0 35px;
  font-size: 40px;
  letter-spacing: -2px;
}
.discount .image p {
  max-width: 500px;
  margin: auto;
  line-height: 1.7;
  padding: 20px;
}
.discount .image img {
  max-width: 300px;
  margin: 15px 0 40px;
  -webkit-filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
  -moz-filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
  filter: drop-shadow(-7px 5px 10px rgb(0 0 0 / 65%));
}
.discount .form {
  flex-basis: 50%;
  /* height: 100vb; */
}
@media (max-width: 991px) {
  .discount .form {
    flex-basis: 100%;
  }
}
.discount .form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.discount .form input,
.discount .form .input-text {
  width: 70%;
  padding: 15px;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: #eeeeee94;
  outline: none;
  caret-color: var(--main-color);
}
.discount .form .input-text {
  resize: none;
  height: 200px;
}
.discount .form input[type="submit"] {
  color: white;
  background-color: var(--main-color);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  cursor: pointer;
  transition: var(--transition);
}
.discount .form input[type="submit"]:hover {
  background-color: #0068bd;
}
/*---——— End Discount ———---*/
/*---——— Start Footer ———---*/
footer {
  background-color: #191919;
  color: #b9b9b9;
  padding-top: var(--section-padding);
}
@media (max-width: 584px) {
  footer {
    text-align: center;
  }
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--gap);
  margin-bottom: 20px;
}
footer .box h3 {
  color: white;
  font-size: 50px;
  margin: 0 0 20px;
}
footer .box .social {
  display: flex;
  gap: 15px;
}
@media (max-width: 584px) {
  footer .box .social {
    justify-content: center;
  }
}
footer .box .social li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #313131;
  color: #b9b9b9;
  transition: var(--transition);
}

footer .box .social li a.facebook:hover {
  background-color: #1877f2;
}
footer .box .social li a.x:hover {
  background-color: #eee;
}
footer .box .social li a.github:hover {
  background-color: #000;
}
footer .box p {
  margin: 15px 0;
  line-height: 2;
}
footer .links li:not(:last-child) {
  border-bottom: 1px solid #777;
}
footer .links li a {
  color: #b9b9b9;
  display: block;
  padding: 15px 15px 15px 0;
  transition: var(--transition);
}
footer .links li a:hover {
  padding-left: 15px;
  color: white;
}
footer .links li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\F101";
  font-weight: 900;
  margin-right: 10px;
  color: var(--main-color);
}
footer .line {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
@media (max-width: 584px) {
  footer .line {
    flex-direction: column;
  }
}
footer .line i {
  font-size: 25px;
  color: var(--main-color);
  margin-right: 10px;
}
footer .line .info {
  flex: 1;
  line-height: 1.7;
}
footer .line .info span {
  display: block;
}
footer img {
  width: 78px;
  border: 3px solid white;
  margin: 2px;
}
footer > p {
  padding: 20px;
  text-align: center;
  color: white;
  border-top: 2px solid #777;
}
/*---——— End Footer ———---*/
/*---——— Start Videos ———---*/
@keyframes up-and-down {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -50px;
  }
}

@keyframes bouncing {
  0%,
  10%,
  20%,
  30%,
  50%,
  70%,
  80%,
  90%,
  100% {
    bottom: 30px;
  }
  40%,
  60% {
    bottom: 40px;
  }
}

@keyframes go-right {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
@keyframes go-left {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
@keyframes moving-arrow {
  100% {
    transform: translateX(10px);
  }
}
@keyframes flash {
  0%,
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}
/*---——— End Animations ———---*/
