/* Start Global Rules */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
ul {
  list-style: none;
}
body {
  font-family: "Cairo", sans-serif;
  text-transform: capitalize;
}
a {
  text-decoration: none;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 767px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End Global Rules */
/* Start Variables */
:root {
  --main-color: #2196f3;
  --secondary-color: #1787e0;
  --text-color: #777;
  --section-background: #ececec;
  --main-transition-duration: 0.4s;
  --main-line-heigtht: 1.8;
  --padding-top: 100px;
  --padding-bottom: 100px;
  --main-box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%),
    0 2px 4px 0 rgb(0 0 0 / 12%);
}
/* End Variables */
/* Main Component */
.main-heading {
  margin: 0 auto 80px;
  border: 2px solid black;
  width: fit-content;
  padding: 10px 20px;
  font-weight: bold;
  position: relative;
  z-index: 2;
}
.main-heading::before,
.main-heading::after {
  content: "";
  height: 12px;
  width: 12px;
  background: var(--main-color);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.main-heading::before {
  left: -20px;
}
.main-heading::after {
  right: -20px;
}
.main-heading:hover {
  color: white;
  border: 2px solid white;
  border-radius: 10px;
  transition-delay: 0.5s;
}
.main-heading:hover::before {
  z-index: -1;
  animation: to-right 0.5s linear forwards;
}
.main-heading:hover::after {
  z-index: -1;
  animation: to-left 0.5s linear forwards;
}
.spikes {
  position: relative;
}
.spikes::after {
  content: "";
  position: absolute;
  right: 0;
  height: 30px;
  width: 100%;
  background-image: linear-gradient(135deg, white 25%, transparent 25%),linear-gradient(225deg, white 25% , transparent 25%);
  background-size: 30px 30px;
}
.dots {
  background-image: url('../img/dots.png');
  background-repeat: no-repeat;
  width: 204px;
  height: 186px;
  position: absolute;
}
.dots-up {
  top: 100px;
  left: 0;
}
.dots-bottom {
  bottom: 100px;
  right: 0;
}
@media (max-width: 767px) {
  .dots {
    display: none;
  }
}
/* End Component */
/* Start Header */
header {
  box-shadow: 0 0 10px #ddd;
  background-color: white;
}
header .container {
  position: relative;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
}
header .container > a {
  font-size: 30px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--main-color);
}
header .container ul {
  display: flex;
}
header .container > ul > li > a {
  height: 72px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 30px;
  color: black;
}
header .container > ul > li:hover .mega-menu {
  opacity: 1;
  z-index: 100;
  top: calc(100% + 1px);
}
header .container > ul > li header .container > ul > li > a:hover {
  background-color: #fafafa;
}
header .container > ul > li > a::before {
  content: "";
  width: 100%;
  height: 4px;
  position: absolute;
  background: var(--main-color);
  top: 0;
  left: -100%;
  transition: var(--main-transition-duration);
}
header .container > ul > li:hover > a:before {
  left: 0;
}
header .container > ul > li:hover > a {
  color: var(--main-color);
}
header .mega-menu {
  position: absolute;
  background-color: white;
  left: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  padding: 30px;
  border-bottom: 2px solid var(--main-color);
  top: calc(100% + 50px);
  gap: 40px;
  z-index: -1;
  opacity: 0;
  transition: var(--main-transition-duration);
}
header .mega-menu .image img {
  max-width: 100%;
}
header .mega-menu .links {
  display: flex;
  flex-flow: column;
  min-width: 250px;
  flex: 1;
}
header .mega-menu .links li {
  position: relative;
}
header .mega-menu .links li:not(:last-child) {
  border-bottom: 1px solid #e9e6e6;
}
header .mega-menu .links li::before {
  content: "";
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  background: #fafafa;
  z-index: -1;
  transition: var(--main-transition-duration);
}
header .mega-menu .links li:hover::before {
  width: 100%;
}
header .mega-menu .links li a {
  display: block;
  padding: 15px;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 700;
}
@media (max-width: 767px) {
  header .container > a {
    width: 100%;
    text-align: center;
    height: 50px;
    font-size: 26px;
  }
  header .container > ul {
    margin: auto;
  }
  header .container > ul > li > a {
    padding: 10px;
    font-size: 15px;
  }
  header .mega-menu {
    flex-flow: column;
    gap: 0;
    padding: 5px;
  }
  header .mega-menu .links:first-of-type li:last-child {
    border-bottom: 1px solid #e9e6e6;
  }
}
@media (max-width: 991px) {
  header .mega-menu .image {
    display: none;
  }
}
/* End Header */

