@import url(general.css);

* {
  padding: 0;
  margin: 0;
}

body {
  overflow: visible;
  overflow-x: hidden;
}

.hero-header {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-wrap: wrap;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.hero-content {
  text-align: center;
  color: var(--main-background-color);
  padding: 1rem;
  width: 100%;
  max-width: 1200px;
  padding-bottom: 100px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

.page1 {
  width: 100%;
  height: 700px;
  background-color: #403f3f;
  background-image: url("");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page2 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  height: 700px;
  align-items: center;
}

.story_pic {
  width: 50%;
  margin: 30px;
  min-width: 400px;
  max-width: 700px;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px;
}

.story_text {
  width: 50%;
  min-width: 400px;
  height: 450px;
  padding: 10px 60px;
  overflow-y: scroll;
  direction: rtl;
  text-align: left;
}

.story_text::-webkit-scrollbar {
  height: 10px;
}

.story_text::-webkit-scrollbar-track {
  background: #ffffff;
  border: 1px solid #000000b6;
  border-radius: 5px;
}

.story_text::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 5px;
  width: 50px;
  z-index: 5;
}

.story_text::-webkit-scrollbar-thumb:hover {
  background: #000000d1;
  border: #000000 solid 1px;
}

.par {
  margin: 30px 0;
  width: 100%;
  text-align: left;
  justify-content: left;
}

.par p {
  width: 100%;
  animation: text_appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.par_title {
  margin-bottom: 7px;
  font-size: 20px;
  text-transform: uppercase;
  animation: text_appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.first_row,
.second_row {
  display: flex;
  width: 50%;
  justify-content: space-around;
}

.par_text {
  font-size: 14px;
  text-align: left;
  width: 100%;
}

.states {
  width: 100%;
  display: flex;
  justify-content: space-around;
  height: 250px;
  gap: 5%;
  background-color: #67656516;
  align-items: center;
}

.counter {
  text-align: center;
}

#state {
  width: 160px;
  animation: text_appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.num_with_type {
  display: flex;
  font-size: 40px;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
}

.num_with_type span {
  font-size: 60px;
}

@keyframes text_appear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page4 {
  width: 100%;
  height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page5 {
  width: 100%;
  height: 600px;
}

.slider {
  display: flex;
  justify-content: space-between;
  height: 437px;
  gap: 5px;
  align-items: center;
}

.upper_part {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.feedback-card {
  width: 200px;
  height: 300px;
  border-radius: 30px;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 25px;
}

.card {
  width: 200px;
  height: 300px;
  border-radius: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  padding: 20px;
  z-index: 1;
  border: #000000 solid 1px;
  transition: 0.3s;
}

.image {
  width: 200px;
  height: 300px;
  border-radius: 30px;
  position: absolute;
  left: 0;
  z-index: -1;
  bottom: 0;
  background-image: url("/images/salah.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: 0.3s;
}

.upper_part p {
  width: 400px;
  text-align: center;
}

.store_def {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px;
}

.upper_part h1 {
  margin-top: 30px;
}

.feedback-card:hover .card {
  rotate: 30deg;
  background-color: #f2eded;
}

.feedback-card:hover .image {
  rotate: -30deg;
  left: -100px;
}

.feedback-card:hover {
  z-index: 5;
}

@media (max-width:930px) {
  .states {
    display: block;
    justify-content: center;
    align-items: center;
    height: 400px;
  }

  .first_row,
  .second_row {
    width: 100%;
    height: 50%;
    align-items: center;
    justify-content: space-evenly;
  }

  .story_text {
    height: 500px;
    border-radius: 10px;
    margin-bottom: 40px;
    width: 88%;
    max-width: 600px;
    min-width: 0px;
    padding: 5px 20px;
    flex: 1;
  }

  .page2 {
    flex-direction: column-reverse;
    height: 1000px;
  }

  .story_pic {
    height: 500px;
    margin-bottom: 20px;
    width: 90%;
    max-width: 600px;
    min-width: 0px;
    padding: 20px;
  }
}