/*==================== GOOGLE FONTS ====================*/
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap");

/*==================== VARIABLES CSS ====================*/
:root {
  --header-height: 2.5rem;

  /*========== Colors ==========*/
  /* Change favorite color */
  /* --hue-color: 250;  */
  /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  /* HSL color mode */
  --blue-color: #1d9bf0;
  --light-blue-color: #b3e0ee;
  --gray-color: #ededed;
  --gray-color: #e7ecee;
  --withe-bg-color: #fafbff;
  --body-color: linear-gradient(188.12deg, #ededed -4.4%, #d5eaf5 105.44%);

  --title-color: #264653;
  --text-color: #474747;
  /* --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%); */

  /*========== Font and typography ==========*/
  --body-font: "Vazirmatn", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  /* --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem; */

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  /* --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem; */

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Font size for large devices */
/* @media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
} */

/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
  direction: rtl;
  min-height: 100vh;
  padding-bottom: 3rem;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-height: 100%;
  height: auto;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/*==================== REUSABLE CSS CLASSES ====================*/
/* .section {
  padding: 3rem 0;
  margin-top: 4rem;
  margin-bottom: 2rem;
} */

.section__header {
  position: relative;
  text-align: center;
  height: 4.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  color: var(--title-color);
}

.section__img {
  position: absolute;
}

/*==================== BUTTONS ====================*/
.btn {
  font-weight: 700;
  font-size: 12px;
  font-family: var(--body-font);
  text-align: center;
  color: var(--blue-color);
  background-color: transparent;
  border: 1px var(--blue-color) solid;
  border-radius: 16px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  color: var(--withe-bg-color);
  background-color: var(--blue-color);
  border: 1px transparent solid;
}

.btn-fill {
  color: var(--withe-bg-color);
  background-color: var(--blue-color);
  border: 1px transparent solid;
}

.btn-fill:hover {
  color: var(--blue-color);
  background-color: transparent;
  border: 1px var(--blue-color) solid;
}

.btn-blue {
  background: var(--blue-color);
  border: 1px var(--blue-color) solid;
  border-radius: 0.5rem;
  padding: 0.875rem;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: #fff;
  transition: 0.3s;
}

.btn-dark {
  background: var(--title-color);
  border: 1px var(--title-color) solid;
  border-radius: 0.5rem;
  padding: 0.875rem;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: #fff;
  transition: 0.3s;
}

.btn-blue:hover {
  background-color: transparent;
  color: var(--blue-color);
}

.btn-white {
  background: #fff;
  border: 1px var(--blue-color) solid;
  border-radius: 0.5rem;
  padding: 0.875rem;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: var(--blue-color);
  transition: 0.3s;
}

.btn-white:hover {
  color: var(--withe-bg-color);
  background-color: var(--blue-color);
  border: 1px transparent solid;
}

/*==================== LAYOUT ====================*/
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}
/* .header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
} */

.w-100 {
  width: 100% !important;
}
/*=============== HEADER ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: 0.4s; /*For animation dark mode*/
  margin-top: 1.5rem;
}

.shape {
  position: absolute;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav__btn {
  width: 129px;
  height: 32px;
}

.nav__close {
  color: var(--title-color);
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: #fff;
    width: 70%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px hsla(var(--hue), 24%, 15%, 0.1);
    padding: 5rem 3rem 0 0rem;
    border-radius: 1rem 0 0 1rem;
    transition: 0.3s;
    z-index: 100;
  }
}

.nav__btns,
.nav__close {
  display: none;
}

.nav__toggle {
  /* display: inline-flex; */
  font-size: 1.25rem;
  cursor: pointer;
}

.nav__close {
  font-size: 1.5rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
}

.nav__list {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
  font-size: 12px;
  font-weight: 700;
}

.nav__link:hover {
  color: var(--blue-color);
}

/* Show menu */
.show-menu {
  right: 0 !important;
}

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 15%, 0.1);
}

/* Active link */
.active-link {
  position: relative;
  color: var(--blue-color);
}

.active-link::after {
  content: "";
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 1rem;
  height: 1px;
  background-color: var(--blue-color);
}

/*==================== HOME ====================*/
.home__container {
  position: relative;
  height: 600px;
  background: linear-gradient(249.35deg, #b3e0ee 0.02%, #1d9bf0 99.43%);
  border-radius: 32px;
  grid-template-columns: 1fr 1fr;
}

.home__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  row-gap: 1rem;
}

.home__title {
  font-weight: 700;
  font-size: 28px;
  color: #fff;
}

.home__description {
  font-weight: 500;
  font-size: 12px;
  line-height: 19px;
  color: #fff;
  max-width: 330px;
}

.group_link {
  border: 1px solid #ffffff;
  border-radius: 16px;
  padding: 0.37rem 0 0.37rem 0;
  font-size: 12px;
}