/* Start Landing */
.landing {
  position: relative;
}
.landing::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  transform: skewY(-6deg);
  transform-origin: top left;
  background-color: #ececec;
  z-index: -1;
}
.landing .container {
  height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}
.landing .text {
  flex: 1;
  letter-spacing: -1px;
}
.landing .text h1 {
  line-height: 2;
  font-size: 40px;
  margin: 0;
  min-width: 440px;
}
.landing .text p {
  color: #666;
  max-width: 500px;
  margin: 5px 0 0;
  font-size: 21px;
  line-height: var(--main-line-heigtht);
}
.landing .image {
  width: 600px;
}
.landing .image img {
  max-width: 100%;
  animation: topDown 5s infinite alternate;
}
.landing > a > i {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--main-color);
  transition: var(--main-transition-duration);
  animation: bouncing 2s infinite alternate;
}
.landing > a > i:hover {
  color: var(--secondary-color);
}
@media (max-width: 991px) {
  .landing .container {
    flex-flow: column;
    align-items: center;
    padding-top: 80px;
  }
  .landing .container .image {
    order: -1;
    max-width: 450px;
    margin-bottom: 40px;
  }
  .landing .container .text h1 {
    text-align: center;
    font-size: 34px;
  }
  .landing .container .text p {
    font-size: 18px;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .landing .container {
    padding-top: 140px;
  }
  .landing .container .image {
    max-width: 350px;
  }
  .landing .container .text h1 {
    font-size: 28px;
    max-width: 240px;
    margin: auto;
  }
  .landing .container .text p {
    font-size: 16px;
    max-width: 300px;
    margin: auto;
  }
}
/* End Landing */
/* Start Article */
.articles {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
  background-color: white;
}
.articles .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
.articles .container .box {
  box-shadow: var(--main-box-shadow);
  transition: var(--main-transition-duration);
  overflow: hidden;
  border-radius: 10px;
}
.articles .container .box:hover {
  box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
  transform: translateY(-20px);
}
.articles .container .box img {
  max-width: 100%;
}
.articles .container .box .content {
  padding: 20px;
}
.articles .container .box .content h3 {
  margin: 0;
}
.articles .container .box .content p {
  margin: 20px 0;
  color: var(--text-color);
  line-height: var(--main-line-heigtht);
}
.articles .container .box .content .text {
  border-top: 2px solid #e6e6e7;
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.articles .container .box .content .text a {
  color: var(--main-color);
  font-weight: bold;
}
.articles .container .box .content .text i {
  color: var(--main-color);
}
.articles .container .box:hover .content .text i {
  animation: moving 0.6s linear infinite alternate;
}
/* End Article */

/* Start Gallary */
.gallery {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: var(--section-background);
  z-index: -33;
}
.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.gallery .container .box {
  padding: 10px;
  background-color: white;
  box-shadow: var(--main-box-shadow);
}
.gallery .container .image {
  overflow: hidden;
  position: relative;
}
.gallery .container img {
  max-width: 100%;
  transition: var(--main-transition-duration);
  z-index: -1;
}
.gallery .container .image::before {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255, 0.2);
  opacity: 0;
  z-index: 2;
}
.gallery .container .image:hover::before {
  animation: fadding 0.6s;
}
.gallery .container .image:hover img {
  transform: rotate(5deg) scale(1.1);
}
/* End Gallary */
/* Start Feature */
.feature {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
  background-color: white;
}
.feature .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.feature .container .box {
  border: 2px solid #ccc;
  text-align: center;
  border-radius: 10px;
}
.feature .container .box .image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.feature .container .box .image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.feature .container .box .image::after {
  content: "";
  position: absolute;
  content: "";
  position: absolute;
  border: solid;
  border-color: transparent transparent white transparent;
  border-width: 0 0 100px 500px;
  z-index: 2;
  right: 0;
  bottom: 0;
  transition: var(--main-transition-duration);
}
.feature .container .box:hover .image::after {
  border-width: 0 700px 150px 0;
}
.feature .container .box .content h3 {
  margin: 40px auto 0;
  font-size: 40px;
  width: fit-content;
  position: relative;
}
.feature .container .box .content h3::after {
  content: "";
  position: absolute;
  height: 5px;
  width: calc(100% - 30px);
  bottom: -10px;
  left: 15px;
  border-radius: 5px;
}
.feature .container .box .content p {
  font-size: 18px;
  color: var(--text-color);
  margin: 30px auto 30px;
  line-height: var(--main-line-heigtht);
  padding: 20px;
}
.feature .container .box .content a {
  display: block;
  margin: 0 auto 30px;
  padding: 10px 30px;
  border: 2px solid;
  width: fit-content;
  border-radius: 10px;
  font-weight: bold;
  font-size: 20px;
}
.feature .container .quality .image::before {
  background-color: rgb(244, 64, 54, 0.4);
}
.feature .container .quality h3::after {
  background-color: #f44036;
}
.feature .container .quality a {
  border-color: #f44036;
  color: #f44036;
  background: linear-gradient(to right, #f44036 50%, white 50%);
}
.feature .container .time .image::before {
  background-color: rgb(0, 150, 136, 0.4);
}
.feature .container .time h3::after {
  background-color: rgb(0, 150, 136);
}
.feature .container .time a {
  border-color: rgb(0, 150, 136);
  color: rgb(0, 150, 136);
  background: linear-gradient(to right, rgb(0, 150, 136) 50%, white 50%);
}
.feature .container .passion .image::before {
  background-color: rgb(3, 166, 242, 0.4);
}
.feature .container .passion h3::after {
  background-color: #03a9f4;
}
.feature .container .passion a {
  border-color: #03a9f4;
  color: #03a9f4;
  background: linear-gradient(to right, #03a9f4 50%, white 50%);
}
.feature .container .quality .image::before,
.feature .container .time .image::before,
.feature .container .passion .image::before {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}
.feature .container .quality a,
.feature .container .time a,
.feature .container .passion a {
  background-size: 200% 100%;
  background-position: right bottom;
  transition: var(--main-transition-duration);
}
.feature .container .quality:hover a,
.feature .container .time:hover a,
.feature .container .passion:hover a {
  background-position: left bottom;
  color: white;
}
.feature .container .box .image img {
  width: 100%;
}
/* End Feature */
/* Start Testimonials */
.testimonials {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: var(--section-background);
  z-index: -33;
}
.testimonials .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.testimonials .container .box {
  padding: 20px;
  background: white;
  position: relative;
  box-shadow: var(--main-box-shadow);
}
.testimonials .container .box img {
  width: 90px;
  height: 90px;
  border: 10px solid var(--section-background);
  border-radius: 50%;
  position: absolute;
  top: -50px;
  right: -30px;
}
.testimonials .container .box h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.testimonials .container .box span {
  color: #555;
  margin: 0 0 15px;
  display: block;
}
.testimonials .container .box .rate {
  color: #ffc107;
  margin: 0 0 15px;
}
.testimonials .container .box p {
  color: var(--text-color);
  line-height: var(--main-line-heigtht);
}
@media (max-width: 991px) {
  .testimonials .container .box img {
    top: -40px;
    right: -20px;
  }
}
/* End Testimonials */

/* Start Team */
.team {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: white;
  z-index: -5;
}
.team .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.team .container .box {
  position: relative;
  z-index: 2;
}

.team .container .box::before,
.team .container .box::after {
  content: "";
  position: absolute;
  height: 100%;
  border-radius: 10px;
  top: 0;
  right: 0px;
}
.team .container .box::before {
  width: calc(100% - 60px);
  background: #f4f4f4;
  z-index: -2;
}
.team .container .box::after {
  width: 0;
  background: #e4e4e4;
  z-index: -1;
  transition: var(--main-transition-duration);
}
.team .container .box:hover::after {
  width: calc(100% - 60px);
}
.team .container .box .data {
  display: flex;
  align-items: center;
  padding-top: 60px;
}
.team .container .box .data img {
  max-width: calc(100% - 60px);
  border-radius: 10px;
}
.team .container .box:hover img {
  filter: grayscale(100%);
}
.team .container .box .data .social {
  width: 60px;
  height: 30px;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 30px;
  padding-bottom: 60px;
}
.team .container .box .data .social i {
  color: var(--text-color);
  transition: var(--main-transition-duration);
}
.team .container .box .data .social i:hover {
  color: var(--main-color);
}
.team .container .box .info {
  padding: 25px 80px 30px;
}
.team .container .box .info h3 {
  color: var(--main-color);
  margin: 0 0 10px;
  font-size: 22px;
}
.team .container .box:hover .info h3 {
  color: var(--text-color);
}
.team .container .box .info p {
  color: var(--text-color);
}
/* End Team */
/* Start Services */
.services {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
  background-color: var(--section-background);
}
.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.services .container .box {
  text-align: center;
  background: white;
  padding: 20px 0 0;
  box-shadow: var(--main-box-shadow);
  transition: var(--main-transition-duration);
  position: relative;
  counter-increment: meku;
}
.services .container .box:hover {
  transform: translateY(-15px);
}
.services .container .box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background: var(--main-color);
  transition: var(--main-transition-duration);
}
.services .container .box:hover::before {
  width: 100%;
}
.services .container .box i {
  color: #d5d5d5;
  padding: 0 0 20px;
}
.services .container .box h3 {
  font-size: 25px;
  margin: 0 0 40px;
  color: var(--main-color);
  padding: 0 5px 0 0;
}
.services .container .box .info {
  background-color: #f9f9f9;
  padding: 15px 0;
  text-align: right;
  position: relative;
  overflow: hidden;
}
.services .container .box .info a {
  color: var(--main-color);
  padding-right: 20px;
}
.services .container .box .info a::before {
  content: "0" counter(meku);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 40px 10px 20px;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  font-size: 30px;
}
.services .container .box .info a::after {
  content: "";
  position: absolute;
  left: 75px;
  top: 50%;
  transform: translateY(-50%) skewX(-25deg);
  padding: 10px 20px;
  background-color: #d5d5d5;
  height: 100%;
}
/* End Services */
/* Start Our Skills */
.our-skills {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
  background-color: white;
}
.our-skills .container {
  display: flex;
  align-items: center;
}
.our-skills .container .skills {
  flex: 1;
  display: flex;
  flex-flow: column;
  gap: 30px;
}
.our-skills .container .skills .skill {
  display: flex;
  flex-flow: column;
}
.our-skills .container .skills .skill > h3 {
  display: flex;
  justify-content: space-between;
}
.our-skills .container .skills .skill > h3 > span {
  font-size: 12px;
  border: 1px solid #ccc;
  padding: 3px 5px;
  border-radius: 5px;
  color: var(--main-color);
}
.our-skills .container .skills .skill .the-progress {
  background-color: #eee;
  height: 30px;
  width: 100%;
  margin: 10px 0 0;
  
}
.our-skills .container .skills .skill .the-progress span {
  background: var(--main-color);
  display: block;
  height: 100%;
  transition: calc(var(--main-transition-duration) + 2s);
}
@media (max-width: 991px) {
  .our-skills .container img {
    display: none;
  }
}
/* End Our Skills */
/* Start Work Steps */
.work-steps {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
  background-color: var(--section-background);
}
.work-steps .container {
  display: flex;
  align-items: center;
  gap: 50px;
}
.work-steps .container > img {
  max-width: 100%;
}
.work-steps .container .info .box{
  margin-bottom: 30px;
  background-color: #f6f5f5;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid white;
  position: relative;
  z-index: 1;
}
.work-steps .container .info .box::before {
  content: "";
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50% , -50%);
  background-color: #ededed;
  transition: var(--main-transition-duration);
  z-index: -1;
}
.work-steps .container .info .box:hover::before{
  width: 100%;
  height: 100%;
}
.work-steps .container .info .box img {
  max-width: 67px;
}
.work-steps .container .info .box h3 {
  margin: 0;
}
.work-steps .container .info .box p {
  margin: 10px 0 0;
  line-height: var(--main-line-heigtht);
  color: var(--text-color);
}
@media (max-width: 991px) {
  .work-steps .container {
    flex-flow: column;
  }
}
@media (max-width: 767px) {
  .work-steps .container .info .box {
    flex-flow: column;
    text-align: center;
  }
}
/* End Work Steps */

/* Start Event */
.events {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: white;
  position: relative;
}
.events .container {
  display: flex;
  flex-flow: wrap;
  gap: 40px;
}
.events .container img {
  width: 450px;
}
.events .container .info {
  flex: 1;
  text-align: center;
}
.events .container .info .time {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0 0 30px;
}
.events .container .info .time .unit {
  display: flex;
  flex-flow: column;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  transition: var(--main-transition-duration);
}
.events .container .info .time .unit:hover {
  border: 1px solid var(--main-color);
}
.events .container .info .time .unit span:first-child {
  font-size: 40px;
  font-weight: bold;
  padding: 20px 10px;
  color: var(--main-color);
}
.events .container .info .time .unit span:last-child {
  padding: 10px 10px 5px;
  font-size: 12px;
  border-top: 1px solid #d4d4d4;
  transition: var(--main-transition-duration);
}
.events .container .info .time .unit:hover span:last-child {
  border-top: 1px solid var(--main-color);
}
.events .container .info > h2 {
  margin: 0;
  font-size: 30px;
}
.events .container .info > p {
  margin: 30px 0;
  line-height: var(--main-line-heigtht);
  color: var(--text-color);
  font-size: 18px;
}
.events .container .subscribe {
  width: 100%;
}
.events .container .subscribe form {
  width: 600px;
  margin: 30px auto;
  background-color: #f6f5f5;
  padding: 30px 40px;
  border-radius: 50px;
  display: flex;
  gap: 20px; 
}
.events .container .subscribe form input[type='email'] ,
.events .container .subscribe form input[type='submit'] {
  padding: 20px 30px;
  border-radius: 50px;
  border: none;
} 
.events .container .subscribe form input[type='email'] {
  flex: 1;
  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-duration);
}
.events .container .subscribe form input[type='email']:focus::placeholder {
  opacity: 0;
}
.events .container .subscribe form input[type='submit'] {
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.events .container .subscribe form input[type='submit']:hover {
  background-color: var(--secondary-color);
}
@media (max-width: 991px) {
  .events .container img {
    display: none;
  }
}
@media (max-width: 767px) {
  .events .container .subscribe form {
    max-width: 100%;
    border-radius: 5px;
    margin: auto;
    flex-flow: column;
    padding: 15px 20px;
  }
  .events .container .subscribe form input[type='email'] {
    border-radius: 5px;
  }
  .events .container .subscribe form input[type='submit'] {
    border-radius: 5px;
} 
}
/* End Event */
/* Start Pricing */
.pricing {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-color: var(--section-background);
  z-index: -33;
}
.pricing .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.pricing .container .box {
  position: relative;
  background-color: white;
  text-align: center;
  z-index: 1;
  box-shadow: var(--main-box-shadow);
  transition: var(--main-transition-duration);
}
.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-duration);
}
.pricing .container .box::before {
  top: 0;
  left: 0;
}
.pricing .container .box::after {
  bottom: 0;
  right: 0;
}
.pricing .container .box:hover::before,
.pricing .container .box:hover::after { 
  width: 100%;
}
.pricing .container .box > h3 {
  font-size: 30px;
  margin: 30px auto;
  letter-spacing: -1px;
}
.pricing .container .box > h4 {
  writing-mode: vertical-rl;
  position: absolute;
  display: block;
  right: 20px;
  top: 0;
  background: var(--main-color);
  color: white;
  font-size: 18px;
  padding: 15px 10px 40px;
  width: 40px;
  font-weight: bold;
}
.pricing .container .box > h4::before {
  content: "";
  width: 0;
  height: 0;
  border: 20px solid;
  border-color: transparent transparent white transparent;
  position: absolute;
  bottom: 0;
  left: 0;
}
.pricing .container .box > img {
  max-width: 80px;
  margin: 0 auto 30px;
}
.pricing .container .box > .info {
  display: flex;
  flex-flow: column;
  gap: 5px;
  margin-bottom: 30px;
}
.pricing .container .box > .info span:first-of-type {
  font-size: 60px;
  color: var(--main-color);
  font-weight: bold;
}
.pricing .container .box > .info span:nth-of-type(2){
  font-size: 18px;
  color: var(--text-color);
}
.pricing .container .box ul {
  text-align: left;
}
.pricing .container .box ul li{
  padding: 20px 30px;
  font-size: 20px;
  border-top: 1px solid #eee ; 
}
.pricing .container .box ul li:first-of-type {
  padding-left: 25px;
}
.pricing .container .box ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: var(--main-color);
}
.pricing .container .box ul li:first-of-type::before {
  margin-left: 5px;
  margin-right: 5px;
}
.pricing .container .box a {
  display: block;
  width: fit-content;
  color: var(--main-color);
  margin: 20px auto 30px;
  font-size: 25px;
  border: 1px solid var(--main-color);
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  transition: var(--main-transition-duration);
}
.pricing .container .box a:hover {
  background-color: var(--secondary-color);
  color: white;

}
@media (min-width: 1200px) {
  .pricing .container .box:nth-of-type(2) {
    transform: translateY(-30px)
  }
}
/* End Pricing */
/* Start Videos */
.videos {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  position: relative;
}
.videos .container .holder {
  display: flex;
  background-color: var(--section-background);
  justify-content: center;
  border: 1px solid #ddd;
}
.videos .container .holder .info {
  min-width: 350px;
  background-color: white;
}
.videos .container .holder .info .name {
  padding: 20px;
  font-size: 20px;
  background-color: #f4f4f4;
  display: flex;
  justify-content: space-between;
  color: var(--main-color);
  font-weight: bold;
}
.videos .container .holder .info ul li {
  padding: 20px;
  border-top: 1px solid var(--section-background);
  cursor: pointer;
  transition: var(--main-transition-duration);
  font-size: 18px;
}
.videos .container .holder .info ul li:hover {
  background-color: #FAFAFA;
  color: var(--main-color);
}
.videos .container .holder .info ul li span {
  display: block;
  margin-top: 10px;
  color: var(--text-color);
}
.videos .container .holder .preview {
  background-color: #e2e2e2;
  padding: 10px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}
