@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800&display=swap");

/* start varaibles */
:root {
  --mainColor: #2196f3;
  /* --mainColor: #68e1fd; */

  --secondColor: #b8e9ff;
  scroll-behavior: smooth;
}
/* end varaibles */
/* start general classes */
* {
  font-family: "Cairo", sans-serif;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  margin-block-start: 0;
  margin-block-end: 0;
  list-style: none;
}
/* * {
  outline: 1px solid #f00 !important;
} */
a {
  color: inherit;
  text-decoration: none;
}
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 768px) {
  .container {
    width: 767px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 991px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1199px;
  }
}
/*start main-title animation */
.main-title {
  border: solid 2px black;
  width: fit-content;
  margin: 80px auto;
  font-size: 30px;
  font-weight: 700;
  position: relative;
  padding: 10px 20px;
}
.main-title:hover {
  color: white;
  border-color: white;
  transition-delay: 0.6s;
}
.main-title:before,
.main-title:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  background-color: #2196f3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: 0.5s linear forwards;
}
.main-title:before {
  left: -30px;
}
.main-title:hover::before {
  animation-name: cool-left;
}
.main-title:after {
  right: -30px;
}
.main-title:hover::after {
  animation-name: cool-right;
}
.main-title > span {
  position: relative;
  z-index: 1;
}
@keyframes cool-left {
  50% {
    left: 0px;
    /* border-radius: 0%; */
    width: 12px;
    height: 12px;
  }
  100% {
    left: 0px;
    border-radius: 0%;
    width: 50%;
    height: 100%;
  }
}
@keyframes cool-right {
  50% {
    right: 0px;
    /* border-radius: 0%; */
    width: 12px;
    height: 12px;
  }
  100% {
    right: 0px;
    border-radius: 0%;
    width: 50%;
    height: 100%;
  }
}
/* end main-tile animation */

/* .top-disgin-section */
.spickes {
  position: relative;
}
.spickes:after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 30px;
  background-image: linear-gradient(135deg, white 25%, transparent 25%),
    linear-gradient(-135deg, white 25%, transparent 25%);
  z-index: 1;
  background-size: 23px 31px;
}
.spickes.ececec:after {
  background-image: linear-gradient(135deg, #b8e9ff 25%, transparent 25%),
    linear-gradient(-135deg, #b8e9ff 25%, transparent 25%);
}

/* end general classes */

/* start header */
header .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  position: relative;
}
@media (min-width: 768px) {
  header .container {
    flex-direction: row;
    height: auto;
  }
}
header h1 {
  margin: 0px;
  margin-top: 10px;
  color: var(--mainColor);
  font-size: 26px;
}
@media (min-width: 768px) {
  header h1 {
    margin-top: 0px;
  }
}
header ul.main {
  display: flex;
}
header .container > ul.main > li {
  list-style: none;
  transition: 0.3s;
}

header .container > ul.main > li:hover {
  color: var(--mainColor);
  background-color: #fafafa;
}
header .container > ul.main > li a {
  position: relative;
  padding: 12px 10px;
  display: inline-block;
  width: 100%;
  height: 100%;
  font-size: 14px;
}
@media (min-width: 768px) {
  header .container > ul.main > li > a {
    padding: 25px 30px;
    font-size: 18px;
  }
}
header .container > ul.main > li > a::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  height: 4px;
  background-color: var(--mainColor);
  width: 0px;
  transition: 0.3s;
}
header .container > ul.main > li:hover > a::before {
  width: 100%;
}
/* start mega menu */
header .list {
  display: flex;
  position: absolute;
  top: calc(100% + 5px);
  width: 100%;
  left: 0px;
  z-index: -1;
  background-color: white;
  justify-content: space-between;
  transition: 0.3s linear;
  transition-property: opacity, top, z-index;
  opacity: 0;
}
@media (min-width: 768px) {
  header ul.main li .list {
    padding: 26px;
    border-top: 1px #e9e6e6 solid;
    border-bottom: solid 4px var(--mainColor);
  }
}
header ul.main > li:last-child:hover .list {
  z-index: 40;
  top: 100%;
  opacity: 1;
}
header .list .image {
  display: none;
  width: 35%;
}
@media (min-width: 992px) {
  header .list .image {
    display: flex;
    height: fit-content;
  }
}
@media (min-width: 1200px) {
  header .list .image {
    width: 48%;
  }
}
header .list .image img {
  width: 100%;
  object-fit: contain;
}

