/* Main */
body {
  background: #f5f5f5;
}

main {
  padding: 0 !important;
}

.main {
  padding: 0 !important;
}

main>section {
  margin-top: 50px;
}

main>section:last-child {
  margin-bottom: 20px;
}

.first-section {
  display: block;
  width: 100%;
  margin-top: 50px;
}

.first-main-div {
  width: 272px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  row-gap: 32px;
  margin: 0 auto;
  max-width: 1920px;
}

.hamyar-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
}

.h-hamyar {
  color: var(--hamyarcolor);
  font-size: 24px;
  display: block;
  width: 100%;
  text-align: center;
  padding-bottom: 0;
  margin: 0;
  font-weight: 900;
}

.h-hamyar-slogan {
  display: block;
  width: 100%;
  font-family: 'ravi', sans-serif;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
  padding-top: 0;
  margin: 0;
  font-weight: 400;
  color: #424242;
}

.first-div-btns {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.consolting-btn {
  background-color: var(--hamyarcolor);
  color: #f5f5f5;
  padding: 8px 16px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-family: 'ravi', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.first-div-slidshow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.slideshow-main {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-item,
.carousel-inner {
  border-radius: 0px !important;
  width: 100%;
  height: 100%;
}

.slider-box {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column-reverse;
  row-gap: 20px;
}

.slideshow-image {
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--global-radius) !important;
  border: none;
}

.carousel-control-next,
.carousel-control-prev {
  display: none;
}

.carousel-indicators {
  margin-left: 20px;
  display: flex;
  justify-content: end;
  display: none;
}

.slideshow-item-indicator {
  width: 6px !important;
  height: 6px !important;
  border: 1px solid transparent !important;
  border-radius: 200px !important;
  background-color: #777 !important;
  opacity: 1 !important;
  margin: 1px !important;
}

.slideshow-item-indicator.active {
  background-color: var(--hamyarcolor) !important;
}

@media screen and (min-width:412px) {
  .first-main-div {
    width: 342px;
  }

  .slideshow-main {
    width: 342px;
    height: auto;
  }
}

@media screen and (min-width:700px) {

  .first-main-div {
    width: 610px;
    flex-direction: row;
    align-items: center;
    padding: 20px 0;
    row-gap: 0;
  }

  .first-div-btns {
    justify-content: flex-start;
  }

  .slideshow-main {
    width: 100%;
    height: auto;
  }

  .slider-box {
    flex-direction: row;
  }

  .hamyar-intro {
    width: 45%;
    row-gap: 10px;
    padding: 1em;
  }

  .h-hamyar {
    font-size: 24px;
    text-align: right;
  }

  .h-hamyar-slogan {
    font-size: 16px;
    text-align: right;
  }

  .slideshow-imagebox {
    width: 65%;
  }

}

@media screen and (min-width:1024px) {

  .first-main-div {
    width: 700px;
  }

  .hamyar-intro {
    width: 40%;
    row-gap: 10px;
  }

  .h-hamyar {
    font-size: 24px;
    text-align: right;
  }

  .h-hamyar-slogan {
    font-size: 16px;
    text-align: right;
  }

}

@media screen and (min-width:1280px) {

  .first-main-div {
    width: 900px;
  }

  .hamyar-intro {
    width: 45%;
    row-gap: 20px;
  }

  .h-hamyar {
    font-size: 34px;
    text-align: right;
  }

  .h-hamyar-slogan {
    font-size: 20px;
    text-align: right;
  }

}

@media screen and (min-width:1728px) {

  .first-main-div {
    width: 1025px;
  }

}

/*  */

.second-section {
  width: 100%;
  display: block;
  background-color: var(--hamyarcolor);
  padding: 40px 0 !important;
}

.second-main-div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 1920px;
}

.h-services {
  display: block;
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0px 0 20px 0;
  color: #f5f5f5;
}

.swiper-cart {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.swiper-cart-wrapper {
  background-color: transparent;
}

.swiper-cart-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-cart-slide .cart {
  margin: 0 auto;
  width: 272px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  row-gap: 50px;
  padding: 13px 17px;
  border: 1px solid #fff;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px rgba(34, 151, 153, 0.05);
}

.swiper-cart-slide .cart-img {
  width: 235px;
  height: 130px;
  border-radius: 8px;
}

.swiper-cart-slide .cart-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  row-gap: 9px;
}

.swiper-cart-slide .cart-title {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  column-gap: 4px;
}

.cart-title>img,
.cart-title>svg {
  width: 25px;
  height: 20px;
  fill: var(--hamyarcolor);
}

.swiper-cart-slide .cart-title>p {
  margin: 0;
  color: #424242;
  font-size: 16px;
  font-weight: 700;
}

.swiper-cart-slide .cart-info {
  margin: 0;
  color: #424242;
  font-size: 12px;
  font-weight: 400;
  text-align: justify;
}

.swiper-cart-slide .cart-reserve {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.swiper-cart-slide .cart-reserve-link {
  background-color: var(--hamyarcolor);
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
}

.deactive {
  background-color: grey !important;
  cursor: default;
  opacity: 0.5;
}

@media screen and (min-width:412px) {
  .swiper-cart-slide .cart {
    width: 327px;
    height: 380px;
    padding: 20px;
    border-radius: 11px;
    box-shadow: 5px 5px 10px 0px rgba(34, 151, 153, 0.05);
  }

  .swiper-cart-slide .cart-img {
    width: 100%;
    height: 183px;
    border-radius: 10px;
  }

  .cart-title>p {
    font-size: 20px;
  }

  .cart-info {
    font-size: 14px;
  }

  .cart-reserve-link {
    height: 40px;
    font-size: 16px;
  }
}

/*  */

.third-section {
  display: block;
  width: 100%;
  margin-top: 20px;
}

.third-main-div {
  width: 272px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  row-gap: 16px;
  max-width: 1920px;
}

.video-texts {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 4px;
}

.h-video {
  display: block;
  width: 100%;
  font-family: 'gofte', 'ravi', sans-serif;
  color: var(--hamyarcolor);
  text-align: right;
  font-size: 18px;
  font-weight: 900;
}

.p-video {
  color: #424242;
  text-align: justify;
  font-size: 14px;
  font-weight: 400;
  line-height: 129%;
}

.a-video {
  color: #FFF;
  font-size: 0.875rem;
  text-decoration: none;
  background-color: var(--hamyarcolor);
  border-radius: 10px;
  padding: 8px 16px;
}

.video-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-player {
  width: 272px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--global-radius);
}

.main-video {
  width: 272px;
  height: 180px;
  border-radius: var(--global-radius);
  background-color: #424242;
}

@media screen and (min-width:412px) {
  .third-main-div {
    width: 342px;
  }

  .video-player {
    width: 342px;
  }

  .main-video {
    width: 342px;
    height: 240px;
  }
}

@media screen and (min-width:700px) {
  .third-main-div {
    width: 610px;
    padding: 20px 0;
    row-gap: 20px;
  }

  .video-texts {
    padding: 12px 0;
    width: 100%;
  }

  .h-video {
    font-size: 24px;
  }

  .p-video {
    font-size: 16px;
  }

  .main-video {
    width: 480px;
    height: 320px;
  }
}

@media screen and (min-width:1024px) {
  .third-main-div {
    width: 700px;
  }
}

@media screen and (min-width:1280px) {
  .third-section {
    margin-top: 60px;
  }

  .third-main-div {
    width: 900px;
    flex-direction: row;
    row-gap: 0;
  }

  .video-texts {
    padding: 12px 0;
    width: 45%;
    row-gap: 12px;
    align-items: flex-start;
  }

  .h-video {
    font-size: 28px;
  }

  .video-container {
    width: 55%;
  }

  .main-video {
    width: 460px;
    height: 320px;
  }

}

@media screen and (min-width:1728px) {

  .third-main-div {
    width: 1025px;
  }

  .main-video {
    width: 512px;
    height: 342px;
  }

}


/*  */

.fourth-section {
  display: block;
  width: 100%;
  background-color: #e3e3e3;
  padding: 40px 0 !important;
}

.fourth-main-div {
  width: 100%;
  display: block;
  padding: 20px 4%;
  margin: 0 auto;
}

.data-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  row-gap: 32px;
}

