
* {
  box-sizing: border-box;
}

/*fonts*/
@font-face {font-family: 'yekanbakh2';src: url('fonts/yekanbakh/Regular.ttf') format('truetype');}
@font-face {font-family: 'yekanbakh4';src: url('fonts/yekanbakh/Bold.ttf') format('truetype');}
@font-face {font-family: 'vazir3';
src: url('fonts/vazir/Regular.eot');
src: url('fonts/vazir/Regular.eot?#iefix') format('embedded-opentype'),
url('fonts/vazir/Regular.woff2') format('woff2'),
url('fonts/vazir/Regular.woff') format('woff'),
url('fonts/vazir/Regular.ttf') format('truetype');}


/*nav*/
.nav {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  align-items: center;
  height: calc(3rem + 1.5rem);
}

.nav__item {
  margin-bottom: 1.5rem;
}

.nav__logo,
.nav__toggle {
  color: #8E24AA;
  font-weight: bold;
  font-size: 18px;
}

.nav-icon {
  width: 28px;
  height: 28px;
  background-image: url('../images/menupurple.svg');
  background-size: cover;
  cursor: pointer;

}

.nav__link {
  color: #8E24AA;
}

.nav__logo:hover {
  color: #8e24aaa6;
}

.nav__link {
  transition: .3s;
}

.nav__link:hover {
  color: #8e24aaa6;
}

.nav__toggle {
  font-size: 1.3rem;
  cursor: pointer;
}

/*accordion*/
.accordion {
  list-style-type: none;
  padding: 0;
}
.section-wrapper {
  width: 100%;
  position: relative;
  max-width: 100%;
  background: #fdf3ff;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0px 3px 0px rgb(0 0 0 / 8%);
  font-size: 14px;
  color: #9200ab;
  padding: 10px;
}

.decorative-line {
  position: absolute;
  content: "";
  width: 4px;
  height: 65%;
  background:rgb(156 39 176 / 60%);
  border-radius: 20px;
  top: 50%;
  right: 2px;
  transform: translate(-50%, -50%);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}



.icon {
  font-size: 36px;
  color: #fff; 
}
.accordion-toggle {
  cursor: pointer;
}
.accordion-content {
  display: none;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  transition: height 0.5s ease;
  font-family: 'yekanbakh2';
    color:#7d7d7d;
    text-align: right;
}
.accordion-content.active {
  display: block;
}
.accordion {
  display: inline-flex;
  text-align: center;
  flex-direction: column;
  width: 90%;
  margin-top: 30px;
}

/*main*/
body {
  background-color: #ffffff;
    min-height: 100vh;
    font-family: "yekanbakh2", sans-serif;
    display: flex;
    text-align: center;
    background-image: linear-gradient(to bottom, hsl(263deg 28.86% 97.6%), hsl(263deg 100% 84.09%));
    flex-direction: column;
}

p, span, div {
  font-family: 'yekanbakh2', sans-serif;
  line-height: 2;
  font-weight: 400;
  color: #565656;
}

footer {
  font-family:'yekanbakh2';
  background-color: transparent;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: auto;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

/*class*/

.l-header {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #ffffff54;
  position: absolute;
  font-family: 'yekanbakh2';
}

.p-text {
  direction: rtl;
    text-align: center;
    width: 85%;
    margin: auto;
}

.active-link {
  position: relative;
}

.text {
  text-transform: uppercase;
  background:linear-gradient(-20deg, #be23d8 0%, #673AB7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'yekanbakh4';
}

/*blog-slider*/



.blog-slider__button {
  display: inline-flex;
  padding: 15px 15px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  font-family: 'yekanbakh4';
  margin: 10px;
  border-radius: 15px;
  position: relative;
  line-height: 24px;
  width: 85%;
  justify-content: center;
  font-size: 15px;
}



.blog-slider__button {
  display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.blog-slider__button .icon {
  width: 35px;
  height: 35px;
  margin-left: 25px;
}



.blog-slider {
  width: 95%;
  position: relative;
  max-width: 1000px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgb(34 35 58 / 9%);
  padding: 25px;
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s;
  margin-top: 100px;
    margin-bottom: 25px;
}

.blog-slider.blurred {
  filter: blur(5px);
}

.blog-slider__item {
  display: flex;
  align-items: center;
}

.blog-slider__img {
  width: 320px;
  flex-shrink: 0;
 
  overflow: hidden;
  transform: translateX(0px);
}

.blog-slider__img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  border-radius: 20px;
  opacity: 0.8;
}

.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: all 0.3s;
}

.blog-slider__content {
  padding-right: 5px;
  width: 100%;
  direction: rtl;
}

/*responsive*/

@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin-top: 220px;
  }
  .blog-slider__button, .blog-slider__button2 {width: 90%;}
  .p-text {width: 100%;}
  .text {font-size: 28px;}
  .blog-slider__item {flex-direction: column;}
  .blog-slider__img {transform: translateY(-50%);}
  .blog-slider__content {
    margin-top: -140px;
    text-align: center;
    padding: 0 30px;
  }

  .accordion {
    width: 90%;
}


}

@media screen and (max-width: 576px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    right: 7%;
    width: 190px;
    margin: 0 auto;
    padding: 0.5rem 0 0;
    text-align: center;
    background: #ffffff;
    transition: .4s;
    box-shadow: 0 0 4px rgba(0, 0, 0, .1);
    border-radius: 10px;
    z-index: 100;
  }
  .blog-slider__content {padding: 0;}
}

@media screen and (min-width: 576px) {
  .nav {
    height: calc(3rem + 1.5rem);
    margin-left: auto;
    margin-right: auto;
    max-width: 950px;
    width: 80%;
    display: flex;
    flex-direction: row-reverse;
  }
  .nav__list {display: flex; align-items: center;}
  .nav__item {margin-right: 2.5rem; margin-bottom: 0;}
  .nav__toggle {display: none;}
}

/*openmenu*/
.show-menu {
  top: calc(4rem + 1rem);
  font-family: 'yekanbakh2';
}




.ads{
  margin-top: 15px;
  width: 90%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 15px;
}