header .list ul.second {
  display: grid;
  padding: 0px 7px;
  width: 100%;
}
@media (min-width: 768px) {
  header .list ul.second {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
  }
}
@media (min-width: 992px) {
  header .list ul.second {
    width: 60%;
  }
}
@media (min-width: 1200px) {
  header .list ul.second {
    width: 48%;
  }
}
header .list ul.second li.second {
  border-top: 1px #e9e6e6 solid;
  position: relative;
}
@media (min-width: 768px) {
  header .list ul.second li.second {
    padding: 0;
  }
}
@media (min-width: 768px) {
  header .list ul.second li.second:first-child {
    border-top: none;
  }
}
header .list ul.second li.second::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0px;
  transition: 0.4s;
  background-color: #fafafa;
}
header .list ul.second li.second:hover::before {
  width: 100%;
}
header ul li .list ul.second li.second a {
  color: var(--mainColor);
  font-size: 18px;
  font-weight: 800;
  padding: 16px 16px;
}
@media (min-width: 768px) {
  header .list ul.second li.second a {
    font-weight: 700;
  }
}

header .list ul.second li.second a i {
  margin-right: 10px;
}
/*end mega menu */
/* end header */

/* start home */
.home {
  position: relative;
  overflow: hidden;
}
.home::before {
  content: "";
  position: absolute;
  left: 0;
  top: -30px;
  width: 100%;
  height: 100%;
  transform: skewY(-7deg);
  transform-origin: top left;
  background-color: var(--secondColor);
  z-index: -1;
}
.home .container {
  height: calc(100vh - 71px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home .content {
  position: relative;
  bottom: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home .intro {
  text-align: center;
}
@media (min-width: 992px) {
  .home .intro {
    text-align: left;
    margin-right: 40px;
  }
}
@media (min-width: 1200px) {
  .home .intro {
    text-align: left;
    margin-right: 50px;
  }
}
.home .intro h2 {
  font-size: 28px;
  letter-spacing: -2px;
  margin-bottom: 10px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .home .intro h2 {
    font-size: 40px;
    letter-spacing: -2px;
  }
}
.home .intro p {
  color: #686767;
  font-size: 18px;
  line-height: 30px;
  max-width: 441px;
}
@media (min-width: 768px) {
  .home .intro p {
    font-size: 23px;
    line-height: 40px;
    width: 520px;
  }
}
@media (min-width: 992px) {
  .home .intro p {
    width: auto;
  }
}
.home .image {
  display: none;
}
@media (min-width: 992px) {
  .home .image {
    display: flex;
    position: relative;
    z-index: 6;
  }
}
.home .image img {
  position: relative;
  top: -30px;
  animation-name: home-anime1;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
  z-index: 10;
  width: 350px;
}
@keyframes home-anime1 {
  100% {
    top: 30px;
  }
}
@media (min-width: 992px) {
  .home .image img {
    /* width: 600px; */
  }
}

.home i {
  color: var(--mainColor);
  font-size: 26px;
  transform: translateX(-50%);
  -webkit-text-stroke-width: 2px;
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  animation-name: bouncing;
  animation-timing-function: linear;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  /* animation-direction: alternate; */
}
@keyframes bouncing {
  10%,
  30% {
    bottom: 50px;
  }
  20%,
  40% {
    bottom: 30px;
  }
}

/* end home */

/* start articles */
.articles {
  padding: 20px 0;
  margin-bottom: 90px;
}
.articles .content {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  display: grid;
  gap: 40px;
}
.articles .content .box {
  box-shadow: #0000001a 1px 1px 10px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  bottom: 0px;
  transition: 0.4s;
}
.articles .content .box:hover {
  box-shadow: #0000003a 2px 1px 10px;
  bottom: 10px;
}
.articles .content .box .image img {
  max-width: 100%;
}
.articles .content .box .details {
  padding: 20px 20px 10px;
}
.articles .content .box .details h3 {
  /* margin: 10px 0; */
  font-size: 18.8px;
}
.articles .content .box .details p {
  color: #777;
  margin: 10px 0;
  line-height: 24px;
}
.articles .content .box .more {
  border-top: 1px solid #e9e6e6;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.articles .content .box .more a {
  font-weight: 800;
  color: var(--mainColor);
}
.articles .content .box .more i {
  color: var(--mainColor);
  position: absolute;
  right: 20px;
  transform: translatey(-50%);
  top: 50%;
  font-size: 15px;
  animation-name: next;
  animation-iteration-count: infinite;
  animation-duration: 0.8s;
  animation-play-state: paused;
}
.articles .content .box:hover .more i {
  animation-play-state: running;
}
@keyframes next {
  100% {
    right: 9px;
  }
}
/* end articles */

/* start gallery */
.gallery {
  background-color: var(--secondColor);
  padding: 85px 0;

  position: relative;
}
.gallery .top-disgin-section {
}
.gallery .top-disgin-section > div {
}
.gallery .container h2 {
  margin-top: 0px;
}
.gallery .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.gallery .image {
  border: solid 15px white;
  box-shadow: #00000036 1px 7px 20px 0px;
  overflow: hidden;
  position: relative;
  perspective: 300px;
  perspective-origin: center center;
}
.gallery .image::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.2);
  width: 0%;
  height: 0%;
  opacity: 0;
}
.gallery .image:hover::before {
  animation: camera-effect 0.5s ease-out;
}
@keyframes camera-effect {
  50% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}
.gallery .image img {
  display: block;
  max-width: 100%;
  transition: 0.5s;
}
.gallery .image:hover img {
  transform: rotate(5deg) scale(1.1);
}
/* end gallery */

/* start features */
.features {
  padding: 90px 0;
}
.features .container h2 {
  margin-top: 0;
}
.features .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 40px;
}
.features .content .box {
  border: solid #cccccc 1px;
  overflow: hidden;
}
.features .content .image {
  position: relative;
}
.features .content .image::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}
.features .content .image::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  border-style: solid;
  border-width: 0 0 150px 460px;
  border-color: transparent transparent white transparent;
  transition: 0.3s;
}
.features .content .box:hover .image::after {
  border-width: 0 460px 150px 0;
}
.features .content .quality .image::before {
  background-color: hsla(3, 90%, 58%, 0.5);
}
.features .content .time .image::before {
  background-color: hsla(175, 68%, 38%, 0.5);
}
.features .content .passion .image::before {
  background-color: hsla(199, 98%, 48%, 0.5);
}
.features .content .image img {
  max-width: 100%;
}
.features .content .detail {
  position: relative;
}