.data-cart {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 4px;
}

.data-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
}

.data-title {
  color: #000;
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
}

.data-number {
  color: var(--hamyarcolor);
  font-size: 2rem;
  font-weight: 700;
  direction: ltr;
  margin: 0;
  position: relative;
}

.data-number::before {
  position: absolute;
  content: '+';
  left: -20px;
  transform: translateX(-10px);
  transition: all 0.5s linear;
  visibility: hidden;
  opacity: 0;
}

.data-number.fin::before {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s linear;
}

.data-link {
  background-color: var(--hamyarcolor);
  color: #F5F5F5;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
}

.data-divider {
  width: 75%;
  height: 1px;
  background-color: var(--hamyarcolor);
  margin: 0;
}

.fifth-section {
  display: block;
  width: 100%;
}

@media screen and (min-width:412px) {
  .fourth-main-div {
    width: 342px;
  }
}

@media screen and (min-width:700px) {
  .fourth-main-div {
    padding: 20px 0%;
    width: 610px;
  }

  .data-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .data-cart {
    width: 33%;
  }

  .data-divider {
    width: 2px;
    height: 226px;
  }
}

@media screen and (min-width:1024px) {
  .fourth-main-div {
    width: 700px;
  }
}

@media screen and (min-width:1280px) {
  .fourth-main-div {
    width: 900px;
  }
}

