/* Start Global Rules */


* {
  -webkit-box-sizing: border-box ;
  -moz-box-sizing: border-box ;
  box-sizing: border-box 
}

:root {
  --mainColor: #2196f3;
  --secondColor:#1787e0;
  --mainBackgroundColor: #e8e8e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  height: 8000px;
  counter-reset: services;
}

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

a {
  text-decoration: none;
}

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

/* Small */
@media (min-width: 768px){
  .container {
    width: 750px;
  }
}

/* Medium */
@media (min-width: 992px){
  .container {
    width: 970px;
  }
}

/* Large */
@media (min-width: 1200px){
  .container {
    width: 1170px;
  }
}

.main-title {
  margin: 50px auto;
  width: fit-content;
  border: 2px solid #333;
  padding: 10px 15px;
  font-size: 27px;
  position: relative;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  z-index: 1;
  text-transform: uppercase;
}

.main-title::before,
.main-title::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--mainColor);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 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;
  -webkit-animation: left-move 0.5s linear forwards;
}

.main-title:hover::after {
  z-index: -1;
  animation: right-move 0.5s linear forwards;
  -webkit-animation: right-move 0.5s linear forwards;
}

.main-title:hover {
  color: white;
  border: 2px solid white;
  transition-delay: .5s;
}

@keyframes left-move {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    left: 0;
    width: 50%;
    height: 100%;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
  }
}

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

/* End Global Rules */

/* Start Header */
.header {
  box-shadow: 0 0 0 1px #ddd;
}

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

.header .logo {
  height: 72px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

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

.header .logo a {
  color: var(--mainColor);
}

.header .main-links {
  display: flex;
}

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

.header .main-links > li:hover .mega-menu {
  z-index: 100;
  opacity: 1;
  top: 100%;
}

.header .main-links > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  color: #000;
  padding: 0 30px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

@media (max-width: 767px){
  .header .main-links > li > a {
    font-size: 14px;
    padding: 0 10px;
    height: 40px;
  }
}

.header .main-links > li > a::before {
  content: "";
  background-color: var(--mainColor);
  width: 100%;
  height: 3px;
  position: absolute;
  top: 0;
  left: -100%;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

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

.header .main-links > li > a:hover::before {
  left: 0;
}

/* start megamenu */
.header .mega-menu {
  width: 100%;
  padding: 30px;
  position: absolute;
  left: 0;
  top: calc(100% + 50px);
  background-color: white;
  border-bottom: 3px solid var(--mainColor);
  display: flex;
  gap: 30px;
  transition: top 0.3s, opacity 0.3s;
  -webkit-transition: top 0.3s, opacity 0.3s;
  -moz-transition: top 0.3s, opacity 0.3s;
  -ms-transition: top 0.3s, opacity 0.3s;
  -o-transition: top 0.3s, opacity 0.3s;
  z-index: -1;
  opacity: 0;

}

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

  .header .mega-menu .links:first-of-type li:last-child {
  border-bottom: 1px solid #ddd;
  }
}

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

@media (max-width: 991px) {
  .header .mega-menu .image img {
    display: none;
  }
}
.header .mega-menu .links {
  min-width: 240px;
  flex: 1;
}

.header .mega-menu .links li {
  position: relative;
}

.header .mega-menu .links li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.header .mega-menu .links li::before {
  content: "";
  width: 0;
  height: 100%;
  background-color: #ddd;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  z-index: -1;
}

.header .mega-menu .links li:hover::before {
  width: 100%;
}

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

.header .mega-menu .links li a i {
  margin-right: 10px;
}
/* end megamenu */
/* End Header */

/* Start Landing */
.landing {
  position: relative;
  overflow: hidden;
}

.landing::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #e1e1e1;
  position: absolute;
  top: -30px;
  left: 0;
  z-index: -1;
  transform: skewY(-9deg);
  -webkit-transform: skewY(-9deg);
  -moz-transform: skewY(-9deg);
  -ms-transform: skewY(-9deg);
  -o-transform: skewY(-9deg);
  transform-origin: top left;
}

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

.landing .text {
  flex: 1;
}

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

.landing .text p {
  line-height: 1.7;
  color: #777;
  font-size: 22px;
}

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

}

@media (max-width: 767px){
  .landing .text h1 {
    font-size: 30px;
  }
  
  .landing .text p {
    font-size: 18px;
  }
}

.landing .image img {
  position: relative;
  width: 600px;
  animation: up-and-down 5s linear infinite;
  -webkit-animation: up-and-down 5s linear infinite;
}