.features .content .detail h3 {
  font-size: 40px;
  text-align: center;
  position: relative;
  width: fit-content;
  margin: auto;
}
.features .content .detail h3::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 5px;
  bottom: -20px;
  left: 10%;
}
.features .content .quality .detail h3::before {
  background-color: #f43d34;
}
.features .content .time .detail h3::before {
  background-color: #1fa397;
}
.features .content .passion .detail h3::before {
  background-color: #03a9f4;
}
.features .content .detail p {
  margin: 55px 0;
  padding: 0 30px;
  color: #878787;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  position: relative;
}
.features .content .detail > div {
  position: relative;
  z-index: 1;
}
.features .content .detail a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  width: 115px;
  height: 51px;
  font-weight: 700;
  margin: 30px auto;
  position: relative;
  border-radius: 7px;
  border: 3px solid;
  position: relative;
  transition: 0.5s;
  background-position: bottom right;
  background-size: 200% 100%;
}
.features .content .box:hover .detail a {
  color: white;
  background-position: bottom left;
}
.features .content .quality .detail a {
  border-color: #f43d34;
  color: #f43d34;
  background-image: linear-gradient(to right, #f43d34 50%, white 50%);
}
.features .content .time .detail a {
  border-color: #1fa397;
  color: #1fa397;
  background-image: linear-gradient(to right, #1fa397 50%, white 50%);
}
.features .content .passion .detail a {
  border-color: #03a9f4;
  color: #03a9f4;
  background-image: linear-gradient(to right, #03a9f4 50%, white 50%);
}

/* end features */

/* start testimonials  */
.testimonials {
  background-color: var(--secondColor);
  padding: 100px 0;
}
.testimonials .container {
}
.testimonials .container h2 {
  margin-top: 0;
}
.testimonials .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.testimonials .content .box {
  position: relative;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 1px 1px 7px 0px #dddbdb;
}

.testimonials .box .image {
  position: absolute;
  top: 0px;
  right: -10px;
  transform: translatey(-50%);
}
.testimonials .box .image img {
  width: 80px;
  height: 80px;
  box-sizing: content-box;
  border-radius: 50%;
  border: solid 10px var(--secondColor);
}
.testimonials .box h4 {
  font-size: 19px;
}
.testimonials .box span {
  color: #777;
  font-size: 16px;
  display: block;
  margin: 8px 0;
}
.testimonials .box .rate {
  margin: 10px 0;
}
.testimonials .box .rate i {
}
.testimonials .box .rate i.filled {
  color: #ffc107;
}
.testimonials .box p {
  color: #777;
  font-size: 16px;
  line-height: 24px;
}
/* end testimonials  */

/* start team members */
.team-members {
  padding-bottom: 90px;
}
.team-members .container > h2 {
}
.team-members .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px 50px;
}
.team-members .content .box {
  padding-top: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: 0.3s;
  transition-property: filter;
}
.team-members .content .box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 87%;
  background-color: var(--secondColor);
  z-index: -2;
  border-radius: 10px;
}
.team-members .content .box::after {
  content: "";
  position: absolute;
  background-color: #e4e4e4;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 0%;
  border-radius: 10px;
  z-index: -1;
  transition: 0.3s;
  transition-property: width;
}
.team-members .content .box:hover::after {
  width: 87%;
}
.team-members .content .box:hover .image {
  filter: grayscale(1);
}
.team-members .content .box .top {
  display: flex;
}
.team-members .box .top .image {
}
.team-members .box .top .image img {
  max-width: 100%;
  border-radius: 10px;
}
.team-members .box .top .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 21px;
}
.team-members .box .top .links i {
  color: #777777;
  text-align: center;
  padding: 17px 0;
  cursor: pointer;
}
.team-members .box .top .links i:hover {
  color: var(--mainColor);
}
.team-members .box h4 {
  color: #3ea2f3;
  font-size: 22px;
  width: 88%;
  padding: 19px 23px 0;
}
.team-members .box:hover h4 {
  color: #777;
}
.team-members .box p {
  width: 88%;
  padding: 10px 23px 25px;
  font-size: 16px;
}
/* end team members */