@media screen and (min-width:1728px) {
  .fourth-main-div {
    width: 1025px;
  }
}

/*  */

.fifth-main-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 24px;
  padding: 20px 0;
  margin: 0 auto;
  width: 272px;
  max-width: 1920px;
}

.h-events {
  display: block;
  color: #424242;
  font-weight: 900;
  font-size: 1.25rem;
  margin: 10px 0;
}

.blog-post {
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  row-gap: 30px;
}

.fifth-div-slidshow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.fifth-slideshow-main {
  display: block;
  width: 100%;
  height: auto;
}

.fifth-carousel-item,
.fifth-carousel-inner {
  border-radius: 0 !important;
  width: 100%;
  height: 100%;
  mask-image: none;
}

.fifth-slideshow-image {
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--global-radius) !important;
  border: none;
}

.fifth-carousel-control-next,
.fifth-carousel-control-prev {
  display: none;
}

.fifth-carousel-indicators {
  margin: auto;
  display: flex;
  justify-content: center;
  bottom: -25px;
}

.fifth-slideshow-item-indicator {
  width: 8px !important;
  height: 8px !important;
  border: 1px solid transparent !important;
  border-radius: 200px !important;
  background-color: #777 !important;
  opacity: 1 !important;
  margin: 1px !important;
}

.fifth-slideshow-item-indicator.active {
  background-color: var(--hamyarcolor) !important;
}

.cart {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  font-family: 'ravi', sans-serif;
}

.cart-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  row-gap: 12px;
  width: 100%;
  height: auto;
}

.cart p {
  margin: 0;
  display: block;
}

.cart-subject-container {
  display: block;
  width: 100%;
  position: relative;
}

.cart-subject {
  width: 100%;
  text-align: justify;
  font-size: 16px;
  font-weight: 700;
  color: #4D4D4D;
  position: relative;
}

.cart-subject::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  background-color: #e7e7e7;
  bottom: -2px;
  right: 0;
}

.cart-subject::before {
  position: absolute;
  content: '';
  width: 4px;
  height: 4px;
  background-color: #e7e7e7;
  bottom: -2.75px;
  right: 98.5%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.cart-text {
  width: 100%;
  color: #4D4D4D;
  text-align: justify;
  font-size: 12px;
  line-height: 1.5;
  max-height: 72px;
  overflow: hidden;
  font-weight: 400;
}

.cart-link {
  display: block;
  border: 2px solid var(--hamyarcolor);
  border-radius: 10px;
  padding: 4px 12px;
  margin: 10px 0;
}

.a-cart-link {
  color: var(--hamyarcolor);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.a-cart-link span {
  margin-right: 8px;
}

@media screen and (min-width:412px) {
  .fifth-main-div {
    width: 342px;
  }
}

@media screen and (min-width:500px) {
  .cart-text {
    max-height: 168px;
  }
}

@media screen and (min-width:700px) {

  .fifth-main-div {
    padding: 20px 0%;
    width: 610px;
  }

  .h-events {
    font-size: 24px;
    margin: 20px 0;
  }

  .blog-post {
    flex-direction: row;
  }

  .cart {
    width: 45%;
    padding: 1em;
  }

  .blog-img {
    width: 65%;
  }

}

@media screen and (min-width:1024px) {

  .fifth-main-div {
    width: 700px;
  }

  .cart-body {
    row-gap: 20px;
  }

  .cart-subject {
    font-size: 20px;
  }

  .cart-text {
    font-size: 16px;
    line-height: 1.75;
    max-height: 168px;
  }

  .cart-link {
    margin: 24px 0;
  }

  .a-cart-link {
    font-size: 0.75rem;
  }

}

@media screen and (min-width:1280px) {

  .fifth-main-div {
    width: 900px;
  }

  .cart-link {
    margin: 24px 0;
  }

  .a-cart-link {
    font-size: 0.75rem;
  }

}

@media screen and (min-width:1728px) {

  .fifth-main-div {
    width: 1025px;
  }

}