/**
navbar = 4
items = 5
slidebar = 3




**/




:root {

  /**
     * colors
     */

  /* gradient */

  --bg-gradient-onyx: linear-gradient(to bottom right,
      hsl(240, 1%, 25%) 3%,
      hsl(0, 0%, 19%) 97%);
  --bg-gradient-jet: linear-gradient(to bottom right,
      hsla(240, 1%, 18%, 0.251) 0%,
      hsla(240, 2%, 11%, 0.5) 100%), hsl(240, 2%, 13%, 0.5);
  --bg-gradient-yellow-1: linear-gradient(to bottom right,
      hsl(45, 100%, 71%) 0%,
      hsla(36, 100%, 69%, 0) 50%);
  --bg-gradient-yellow-2: linear-gradient(135deg,
      hsla(45, 100%, 71%, 0.251) 0%,
      hsla(35, 100%, 68%, 0) 59.86%), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(to bottom right,
      hsl(0, 0%, 25%) 0%,
      hsla(0, 0%, 25%, 0) 50%);
  --text-gradient-yellow: linear-gradient(to right,
      hsl(45, 100%, 72%),
      hsl(35, 100%, 68%));

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsla(240, 2%, 12%, 0.5);
  --smoky-black: hsl(0, 0%, 0%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
     * typography
     */

  /* font-family */
  --ff-poppins: 'Vazirmatn' , 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
     * shadow
     */

  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
     * transition
     */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

}


body {
  background: var(--smoky-black);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html {
  font-family: var(--ff-poppins);
  color: var(--vegas-gold);
  direction: rtl;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
}

h3 {

  text-align: justify;

}


#articleMain {



  background: var(--eerie-black-2);
  backdrop-filter: blur(1px);
  height: auto;
  margin-top: 100px;
  margin-bottom: 30px;
  padding: 30px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  min-height: 1100px;
  border: 1px solid var(--jet);
  border-radius: 20px;
  box-shadow: var(--shadow-1);


}

#aboutUs {



  background: var(--eerie-black-2);
  backdrop-filter: blur(1px);
  height: auto;
  margin-top: 100px;
  margin-bottom: 30px;
  padding: 30px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--jet);
  border-radius: 20px;
  box-shadow: var(--shadow-1);


}

.slidebar {

  background: var(--bg-gradient-jet);
  backdrop-filter: blur(8px);
  right: -150px;
  width: 150px;
  height: 100vh;
  z-index: 3;
  padding: 0;
  top: 0;
  position: fixed;
  display: flex;

}

.slidebar.show {

  right: 0;
  ;

}

.ulOptions {

  margin-top: 90px;
  padding: 0;
  list-style-type: none;

}

.liOptions {

  width: 100%;
  padding: 0;
  position: relative;
  right: 0;
  margin: auto;

}

.btnSlider {


  width: 140px;


  right: 0;

  display: block;
  margin: 5px;

}

.navbar {
  position: fixed;
  bottom: 0;
  right: 0;
  top: 0;
  left: 0;
  margin-right: auto;

  width: 100%;
  min-height: 40px;
  height: 80px;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-2);
  z-index: 4;
}

.navbar-list {
  display: flex;
  width: 100%;
  max-height: 80px;
  position: fixed;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 0;
  justify-content: center;
  align-items: center;
  z-index: 4;
}


.navbar-item {

  margin-right: 7px;
  margin-left: 7px;
  padding: 0%;
  animation: navItem 2s forwards;


}

@keyframes navItem {

  50% {

    transform: translate(0%, -30%) scale(1);

  }

}

.options {

  position: fixed;
  z-index: 5;
  right: 5px;
  width: 70px;
  margin-top: 5px;
  height: 70px;

}

.btnOptions {

  position: fixed;
  font-size: 20px;
  width: 70px;
  height: 70px;

}


.navbar-logo {

  margin-bottom: auto;
  position: sticky;
  margin-right: 7px;
  margin-left: 7px;
  animation: mymove 2s;
  animation-delay: 0.1s;


}

@keyframes mymove {
  50% {
    transform: translate(0%, 400%) scale(8);
  }
}




button {
  border-radius: 20px;
  padding: 15px;
  size: 25px;
  font-family: var(--ff-poppins);
  color: var(--vegas-gold);
  /* margin: auto; */
  background: transparent;
  border: none;
  height: fit-content;
  border-color: var(--eerie-black-1);

}

button:hover {
  background: var(--jet);
  transition: background-color 0.5s ease-in-out;
}

.btnLogo {
  border-radius: 20px;
  size: 25px;
  padding: 0;
  font-family: var(--ff-poppins);
  margin: auto;
  background: transparent;
  transition: background-color 0.5s ease-in-out;
}

.btnLogo:hover {
  background: transparent;
}


.testimonials {
  margin-bottom: 30px;
}

.testimonials-title {
  margin-bottom: 20px;
}

.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  background: var(--bg-gradient-onyx);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.testimonials-item-title {
  margin-bottom: 7px;
}

.testimonials-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/**
 * #testimonials-modal
 */

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
  pointer-events: none;
  visibility: hidden;
}

.modal-container::-webkit-scrollbar {
  display: none;
}

.modal-container.active {
  pointer-events: all;
  visibility: visible;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsl(0, 0%, 5%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 0.8;
  visibility: visible;
  pointer-events: all;
}

.testimonials-modal {
  background: var(--eerie-black-2);
  position: relative;
  padding: 15px;
  margin: 15px 12px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  box-shadow: var(--shadow-5);
  transform: scale(1.2);
  opacity: 0;
  transition: var(--transition-1);
  z-index: 2;
}

.modal-container.active .testimonials-modal {
  transform: scale(1);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--onyx);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 18px;
  opacity: 0.7;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
  opacity: 1;
}

.modal-close-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.modal-avatar-box {
  background: var(--bg-gradient-onyx);
  width: max-content;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-2);
}

.modal-img-wrapper>img {
  display: none;
}

.modal-title {
  margin-bottom: 4px;
}

.modal-content time {
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
  margin-bottom: 10px;
}

.modal-content p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  min-width: 100px;
  width: auto;
  max-width: 600px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

/* Full screen layout */
.swiper-container {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  height: 60vh;
}

/* Centered slide with custom active style */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  transition: all 0.3s ease;
  opacity: 0.7;
  border-radius: 12px;
  transform: scale(0.9);
}

/* Active slide style */
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.swiper-slide img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 12px;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
}

/* استایل دکمه اصلی */




@media (max-width : 810px) {

  .navbar-item {
    display: none;
  }

  .swiper-container {
    width: 80%;
  }


}

@media (min-width : 810px) {

  .options {
    display: none;
  }

  .btnOptions {
    display: none;
  }

  .slidebar {
    display: none;
  }

}

@media (max-width : 810px) {

      .imgSize {
        margin-top: 20px;
        height: 157px;
        width: 200px;
        

      }


}

@media (min-width : 810px) {

 .imgSize {
        margin-top: 40px;
        height: 300px;
        width: 383px;

      }

}