/* start services */
.services {
  background-color: var(--secondColor);
  position: relative;
  padding: 80px 0;
}
.services .container {
}
.services .container h2 {
  margin-top: 0;
}
.services .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  counter-reset: count;
}
.services .content .box {
  background-color: white;
  box-shadow: 0px 1px 10px 0px #a7a4a4;
  position: relative;
  transition: 0.3s;
  bottom: 0;
}
.services .content .box:hover {
  bottom: 15px;
}
.services .content .box::before {
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  right: 50%;
  top: 0px;
  width: 0px;
  background-color: var(--mainColor);
  transition: 0.3s;
}
.services .content .box::after {
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  left: 50%;
  top: 0px;
  width: 0px;
  background-color: var(--mainColor);
  transition: 0.3s;
}
.services .content .box:hover::before {
  width: 50%;
}
.services .content .box:hover::after {
  width: 50%;
}
.services .content .box .top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0 20px;
}
.services .content .box .top i {
  color: #d5d5d5;
  font-size: 65px;
}
.services .content .box .top h4 {
  font-weight: 700;
  color: var(--mainColor);
  padding: 20px 0;
  font-size: 25px;
}
.services .content .box .bottom {
  display: flex;
  justify-content: space-between;
  background-color: #f9f9f9;

  height: 48.5px;
}
.services .content .box .bottom > div {
  width: 100px;
  padding: 7px;
  font-size: 30px;
  font-weight: 800;
  height: 100%;
  background-color: var(--mainColor);
  color: white;
  padding-left: 23px;
  position: relative;
  counter-increment: count;
}
.services .content .box .bottom > div::before {
  content: "0" counter(count);
  position: absolute;
}
.services .content .box .bottom > div::after {
  content: "";
  position: absolute;
  left: 80px;
  top: 0px;
  height: 100%;
  width: 50px;
  background-color: #d5d5d5;
  transform: skewx(-30deg);
}

