/* فونت‌های Vazirmatn */
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*=============== VARIABLES CSS ===============*/
.alert-box {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #00aeef;
  color: white;
  padding: 15px 20px;
  border-radius: 15px;
  font-size: 16px;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.alert-box.error {
  background-color: #e74c3c;
}

.alert-box.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --cursor-color: #000;
  --cursor-border-color: #000;

  --first-color: hsl(200, 100%, 55%);
  --title-color: hsl(220, 60%, 15%);
  --text-color: hsl(220, 15%, 60%);
  --border-color: hsl(220, 30%, 80%);
  --body-color: hsl(220, 100%, 97%);
  --container-color: hsl(220, 100%, 99%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font-EN: "Vazirmatn", sans-serif;
  --body-font: "Vazirmatn", sans-serif;
  --second-font: "Vazirmatn", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  
    /*========== Margenes Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  
    --biggest-font-size: 1.75rem;
  --normal-font-size: 0.938rem;
  --h2-font-size: 1.25rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --tiny-font-size: 0.625rem;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 2.5rem;
    --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,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  transition: background-color 0.4s;
  cursor: none; /* برای مخفی کردن موس اصلی */
    overflow-x: hidden;
}

input,
button {
  border: none;
  outline: none;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== LOADER ===============*/

.loader-page {
  background-color: #fff;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all .5s ease-out;
}
.loader-container {
  /* border: 1px solid steelblue; */
  width: 600px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader {
  width: 500px;
  height: 5px;
  background-color: rgba(0,0,0,0.3);
  position: relative;
  border-radius:15px;
}
.loader-fill {
  background-color: rgb(1, 99, 180);
  width: 0px;
  height: 100%;
  position: absolute;
  border-radius: 15px;
}
.loader-counter {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -5px;
  color: rgb(1, 99, 180);
  margin-top: 50px;
  z-index: 9;
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/

body.dark-theme {
  --cursor-color: #0ff;
  --cursor-border-color: #0ff;

  --title-color: hsl(220, 40%, 85%);
  --text-color: hsl(220, 20%, 70%);
  --border-color: hsl(220, 15%, 25%);
  --body-color: hsl(220, 15%, 10%);
  --container-color: hsl(220, 15%, 13%);
}

/*========== 
	Color changes in some parts of 
	the website, in dark theme
==========*/

.dark-theme .shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.4);
}

.dark-theme .nav__menu {
  box-shadow: 0 -8px 32px hsla(0, 0%, 0%, 0.4);
}

.dark-theme .scrollup {
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.4);
}

.dark-theme .search,
.dark-theme .login {
  background-color: hsla(230, 12%, 8%, 0.6);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(230, 16%, 15%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(230, 16%, 25%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(230, 16%, 35%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1220px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: box-shadow 0.4s, background-color 0.4s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.nav__logo i {
  font-size: 1.25rem;
}
/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--container-color);
    box-shadow: 0 -8px 32px hsla(0, 0%, 0%, 0.1);
    padding: 1.25rem 4rem;
    transition: background-color 0.4s;
    border-radius: 20px 20px 0 0;
  }
}

.nav__list {
  display: flex;
  justify-content: space-between;
}

.nav__link {
  color: var(--text-color);
  transition: color 0.4s;
}

.nav__link span {
  display: none;
}

.nav__link i {
  font-size: 1.25rem;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__actions i {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color 0.4s;
}

.nav__actions i:hover {
  color: var(--first-color);
}

/* Add shadow header */

.shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.1);
}

.nav__item--has-submenu {
  position: relative;
}

/* حالت پیش‌فرض ساب‌منو */
.nav__submenu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--container-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  min-width: 190px;
  z-index: 10;
  overflow: hidden;
}

/* نمایش ساب‌منو هنگام هاور */
.nav__item--has-submenu:hover .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* آیتم‌های ساب‌منو */
.nav__sublink {
  display: block;
  padding: 0.75rem 1.2rem;
  padding-right: 1.7rem;
  padding-left: 2rem;
  color: var(--text-color);
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
}

/* افکت hover روی آیتم‌ها */
.nav__sublink:hover {
  background: var(--first-color-light);
  color: var(--first-color);
  border-radius: 2rem 0 0 2rem;
}

