@font-face {
  font-family: 'Snapp';
  src: url('./fonts/Snapp.ttf') format('truetype');
}

@font-face {
  font-family: Vazir-FD;
    src: url('./fonts/Vazir-FD.eot');
    src: url('./fonts/Vazir-FD.eot?#iefix') format('FontName-opentype'),
         url('./fonts/Vazir-FD.woff') format('woff'),
         url('./fonts/Vazir-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
    
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

:root {
  --main-color: #EEAD21;
}

body {
  /* height: 200vh; */
  font-family: 'Snapp', sans-serif;
  padding: 2rem;
  position: relative;
  /* overflow: hidden; */
}

.top-slider {
  width: 100%;
  height: 480px;
  position: relative;
  z-index: 2;
}
.topSwiper.swiper {
  width: 100%;
  height: 100%;
}
.topSwiper .swiper-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 94px;
}
.topSwiper .ts-content {
    color: white;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-inline: 4rem;
    line-height: 1;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    background-image: linear-gradient(139deg, black, transparent);
    border-radius: 94px;
  font-family: 'Vazir-FD';
}
.topSwiper .ts-content a {
  padding: .6rem 2rem;
  font-size: 22px;
  border-radius: 4rem;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  transition: all 0.2s ease;
  font-family: 'Vazir-FD';
}
.topSwiper .ts-content a:hover {
  background-color: white;
  color: black;
  box-shadow: 0 0 0 black;
}
.topSwiper .ts-content h2 {
  font-size: 80px;
  padding-top: 4rem;
}
.topSwiper .ts-content p {
  font-size: 22px;
  opacity: .5;
}
.topSwiper .swiper-pagination-bullet-active,
.topSwiper .swiper-pagination-bullet {
  background: white !important;
  width: 12px !important;
  height: 12px !important;
}
.logo {
  position: absolute;
  z-index: 2;
  padding: 1rem;
  border-radius: 40px;
  bottom: -83px;
  left: 50%;
  transform: translateX(-50%);
}
.logo img {
  width: 220px;
}

.main-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 3;
  position: relative;
  gap: 20px;
}
.main-info p {
  text-align: center;
  opacity: .5;
  margin-top: 40px;
  font-size: 22px;
  z-index: 4;
}
.main-info h1 {
  font-size: 98px;
  line-height: 1;
  text-align: center;
}
.main-info h1 span {
  color: var(--main-color);
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
}
.trust-logos img {
  width: 100px;
}
.contact-part {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.contact-us a {
  padding: .2rem 2rem;
  border-radius: 4rem;
  border: 1px solid black;
  line-height: 1;
  font-size: 18px;
  color: black;
  background-color: transparent;
  transition: all 0.2s ease;
}
.contact-us a:hover {
  background-color: black;
  color: white;
}
.social-media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.social-media a {
  border: 1px solid gray;
  border-radius: 6rem;
  padding: .7rem;
  line-height: 0;
  background-color: transparent;
  transition: all 0.2s ease;
}
.social-media a:hover {
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
}
.social-media a:hover img {
  filter: brightness(10);
}
.trust-item.deactive {
  filter: grayscale(1);
  cursor: not-allowed;
}

.main-blog {
  margin-top: 37px;
  width: 100%;
  position: relative;
}
.main-blog .swiper-wrapper {
  width: 100px;
}
.main-blog .swiper-slide {
  width: 100%;
  min-height: 300px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: flex-end;
  overflow: hidden;
}
.title {
  position: absolute;
  top: 0;
  left: 0;
  padding: .6rem 1.2rem;
  border-radius: 0 0 30px 0;
  z-index: 4;
  background-color: white;
  font-size: 26px;
}
.title .curve-right {
  position: absolute;
  border-radius: 30px 0 0 0;
  top: 0px;
  width: 30px;
  height: 30px;
  right: -30px;
  box-shadow: -14px -14px 0 12px white;
}
.title .curve-left {
  position: absolute;
  border-radius: 30px 0 0 0;
  bottom: -30px;
  width: 30px;
  height: 30px;
  left: 0;
  box-shadow: -14px -14px 0 12px white;
}

.blog-slide-content {
  padding: 37px;
  color: white;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(360deg, black, transparent);
  transition: all 0.2s ease;
  position: relative;
}
.blog-slide-content:hover img {
  padding-left: 440px;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-right: 14px;
  left: 0;
  margin-left: -440px;
}
.blog-slide-content:hover h3 {
  color: black;
}
.bsc-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.bsc-title img {
  background-color: white;
  border-radius: 4rem;
  padding: 10px;
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.bsc-title h3 {
  font-size: 30px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.blog-slide-content p {
  font-size: 16px;
  opacity: .5;
}
.blogSwiper .swiper-pagination-bullet-active,
.blogSwiper .swiper-pagination-bullet {
  background: white !important;
  width: 12px !important;
  height: 12px !important;
}

.main-projects {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 37px;
}
.project-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 36px;
  min-height: 100px;
  padding: 36px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.project-item:last-of-type {
  margin-bottom: 0;
}
.project-title {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  padding: 2px 1.2rem;
  border-radius: 0 0 20px 20px;
  z-index: 4;
  background-color: white;
  font-size: 22px;
  
  font-family: 'Vazir-FD';
}
.project-title .curve-right {
  position: absolute;
  border-radius: 0 20px 0 0;
  top: 0px;
  width: 20px;
  height: 20px;
  z-index: -1;
  left: -20px;
  box-shadow: 14px -14px 0 12px white;
}
.project-title .curve-left {
  position: absolute;
  border-radius: 20px 0 0 0;
  top: 0;
  width: 20px;
  height: 20px;
  z-index: -1;
  right: -20px;
  box-shadow: -14px -14px 0 12px white;
}
.project-item a {
  position: absolute;
  bottom: 60px;
  left: 1rem;
  backdrop-filter: blur(4px);
  padding: 6px 20px;
  border-radius: 20px;
  border: 1px solid white;
  color: white;
  transition: all 0.2s ease;
}
.project-item a:hover {
  padding-left: 40px;
  left: 0;
  border-radius: 0 20px 20px 0;
  border-left: 0px solid white;
}
.info-md{
  display: none;
}

/*Single*/
.sc-top {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 94px;
    background-color: #00000080;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
gap: 14px;
    min-height: 380px;
    position: relative;
}
.sc-top h1 {
    font-size: 98px;
    line-height: 1;
}
.sc-top p {
    opacity: 0.5;
    font-size: 22px;
}
.sc-top a {
    color: white;
    border: 2px solid white;
    border-radius: 40px;
    padding: 6px 24px;
    transition: all 0.2s ease;
}
.sc-top a:hover {
    background-color: white;
    color: black;
}
.sc-top .social-share {
    background-color: white;
    padding: 16px 40px;
    position: absolute;
    bottom: -1px;
    left: 0;
    border-radius: 0 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.social-share .curve-left {
    position: absolute;
    border-radius: 0 0 0 30px;
    bottom: 0;
    width: 30px;
    height: 30px;
    z-index: 1;
    right: -30px;
    box-shadow: -14px 14px 0 12px white;
}
.social-share .curve-right {
    position: absolute;
    border-radius: 0 0 0 30px;
    top: -30px;
    width: 30px;
    height: 30px;
    z-index: 1;
    left: 0;
    box-shadow: -14px 14px 0 12px white;
}
.social-share svg {
    cursor: pointer;
}
.sc-content {
margin-block: 50px;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    color: gray;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

@media (max-width: 1024px) {
  .info-lg {
    display: none;
  }
  .main-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .main-info {
    order: -1;
  }
  .info-md {
    display: block;
    margin-top: 37px;
  }
  .main-projects {
    max-height: unset;
    display: grid;
    order: -1;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: stretch;
    align-items: start;
  }
}

@media (max-width: 767px) {
  body{
    padding: 1rem;
  }
  .topSwiper .swiper-slide {
    border-radius: 50px;
  }
  .topSwiper .ts-content {
    border-radius: 50px;
    align-items: center;
  }
  .trust-logos img {
    width: 80px;
  }
  .main-projects {
    grid-template-columns: 1fr;
  }
  .sc-top {
    border-radius: 50px;
    min-height: 440px;
  }
  .sc-top h1 {
      font-size: 60px;
  }
  .topSwiper .ts-content h2 {
      font-size: 40px;
  }
}