.services .content .box .bottom a {
  color: var(--mainColor);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
/* end services */

/* start our skills */
.our-skills {
  padding-bottom: 80px;
}
.our-skills .container {
}
.our-skills .container h2 {
  margin: 90px auto;
}
.our-skills .content {
  display: flex;
}
.our-skills .content .image {
  display: none;
}
@media (min-width: 992px) {
  .our-skills .content .image {
    display: block;
  }
}
.our-skills .content .image img {
  max-width: 100%;
}
.our-skills .content ul {
  padding: 5px 0;
  flex-grow: 1;
}
.our-skills .content ul li {
  margin: 15px 0;
  position: relative;
}
.our-skills .content ul li h4 {
  margin-bottom: 19px;
  font-size: 19px;
}
.our-skills .content ul li div {
  height: 30px;
  background-color: #eeeeee;
}
.our-skills .content ul li div span {
  display: block;
  background-color: var(--mainColor);
  height: 100%;
  width: 0%;
  transition: 1s;
}
.our-skills .content ul li div span:after {
  content: attr(data-percent);
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 12px;
  color: var(--mainColor);
  padding: 3px 5px;
  border: solid 1px #cccccc;
  border-radius: 5px;
  font-weight: 800;
}
/* end our skills */

/* start how it works */
.how-works {
  background-color: var(--secondColor);
  padding: 90px 0;
}

.how-works .container h2 {
  margin-top: 0;
}
.how-works .container .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (min-width: 992px) {
  .how-works .container .content {
    flex-direction: row;
  }
}
.how-works .content > .image {
}
@media (min-width: 992px) {
  .how-works .content > .image {
    /* margin: 0 61px; */
    margin-right: 100px;
    margin-left: 15px;
  }
}
.how-works .content > .image img {
}
@media (max-width: 768px) {
  .how-works .content > .image img {
    max-width: 100%;
  }
}
.how-works .content .works {
  margin-top: 26px;
}
@media (min-width: 992px) {
  .how-works .content .works {
    margin-top: 0px;
  }
}
.how-works .content .works .box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f6f5f5;
  margin: 20px 0;
  padding: 30px 0;
  border: solid 2px white;
  border-radius: 7px;
  position: relative;
}
.how-works .content .works .box::after {
  content: "";
  background-color: var(--secondColor);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0%;
  height: 0%;
  transition: 0.3s;
}
.how-works .content .works .box:hover::after {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .how-works .content .works .box {
    flex-direction: row;
    padding: 25px 30px 10px;
  }
}
.how-works .content .works .box .image {
  margin: 0 0 17px;
  z-index: 1;
  position: relative;
}
@media (min-width: 768px) {
  .how-works .content .works .box .image {
    margin: 0 30px 0 0;
  }
}
.how-works .content .works .box .image img {
  width: 64px;
}
.how-works .content .works .box .detail {
  text-align: center;
  z-index: 1;
  position: relative;
}
@media (min-width: 768px) {
  .how-works .content .works .box .detail {
    text-align: left;
    padding-bottom: 20px;
  }
}
.how-works .content .works .box .detail h4 {
  font-size: 22px;
  margin: 10px 0 11px;
}
.how-works .content .works .box .detail p {
  color: #777;
  font-size: 18px;
  line-height: 30px;
  padding: 0px 40px;
}
@media (min-width: 768px) {
  .how-works .content .works .box .detail p {
    color: #777;
    font-size: 18px;
    line-height: 28px;
    padding: 0;
  }
}
/* end how it works */

/* start latest events */
.latest-events {
  position: relative;
  padding: 100px 0 110px;
}