/* آیکون در سمت چپ (به جای راست) */
.nav__sublink::before {
  content: "›";
  position: absolute;
  left: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--first-color);
  font-weight: bold;
  direction: ltr;
}

.nav__sublink:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* حالت موبایل */
@media screen and (max-width: 1150px) {
  .nav__submenu {
    display: none !important;
  }

  .nav__link span {
    display: none;
  }
}


/* Active link */

.active-link {
  color: var(--first-color);
}

/* From Uiverse.io by zjssun */ 
button {
  padding: 5px 20px;
  text-transform: uppercase;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--title-color);
  text-shadow: none;
  background: transparent;
  cursor: pointer;
  box-shadow: transparent;
  border: 1px solid var(--title-color);
  transition: 0.5s ease;
  user-select: none;
}

button a{
    color: var(--title-color);
}

button:hover {
  color: #fff;
  background: var(--first-color);
  border: 1px solid var(--first-color);
  /*text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;*/
  box-shadow: 0 0 5px #008cff, 0 0 20px #008cff, 0 0 50px #008cff,
    0 0 100px #008cff;
}

/*=============== LOGIN ===============*/

.login {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-fixed);
  background-color: hsla(230, 12%, 96%, 0.6);
  backdrop-filter: blur(16px);
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  transition: top 0.4s;
}

.login__form {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  row-gap: 1.25rem;
}

.login__title {
  font-size: var(--h2-font-size);
}

.login__group {
  row-gap: 1.25rem;
}

.login__lable {
  display: block;
  text-align: initial;
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.login__input {
  width: 100%;
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1rem;
  color: var(--text-color);
}

.login__signup,
.login__forgot {
  display: block;
  font-size: var(--small-font-size);
}

.login__signup {
  margin-bottom: 0.5rem;
}

.login__signup a {
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.login__forgot {
  color: var(--first-color);
  margin-bottom: 1.25rem;
}

.login__button {
  width: 100%;
  cursor: pointer;
}

.login__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--title-color);
  cursor: pointer;
}
/* Show login */

.show-login {
  top: 0;
}

/*=============== SVG SCROLL ===============*/

svg.squiggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 300vw;
  z-index: -100;
  display:flex;
}
svg.squiggle path {
  stroke-width: 3rem;
}


/*=============== HOME ===============*/

.home__swiper {
  margin: initial;
}

.home__container {
  padding-top: 2rem;
  row-gap: 2.5rem;

}



.home__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;

}

.home__description {
  margin-bottom: 2rem;

}

.home__images {
  display: block;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}
/*.home__article,*/
/*.home-img {*/
/*  width: 300px;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  transition: scale 0.4s;*/
/*}*/

/*.home__article {*/
/*  scale: 0.8;*/
/*}*/


.pricing__cards-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