.first-link {
  padding: 0.4375rem 2.25rem;
  background: #fff;
  border-radius: 16px;
  color: var(--blue-color);
}

.second-link {
  padding: 0.4375rem 1rem;
  color: #fff;
}

.home__image {
  position: absolute;
  bottom: 0;
  right: -61px;
  z-index: 1;
  max-width: 100%;
}

.home .circle1 {
  top: 81px;
  right: 64px;
}

.home .circle2 {
  top: 46px;
  right: 29px;
}

.home .icon1 {
  top: 214px;
  right: 393px;
  z-index: 1;
}

.home .icon2 {
  top: 66px;
  right: 295px;
  z-index: 1;
}

.home .icon3 {
  top: 50px;
  right: 40px;
  z-index: 1;
}

.home .icon4 {
  top: 216px;
  right: 7px;
  z-index: 1;
}

/*==================== overall ====================*/
.overall__box {
  position: absolute;
  width: 728px;
  height: 132px;
  bottom: 0;
  margin: 0 auto;
  right: 0;
  left: 0;
  background: rgba(255, 247, 248, 0.5);
  box-shadow: 0px 4px 44px rgb(168 179 202 / 36%);
  backdrop-filter: blur(29px);
  border-radius: 16px;
  z-index: 1;
}

/*==================== service ====================*/
.service {
  margin-top: 8rem;
}

.service__container {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  padding-top: 2.25rem;
  padding-bottom: 2rem;
  justify-content: center;
  justify-items: center;
}

.service__data {
  display: flex;
  flex-direction: column;
  gap: 1.68rem;
  align-items: center;
}

.service__cover-wrapper {
  width: 7rem;
  height: 7rem;
  background: #ffffff;
  border-radius: 18px;
}

.service__cover-wrapper {
  width: 111.44px;
  height: 109.09px;
  background: #ffffff;
  border-radius: 18px;
}