@keyframes up-and-down {
  0%, 100% {
    top: 0;
  }

  50% {
    top: -50px;
  }
}

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

.landing .go-down {
  position: absolute;
  left: 50%;
  bottom: 25px;
  color: var(--mainColor);
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.landing .go-down i {
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  animation: bouncing 1.5s infinite;
  -webkit-animation: bouncing 1.5s infinite;
  position: relative;
}

.landing .go-down i:hover {
  color: var(--secondColor);
}

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

/* End Landing */

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

.articles .box {
  box-shadow: 0 10px 15px #ddd;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -ms-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.articles .box:hover {
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
}

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

.articles .box .content {
  padding: 15px 20px;
}

.articles .box .content h3 {
  color: #333;
}

.articles .box .content p {
  color: #777;
  line-height: 1.7;
}

.articles .box .info {
  padding: 15px 20px;
  position: relative;
}

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

.articles .box .info i {
  color: var(--mainColor);
  position: absolute;
  right: 20px;
}

.articles .box:hover .info i {
  animation: go-right .6s linear infinite;
  -webkit-animation: go-right .6s linear infinite;
}

@keyframes go-right {
  100% {
    right: 10px;
  }
}
/* End articles */

/* Start Gallery */
.gallery {
  background-color: var(--mainBackgroundColor);
}
.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
}

.gallery .box {
  background-color: #fff;
  padding: 15px;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%), 0px 2px 4px 0px rgb(0 0 0 / 12%) ;
}

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

.gallery .box .image::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: rgb(255 255 255 / 30%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
}

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

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

.gallery .box .image:hover img {
  transform: rotate(3deg) scale(1.1);
  -webkit-transform: rotate(3deg) scale(1.1);
  -moz-transform: rotate(3deg) scale(1.1);
  -ms-transform: rotate(3deg) scale(1.1);
  -o-transform: rotate(3deg) scale(1.1);
}

.gallery .box img {
  max-width: 100%;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
}
/* End Gallery */

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

.features .box {
  border: 1px solid #ddd;
}

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

.features .box .image img {
  max-width: 100%;
  z-index: -1;
}

.features .box .image::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 2;
}

.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;
  right: 0;
  bottom: 0;
  border-width: 0 0 170px 500px;
  border-style: solid;
  border-color: transparent transparent white transparent;
  z-index: 2;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
}

.features .box:hover .image::after {
  border-width: 170px 500px 170px 0;
}

.features .box .content {
  text-align: center;
}

.features .box .content h3 {
  position: relative;
  font-size: 40px;
  width: fit-content;
  margin: auto;
}