/* کارت‌ها */
.pricing__card {
  width: 350px;
  padding: 2em;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 1.25em;
  color: var(--title-color, #eceff1);
  background-color: var(--container-color, #2b2b2b);
  border: 1px solid var(--title-color, #eceff1);
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

/* عنوان کارت */
.pricing__card-heading {
  font-size: 1.25em;
  font-weight: 700;
}

/* زیرعنوان */
.pricing__card-subtitle {
  font-size: 0.95em;
  color: var(--title-color, #eceff1);
  font-weight: 700;
}

/* لیست جزئیات */
.pricing__card-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.6;
}

/* خطوط جداکننده */
.pricing__card-list hr {
  border: none;
  border-top: 1px solid var(--title-color, #eceff1);
  margin: 0.5em 0;
  opacity: 0.4;
}

/* 🌟 کارت طلایی با افکت آبی در hover */
.pricing__card--gold:hover {
  background: #1895d4;
  color: #fff;
  outline: 2px solid #1ab2ff;
  box-shadow: 
    0 0 20px #1ab2ff,
    0 0 40px #1ab2ff,
    0 0 60px #1ab2ff,
    inset 0 0 40px #1ab2ff;
  transform: translateY(-10px) scale(1.03);
}

.pricing__card--silver:hover {
    transform: translateY(-10px) scale(1.03);
}

/* خط جداکننده در بخش بیرونی */
.pricing__cards_container_hr {
  width: 100%;
  border: none;
  border-top: 1px solid var(--title-color, #eceff1);
  opacity: 0.3;
}

/* 📱 حالت موبایل */
@media (max-width: 900px) {
  .pricing__cards-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .pricing__card {
    width: 90%;
  }
}


/*=============== CARD HOVER HOME ===============*/
.card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
         .card {
           box-shadow: none;
           backface-visibility: visible;
           background: transparent;
           transform-style: preserve-3d;
           width: 18rem;
           height: 25rem;
           transition: all 0.2s ease-out;
           border: none;
           align-items: center;
           justify-content: center;
           margin-right: 4.7rem;
           
         }

         .card .inner-card {
             
           text-align: center;
           font-size: 2rem;
           color: white;
           padding: 1rem 2rem;
           line-height: 6rem;
           will-change: transform, filter;
           float: none;
           background: #1ab2ff;
           /*********************/
           background-size: calc(100% + 6px) auto;
           background-position: -3px -3px;
           margin: 0;
           transition: all 0.15s ease-out;
           height: auto;
           border-radius: 14px;
           box-sizing: border-box;
           overflow: hidden;
           display: block;
           margin: 0px auto;
           transform: rotateX(0deg) rotateY(0deg) scale(1);
           top: 0;
           height: 100%;
           filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.3));
           font-weight: 500;
           perspective-origin: 0 0;
           letter-spacing: 0;
         }

         .inner-card, .inner-card-backface {
          backface-visibility: hidden;
          transform-style: preserve-3d;
        }

   
         .card .glare {
           content: "";
           position: absolute;
           top: 0;
           left: 0;
           width: 100%;
           transition: all 0.1s ease-out;
           opacity: 0.6;
           pointer-events: none;
           height: 100%;
           border-radius: 14px;
           z-index: 9999;
           mix-blend-mode: hard-light;
           background: radial-gradient(
             circle at 50% 50%,
             rgb(199 198 243),
             transparent
           );
         }
   
         .card .glare {
           opacity: 0;
         }
   
         .card.animated .glare {
           opacity: 0.3;
         }
   
         .card.animated.user .glare {
           opacity: 0.15;
         }
   
         .card .name {
           color: white;
           font-size: 1.5rem;
         }
   
         .card .bottom-section {
           position: absolute;
           top: 35%;
           left: 0;
           background: #1ab2ff;
           width: 100%;
           height: 65%;
           box-sizing: border-box;
           text-align: center;
           padding-top: -50px;
         }
   
         .bottom-section .area {
           font-size: 1rem;
           display: block;
           line-height: 1.5rem;
           padding: 1rem;
         }
   
         .buttons {
           float: left;
           width: calc(100% - 2rem);
           position: absolute;
           bottom: 1.5rem;
           display: flex;
           align-items: center;
           justify-content: center;
           left: 1.2rem;
         }
   
         .buttons > a {
           border: none;
           width: auto;
           background: #1ab2ff;
           padding: 0;
           font-size: 0.875rem;
           display: flex;
           align-items: center;
           justify-content: center;
           color: white;
           line-height: 1rem;
           transition: all 0.1s ease-out;
           transform: scale(1);
           padding: 0.75rem 1rem;
           margin: 0 1rem 0 0;
           border-radius: 12px;
           text-decoration: none;
         }
   
         .buttons .main {
           background: #1ab2ff;
           border-radius: 12px 12px;
           font-size: 17px;
         }
   
         .buttons > .main:hover {
          background: #0Ef;
          box-shadow: 0 3px 20px rgba(0, 255, 255, 0.456);
         }
   
         .buttons > a:hover {
           background: #0Ef;
           box-shadow: 0 3px 20px rgba(0, 255, 255, 0.456);
          }




/*****/
          /*=============== CARD HOVER HOME ===============*/
            .home__title {
              position: relative;
             }

             .card-wrapper {
               display: flex;
               justify-content: center;
               align-items: center;
               height: 100%;
             }
             .card {
               box-shadow: none;
               backface-visibility: visible;
               background: transparent;
               transform-style: preserve-3d;
               padding: 0;
               width: 18rem;
               height: 25rem;
               transition: all 0.2s ease-out;
               border: none;
             }

             .card .inner-card {
               text-align: center;
               font-size: 2rem;
               color: white;
               padding: 1rem 2rem;
               line-height: 6rem;
               will-change: transform, filter;
               float: none;
               background: #1ab2ff;
               /*********************/
               background-size: calc(100% + 6px) auto;
               background-position: -3px -3px;
               margin: 0;
               transition: all 0.15s ease-out;
               height: auto;
               border-radius: 14px;
               box-sizing: border-box;
               overflow: hidden;
               display: block;
               margin: 0px auto;
               transform: rotateX(0deg) rotateY(0deg) scale(1);
               top: 0;
               height: 100%;
               filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.3));
               font-weight: 500;
               perspective-origin: 0 0;
               letter-spacing: 0;
             }

             .inner-card, .inner-card-backface {
              backface-visibility: hidden;
              transform-style: preserve-3d;
            }


             .card .glare {
               content: "";
               position: absolute;
               top: 0;
               left: 0;
               width: 100%;
               transition: all 0.1s ease-out;
               opacity: 0.6;
               pointer-events: none;
               height: 100%;
               border-radius: 14px;
               z-index: 9999;
               mix-blend-mode: hard-light;
               background: radial-gradient(
                 circle at 50% 50%,
                 rgb(199 198 243),
                 transparent
               );
             }

             .card .glare {
               opacity: 0;
             }

             .card.animated .glare {
               opacity: 0.3;
             }

             .card.animated.user .glare {
               opacity: 0.15;
             }

             .card .name {
               color: white;
               font-size: 1.5rem;
             }

             .card .bottom-section {
               position: absolute;
               top: 35%;
               left: 0;
               background: #1ab2ff;
               width: 100%;
               height: 65%;
               box-sizing: border-box;
               padding-top: -50px;
               text-align: center;
             }

             .bottom-section .area {
               font-size: 1rem;
               display: block;
               line-height: 1.5rem;
               padding: 1rem;
             }

             .name{
               font-weight: 700;
             }

             .buttons {
               float: left;
               width: calc(100% - 2rem);
               position: absolute;
               bottom: 1.5rem;
               display: flex;
               align-items: center;
               justify-content: center;
               left: 1.2rem;
             }

             .buttons > a {
               border: none;
               width: auto;
               background: #1ab2ff;
               padding: 0;
               font-size: 0.875rem;
               display: flex;
               align-items: center;
               justify-content: center;
               color: white;
               line-height: 1rem;
               transition: all 0.1s ease-out;
               transform: scale(1);
               padding: 0.75rem 1rem;
               margin: 0 1rem 0 0;
               border-radius: 12px;
               text-decoration: none;
             }

             .buttons .main {
               background: #1ab2ff;
               border-radius: 12px 12px;
               font-size: 20px;
               font-weight: 700;
             }

             .buttons > .main:hover {
              background: #0Ef;
              box-shadow: 0 3px 20px rgba(0, 255, 255, 0.456);
             }

             .buttons > a:hover {
               background: #0Ef;
               box-shadow: 0 3px 20px rgba(0, 255, 255, 0.456);
              }
    .box-shadow {
      position: absolute;
      width: 120px;
      height: 120px;
      background: rgba(0, 204, 255, 0.34);
      border-radius: 50%;
      filter: blur(100px);
      top: 0;
      left: 50%;
      transform: translate(-50%, 0);
      z-index: -1; /
    }

    @media (max-width: 768px) {
      .home__data {
        text-align: center;
      }

      .home__title {
        font-size: 1.8rem;
        line-height: 2.5rem;
      }

      .box-shadow {
        top: -5px;
        width: 80px;
        height: 80px;
        filter: blur(15px);
      }
      .home__images{
        margin-right: -3.5rem;
      }
    }


    .featured {
      position: relative;
      overflow: visible;
    }

    .featured::before {
      content: "";
      position: absolute;
      width: 450px;
      height: 450px;
      background: rgba(0, 204, 255, 0.34);
      border-radius: 50%;
      filter: blur(100px);
      top: 0;
      z-index: -1;
      top: -80px;
      right: 50px;
      pointer-events: none;/
    }

    .new {
      position: relative;
      overflow: visible;
    }

    .new::before {
      content: "";
      position: absolute;
      width: 450px;
      height: 450px;
      background: rgba(0, 204, 255, 0.34);
      border-radius: 50%;
      filter: blur(100px);
      top: 0;
      z-index: -1;
      top: 30px;
      left: -30px;
      pointer-events: none;/
    }

    .testimonial {
      position: relative;
      overflow: visible;
    }

    .testimonial::before {
      content: "";
      position: absolute;
      width: 450px;
      height: 450px;
      background: rgba(0, 204, 255, 0.34);
      border-radius: 50%;
      filter: blur(100px);
      top: 0;
      z-index: -1;
      top: 700px;
      right: 50px;
      pointer-events: none;/
    }
    
    /* ریسپانسیو */
@media (max-width: 768px) {
  .featured::before , .new::before , .testimonial::before {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .featured::before , .new::before , .testimonial::before {
    width: 200px;
    height: 200px;
  }
}

.articless-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* وسط‌چینی افقی */
  gap: 20px;
  padding: 20px;
  text-align: center;
}

.articless-preview {
  width: 380px; /* اندازه کوچکتر نسبت به قبل */
  background-color: var(--container-color);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.articless-preview:hover {
  transform: translateY(-5px);
}

.articless-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
}

/* عنوان بخش مقالات */
.section__title {
  text-align: center;
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .articless-preview {
    width: 90%;
  }
}

@media (max-width: 480px) {

  .section__title {
    font-size: 20px;
  }
}


  .btn-view-all {
    width: 400px;
    display: inline-block;
    background: linear-gradient(135deg, #1AB3FF, #1ab3ffd4);
    color: white;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(53, 122, 189, 0.4);
    transition: 0.2s ease;
  }
  .btn-view-all:hover {
    transition: 0.2s ease;
    background: linear-gradient(135deg, #1ab3ffd4 ,#1AB3FF);
    box-shadow: 0 8px 20px rgba(53, 122, 189, 0.7);
  }
  
  
  
  
  
  
  

/*=============== BUTTON ===============*/

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  font-weight: var(--font-semi-bold);
  border-radius: 15px;
  padding: 0.5rem 1rem;
  transition: box-shadow 0.4s;
}

.button:hover {
  box-shadow: 0 4px 32px hsla(230, 72%, 32%, 0.4);
}
/*=============== SERVICES ===============*/

.services__container {
  row-gap: 3rem;
  padding: 2rem;
}

.services__card {
  text-align: center;
}

.services__card i {
  display: block;
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

/*=============== FEATURED ===============*/

.featured__card {
  position: relative;
  text-align: center;
  background-color: var(--container-color);
  border-radius: 15px;
  padding: 2rem;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: border 0.4s, background-color 0.4s;
}

.featured__img {
  width: 200px;
  height: 220px;
  border-radius: 15px;
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.4);
  margin: 0 auto 0.75rem;
  box-sizing: border-box;
}

.featured__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.featured__prices {
  display: flex;
  justify-content: center;
  column-gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.featured__discount {
  color: var(--title-color);
}

.featured__price {
  font-size: var(--small-font-size);
  text-decoration: line-through;
}

.featured__card .button {
  cursor: pointer;
}

.featured__actions {
  display: inline-flex;
  flex-direction: column;
  row-gap: 0.75rem;
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  transition: right 0.4s;
}

.featured__actions button {
  background: none;
  font-size: 1.25rem;
  color: var(--first-color);
  cursor: pointer;
}

.featured__card:hover .featured__actions {
  right: 1.5rem;
}

/* Swiper class */

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  border-radius: 15px;
  transition: border 0.4s background-color 0.4s;
}

/*=============== DISCOUNT ===============*/

.discount__container {
  row-gap: 3.5rem;
}

.discount__data {
  text-align: center;
}

.discount__title {
  margin-bottom: 1rem;
}

.discount-description {
  margin-bottom: 2rem;
}

.discount__images {
  display: flex;
  justify-content: center;
}

.discount__img-1 {
  width: 350px;
  border-radius: 15px;
    box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.4);

}


/*=============== NEW ===============*/

.new__card {
  display: flex;
  align-items: center;
  column-gap: 2.5rem;
  background-color: var(--container-color);
  padding: 1.5rem 1rem;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  transition: border 0.4s, background-color 0.4s;
  margin-bottom: 1rem;
}

.new__card:hover {
  border: 2px solid var(--text-color);
}

.new__img {
  width: 350px;
  border-radius: 15px;
}

.new__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.new__prices {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.new__discount {
  color: var(--title-color);
}

.new__price {
  font-size: var(--small-font-size);
  text-decoration: line-through;
}

.new__stars {
  color: var(--first-color);
}



/* ================ price card ================== */

/*==================== REUSABLE CSS CLASSES ====================*/
.container-pric {
  max-width: 1024px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid-pric {
  display: grid;
}

/*==================== pric PRICING ====================*/
.pric {
  padding: 3rem 0;
}

.pric__container {
  gap: 3rem 1.25rem;
}

.pric__content {
  position: relative;
  background-color: transparent;
  padding: 2rem 1.5rem 2.5rem;
  border-radius: 1.75rem;
  box-shadow: 0 12px 24px hsla(210, 61%, 16%, 0.1);
  transition: 0.4s;
}

.pric__content:hover {
  box-shadow: 0 16px 24px hsla(210, 61%, 16%, 0.15);
}

.pric__header-img {
  width: 40px;
  height: 40px;
}

.pric__header-circle {
  width: 40px;
  height: 40px;
  background-color: hsl(210, 14%, 96%);
  border-radius: 50%;
  margin-bottom: var(--mb-1);
  place-items: center;
}

.pric__header-subtitle {
  display: block;
  font-size: 1.5rem;
  color: hsl(210, 12%, 65%);
  text-transform: uppercase;
  margin-bottom: var(--mb-0-25);
}

.pric__header-title {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.pric__list {
  row-gap: 0.5rem;
  margin-bottom: var(--mb-2);
}

.pric__list-item {
  display: flex;
  align-items: center;
}

.pric__list-icon {
  font-size: 1.5rem;
  color: hsl(210, 96%, 54%);
  margin-right: 10px;
  margin-left: 10px;
}

.pric__button {
  padding: 1.25rem;
  border: none;
  font-size: var(--normal-font-size);
  border-radius: 0.5rem;
  background: linear-gradient(
    157deg,
    hsl(210, 96%, 69%) -12%,
    hsl(210, 96%, 54%) 109%
  );
  color: #fff;
  cursor: pointer;
  transition: 0.4s;
}

.pric__button:hover {
  box-shadow: 0 12px 24px hsla(210, 97%, 54%, 0.2);
}




/* LAYOUT */
.bd-container {
  /*max-width: 1024px;*/
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
}

.bd-grid {
  display: flex;
  gap: 1.5rem;
}


/* CONTACT ME */
.contact__container {
  row-gap: 2.5rem;
  display: grid;
  justify-content: center;
}

.contact__form {
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  display: grid;
  row-gap: 1.25rem;
  width: 100%;
  max-width: 550px;
  justify-self: center;
  box-shadow: 0 4px 6px rgba(174, 190, 205, 0.3);
}

.contact__box {
  background-color: var(--container-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: grid;
  text-align: center;
  box-shadow: 0 4px 6px rgba(174, 190, 205, 0.3);
  width: 400px;
}

.contact__box:hover {
  box-shadow: 0 6px 8px rgba(174, 190, 205, 0.4);
}

.contact__icon {
  font-size: 2rem;
  color: var(--title-color);
}

.contact__title {
  font-size: 1.125rem;
  margin: 0.5rem 0;
  color: var(--title-color);
}

.contact__social {
  color: #7b6f71;
  font-size: 1.25rem;
  margin: 0 0.5rem;
}

.contact__inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1rem;
  row-gap: 1rem;
}

.contact__input {
  width: 100%;
  padding: 1rem;
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  color: var(--title-color);
  font-size: 0.938rem;
  outline: none
}

.contact__input::placeholder {
  color: var(--title-color);
  font-weight: 600;
  font-family: var(--body-font);
}

/* MEDIA QUERIES */
@media screen and (max-width: 575px) {
  .section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .contact__inputs {
    grid-template-columns: 1fr;
  }

  .contact__icon {
    font-size: 1.5rem;
  }

  .contact__title {
    font-size: 1rem;
  }
}
/* MEDIA QUERIES */

/* 📱 موبایل بزرگ یا تبلت کوچک (576px تا 767px) */
@media screen and (max-width: 767px) {
  .contact__form {
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
    .bd-container {
    padding: 0 1rem;
  }
  
    .bd-grid {
    flex-direction: column;
    align-items: center;
  }

  .contact__box {
    width: 100%;
    max-width: 350px;
  }

  .contact__inputs {
    grid-template-columns: 1fr 1fr;
  }
}

/* 💻 تبلت و لپ‌تاپ (768px تا 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bd-container {
    max-width: 100%;
  }

  .contact__inputs {
    grid-template-columns: 1fr 1fr;
  }

  .contact__form {
    width: 100%;
    justify-self: center;
  }
}

/* 🖥 دسکتاپ (1024px به بالا) */
@media screen and (min-width: 1024px) {
  .bd-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
  }

  .contact__form {
    width: 550px;
  }

  .contact__inputs {
    grid-template-columns: 1fr 1fr;
  }
}


/*==================== MEDIA QUERIES ====================*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container-pric {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .pric__content {
    padding: 2rem 1.25rem;
    border-radius: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .pric__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .pric__content {
    grid-template-rows: repeat(2, max-content);
  }
  .pric__button {
    align-self: flex-end;
  }
}

/* For large devices */
@media screen and (min-width: 968px) {
  .container-pric {
    margin-left: auto;
    margin-right: auto;
  }
  .pric {
    height: 100vh;
    align-items: center;
  }
  .pric__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .pric__header-circle {
    margin-bottom: var(--mb-1-25);
  }
  .pric__header-subtitle {
    font-size: var(--small-font-size);
  }
}


/*=============== JOIN ===============*/
.join__container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 2rem;
  text-align: center;
  width: 100%;
}

.join__data {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.join__title {
  color: var(--title-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.join__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.join__input {
  width: 350px;
  max-width: 90%;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  border: 1px solid var(--title-color);
  background-color: var(--container-color);
  color: var(--title-color);
  text-align: right;
  transition: 0.3s;
}

/*=============== TESTIMONIAL ===============*/

.testimonail__card {
  text-align: center;
  background-color: var(--container-color);
  padding: 2rem 3rem 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  height: 900px;
  transition: border 0.4s, background-color 0.4s;
}

.testimonail__img {
  width: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.testimonail__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.75rem;
}

.testimonail__description {
  font-size: var(--small-font-size);
  margin-bottom: 1.25rem;
}

.testimonail__stars {
  color: var(--first-color);
}

/*=============== FOOTER ===============*/

.footer {
  padding-block: 4rem 6rem;
}

.footer__container {
  row-gap: 3rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--first-color);
  font-size: var(--h3-font-size);
  font-family: var(--second-font);
  margin-bottom: 1.25rem;
}

.footer__logo i {
  font-size: 1.25rem;
}

.footer__data {
  grid-template-columns: repeat(2, max-content);
  gap: 3rem 2rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: grid;
  row-gap: 0.5rem;
}

.footer__link {
  color: var(--text-color);
  transition: color 0.4s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__info {
  font-style: normal;
}

.footer__social {
  display: flex;
  column-gap: 1.25rem;
}

.footer__social-link {
  font-size: 1.25rem;
  color: var(--first-color);
}

.footer__copy {
  display: block;
  margin-top: 5rem;
  text-align: center;
  font-size: var(--small-font-size);
}

/*=============== SCROLL BAR ===============*/

::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(230, 16%, 85%);
}

::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: hsl(230, 16%, 65%);
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 0.5rem;
  background-color: hsl(230, 16%, 55%);
}

/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.1);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s, background-color 0.4s;
  border-radius: 12px;
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}

/* Show Scroll Up */

.show-scroll {
  bottom: 6rem;
  border: 2px solid var(--border-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */

@media screen and (min-width: 320px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__menu {
    padding-inline: 3rem;
  }

  .discount__img-1{
    width: 250px;
    text-align: center;
  }

  .new__card {
    flex-direction: column;
  }

  .testimonail__card {
    padding-inline: 1rem;
  }

  .footer__data {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .home__model {
    margin-right: -100px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }
    .new__img {
    width: 300px;
  }
  .loader {
  width: 350px;
  height: 5px;
  background-color: rgba(0,0,0,0.3);
  position: relative;
  border-radius:15px;
}

.join__container{
    margin-right: -0.5rem;
}

}

@media screen and (min-width: 375px) {
  .home__model {
    margin-right: -80px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }

}

@media screen and (min-width: 414px) {
  .home__model {
    margin-right: -40px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }
}

/* For medium devices */

@media screen and (min-width: 450px) {
  .featured__card {
    width: 290px;
  }

  .new__card {
    width: 390px;
  }

  .testimonail__card {
    width: 320px;
  }

  .home__model {
    margin-right: -50px;
  }

  .home__model-about {
    margin-right: -80px;
    top: -100px;
  }
}

@media screen and (min-width: 540px) {
  .home__model {
    margin-right: 30px;
  }

  .home__model-about {
    margin-right: -200px;
    top: -100px;
  }

}

@media screen and (min-width: 576px) {
  .search__form {
    width: 500px;
    margin-inline: auto;
  }

  .login__form {
    width: 400px;
    justify-self: center;
  }

  .search__close,
  .login__close {
    width: max-content;
    top: 4rem;
    left: 0;
    right: 0;
    margin-inline: auto;
  }

  .nav__menu {
    width: 380px;
    margin-inline: auto;
  }

  .home__container,
  .discount__container {
    grid-template-columns: 420px;
    justify-content: center;
  }

  .join__form {
    width: 320px;
    justify-self: center;
  }

  .footer__data {
    grid-template-columns: repeat(3, max-content);
  }
  
  .home__model {
    margin-right: -15px;
  }

  .home__model-about {
    margin-right: -10px;
    top: -100px;
  }
}

@media screen and (min-width: 768px) {
  .home__container {
    grid-template-columns: 580px;
  }

  .home__data {
    width: 420px;
    justify-self: center;
  }

  .services__container {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    column-gap: 5rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }

  .home__model {
    margin-right: 80px;
  }

  .home__model-about {
    margin-right: -30px;
    top: -100px;
  }
}

/* For large devices */

@media screen and (min-width: 1150px) {
  .section {
    padding-block: 7rem 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    column-gap: 4rem;
  }

  .nav__link i {
    display: none;
  }

  .nav__link span {
    display: block;
  }

  .nav__menu {
    width: initial;
    margin-inline: auto 0;
  }

  .nav__list {
    column-gap: 4rem;
  }

  .nav__link {
    font-weight: var(--font-medium);
  }

  .dark-theme .nav__menu {
    box-shadow: none;
  }

  .home__data {
    width: initial;
  }

  .services__container {
    column-gap: 10rem;
  }

  .services__card i {
    font-size: 3.5rem;
  }

  .featured__container {
    padding-top: 2rem;
  }

  .featured__title {
    font-size: var(--h3-font-size);
  }

  .discount__container {
    grid-template-columns: 615px 500px;
    justify-content: space-between;
    align-items: center;
  }

  .discount__data {
    order: 1;
  }

  .discount__data,
  .discount__title {
    text-align: center;
  }

  .discount-description {
    margin-bottom: 3.5rem;
  }

  .discount__img-1,
  .discount__img-2 {
    width: 300px;
  }

  .new__container {
    padding-top: 2rem;
  }

  .new__card {
    padding: 1.5rem;
  }

  .new__img {
    width: 350px;
  }

  .new__title {
    font-size: var(--h3-font-size);
  }

  .join__bg {
    object-position: 0 -5rem;
  }

  .testimonail__container {
    padding-top: 2rem;
  }

  .testimonail__card {
    padding-inline: 2rem;
  }

  .testimonail__title {
    font-size: var(--h3-font-size);
  }

  .testimonail__description {
    font-size: var(--normal-font-size);
  }

  .footer {
    padding-block: 6rem 3rem;
  }

  .footer__data {
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }

  .footer__logo,
  .footer__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }

  .footer__links {
    row-gap: 1rem;
  }

  .footer__social {
    column-gap: 1.5rem;
  }

  .footer__social-link {
    font-size: 1.5rem;
  }

  .footer__copy {
    margin-top: 7.5rem;
  }

  .scrollup {
    right: 3rem;
  }

  .show-scroll {
    bottom: 3rem;
  }

  .home__model-about {
    margin-right: -250px;
    top: 23px;
  }
}

@media screen and (min-width: 1220px) {
  .container {
    margin-inline: auto;
  }

  .home__container {
    grid-template-columns: 435px 745px;
    align-items: center;
    padding-block: 7rem 2rem;
  }

  .home__data {
    text-align: initial;
  }

  .home__description {
    margin-bottom: 4rem;
  }

  .home__article,
  .home-img {
    width: 290px;
  }
  .home__model {
    margin-right: 200px;
    z-index: 1000;
  }
  .card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
}