.latest-events .container > .dots:first-child {
  right: 0px;
  top: 200px;
}
.latest-events .container > .dots:nth-child(2) {
  left: 0px;
  bottom: 186px;
}
.latest-events .container h2 {
  margin: 0 auto;
}
.latest-events .content {
}
.latest-events .content .top {
  display: flex;
  margin-top: 80px;
}
.latest-events .content .top .image {
  display: none;
}
@media (min-width: 992px) {
  .latest-events .content .top .image {
    display: block;
  }
}
.latest-events .content .top .image img {
  width: 450px;
}
.latest-events .content .top .details {
  margin-top: 35px;
}
.latest-events .content .top .details .time {
  display: flex;
  align-items: center;
  justify-content: center;
}
.latest-events .content .top .details .time div {
  border: solid 1px #d4d4d4;
  border-radius: 5px;
  margin: 0 5px;
  width: 75px;
  text-align: center;
}
.latest-events .content .top .details .time span:first-child {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mainColor);
  font-size: 36px;
  font-weight: 700;
  text-align: center;
}
.latest-events .content .top .details .time span:last-child {
  display: block;
  font-size: 13px;
  border-top: solid 1px #d4d4d4;
  padding: 8px;
}
.latest-events .content .top .details .info {
  margin-top: 40px;
  text-align: center;
}
.latest-events .content .top .details .info h4 {
  font-size: 30px;
}
.latest-events .content .top .details .info p {
  color: #777;
  line-height: 32px;
  margin-top: 20px;
  font-size: 19px;
}
.latest-events .content .bottom {
  margin: 90px 35px 0;
  background-color: #f6f5f5;
  padding: 20px;
}
@media (min-width: 768px) {
  .latest-events .content .bottom {
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 30px 40px;
    margin: 90px auto 0;
    width: 600px;
  }
}
@media (min-width: 992px) {
  .latest-events .content .bottom {
    margin: 70px auto 0;
  }
}
.latest-events .content .bottom input[type="email"] {
  display: block;
  padding: 20px;
  width: 100%;
  border: none;
  caret-color: red;
}
.latest-events .content .bottom input[type="email"]:focus {
  outline: none;
}
.latest-events .content .bottom input[type="email"]::placeholder {
  transition: opacity 0.3s;
}
.latest-events .content .bottom input[type="email"]:focus::placeholder {
  opacity: 0;
}
@media (min-width: 768px) {
  .latest-events .content .bottom input[type="email"] {
    border-radius: 40px;
    margin-right: 20px;
  }
}
.latest-events .content .bottom input[type="submit"] {
  display: block;
  background-color: #2196f3;
  color: white;
  padding: 20px;
  width: 100%;
  margin-top: 20px;
  border: none;
  font-size: 16px;
  font-weight: 800;
}
@media (min-width: 768px) {
  .latest-events .content .bottom input[type="submit"] {
    margin-top: 0;
    width: auto;
    border-radius: 40px;
  }
}
/* end latest events */

/* start pricing plans */
.pricing-plans {
  background-color: var(--secondColor);
  position: relative;
  padding: 100px 0;
}
.pricing-plans .container {
}
.pricing-plans .container .dots:first-child {
  right: 0;
  top: 200px;
}
.pricing-plans .container .dots:nth-child(2) {
  left: 0;
  bottom: 200px;
}
.pricing-plans .container h2 {
  margin-top: 0;
}
.pricing-plans .container .content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
}
.pricing-plans .content .box {
  background-color: white;
  padding: 20px 0;
  box-shadow: 0px 7px 15px #c1b5b5;
  position: relative;
}
.pricing-plans .content .box::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgb(236 236 236 / 60%);
  width: 0%;
  height: 50%;
  transition: 0.4s;
}
.pricing-plans .content .box::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: rgb(236 236 236 / 60%);
  width: 0%;
  height: 50%;
  transition: 0.4s;
}
.pricing-plans .content .box:hover::before,
.pricing-plans .content .box:hover::after {
  width: 100%;
}
.pricing-plans .content .box:nth-child(2) {
  position: relative;
}
@media (min-width: 1200px) {
  .pricing-plans .content .box:nth-child(2) {
    bottom: 20px;
  }
}
.pricing-plans .content .box > div {
  position: relative;
  z-index: 1;
}
.pricing-plans .content .box:nth-child(2) .box-disgn {
  content: "Most Popular";
  background-color: #2695ee;
  color: white;
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-align: start;
  width: 150px;
  padding: 10px;
  position: absolute;
  top: 0;
  right: -130px;
  transform-origin: top left;
  transform: rotate(90deg);
}
.pricing-plans .content .box:nth-child(2) .box-disgn::after {
  right: 0;
  top: 0;
  content: "";
  position: absolute;
  border: solid 20.345px transparent;
  border-right-color: white;
}
.pricing-plans .content .box h4 {
  text-align: center;
  font-size: 25px;
  margin-top: 10px;
  letter-spacing: -1px;
}
.pricing-plans .content .box div > i {
  color: var(--mainColor);
  display: block;
  font-size: 85px;
  text-align: center;
  margin: 30px 0;
}
.pricing-plans .content .box div > span {
  display: block;
  color: var(--mainColor);
  text-align: center;
  font-size: 60px;
  font-weight: 700;
}
.pricing-plans .content .box div > p {
  text-align: center;
  color: #777;
  margin: 5px 0;
}
.pricing-plans .content .box div > ul {
  margin: 20px 0;
}
.pricing-plans .content .box li {
  display: flex;
  border-top: solid 1px #ededed;
  padding: 20px;
}
.pricing-plans .content .box li i {
  color: var(--mainColor);
  font-size: 17px;
  display: block;
  margin-right: 10px;
  -webkit-text-stroke: 1px var(--mainColor);
}
.pricing-plans .content .box li p {
}
.pricing-plans .content .box a {
  display: block;
  width: fit-content;
  color: var(--mainColor);
  font-weight: 800;
  border: 2px solid var(--mainColor);
  padding: 15px 20px;
  border-radius: 5px;
  margin: 25px auto 20px;
  transition: 0.3s;
}
.pricing-plans .content .box a:hover {
  background-color: var(--mainColor);
  color: white;
}
/* end pricing plans */

