* {
    box-sizing: border-box;
  }
  
  
@font-face {
  font-family: vazir;
  src: url('fonts/vazir.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: shabnam;
  src: url('fonts/shabnam.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

  
  
  /*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: #ffffff;
    font-weight: normal;
    font-size: 18px;
  }
  
  .nav-icon {
    width: 28px;
    height: 28px;
    background-image: url('../images/menuwhite.svg');
    background-size: cover;
    cursor: pointer;
  
  }
  
  .nav__link {
    color: #ffffff;
  }
  
  .nav__logo:hover {
    color: #fef6ffc5;
  }
  
  .nav__link {
    transition: .3s;
  }
  
  .nav__link:hover {
    color: #e7e7e7;
  }
  
  .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: #9C27B0;
    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: 'shabnam';
      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: "shabnam", sans-serif;
      display: flex;
      text-align: center;
      background-image: linear-gradient(-20deg, #be23d8 0%, #673AB7 100%);
      flex-direction: column;
  }
  
  p, span, div {
    font-family: 'vazir', sans-serif;
    line-height: 2;
    font-weight: 400;
    color: #8E24AA;
     }
  
  footer {
    font-family:'shabnam';
    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: #ffffff13;
    position: absolute;
    font-family: 'vazir';
  }
  
  .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: 'shabnam';
     font-weight: normal;
  }
  
  /*blog-slider*/
  
  .blog-slider__button {
    display: inline-flex;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    font-family: 'shabnam';
    margin: 10px;
    border-radius: 15px;
    position: relative;
    line-height: 24px;
    color: #ffffff;
    width: 85%;
      justify-content: center;
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, .5), 6px 6px 20px 0px rgba(0, 0, 0, .1), 0px 0px 0px 0px rgba(0, 0, 0, .1);
    background-image: linear-gradient(45deg, hsl(261.6deg 78.61% 52.19%) 25%, hsl(291.24deg 100% 69.26%));
  }
  .blog-slider__button:hover {
    background-image: linear-gradient(70deg, hsl(261.6deg 78.61% 52.19%) 25%, hsl(291.24deg 100% 69.26%));
  }
  
  .blog-slider__button2 {
    display: inline-flex;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    font-family: 'shabnam';
    margin: 10px;
    border-radius: 15px;
    position: relative;
    line-height: 24px;
    color: #ffffff;
    width: 85%;
      justify-content: center;
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, .5), 6px 6px 20px 0px rgba(0, 0, 0, .1), 0px 0px 0px 0px rgba(0, 0, 0, .1);
    background-image: linear-gradient(45deg, hsl(230.85deg 100% 58.99%) 25%, hsl(198.67deg 96.99% 55.09%));
  }
  .blog-slider__button2:hover {
    background-image: linear-gradient(70deg, hsl(230.85deg 100% 58.99%) 25%, hsl(198.67deg 96.99% 55.09%));
  }
  
  .blog-slider {
    width: 95%;
    position: relative;
    max-width: 1000px;
    margin: auto;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    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: 200px;
    }
    .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: -125px;
      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-image: linear-gradient(-20deg, #5d55df 0%, #2196F3 100%);
      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: 'vazir';
  }
  

/* استایل جدید برای textarea */
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 15px;
  border: 2px solid #9c27b033;
  box-sizing: border-box;
  font-family: "vazir", sans-serif;
  margin-bottom: 15px;
  height: 150px;
  resize: vertical;
}

textarea:focus {
    border: 2px solid #9b27b0bc; 
    outline: none;
}

button[type="submit"] {
  width: 100%;
    padding: 10px;
    background-color: #9C27B0;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: "shabnam", sans-serif;
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, .5), 6px 6px 20px 0px rgba(0, 0, 0, .1), 0px 0px 0px 0px rgba(0, 0, 0, .1);
    background-image: linear-gradient(45deg, hsl(261.6deg 78.61% 52.19%) 25%, hsl(291.24deg 100% 69.26%));
    font-weight: normal;
}
button[type="submit"]:hover {
    background-color: #ae47c0;
}




.payamha {
  padding: 10px 15px 25px;
    background-color: #f1d8f5;
    width: fit-content;
    border-radius: 15px 15px 0px 0px;
    margin-bottom: -54px;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* استایل آیکون PRO */
.pro-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 4px;
        margin-top: -4px;
}





input[type="text"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 10px;
  border-radius: 15px;
  border: 2px solid #9c27b033;
  box-sizing: border-box;
  font-family: "vazir", sans-serif;
  margin-bottom: 15px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    border: 2px solid #9b27b0bc; 
    outline: none;
}

input[type="submit"] {
  width: 100%;
    padding: 10px;
    background-color: #9C27B0;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: "shabnam", sans-serif;
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, .5), 6px 6px 20px 0px rgba(0, 0, 0, .1), 0px 0px 0px 0px rgba(0, 0, 0, .1);
    background-image: linear-gradient(45deg, hsl(261.6deg 78.61% 52.19%) 25%, hsl(291.24deg 100% 69.26%));
    font-weight: normal;
}

input[type="submit"]:hover {
    background-color: #c25dd3;
}






form {
text-align: center;
width: 90%;
margin: auto;
}






.ads{
  margin-top: 15px;
  width: 90%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 15px;
}


.errormessage{
  color: red;
    background: #fff1f1;
    border: 2px solid #b0272733;
    width: 90%;
    margin: auto;
    padding: 2px;
    border-radius: 10px;
    margin-bottom: 30px;
}



button[type="submit"]:active {
box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.4), 0px 1px 0px rgba(255, 255, 255, 0.1);
  filter: brightness(98%);
}

/* استایل بخش آخرین بازدید */
.last-visit {
    direction: rtl;
    text-align: right;
    background: #f3e5f5;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 13px;
    margin-top: 15px;
    font-family: 'shabnam';
    color: #6A1B9A;
    width: fit-content;
    border: 1px solid #e1bee7;
}