@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb.woff2");
  font-weight: 400;
}

@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb_Medium.woff2");
  font-weight: 500;
}

@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb_Bold.woff2");
  font-weight: 700;
}

@font-face {
  font-family: IRANSansWeb;
  src: url("./../webfonts/IRANSansWeb_Light.woff2");
  font-weight: 300;
}

:root {
  --primary-color1: #501e9c;
  --primary-color2: #8169f1;
  --primary-color3: #5842bc;
  --secondary-color1: #a44cee;
  --secondary-color2: #ff847f;
  --background-color: #f7f4ff;
  --background-color2: #f0eff5;
  --text-color: #333;
  --bs-link-color: #000;
  --swiper-navigation-size: 1rem;
  --swiper-navigation-color: var(--primary-color1);
  --bs-nav-link-hover-color: var(--primary-color3);
  --bs-link-hover-color: var(--primary-color3);
  --primary-font-family: IRANSansWeb;
}

* {
  font-family: var(--primary-font-family);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a,
input[type="submit"] {
  text-decoration: none;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

textarea {
  height: 100px;
}

input:not(.search-input),
textarea,
select {
  margin: 5px 0;
  border: solid 1px #e4e4e4;
  padding: 12px 30px;
  font-size: 0.8rem;
  border-radius: 10px;
  direction: rtl !important;
}

input[type="submit"] {
  background-color: var(--primary-color3);
  color: #fff;
  border: none;
  margin: 20px 0;
}

input[type="submit"]:hover {
  background-color: var(--primary-color2);
}
h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 50px;
}
.title {
  display: inline-block;
  color: #000;
  font-weight: bold;
  font-size: 2.3rem;
  line-height: 60px;
  margin-bottom: 30px;
}
.title span {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: var(--primary-color1);
  background-image: -webkit-gradient(
    linear,
    right top,
    left top,
    from(var(--primary-color1)),
    color-stop(30%, var(--primary-color2)),
    color-stop(73%, var(--secondary-color1)),
    to(var(--secondary-color2))
  );
  background-image: -o-linear-gradient(
    right,
    var(--primary-color1) 0%,
    var(--primary-color2) 30%,
    var(--secondary-color1) 73%,
    var(--secondary-color2) 100%
  );
  background-image: linear-gradient(
    270deg,
    var(--primary-color1) 0%,
    var(--primary-color2) 30%,
    var(--secondary-color1) 73%,
    var(--secondary-color2) 100%
  );
}
.top-nav {
  background-image: url(../image/top-nav.png);
  background-size: cover;
  background-position: top;
  padding: 10px 15px 50px;
}
.top-nav div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}
.top-nav > div {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  color: #fff;
  font-size: 0.85rem;
}
.top-nav a {
  color: #fff;
}
.top-nav a i {
  opacity: 0.6;
}
.top-nav a:hover i {
  opacity: 1;
}
.navbar {
  background-color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: -38px;
  padding-bottom: 70px;
}