.videos .container .holder .preview img{
  max-width: 100%;
}
.videos .container .holder .preview .text {
  padding: 20px;
  background-color: white;
  margin-top: 10px;
  font-size: 18px;
}
@media (max-width: 991px) {
  .videos .container .holder {
    flex-flow: column;
    gap: 20px
  }
}
/* End Videos */
/* Start Stats */
.stats {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  background-image: url('../img/stats.jpg');
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255 , 0.9);
}
.stats > h2 {
  position: relative;
  font-size: 40px;
  margin: 0 auto 50px;
  width: fit-content;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
.stats .container .box {
  position: relative;
  background-color: white;
  padding: 30px 40px;
  opacity: 0.7;
  position: relative;
  transition: var(--main-transition-duration);
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.stats .container .box:hover {
  opacity: 1;
}
.stats .container .box i {
  font-size: 40px;
  color: var(--main-color);
}
.stats .container .box span:first-of-type {
  font-size: 50px;
  display: block;
  margin: 10px auto -10px;
}
.stats .container .box span:nth-of-type(2) {
  font-size: 25px;
  font-style: italic;
}
.stats .container .box span.money {
  position: absolute;
  left: 65%;
  top: 50%;
  transform: translateY(-55%);
  font-weight: bolder;
  font-size: 45px;
}
/* End Stats */

/* Start Discount */
.discount {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex: wrap;
}
.discount .content {
  text-align: center;
}
.discount .content h2 {
  font-size: 40px;
  letter-spacing: -1px;
  margin: auto;
}
.discount .image {
  flex-basis: 50%;
  background-image: url('../img/discount-background1.jpg');
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 1;
  padding: 0 0 50px;
  animation: back-change 10s infinite;
}
.discount .image::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(23 135 224 / 97%);
  left: 0;
  top: 0;
  position: absolute;
  z-index: -1;
}
.discount .image .content p {
  margin: 30px auto;
  line-height: var(--main-line-heigtht);
  font-size: 18px;
  max-width: 500px;
}
.discount .image .content img {
  width: 300px;
  max-width: 100%;
}
.discount .form{
  flex-basis: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 50px; 
}
.discount .form form {
  display: flex;
  justify-content: center;
  flex-flow: column;
}
.discount .form form input,
.discount .form form textarea {
  margin-top: 20px;
  padding: 20px 20px; 
  border: none;
  max-width: 100%;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ccc;
  outline: none;
  caret-color: var(--main-color);
}
.discount .form form input::placeholder,
.discount .form form textarea::placeholder {
  transition: var(--main-transition-duration);
}
.discount .form form input:focus::placeholder,
.discount .form form textarea:focus::placeholder {
  opacity: 0;
}
.discount .form form textarea {
  resize: none;
  height: 200px;
}
.discount .form form .width {
  height: 1px;
  background-color: var(--secondary-color);
  position: relative;
  top: -1px;
  width: 0;
}
.discount .form form .counter {
  font-size: 12px;
  text-align: right;
}
.discount .form form input[type="submit"] {
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: var(--main-transition-duration);
}
.discount .form form input[type="submit"]:hover {
  background-color: var(--secondary-color);
}
@media (max-width: 991px) {
  .discount {
    flex-flow: column ;
  }
  .discount .image,
  .discount .form {
    padding-top: 50px;
  }
  .discount .image .content img {
    padding-bottom: 30px;
  }
}
/* End Discount */
/* Start Footer */
footer {
  background-color: #191919;
  padding: 70px 0 0;
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
footer .container .box h3{
  color: white;
  font-size: 50px;
  margin: 0 0 30px;
}
footer .container .box:first-of-type ul {
  display: flex;
}
footer .container .box:first-of-type ul li {
  margin-right: 10px;
}
footer .container .box:first-of-type ul li a {
  height: 50px;
  width: 50px;
  color: #b9b9b9;
  background-color: #313131;
  display: inline-flex;
  font-size: 20px;
  justify-content: center;
  align-items: center;
}
footer .container .box:first-of-type ul li:first-of-type:hover a{
  background-color: #1877f2;
}
footer .container .box:first-of-type ul li:nth-of-type(2):hover a{
  background-color: #1da1f2;
}
footer .container .box:first-of-type ul li:nth-of-type(3):hover a{
  background-color: #ff0000;
}
footer .container .box:first-of-type p {
  color: #b9b9b9;
  line-height: var(--main-line-heigtht);
  margin: 50px 0 0;
}
footer .container .box:nth-of-type(2) li {
  padding: 15px 0;
  transition: var(--main-transition-duration);
}
footer .container .box:nth-of-type(2) li:hover {
  padding-left: 20px;
}
footer .container .box:nth-of-type(2) li:not(li:last-of-type) {
  border-bottom: 1px solid #444;
}
footer .container .box:nth-of-type(2) li a {
  color: #b9b9b9;
  transition: var(--main-transition-duration);
}
footer .container .box:nth-of-type(2) li a:hover {
  color: white;
}
footer .container .box:nth-of-type(2) li a::before {
  content: "\F101";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  margin-right: 10px;
}
footer .container .box:nth-of-type(3) .line {
  display: flex;
  color: #b9b9b9;
  margin-bottom: 30px;
  align-items: center;
}
footer .container .box:nth-of-type(3) .line i {
  font-size: 25px;
  color: var(--main-color);
  margin-right: 10px;
}
footer .container .box:nth-of-type(3) .line div {
  line-height: var(--main-line-heigtht);
  flex: 1;
}
footer .container .box:nth-of-type(4) img {
  padding: 3px;
  margin: 5px;
  background-color: white;
  width: 70px;
  cursor: pointer;
}
footer > p {
  color: white;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #444;
  margin: 50px 0 0;
}
footer > p > span {
  font-weight: bold;
  color: var(--main-color);
  font-size: 20px;
}
@media (max-width: 767px) {
  footer .container {
    display: flex;
    flex-flow: column;
    text-align: center;
  }
  footer .container .box:first-of-type ul {
    justify-content: center;
  }
  footer .container .box:nth-of-type(2) {
    width: fit-content;
    margin: auto;
  }
  footer .container .box:nth-of-type(2) li:not(li:last-of-type) {
    position: relative;
  }
  footer .container .box:nth-of-type(2) li:not(li:last-of-type)::before {
    content: "";
    height: 1px;
    width: calc(100% + 40px);
    background-color: #444;
    position: absolute;
    bottom: 0;
    left: -20px;
  }
  footer .container .box:nth-of-type(3) .line {
    flex-flow: column;
  }
  footer .container .box:nth-of-type(3) .line i {
    margin: 0 0 10px;
  }
}
/* End Footer */
/* Start Animation */
@keyframes topDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-15px);
  }
}
@keyframes to-right {
  50% {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    left: 5px;
  }
  100% {
    left: 0;
    width: 55%;
    height: 100%;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
}
@keyframes to-left {
  50% {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    right: 5px;
  }
  100% {
    right: 0;
    width: 55%;
    height: 100%;
    border-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}
@keyframes moving {
  100% {
    transform: translateX(10px);
  }
}
@keyframes fadding {
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}
@keyframes back-change {
  0%,
  100% {
    background-image: url(../img/discount-background1.jpg);
  }
  50% {
    background-image: url(../img/discount-background2.jpg);
  }
}
/* End Animation */