/* start Top videos */
.top-videos {
  padding: 100px 0;
}
.top-videos .container {
}
.top-videos .container h2 {
  margin: 0 auto;
}
.top-videos .content {
  margin-top: 80px;
  border: solid 1px #e2e2e2;
}
@media (min-width: 992px) {
  .top-videos .content {
    display: flex;
  }
}
.top-videos .content .left {
}
.top-videos .content .left .section-title {
  display: flex;
  background-color: #f4f4f4;
  padding: 20px;
  justify-content: space-between;
}
.top-videos .content .left .section-title span {
  font-size: 16px;
  font-weight: 700;
}
.top-videos .content .left .section-title i {
  -webkit-text-stroke: 0.4px;
}
.top-videos .content .left ul {
}
.top-videos .content .left ul li {
  padding: 20px;
  border-top: solid 1px #e2e2e2ad;
  min-width: 300px;
}
.top-videos .content .left ul li:hover {
  background-color: #fafafa;
  transition: 0.2s;
}
.top-videos .content .left ul li span:first-child {
  display: block;
}
.top-videos .content .left ul li:hover span:first-child {
  color: var(--mainColor);
  transition: 0.5s;
}
.top-videos .content .left ul li span:nth-child(2) {
  display: block;
  color: #777;
  margin-top: 10px;
}
.top-videos .content .right {
  background-color: #e2e2e2;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.top-videos .content .right .image {
}
.top-videos .content .right .image img {
  max-width: 100%;
  display: block;
}
.top-videos .content .right p {
  background-color: white;
  padding: 20px;
  margin-top: 10px;
}
/* end Top videos */

/* start our stats */
.our-stats {
  padding: 100px 0 80px;
  position: relative;
}
.our-stats .background {
  background-image: url("./images/stats.jpg");
  opacity: 0.05;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.our-stats .container {
  position: relative;
  z-index: 1;
  padding: 0px 25px;
}

.our-stats .container .title {
  font-size: 40px;
  text-align: center;
  font-weight: 700;
}
.our-stats .container .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.our-stats .container .box {
  background-color: #fcfefd;
  padding: 30px 0;
  position: relative;
}
.our-stats .container .box:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 0%;
  transition: 1s;
  background-color: var(--mainColor);
}
.our-stats .container .box:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 0%;
  transition: 0.8s;
  background-color: var(--mainColor);
}
.our-stats .container .box:hover::before,
.our-stats .container .box:hover::after {
  height: 100%;
}
.our-stats .container .box i {
  text-align: center;
  display: block;
  font-size: 32px;
}
.our-stats .container .box span:first-of-type {
  display: block;
  text-align: center;
  font-size: 50px;
  font-weight: 700;
  margin: 10px 0;
}
.our-stats .container .box span:nth-of-type(2) {
  display: block;
  font-size: 20px;
  color: var(--mainColor);
  font-weight: 800;
  text-align: center;
  font-style: italic;
}
/* end our stats */

/* start request descount */
.request-descount {
}
@media (min-width: 992px) {
  .request-descount {
    display: flex;
    height: 100vh;
    align-items: center;
  }
}
.request-descount .image-section {
  padding: 35px 0 0;
  position: relative;
  background-image: url("./images/discount-background2.jpg");
  background-size: cover;
  width: 100%;
  animation: changeBackground 5s infinite;
}
@keyframes changeBackground {
  0%,
  100% {
    background-image: url("./images/discount-background2.jpg");
  }
  50% {
    background-image: url("./images/discount-background1.jpg");
  }
}
@media (min-width: 992px) {
  .request-descount .image-section {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
  }
}