.logo-a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.logo-a img {
  width: 60px;
}
.logo-a div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.logo-a strong {
  color: #000;
  font-size: 1.5rem;
}
.logo-a span {
  color: #979797;
  font-size: 0.8rem;
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  z-index: 99;
}
.menu a {
  font-weight: 700;
  font-size: 0.8rem;
  display: block;
  white-space: nowrap;
}
.menu .active-nav {
  color: var(--primary-color3) !important;
}
.menu-dropdown a {
  color: #303030 !important;
}
.menu-dropdown,
.menu-check,
.toggler-check {
  display: none;
}
.menu label,
.toggler-label {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
.menu label:hover,
.toggler-label:hover {
  cursor: pointer;
}
.menu li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.menu-dropdown a {
  padding: 5px 10px;
}
.login-button a {
  color: var(--primary-color3) !important;
}
.login-button a {
  padding: 10px 25px;
  color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 7px;
}
.nav-pills {
  --bs-nav-pills-link-active-bg: var(--primary-color3);
  --bs-nav-pills-border-radius: 50px;
}
.nav {
  --bs-nav-link-hover-color: var(--primary-color3);
}

footer {
  padding-top: 70px;
  text-align: center;
  background-color: var(--background-color2);
  margin-top: 170px;
}
footer .wave-img {
  height: 240px;
  width: 100%;
  margin-top: -220px;
  -o-object-fit: cover;
  object-fit: cover;
}
.app-description {
  font-size: 0.85rem;
}
.description {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}
.app-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  margin-top: 15px;
  gap: 10px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.app-div > div {
  background-color: var(--primary-color3);
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 12px 30px;
  border-radius: 50px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  border: solid 1px transparent;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.app-div > div:nth-child(2) {
  background-color: transparent;
  color: #212529;
  border-color: var(--primary-color3);
}
.app-div a,
.app-div a:hover {
  color: #fff;
  font-size: 0.85rem;
}
.app-div > div:nth-child(2) a {
  color: #212529;
}
.app-div > div:hover {
  background-color: var(--primary-color3);
  color: #fff;
  border-color: transparent;
}
.app-div > div:hover a {
  color: #fff !important;
}
.info-div {
  border-bottom: 1px solid #9999;
  padding: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  text-align: justify;
  gap: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  margin-top: 20px;
}
.info-div > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.copywrite {
  padding: 35px 0;
  margin: 0;
  font-size: 0.85rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5px;
}
.pagination {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  --bs-pagination-color: var(--text-color);
  --bs-pagination-active-bg: var(--primary-color3);
  --bs-pagination-active-border-color: var(--primary-color3);
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-hover-color: var(--text-color);
  --bs-pagination-focus-color: var(--text-color);
  --bs-pagination-hover-bg: var(--background-color);
  --bs-pagination-focus-bg: var(--background-color);
}
@media screen and (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1160px;
  }
}
@media screen and (max-width: 1200px) {
  .title {
    font-size: 1.8rem;
    line-height: 50px;
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 1025px) {
  .login-button {
    background: #fff;
  }
  .login-button a {
    border: 1px solid #0002;
    border-radius: 50px;
  }
  .login-button a:hover {
    background: var(--primary-color3);
    border-color: transparent !important;
    color: #fff !important;
  }
  .navbar > div {
    gap: 3rem;
  }
  .menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
  }
  .toggler-label,
  .menu-check,
  .toggler-check {
    display: none;
  }
  .menu > ul > li > a {
    padding: 0px 17px;
  }
  .menu > ul > li {
    display: inline-block;
    padding-bottom: 10px;
  }
  .menu-hasdropdown {
    position: relative;
  }
  .menu-hasdropdown:hover > ul {
    display: block;
    -webkit-animation: grow 0.5s ease-in-out;
    animation: grow 0.5s ease-in-out;
  }
  .menu-hasdropdown > ul {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background-color: #fff;
    padding: 10px 0;
    border-radius: 15px;
    -webkit-box-shadow: 0 0 20px #0001;
    box-shadow: 0 0 20px #0001;
  }
  .menu-hasflyout > ul {
    right: 100%;
    top: 0;
  }
  .menu-hasflyout .menu-downicon {
    display: none;
  }
  .menu-dropdown a:hover {
    background-color: var(--background-color);
  }
  .nav-scroll {
    background: #fff !important;
    -webkit-box-shadow: 0px 10px 30px rgb(0 0 0 / 10%);
    box-shadow: 0px 10px 30px rgb(0 0 0 / 10%);
    padding: 0;
    position: fixed !important;
    top: -100px !important;
    left: 0;
    width: 100%;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    -webkit-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 99;
  }
}
@media screen and (max-width: 1024px) {
  .menu {
    width: 100%;
  }
  .menu,
  .menu-lefticon {
    display: none;
  }
  .toggler-check:checked + .menu {
    display: block;
    background-color: #fff;
    -webkit-animation: grow 0.5s ease-in-out;
    animation: grow 0.5s ease-in-out;
    margin-top: 10px;
    padding-top: 15px;
    overflow: hidden;
    border-radius: 15px;
    -webkit-box-shadow: 0 0 20px #0001;
    box-shadow: 0 0 20px #0001;
  }
  .menu-check:checked + ul {
    display: block;
    background-color: #e5d5ff1f;
    -webkit-animation: grow 0.5s ease-in-out;
    animation: grow 0.5s ease-in-out;
  }
  .toggler-label {
    display: block;
    padding: var(--bs-navbar-toggler-padding-y)
      var(--bs-navbar-toggler-padding-x);
    font-size: 2rem;
    text-align: end;
    -ms-flex-item-align: end;
    -ms-grid-row-align: end;
    align-self: end;
  }
  .menu a {
    padding: 15px 20px;
    font-size: 0.85rem;
  }
  .menu a:not(.login-button a) {
    color: #303030 !important;
  }
}
@media screen and (max-width: 992px) {
  .navbar {
    padding-bottom: 50px;
  }
  .info-div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }
}
@media screen and (max-width: 500px) {
  .top-nav > div {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .app-div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .app-div > div {
    width: 100%;
  }
  .card-div {
    padding: 10px;
    height: auto;
  }
  .title {
    font-size: 1.5rem;
    line-height: 40px;
  }
}
