/* Start Variables */
:root {
  --main-color: #2196f3;
  --main-color-alt: #1787e0;
  --main-section-padding: 100px;
  --section-background: #ececec;
  --main-transition: 0.3s;
}
/* End Variables */
/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Cairo", sans-serif;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
a {
  text-decoration: none;
}
/* 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 {
  text-transform: uppercase;
  margin: 0 auto 80px;
  border: 2px solid black;
  padding: 10px 20px;
  font-size: 30px;
  width: fit-content;
  position: relative;
  z-index: 1;
  transition: var(--main-transition);
}
.main-title::before,
.main-title::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.main-title::before {
  left: -30px;
}
.main-title::after {
  right: -30px;
}
.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;
}
/* End Global Rules */
/* START Header */
.header {
  box-shadow: 0 0 10px #ddd;
  position: relative;
  background-color: white;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  color: white;
}
.header .container > a {
  font-size: 26px;
  font-weight: bold;
  color: var(--main-color);
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header .container ul {
  display: flex;
  align-items: center;
  font-size: 20px;
}
.header .container .main-nav > li > a {
  padding: 0px 30px;
  color: black;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.header .container .main-nav > li > a::before {
  content: "";
  width: 100%;
  position: absolute;
  background-color: var(--main-color);
  height: 4px;
  top: 0px;
  left: -100%;
  transition: 0.3s;
}
.header .container .main-nav > li:hover > a::before {
  left: 0;
}
.header .container ul {
  height: 100%;
}
.header .container ul li {
  height: 100%;
}
.header .container ul a {
  display: flex;
}
.header .container ul li a:hover {
  color: var(--main-color-alt);
}
.header .container ul li:hover a {
  transition: 0.3s linear;
  background-color: rgba(238, 238, 238, 0.582);
}
@media (max-width: 767px) {
  .header .container .logo {
    width: 100%;
    height: 40px;
  }
  .header .container .main-nav {
    margin: auto;
  }
  .header .container .main-nav > li > a {
    padding: 0px 15px;
    font-size: 15px;
    height: 40px;
  }
}
.header .container .main-nav li:nth-child(4):hover + .other-links {
  opacity: 100;
  top: 102%;
}
.header .container .main-nav .other-links {
  position: absolute;
  top: 200%;
  left: 0px;
  display: flex;
  background-color: white;
  color: #2196f3;
  width: 100%;
  padding: 30px;
  font-weight: bold;
  opacity: 0;
  transition: 0.3s;
  z-index: 1000;
}
.header .container .main-nav .other-links .lists {
  display: flex;
  justify-content: space-around;
  flex: 1;
}
.header .container .main-nav .other-links .image {
  flex: 0.8;
}
.header .container .main-nav .other-links .image img {
  width: 400px;
}
.header .container .main-nav .other-links .lists ul {
  display: flex;
  flex-direction: column;
  width: 40%;
}
.header .container .main-nav .other-links .lists ul li {
  display: flex;
  align-items: center;
  color: #59bee8;
  border-bottom: 1px solid #eee;
  width: 100%;
  font-size: 18px;
  position: relative;
  overflow: hidden;
}
.header .container .main-nav .other-links .lists ul li::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(128, 128, 128, 0.034);
  top: 0;
  left: -100%;
  transition: 0.3s;
}
.header .container .main-nav .other-links .lists ul li:hover::before {
  left: 0;
  transition: 0.3s;
  cursor: pointer;
}
.header .container .main-nav .other-links .lists ul li a:visited {
  color: var(--main-color);
}
.header .container .main-nav .other-links::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--main-color);
  bottom: -4px;
  right: 0;
}
@media (max-width: 991px) {
  .header .container .main-nav .other-links .image,
  .header .container .main-nav .other-links .image img {
    display: none;
  }
  .header .container .main-nav .other-links ul li {
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .header .container .main-nav .other-links .image,
  .header .container .main-nav .other-links .image img {
    display: none;
  }
  .header .container .main-nav .other-links .lists {
    flex-direction: column;
  }
  .header .container .main-nav .other-links ul li {
    padding: 10px;
  }
  .header .container .main-nav .other-links .lists ul {
    width: 100%;
  }
  .header .container .main-nav .other-links {
    padding: 5px;
  }
}

/* END Header */
/* START Landing */
.landing-page {
  height: calc(100vh - 75px);
  position: relative;
}
.landing-page::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  transform: skewy(-10deg);
  top: -120px;
  left: 0px;
  background-color: #ececec;
  z-index: -100;
}
.landing-page .container {
  display: flex;
  align-items: center;
}
.landing-page .container .text {
  flex: 1.1;
}
.landing-page .container .text h1 {
  font-size: 2.5em;
}
.landing-page .container .text p {
  font-size: 25px;
  line-height: 1.7;
  color: #777;
  margin-top: -20px;
}
.landing-page .container .image {
  flex: 1.25;
}
.landing-page .container .image img {
  max-width: 100%;
  position: relative;
  animation-name: fly-top-bottom;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.landing-page .container a.arrow-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%);
  animation: bouncing 1.5s infinite;
}
/* Start animation */
@keyframes fly-top-bottom {
  0% {
    top: -30px;
  }
  25% {
    top: -15px;
  }
  50% {
    top: 0px;
  }
  75% {
    top: -15px;
  }
  100% {
    top: -30px;
  }
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-15px);
  }
}
/* END Animation */
@media (max-width: 991px) {
  .landing-page .container .text {
    text-align: center;
    flex: 0.7793;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
  }
  .landing-page .container .image,
  .landing-page .container .image img {
    display: none;
  }
}
@media (max-width: 768px) {
  .landing-page .container .text {
    flex: 0.7;
    margin-top: 120px;
  }
  .landing-page .container .text h1 {
    font-size: 2em;
    line-height: 1.7;
  }
  .landing-page .container .text p {
    font-size: 20px;
  }
}
/* END Landing */
/* START ARTICLES */
.articles {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.articles .container .gallery-of-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  margin-top: 60px;
  gap: 40px;
}
.articles .container .gallery-of-articles .article {
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 5px 10px 10px #eee;
  transition: 0.3s;
}
.articles .container .gallery-of-articles .article:hover {
  transform: translateY(-10px);
  box-shadow: 0px 5px 5px 5px #eee;
}
.articles .container .gallery-of-articles .article img {
  max-width: 100%;
  margin-bottom: 15px;
}
.articles .container .gallery-of-articles .article h3 {
  margin-bottom: 10px;
  margin-left: 20px;
  margin-right: 20px;
}
.articles .container .gallery-of-articles .article p {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  color: #777;
  line-height: 1.8;
  width: calc(100% - 40px);
}
.articles .container .gallery-of-articles .article hr {
  margin-bottom: 15px;
  background-color: #eee;
  border: 1px solid #eee;
}
.articles .container .gallery-of-articles .article a {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  display: flex;
  align-content: center;
  justify-content: space-between;
  color: var(--main-color);
  font-weight: bold;
}
.articles .container .gallery-of-articles .article:hover a i {
  position: relative;
  animation: left-t-right 0.7s infinite;
}
@keyframes left-t-right {
  10% {
    left: 0px;
  }
  100% {
    left: 10px;
  }
}
/* END ARTICLES */
/* START Features */
.features {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
  text-align: center;
  position: relative;
}
.features .container {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
}
.features .container .content-square {
  overflow: hidden;
  position: relative;
  border: 1px solid #d1d1d1;
}
.features .container .content-square::after {
  content: "";
  width: 130%;
  height: 70%;
  background-color: white;
  position: absolute;
  bottom: 40px;
  left: 1px;
  z-index: 1;
  transform: skewx(45deg) rotate(45deg);
  transition: 0.3s;
}
.features .container .content-square:hover::after {
  transform: skewX(-18deg) rotate(45deg);
}
.features .container .content-square:hover img {
  filter: grayscale(0%);
}
.features .container .content-square img {
  max-width: 100%;
  position: relative;
  display: block;
  z-index: 1;
  filter: blur(2px);
  transition: 0.3s;
}
.features .container .content-square h2 {
  font-weight: bold;
  font-size: 40px;
  position: relative;
  margin-bottom: 40px;
  z-index: 2;
}
.features .container .content-square:first-child h2::before {
  position: absolute;
  content: "";
  width: 90px;
  height: 5px;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%);
  background-color: #f44036;
}
.features .container .content-square:nth-child(2) h2::before {
  position: absolute;
  content: "";
  width: 50px;
  height: 5px;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%);
  background-color: #009688;
}
.features .container .content-square:last-child h2::before {
  position: absolute;
  content: "";
  width: 100px;
  height: 5px;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%);
  background-color: #03a9f4;
}
.features .container .content-square p {
  color: #777;
  font-size: 20px;
  line-height: 1.8;
  padding: 20px;
  position: relative;
  z-index: 2;
}
.features .container .content-square .input {
  background-color: transparent;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.features .container .content-square .input::after {
  position: absolute;
  content: "";
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #f44036;
  top: 0;
  left: -100%;
  transition: 0.3s;
}
.features .container .content-square:nth-child(2) .input::after {
  position: absolute;
  content: "";
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #009688;
  top: 0;
  left: -100%;
  transition: 0.3s;
}
.features .container .content-square:last-child .input::after {
  position: absolute;
  content: "";
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #03a9f4;
  top: 0;
  left: -100%;
  transition: 0.3s;
}
.features .container .content-square:first-child:hover .input::after {
  left: 0;
  border-radius: 5px;
}
.features .container .content-square:nth-child(2):hover .input::after {
  left: 0;
  border-radius: 5px;
}
.features .container .content-square:last-child:hover .input::after {
  left: 0;
  border-radius: 5px;
}

.features .container .content-square .input input {
  padding: 10px 30px;
  font-weight: bold;
  font-size: 20px;
  border: 3px solid;
  border-radius: 5px;
  background-color: transparent;
  position: relative;
  top: 0;
  left: 0;
  z-index: 10;
}
.features .container .content-square:first-child input {
  border: 3px solid #f44036;
  color: #f44036;
  position: relative;
  overflow: hidden;
  z-index: 5;
  transition: 0.3s;
}
.features .container .content-square:hover:first-child input {
  color: white;
}
.features .container .content-square:nth-child(2) input {
  border: 3px solid#009688;
  color: #009688;
}
.features .container .content-square:hover:nth-child(2) input {
  color: white;
}
.features .container .content-square:last-child input {
  border: 3px solid #03a9f4;
  color: #03a9f4;
}
.features .container .content-square:hover:last-child input {
  color: white;
}
/* END Features */
/* START Gallery */
.gallery {
  background-color: var(--section-background);
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.gallery .photos-album {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  justify-content: space-between;
  align-content: space-between;
  gap: 40px;
}
.gallery .photos-album .box {
  padding: 15px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%),
    0px 2px 4px 0px rgb(0 0 0 / 12%);
  position: relative;
  overflow: hidden;
}
.gallery .photos-album .box::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 0;
}
.gallery .photos-album .box:hover::before {
  animation: flashing 0.7s;
}
.gallery .photos-album .box img {
  max-width: 100%;
  transition: var(--main-transition);
}
.gallery .photos-album .box:hover img {
  transform: scale(1.2) rotate(3deg);
}
/* END Gallery */
/* START Testimonails */
.testimonails {
  background-color: var(--section-background);
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.testimonails .avatars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 80px;
}
.testimonails .avatars .box {
  background-color: white;
  position: relative;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%),
    0px 2px 4px 0px rgb(0 0 0 / 12%);
}
.testimonails .avatars .box .image {
  position: absolute;
  background-color: var(--section-background);
  padding: 10px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  top: -50px;
  right: -10px;
}
.testimonails .avatars .box .image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
}
.testimonails .avatars .box h3 {
  margin-bottom: 10px;
}
.testimonails .avatars .box p:first-of-type {
  color: #777;
  margin-bottom: 10px;
}
.testimonails .avatars .box .stars {
  color: gold;
  margin-bottom: 10px;
}
.testimonails .avatars .box .stars .far {
  color: black;
}
.testimonails .avatars .box p:last-of-type {
  color: #777;
  line-height: 1.8;
}
/* END Testimonails */
/* START Team Members */
.team-members {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.team-members .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 90px 30px;
  margin-top: 120px;
}
.team-members .box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--main-transition);
}
.team-members .img {
  width: 80%;
  overflow: hidden;
  transition: var(0.3s);
  border-radius: 15px;
}
.team-members img {
  max-width: 100%;
  filter: grayscale(100%);
  transition: var(--main-transition);
}
.team-members .box:hover img {
  filter: grayscale(0%);
}
.team-members .social {
  display: flex;
  flex-direction: column;
  width: 20%;
  padding: 25px;
}
.team-members i {
  color: gray;
}
.team-members i:hover {
  color: var(--main-color);
}
.team-members i:not(:last-child) {
  padding-bottom: 30px;
}
.team-members .text {
  margin-top: 20px;
  margin-bottom: 20px;
}
.team-members .text h3 {
  margin-bottom: 10px;
  color: gray;
}
.team-members .box:hover .text h3 {
  color: var(--main-color);
}
.team-members .box .back-card {
  position: absolute;
  width: 80%;
  height: 115%;
  background-color: #cfcfcf;
  border-radius: 15px;
  top: -50px;
  right: 0;
  transition: 0.3s;
  overflow: hidden;
  z-index: -2;
  transition: var(--main-transition);
}
.team-members .box .back-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  background-color: #ececec;
  transition: var(--main-transition);
}
.team-members .box:hover .back-card::after {
  right: 0;
}
/* END Team Members */
/* START Services */
.services {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
  background-color: var(--section-background);
}
.services .services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
  margin-top: 70px;
}
.services .services-cards .card {
  position: relative;
  background-color: white;
  padding-top: 40px;
  text-align: center;
  box-shadow: 0px 12px 20px 0 rgb(0 0 0 / 13%), 0px 2px 4px 0 rgb(0 0 0 / 12%);
  transition: var(--main-transition);
  counter-increment: counter-services;
}
.services .services-cards .card:hover {
  transform: translateY(-10px);
}
.services .services-cards .card::before {
  content: "";
  width: 0px;
  height: 3px;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color-alt);
  position: absolute;
  transition: 0.8s;
}
.services .services-cards .card:hover::before {
  width: 100%;
}
.services .services-cards .card i {
  margin-bottom: 20px;
  color: rgb(204, 203, 203);
}
.services .services-cards .card h3 {
  color: var(--main-color-alt);
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 25px;
}
.services .services-cards .card .details {
  color: var(--main-color);
  padding: 17px 15px;
  text-align: right;
  background-color: rgba(238, 238, 238, 0.384);
  position: relative;
}
.services .services-cards .card .details::before {
  content: counter(counter-services);
  color: white;
  position: absolute;
  left: 0px;
  top: 0;
  width: 95px;
  height: 100%;
  background-color: var(--main-color-alt);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
}
.services .services-cards .card .details::after {
  content: "";
  position: absolute;
  left: 85px;
  top: 0;
  width: 30px;
  height: 100%;
  background-color: rgb(204, 203, 203);
  transform: skew(-20deg);
  z-index: 2;
}
/* END Services */
/* START Skills */
.skills {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.skills .container .skills-content {
  display: flex;
  margin-top: 50px;
}
.skills .image {
  flex: 1;
}
.skills .image img {
  max-width: 100%;
}
.skills .prog-holder {
  flex: 1;
}
.skills .prog-holder p {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
}
.skills .prog-holder .prog {
  width: 90%;
  background-color: #eee;
  height: 30px;
  margin-bottom: 20px;
  position: relative;
}
@media (max-width: 991px) {
  .skills .image {
    display: none;
  }
  .skills .prog-holder .prog {
    width: 100%;
  }
}
.skills .prog-holder .prog::before {
  position: absolute;
  content: attr(data-progres);
  top: -40px;
  right: 0px;
  border: 0.5px solid #ccc;
  padding: 3px;
  padding-bottom: 3px;
  border-radius: 5px;
  font-size: 12px;
  color: var(--main-color);
  font-weight: bolder;
}
.skills .prog-holder .prog > span {
  height: 100%;
  display: inline-block;
  height: 100%;
  background-color: var(--main-color-alt);
}
.skills .prog-holder .prog:first-of-type > span {
  width: 80%;
}
.skills .prog-holder .prog:nth-of-type(2) > span {
  width: 85%;
}
.skills .prog-holder .prog:nth-of-type(3) > span {
  width: 70%;
}
.skills .prog-holder .prog:last-of-type > span {
  width: 80%;
}
/* END Skills */
/* startHow-It-Works */
.how-it {
  background-color: var(--section-background);
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.how-it .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}
@media (max-width: 991px) {
  .how-it .container {
    flex-direction: column;
  }
}
.how-it .container > img {
  max-width: 550px;
}
.how-it .steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.how-it .steps .step {
  border: 2px solid white;
  padding: 30px;
  border-radius: 5px;
  background-color: rgb(246, 245, 245);
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.how-it .steps .step::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(119, 119, 119, 0.062);
  z-index: -1;
  transition: 0.3s;
}
.how-it .steps .step:hover::after {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .how-it .steps .step {
    flex-direction: column;
    text-align: center;
  }
  .how-it .container img {
    display: block;
    max-width: 100%;
  }
}
.how-it .steps img {
  max-width: 60px;
}
.how-it .steps h3 {
  margin-bottom: 15px;
  font-size: 22px;
}
.how-it .steps p {
  line-height: 1.8;
  color: #777;
  font-size: 18px;
}
/* endHow-It-Works */
/* start-Events */
.events {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
}
.events .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  justify-content: center;
}
@media (max-width: 991px) {
  .events .container {
    flex-direction: column;
    gap: 50px;
  }
}
.events img {
  width: 450px;
}
@media (max-width: 991px) {
  .events img {
    display: none;
  }
}
.events .right-side {
  flex: 1;
}
@media (max-width: 991px) {
  .events .right-side {
    flex: 1;
  }
}
.events .right-side .counter-time {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}
.events .counter-time .frame {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid #d4d4d4;
  padding: 10px 15px 10px 15px;
  position: relative;
  border-radius: 10px;
}
.events .frame span:first-of-type {
  display: block;
  font-size: 35px;
  font-weight: bold;
  color: var(--main-color);
}
.events .frame hr {
  display: block;
  position: absolute;
  top: 65%;
  left: 50%;
  width: 99%;
  transform: translate(-50%, -50%);
  border: 0.1px solid #d4d4d4;
  height: 0.1px;
}
.events .frame span:last-of-type {
  display: block;
  font-size: 13px;
}