.request-descount .image-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--mainColor);
  z-index: 2;
  opacity: 0.95;
}
.request-descount .image-section .content {
  position: relative;
  z-index: 3;
}
.request-descount .image-section span {
  display: block;
  color: white;
  width: fit-content;
  margin: auto;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
}
.request-descount .image-section p {
  color: white;
  font-size: 18px;
  max-width: 500px;
  margin: 30px auto 0;
  line-height: 29px;
  text-align: center;
}
.request-descount .image-section .image {
  max-width: 300px;
  margin: 20px auto 0;
}
.request-descount .image-section .image img {
  max-width: 100%;
}
.request-descount .request {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 33px 0 40px;
}
.request-descount .request .content {
}
.request-descount .request .content span {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
}
.request-descount .request .content form {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.request-descount .request .content form input,
.request-descount .request .content form textarea {
  border: none;
  background-color: #f9f9f9;
  margin-top: 25px;
  border-bottom: solid #d1d1d1 1px;
  padding: 15px;
}

.request-descount .request .content form textarea {
  height: 200px;
}
.request-descount .request .content form input[type="submit"] {
  background-color: var(--mainColor);
  color: white;
  font-size: 20px;
  font-weight: 700;
}
/* end request descount */

/* start footer */
footer {
  background-color: #191919;
  padding-top: 70px;
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  text-align: center;
  column-gap: 40px;
}
@media (min-width: 768px) {
  footer .container {
    text-align: left;
  }
}
@media (min-width: 570px) {
  footer .container {
    row-gap: 50px;
  }
}
footer .box1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  footer .box1 {
    align-items: flex-start;
  }
}
footer .box1 span {
  display: block;
  color: white;
  font-size: 50px;
  font-weight: 700;
  width: fit-content;
}
footer .box1 .icons {
  color: #b6b7b9;
  display: flex;
  margin-top: 20px;
}
footer .box1 .icons i {
  background-color: #313133;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 20px;
  margin: 0 5px;
}
footer .box1 .icons i:first-child:hover {
  background-color: #3f34d9;
}
footer .box1 .icons i:nth-child(2):hover {
  background-color: #03a9f4;
}
footer .box1 .icons i:last-child:hover {
  background-color: red;
}
footer .box1 p {
  margin-top: 20px;
  color: #b6b7b9;
  line-height: 32px;
}
footer .box2 {
  margin-top: 55px;
}
@media (min-width: 570px) {
  footer .box2 {
    margin-top: 0;
  }
}
footer .box2 li {
  padding: 15px 0;
  transition: 0.3s;
}
footer .box2 li:hover {
  padding-left: 15px;
}
footer .box2 li:not(:last-child) {
  border-bottom: solid 1.9px #3b3b3b;
}
footer .box2 li i {
  color: #3490d9;
  margin-right: 8px;
  font-size: 12px;
  -webkit-text-stroke: 0.8px;
}
footer .box2 li span {
  color: #b6b7b9;
  font-weight: 500;
  transition: 0.3s;
}
footer .box2 li:hover span {
  color: white;
}
footer .box3 {
  margin-top: 40px;
}
@media (min-width: 570px) {
  footer .box3 {
    margin-top: 0;
  }
}
footer .box3 > div {
  line-height: 26px;
}
@media (min-width: 768px) {
  footer .box3 > div {
    display: flex;
    padding: 0 10px;
  }
}
footer .box3 > div:not(:first-child) {
  margin-top: 30px;
}
footer .box3 > div > i {
  color: #2495f3;
  font-size: 25px;
}
@media (min-width: 768px) {
  footer .box3 > div > i {
    display: flex;
    align-items: center;
    margin-right: 15px;
  }
}
footer .box3 > div > p {
  margin-top: 10px;
  color: #b9babc;
}
@media (min-width: 768px) {
  footer .box3 > div > p {
    margin-top: 0;
  }
}
footer .box4 {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap;
  margin: 70px 0 0;
}
@media (min-width: 570px) {
  footer .box4 {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  footer .box4 {
    justify-content: flex-start;
  }
}
footer .box4 .image {
  margin: 4px;
  border: solid white;
}
footer .box4 img {
  width: 72px;
  display: block;
}
footer .made {
  margin-top: 50px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border-top: solid 1px #3b3b3b;
}

/* end footer */