.features .box .content h3::after {
  content: "";
  width: calc(100% - 30px);
  height: 4px;
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.features .quality .content h3::after {
  background-color: #f44036;
}

.features .time .content h3::after {
  background-color: rgb(0 150 136 / 100%);
}

.features .passion .content h3::after {
  background-color: rgb(3 169 244 / 100%);
}

.features .box .content p {
  line-height: 2;
  font-size: 20px;
  margin: 30px 0;
  padding: 25px;
  color: #777;
}

.features .box .content a {
  display: block;
  border: 3px solid transparent;
  width: fit-content;
  margin: 0 auto 30px;
  font-weight: bold;
  font-size: 20px;
  padding: 10px 30px;
  border-radius: 6px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.features .quality .content a {
  color: #f44036;
  border: 3px solid #f44036;
  background: linear-gradient(to right, #f44036 50%, white 50%);
  background-size: 200% 155%;
  background-position: right bottom;
}

.features .time .content a {
  color: #009688;
  border-color: #009688;
  background: linear-gradient(to right, #009688 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

.features .passion .content a {
  color: #03a9f4;
  border-color: #03a9f4;
  background: linear-gradient(to right, #03a9f4 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}


.features .box:hover a {
  background-position: left bottom;
  color: white;
}
/* End Features */

/* Start Testimonials */
.testimonials .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 80px;
}

.testimonials .box {
  position: relative;
  background-color: var(--mainBackgroundColor);
  padding: 15px;
}

.testimonials .box .image {
  position: absolute;
  top: -50px;
  right: -10px;
  padding: 10px;
  background-color: white;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.testimonials .box .image img {
  max-width: 100%;
  width: 70px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.testimonials .box .text span {
  display: block;
  color: #777;
  margin-bottom: 10px;
}

.testimonials .box .text i.filled {
  color: #ffc107;
}

.testimonials .box .text p {
  color: #555;
  line-height: 1.5;
}
/* End Testimonials */

/* Start Team Members */
.team .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 80px;
}

.team .box {
  position: relative;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.team .box::before {
  content: "";
  width: calc(100% - 60px);
  height: 100%;
  background-color: #f3f3f3;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.team .box::after {
  content: "";
  width: 0;
  height: 100%;
  background-color: #e5e5e5;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

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

.team .box .data {
  display: flex;
  align-items: center;
}

.team .box .data .image img {
  max-width: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition: 0.7s;
  -webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -ms-transition: 0.7s;
  -o-transition: 0.7s;
}

.team .box:hover img,
.team .box:hover .info {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.team .box .data .social {
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.team .box .data .social a:hover i {
  color: var(--mainColor);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

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

.team .box .info h3 {
  color: var(--mainColor);
  margin-bottom: 0;
  font-size: 24px;
}

.team .box .info p {
  margin-top: 8px;
}
/* End Team Members */

/* Start Services */
.services {
  background-color: var(--mainBackgroundColor);
}

.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 80px;
  text-align: center;
}

.services .box {
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  position: relative;
  margin-bottom: 20px;
  background-color: white;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.services .box:hover {
  transform: translateY(-15px);
  -webkit-transform: translateY(-15px);
  -moz-transform: translateY(-15px);
  -ms-transform: translateY(-15px);
  -o-transform: translateY(-15px);
}

.services .box::before {
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--mainColor);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.services .box:hover::before {
  width: 100%;
}

.services .box i {
  color: #d5d5d5;
  margin-top: 30px;
}

.services .box h3 {
  color: var(--mainColor);
  font-size: 26px;
}

.services .box .info {
  padding: 15px;
  position: relative;
  text-align: right;
  background-color: #f9f9f9;
  margin-top: 40px;
}

.services .box .info::before {
  counter-increment: services;
  content: "0" counter(services);
  width: 80px;
  height: calc(100% - 1px);
  background-color: var(--mainColor);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 27px;
  font-weight: bold;
  padding-right: 15px;
}

.services .box .info::after {
  content: "";
  width: 50px;
  height: calc(100% - 0.4px);
  background-color: #d5d5d5;
  position: absolute;
  left: 80px;
  bottom: 0px;
  transform: skewX(-30deg);
}

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

.services .box a:hover {
  color: var(--secondColor  );
}
/* End Services */

/* Start Our Skills */
.our-skills .container {
  display: flex;
  align-items: center;
}

@media (max-width: 991px){
  .our-skills .image img {
    display: none;
  }
}

.our-skills .skills {
  flex: 1;
}

.our-skills .skills .prog {
  background-color: #ddd;
  width: 100%;
  height: 30px;
  margin-bottom: 25px;
  position: relative;
}

.our-skills .skills .prog span {
  height: 100%;
  background-color: var(--mainColor);
  z-index: 2;
  display: block;
}

.our-skills .skills .prog span::after {
  content: attr(data-prog);
  position: absolute;
  right: 0;
  top: -37px;
  font-size: 12px;
  border: 1px solid #ccc;
  padding: 3px 5px;
  color: var(--mainColor);
  font-weight: bold;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
/* End Our Skills */

/* Start How Works */
.works {
  background-color: var(--mainBackgroundColor);
}

.works .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 110px;
}

.works .image {
  max-width: 100%;
  margin-right: 110px;
}

.works .info .box {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f5f5f5;
  padding: 15px 25px;
  margin-bottom: 25px;
  border: 2px solid white;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

@media (max-width: 991px) {
  .works .container {
    flex-direction: column;
    justify-content: center;
  }
  
  .works .image {
    text-align: center;
  }

  .works .info .box {
    padding: 25px 50px;
  }
}

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

.works .info .box img {
  width: 60px;
  height: 60px;
  position: relative;
  top: 0;
}

.works .info .box h3 {
  font-size: 22px;
  margin-bottom: 0;
}

.works .info .box p {
  color: #777;
  line-height: 1.7;
  font-size: 19px;
  margin: 10px 0 0;
}
/* End How Works */

/* Start Latest Events */
.events {
  position: relative;
}

.events .dots.up {
  top: 200px;
  right: 0;
}

.events .dots.down {
  bottom: 200px;
  left: 0;
}

.events .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;  
  margin-top: 110px;
}

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

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

.events .info {
  flex: 1;
}

.events .info .time {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.events .info .time .unit {
  border: 1px solid #d4d4d4;
}

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

.events .info .time .unit span:first-child {
  font-size: 35px;
  color: var(--mainColor);
  font-weight: bold;
  padding: 13px;
}

.events .info .time .unit span:last-child {
  border-top: 1px solid #d4d4d4;
  padding: 8px 13px;
  font-size: 13px;
  text-align: center;
}

.events .info .title {
  text-align: center;
  font-size: 28px;
  margin-top: 45px;
}

.events .info .desc {
  font-size: 18px;
  color: #777;
  line-height: 1.7;
  text-align: center;
}

.events .subscribe {
  width: 100%;
}

.events .subscribe form {
  background-color: #f5f5f5;
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  display: flex;
  gap: 20px;
}

.events .subscribe form input[type="email"] {
  padding: 20px;
  outline: none;
  border: none;
  border-radius: 50px;
  caret-color: var(--mainColor);
  flex: 1;
  
}
.events .subscribe form input[type="email"]::placeholder {
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

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

.events .subscribe form input[type="submit"] {
  padding: 20px;
  border: none;
  outline: none;
  border-radius: 50px;
  background-color: var(--mainColor);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

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

@media (max-width: 767px) {
  .events .subscribe form {
    flex-direction: column;
  }
}
/* End Latest Events */

/* Start Pricing */
.pricing {
  position: relative;
  background-color: var(--mainBackgroundColor);
}

.pricing .dots.up {
  top: 200px;
  right: 0;
}

.pricing .dots.down {
  bottom: 200px;
  left: 0;
}

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

.pricing .box {
  position: relative;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  background: white;
  text-align: center;
  margin-top: 50px;
  z-index: 1;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.pricing .box::before,
.pricing .box::after {
  content: "";
  width: 0;
  height: 50%;
  background-color: #f6f6f6;
  position: absolute;
  z-index: -1;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.pricing .box::before {
  left: 0;
  top: 0;
}
.pricing .box::after {
  right: 0;
  bottom: 0;
}
.pricing .box:hover::before,
.pricing .box:hover::after {
  width: 100%;
}
@media (min-width: 1200px) {
  .pricing .box.popular {
    top: -20px;
  }
}
.pricing .box.popular .label {
  position: absolute;
  writing-mode: vertical-rl;
  background-color: var(--mainColor);
  color: white;
  font-weight: bold;
  padding: 10px 10px 35px 10px;
  font-size: 18px;
  right: 20px;
  width: 40px;
}
.pricing .box.popular .label::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-color: transparent transparent white;
  border-width: 20px;
}
.pricing .box .title {
  font-weight: bold;
  margin: 30px 0;
  font-size: 25px;
  letter-spacing: -1px;
}
.pricing .box img {
  width: 80px;
  margin-bottom: 30px;
}
.pricing .box .price {
  margin-bottom: 20px;
}
.pricing .box .amount {
  display: block;
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--mainColor);
}
.pricing .box .time {
  color: #777;
}
.pricing .box ul {
  text-align: left;
}
.pricing .box ul li {
  padding: 20px;
  border-top: 1px solid #eee;
}
.pricing .box ul li::before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  margin-right: 10px;
  font-weight: 900;
  color: var(--mainColor);
}
.pricing .box a {
  display: block;
  width: fit-content;
  border: 2px solid var(--mainColor);
  color: var(--mainColor);
  margin: 30px auto 40px;
  padding: 15px 20px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.pricing .box a:hover {
  background-color: var(--mainColor);
  border-color: var(--mainColor);
  color: white;
}
/* End Pricing */
/* Start Videos */
.videos .holder {
  display: flex;
  justify-content: center;
  background-color: var(--mainBackgroundColor);
  border: 1px solid #ddd;
}
@media (max-width: 991px) {
  .videos .holder {
    flex-direction: column;
  }
}
.videos .holder .list {
  min-width: 300px;
  background-color: white;
}
.videos .holder .list .name {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #f4f4f4;
  font-weight: bold;
  color: var(--mainColor);
}
.videos .holder .list ul li {
  padding: 20px;
  border-top: 1px solid var(--mainBackgroundColor);
  cursor: pointer;
  transition: 0.3s;
}
.videos .holder .list ul li:hover {
  background-color: #fafafa;
  color: var(--mainColor);
}
.videos .holder .list ul li span {
  display: block;
  margin-top: 10px;
  color: #777;
}
.videos .holder .preview {
  background-color: #e2e2e2;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.videos .holder .preview img {
  max-width: 100%;
}
.videos .holder .preview .info {
  padding: 20px;
  background-color: white;
  margin-top: 10px;
}
/* End Videos */
/* Start Stats */
.stats {
  position: relative;
  background-image: url(../images/stats.jpg);
  background-size: cover;
  min-height: 300px;
}
.stats::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 255 255 / 95%);
}
.stats h2 {
  font-weight: bold;
  font-size: 40px;
  width: fit-content;
  margin: 0 auto 50px;
  position: relative;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.stats .box {
  background-color: white;
  padding: 30px 15px;
  text-align: center;
  position: relative;
  opacity: 0.8;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.stats .box::before,
.stats .box::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: var(--mainColor);
  transition: 1s;
  height: 0;
}
.stats .box::before {
  top: 0;
  right: 0;
}
.stats .box::after {
  left: 0;
  bottom: 0;
}
.stats .box:hover {
  opacity: 1;
}
.stats .box:hover::before,
.stats .box:hover::after {
  height: 100%;
}
.stats .box .number {
  display: block;
  font-size: 50px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}
.stats .box .text {
  color: var(--mainColor);
  font-style: italic;
  font-size: 20px;
  font-weight: bold;
}
/* End Stats */

/* Start Discount */
.discount {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

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

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

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

  50% {
    background: url(../images/discount-background2.jpg);

  }
}

.discount .image::before {
  content: "";
  background-color: var(--mainColor);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1; 
  opacity: 0.9;
}

.discount .content {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 15px;
}

.discount .content h2 {
  font-size: 40px;
  letter-spacing: -2px;
}
.discount .content p {
  line-height: 1.6;
  font-size: 18px;
  max-width: 500px;
}

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

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

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

.discount .form input:not(input[type="submit"]),  
.discount .form textarea {
  display: block;
  background-color: #f9f9f9;
  width: 100%;
  padding: 15px;
  border: none;
  outline: none;
  border-bottom: 1px solid #999;
  margin-bottom: 25px;
  caret-color: var(--mainColor);
}

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

.discount .form input[type="submit"] {
  background-color: var(--mainColor);
  color: #fff;
  width: 100%;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.discount .form input[type="submit"]:hover {
  background-color: var(--secondColor);
}
/* End Discount */

/* Start Footer */
footer {
  background-color: #111;
  padding-top: 100px;
}

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


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

footer .box .social {
  display: flex;
}

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

footer .box .social li a {
  color: #b9b9b9;
  background-color: #222;
  padding: 5px 15px;
  font-size: 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

footer .box .social li:first-of-type a:hover {
  background-color: #1877f2;
}

footer .box .social li:nth-of-type(2) a:hover {
  background-color: #1da1f2;
}

footer .box .social li:last-of-type a:hover {
  background-color: #ff0000;
}

footer .box p {
  color: #b9b9b9;
  line-height: 2;
}

footer .box .links li {
  padding: 15px 0;
}

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

footer .box .links li a {
  color: #777;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

footer .box .links li:hover a {
  color: #f3f3f3;
  padding-left: 10px;
}

footer .box .links li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\F101";
  color: var(--mainColor);
  font-weight: 900;
  margin-right: 10px;
}

footer .box .line {
  display: flex;
  color: #b9b9b9;
  align-items: center;
  margin-bottom: 35px;
}

footer .box .line i {
  font-size: 25px;
  margin-right: 15px;
  color: var(--mainColor);
}

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

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

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

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

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

  footer .box .social {
    justify-content: center;
  }
  footer .box .social li {
    margin: 0;
    margin-left: 10px;
  }

  footer .box .line {
    flex-direction: column;
  }

  footer .box .line i {
    margin: 0;
    margin-bottom: 15px;
  }
}
/* End Footer */












/* Start My Framework */
.sec-padding  {
  padding-top: 50px;
  padding-bottom: 100px;
}

.text-center {
  text-align: center;
}

.dots {
  background: url(../images/dots.png) no-repeat;
  width: 186px;
  height: 204px;
  position: absolute;
  /* z-index: -2; */
}

.spikes {
  position: relative;
}

.spikes::after {
  content: "";
  width: 100%;
  height: 30px;
  position: absolute;
  right: 0;
  z-index: 1;
  background-image: linear-gradient(135deg, white 25%, transparent 25%),
  linear-gradient(225deg, white 25%, transparent 25%);
  background-size: 30px 30px;
}
/* End My Framework */