.service__cover {
  height: 93%;
  background: #e9c46a;
  border-radius: 18px;
  margin: 0.25rem;
  display: flex;
  text-align: center;
  vertical-align: middle;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service__title {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: var(--title-color);
}

.service__description {
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: var(--title-color);
}

/*==================== tutorial ====================*/
.tutorial {
  margin-top: 6rem;
  padding: 0.8125rem 5.5rem 5rem;
  background-color: var(--withe-bg-color);
  box-shadow: 0px 25px 32px 9px rgba(60, 85, 122, 0.06);
  border-radius: 32px;
  position: relative;
}

.tutorial__container {
  grid-template-columns: repeat(auto-fill, 260px);
  justify-items: center;
  justify-content: center;
  gap: 3.75rem;
  margin-top: 5.6875rem;
}

.tutorial__card {
  border: 1px solid var(--blue-color);
  border-radius: 16px;
  padding: 0.5rem;
  height: calc(100% - 4rem);
  transition: 0.5s;
  text-align: center;
}

.tutorial__card:hover {
  background: #ffffff;
  box-shadow: 0px 4px 25px 17px rgba(57, 63, 71, 0.07);
  border-radius: 16px;
  border: 1px solid transparent;
  transform: scale(1.05);
}

.tutorial__img {
  transform: translateY(-4rem);
}

.tutorial__title {
  font-size: 16px;
  font-weight: 400;
  color: #474747;
  padding: 1rem;
  background: red;
  background: #e7ecee;
  border-radius: 8px;
  text-align: center;
  transform: translateY(-4rem);
}

.tutorial__info {
  transform: translateY(-4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 0.5rem; */
  margin-top: 0.5rem;
}

.tutorial__price {
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: var(--title-color);
  font-weight: bold;
}

.tutorial__show-btn {
  display: flex;
}

.tutorial__show-btn img {
  margin-right: 0.375rem;
}

.tutorial .dot-blue {
  bottom: -22px;
  left: -22px;
  z-index: -1;
}


/*==================== webinar ====================*/
.webinar {
  margin-top: 6rem;
  padding: 0.8125rem 5.5rem 5rem;
  background-color: var(--withe-bg-color);
  box-shadow: 0px 25px 32px 9px rgba(60, 85, 122, 0.06);
  border-radius: 32px;
  position: relative;
}

.webinar__container {
  grid-template-columns: repeat(auto-fill, 260px);
  justify-items: center;
  justify-content: center;
  gap: 3.75rem;
  margin-top: 5.6875rem;
}

.webinar__card {
  border: 1px solid var(--blue-color);
  border-radius: 16px;
  padding: 0.5rem;
  transition: 0.5s;
  text-align: center;
  position: relative;
}

.webinar__card:hover {
  background: #ffffff;
  box-shadow: 0px 4px 25px 17px rgba(57, 63, 71, 0.07);
  border-radius: 16px;
  border: 1px solid transparent;
  transform: scale(1.05);
}

.webinar__img {
  max-width: 100%;
  border-radius: 16px;
}

.webinar__date {
  position: absolute;
  padding: 10px;
  right: 10px;
  border-radius: 16px;
  font-size: 12px;
  color: white;
}

.webinar__date.active {
  background-color: var(--blue-color);
}

.webinar__date.deactive {
  background-color: red;
}

.webinar__title {
  font-size: 16px;
  font-weight: 400;
  color: #474747;
  padding: 1rem;
  background: red;
  background: #e7ecee;
  border-radius: 8px;
  text-align: center;
}

.webinar__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 0.5rem; */
  margin-top: 0.5rem;
}

.webinar__price {
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: var(--title-color);
  font-weight: bold;
}

.webinar__show-btn {
  display: flex;
}

.webinar__show-btn img {
  margin-right: 0.375rem;
}

.webinar .dot-blue {
  top: -22px;
  right: -22px;
  z-index: -1;
}

/*==================== comment ====================*/
.comment {
  margin-top: 4rem;
}

.comment__container {
  grid-template-columns: repeat(auto-fill, 255px);
  /* grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); */
  margin-top: 5.375rem;
  justify-items: center;
  justify-content: center;
}

.comment__card {
  border: 1px solid var(--blue-color);
  box-shadow: 0px 25px 32px 9px rgba(60, 85, 122, 0.06);
  border-radius: 32px;
  padding: 1.25rem 1.5rem;
  transition: 0.7s;
  text-align: center;
  height: max-content;
}

.comment__card .user_img {
  width: 90px;
  border-radius: 50%;
  padding: 0.3125rem;
  border: 1px solid rgba(29, 155, 240, 0.4);
}

.comment__card .user_name {
  font-size: 16px;
  margin-top: 1.875rem;
}

.comment__card .text {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 12px;
  line-height: 19px;
  color: #878787;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.comment__card .player {
  width: 100%;
  margin-top: 1.375rem;
}

.comment__card:hover {
  background-color: var(--withe-bg-color);
  border: 1px solid transparent;
  border-radius: 32px;
  /* padding: 1.5rem; */
  transform: scale(1.09);
}

/* .comment__card:active .text {
  -webkit-line-clamp: inherit;
  line-clamp: inherit;
} */

.fullCommentText {
  -webkit-line-clamp: inherit !important;
  line-clamp: inherit !important;
}

/*==================== footer ====================*/
footer {
  margin: 17.375rem auto 4.5rem;
}

.footer__container {
  position: relative;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  /* repeat(auto-fit, minmax(311px, 1fr)); */
  background: linear-gradient(251.89deg, #1d9bf0 9.97%, #b3e0ee 99.48%);
  border-radius: 26px;
  /* padding: 0 3.375rem; */
  /* padding: 3.25; */
  max-width: 1104px;
  max-height: 274px;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.1875rem 3.1875rem 1.4375rem 0;
}

.footer__title {
  font-size: 16px;
  color: #fff;
}

.footer__text {
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  margin: 0.9375rem 0 1.75rem;
}

.footer__links {
  margin-top: 0.4375rem;
}

.footer__link {
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  margin-top: 1.375rem;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.footer__logo {
  max-height: inherit;
}

.footer__logo img {
  transform: translateY(-108px);
  min-height: 382px;
  max-width: 100%;
}

.dot-blue-blue {
  top: -45px;
  right: -45px;
  z-index: -1;
}

.footer__about {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 0 1.6875rem 2.125rem 1.375rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer__button {
  margin-top: 1.25rem;
}
@media screen and (max-width: 1200px) {
  .container {
    max-width: 1150px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 968px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

@media screen and (max-width: 990px) {
  .home__container {
    padding: 3rem;
    display: block;
    height: auto;
  }

  .home img.shape {
    display: none;
  }
  .home__images {
    text-align: center;
  }

  .home__image {
    position: sticky;
    text-align: center;
  }

  .home__content {
    margin-top: 2rem;
  }

  .home__content .dot {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .nav {
    height: 4rem;
    column-gap: 3rem;
  }

  .nav__btns,
  .nav__close {
    display: block;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
  }

  .nav__close {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    cursor: pointer;
  }

  .nav__menu {
    margin-left: auto;
  }

  .nav__btns {
    display: inline-flex;
    align-items: center;
    column-gap: 1rem;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
    max-height: -webkit-fill-available;
  }

  .footer__logo {
    order: -1;
  }
}

@media screen and (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
    max-height: 100%;
  }

  .footer__logo {
    text-align: center;
  }

  .footer__content {
    order: 5;
    align-items: center;
    padding: 2rem 0;
  }

  .footer__about {
    align-items: center;
    text-align: center;
  }
  /* .footer__content {
    align-items: center;
  } */
  .footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