.events .text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.events .text p {
  font-size: 19px;
  font-weight: normal;
  line-height: 1.8;
  color: #777;
}
.events .subscribe {
  width: 80%;
  background-color: #f6f5f5;
  padding: 25px 0px;
  border-radius: 40px;
  margin: auto 0px;
}
.events input[type="text"] {
  display: inline-block;
  width: 60%;
  padding: 20px 20px 20px;
  border-radius: 50px;
  border: 0px;
  caret-color: var(--main-color-alt);
}
.events input[type="text"]:focus {
  outline: none;
}
.events input[type="submit"] {
  display: inline-block;
  background-color: var(--main-color-alt);
  border-radius: 40%;
  border: 0px;
  width: 100px;
  height: 70px;
  color: white;
  font-weight: bold;
  margin-left: 20px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .events .subscribe {
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 10px;
    width: 90%;
  }
  .events input[type="text"] {
    border-radius: 0;
    width: 80%;
  }
  .events input[type="submit"] {
    border-radius: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-top: 20px;
  }
}
/* end-Events */
/* startPricing */
.pricing {
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
  background-color: var(--section-background);
}
.pricing .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.pricing .card {
  background-color: white;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  padding-top: 30px;
  overflow: hidden;
  position: relative;
}
.pricing .card:nth-of-type(2) {
  transform: translateY(-25px);
  position: relative;
}
@media (max-width: 1199px) {
  .pricing .card:nth-of-type(2) {
    transform: translateY(0px);
  }
}
.pricing .card:nth-of-type(2)::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  border-right: 20px solid white;
  border-left: 22px solid transparent;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  top: 109px;
  right: 38px;
  transform: rotate(90deg);
}
.pricing .card:nth-of-type(2)::before {
  content: "Most Popular";
  position: absolute;
  width: 140px;
  height: 40px;
  background-color: var(--main-color-alt);
  top: 0;
  right: 29px;
  display: flex;
  color: white;
  padding: 0px 0px 0px 20px;
  font-weight: bold;
  align-items: center;
  transform: rotate(90deg) translate(50px, -50px);
}
.pricing .card .center {
  text-align: center;
  position: relative;
  z-index: 0;
}
.pricing .card .center::before {
  position: absolute;
  content: "";
  width: 100%;
  height: calc(100% + 30px);
  background-color: #ececec5d;
  top: -30px;
  left: -100%;
  z-index: -1;
  transition: 0.3s;
}
.pricing .card .center::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 425px;
  background-color: #ececec5d;
  bottom: calc(-100% - 200px);
  right: -100%;
  transition: 0.3s;
}
.pricing .card:hover .center::before {
  left: 0px;
}
.pricing .card:hover .center::after {
  right: 0;
}
.pricing .center > p {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 20px;
  position: relative;
}
.pricing .center img {
  max-width: 80px;
  display: block;
  margin: 0px auto 20px;
  position: relative;
}
.pricing .center h4 {
  font-size: 50px;
  color: var(--main-color);
  position: relative;
}
.pricing .center span {
  font-size: 15px;
  color: #777;
  position: relative;
  margin-bottom: 20px;
  display: block;
}
.pricing .container .card > p {
  border-top: 1px solid rgb(238, 238, 238);
  padding: 20px;
  position: relative;
}
.pricing button {
  display: block;
  margin: auto;
  background-color: transparent;
  border-color: var(--main-color);
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: bold;
  color: var(--main-color-alt);
  margin-bottom: 30px;
  position: relative;
  transition: 0.3s;
}
.pricing button:hover {
  cursor: pointer;
  color: white;
  background-color: var(--main-color-alt);
}
/* endPricing */
/* startTopVideos */
.topVideos {
  position: relative;
  padding-bottom: var(--main-section-padding);
  padding-top: var(--main-section-padding);
}
.topVideos .container {
  display: flex;
  border: 1px solid gray;
  padding: 0px;
}
@media (max-width: 991px) {
  .topVideos .container {
    width: 90%;
  }
}
@media (max-width: 991px) {
  .topVideos .container {
    flex-direction: column;
  }
}
.topVideos .slider {
  background-color: #f4f4f4;
  width: 25%;
}
@media (max-width: 991px) {
  .topVideos .slider {
    width: 100%;
  }
}
.topVideos .slider .one {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topVideos .slider .one p {
}
.topVideos .slider i {
}
.topVideos .slider .two {
  padding: 20px;
  background-color: white;
  border-bottom: 1px solid #f4f4f4;
  transition: var(--main-transition);
}
.topVideos .slider .two:hover {
  background-color: #fafafa;
  transition: var(--main-transition);
}
.topVideos .slider .two p {
  margin-bottom: 15px;
  transition: var(--main-transition);
}
.topVideos .slider .two:hover p {
  color: var(--main-color);
}
.topVideos .slider .two span {
  color: #777;
}
.topVideos .video {
  background-color: #e2e2e2;
  width: 75%;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
@media (max-width: 991px) {
  .topVideos .video {
    width: 100%;
  }
}
.topVideos .container img {
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
}
.topVideos .video p {
  background-color: white;
  padding: 20px;
}
/* endTopVideos */
/* startStats */
.stats {
  background-image: url(../imgs/stats.jpg);
  background-size: cover;
  position: relative;
  text-align: center;
}
.stats h2 {
  margin-bottom: 40px;
}
.stats .container {
  background-color: rgba(255, 255, 255, 0.938);
  position: relative;
  width: 100%;
  padding-top: var(--main-section-padding);
  padding-bottom: var(--main-section-padding);
  padding-right: 20px;
  padding-left: 20px;
}
.stats .boxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  justify-content: space-evenly;
}
.stats .boxes .box {
  background-color: white;
  padding-top: 30px;
  padding-bottom: 30px;
  opacity: 0.8;
  transition: var(--main-transition);
  position: relative;
  overflow: hidden;
}
.stats .boxes .box:hover {
  opacity: 1;
}
.stats .boxes .box::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  bottom: -100%;
  left: 0;
  background-color: var(--main-color-alt);
  transition: 0.3s;
}
.stats .boxes .box:hover::before {
  bottom: 0;
}
.stats .boxes .box::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  right: 0;
  top: -100%;
  transition: 0.3s;
  background-color: var(--main-color-alt);
}
.stats .boxes .box:hover::after {
  top: 0;
}
.stats .boxes i {
  margin-bottom: 10px;
}
.stats .boxes span:first-of-type {
  display: block;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 10px;
}
.stats .boxes span:last-of-type {
  display: block;
  font-size: 22px;
  font-weight: bold;
  color: var(--main-color-alt);
}
/* endStats */
/* startDiscount */
.discount {
  display: flex;
}
@media (max-width: 991px) {
  .discount {
    flex-direction: column;
  }
}
.discount .left {
  width: 50%;
  background-position: center;
  background-size: cover;
  animation: background-change 7s infinite;
  position: relative;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 60px;
  padding-right: 80px;
  padding-left: 80px;
  color: white;
}
.discount .left::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--main-color-alt);
  opacity: 0.98;
}
.discount .left h2 {
  position: relative;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 25px;
}
.discount .left p {
  position: relative;
  font-size: 19px;
  line-height: 1.7;
}
.discount .left img {
  position: relative;
  max-width: 300px;
}
@media (max-width: 991px) {
  .discount .left {
    width: 100%;
    padding-right: 25px;
    padding-left: 25px;
    padding-top: 30px;
    padding-bottom: 10px;
  }
  .discount .left h2 {
    font-size: 37px;
  }
}
.discount .right {
  width: 50%;
  text-align: center;
  padding-top: 40px;
}
@media (max-width: 991px) {
  .discount .right {
    width: 100%;
  }
}
.discount .right h2 {
  font-size: 40px;
  letter-spacing: -2.5px;
  margin-bottom: 30px;
}
.discount .right form {
  position: relative;
  display: block;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.discount .right input {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.discount .right input[type="text"] {
  background-color: #f9f9f9;
  border: 0px;
  border-bottom: 1px solid #cccccc;
  padding: 18px 10px;
  margin-bottom: 20px;
  min-width: 300px;
}
.discount .right input[type="text"]:nth-child(4) {
  height: 200px;
}
.discount .right input[type="submit"] {
  background-color: var(--main-color);
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  font-weight: bold;
  border: none;
  font-size: 20px;
}
/* endDiscount */
/* START Animation */
@keyframes background-change {
  from {
    background-image: url(../imgs/discount-background1.jpg);
  }
  to {
    background-image: url(../imgs/discount-background2.jpg);
  }
}
@keyframes left-move {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    left: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}
@keyframes right-move {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    right: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}
@keyframes flashing {
  0%,
  40% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
  }
}
/* END Animation */
