@font-face {
  font-family: "Vazirmatn";
  src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn-font@v33.003/fonts/webfonts/Vazirmatn-FD-Regular.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* downloaded from https://rokaweb.ir */
@font-face {
  font-family: "Yekan";
  src: url("../fonts/Yekan.eot");
  src: url("../fonts/Yekan.eot") format("embedded-opentype"),
    url("../fonts/Yekan.woff2") format("woff2"),
    url("../fonts/Yekan.woff") format("woff"),
    url("../fonts/Yekan.ttf") format("truetype");
  /* url( '../fonts/' ) format( 'svg' ) */
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yekan", "Vazirmatn", "Inter", "Segoe UI", Tahoma, Arial,
    sans-serif;
  overflow: hidden;
  background: #fafafa;
  color: #212224;
  height: 100vh;
}

/* 
     Header Styles 
*/

/*
 section styls
*/

.container {
  height: 100vh;
  overflow: hidden;
  position: relative;
  padding-top: 80px;
}

.sections-wrapper {
  height: calc(100vh - 80px);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.section {
  height: calc(100vh - 80px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 50px;
}

/* .section:nth-child(1) {
  background: #fafafa;
} */

.section:nth-child(2) {
  /* background: #ffffff; */
  background-image: url(../images/ZOOM8797.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section:nth-child(3) {
  background: #fafafa;
}

.section:nth-child(4) {
  background: #ffffff;
}

.section:nth-child(5) {
  background: #fafafa;
}

.section:nth-child(6) {
  background: #ffffff;
}

.section-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-content2020 {
  background: url(../images/0000637_supreme-18.jpeg);
  background-position: center;
  background-size: cover;
}

.section.active .section-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Dropdown Menu Styles
      .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        height: 35vh;
        background: #ffffff;
        border-bottom: 1px solid rgba(33, 34, 36, 0.1);
        box-shadow: 0 10px 30px rgba(33, 34, 36, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1999;
      }

      .nav-item:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .dropdown-container {
        max-width: 1400px;
        margin: 0 auto;
        height: 100%;
        display: flex;
        padding: 40px 60px;
        gap: 60px;
      }

      .dropdown-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .dropdown-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #212224;
        margin-bottom: 15px;
      }

      .dropdown-description {
        color: #666;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
      }

      .dropdown-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .dropdown-link {
        color: #212224;
        text-decoration: none;
        padding: 8px 0;
        font-weight: 500;
        font-size: 0.95rem;
        border-bottom: 1px solid transparent;
        transition: all 0.3s ease;
      }

      .dropdown-link:hover {
        color: #666;
        border-bottom-color: #212224;
        padding-right: 10px;
      }

      .dropdown-image {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fafafa;
        border-radius: 12px;
        overflow: hidden;
      }

      .dropdown-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .dropdown-image:hover img {
        transform: scale(1.05);
      }*/

/* .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: white;
    max-width: 800px;
} */
/* .section:nth-child(1) {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(../images/images1.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.hero-content {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 30%;
  right: 40%;
  background: transparent;
  z-index: 2;
  background-color: blue;
} */
/* .hero-content {
        position: relative;
        padding: 30px 0;
        z-index: 2;
        color: white;
      } */

/* .hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: #212224;
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
} */

/* .hero-content p {
  font-size: 1.5rem;
  color: #666;
  font-weight: 400;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 1s forwards;
} */

/* .floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  background: rgba(33, 34, 36, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
} */

.section:nth-child(1) {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url(../videos/coffee-roasters-slider-1.mp4);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Hero Content - بخش اصلی */
.hero-content {
  position: absolute;
  transform: translateX(50%);
  width: 400px;
  height: auto;
  min-height: 300px;
  background: transparent; /* بک‌گراند شفاف */
  /* backdrop-filter: blur(20px); */
  border-radius: 24px;
  border: 2px solid transparent; /* border شفاف اولیه */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  z-index: 10;
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* انیمیشن برای border */
  /* background-image: linear-gradient(transparent, transparent),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.1)
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: borderGlow 3s ease-in-out infinite; */
}

/* انیمیشن border */
@keyframes borderGlow {
  0% {
    background-image: linear-gradient(transparent, transparent),
      linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1)
      );
  }
  50% {
    background-image: linear-gradient(transparent, transparent),
      linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.3)
      );
  }
  100% {
    background-image: linear-gradient(transparent, transparent),
      linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1)
      );
  }
}

/* حذف ::before چون دیگر نیاز نیست */
/* .hero-content::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  border-radius: 26px;
  z-index: -1;
  opacity: 0.8;
} */

/* .hero-content:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(30px);

  border روشن‌تر در hover
  background-image: linear-gradient(transparent, transparent),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.4)
    );
  animation-duration: 1.5s; انیمیشن سریع‌تر در hover
}

.hero-content:hover .inner-div h3 {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-content:hover .inner-div p {
  color: rgba(255, 255, 255, 0.95);
} */

.inner-div {
  max-width: 100%;
  text-align: center;
  width: 100%;
}

.inner-div h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 0.5s forwards;
  line-height: 1.3;
}

.inner-div p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 1s forwards;
}

/* انیمیشن fadeInUp (در صورتی که قبلاً تعریف نشده باشد) */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
/* @media (max-width: 1200px) {
  .hero-content {
    width: 350px;
    right: 35%;
  }

  .inner-div h3 {
    font-size: 1.9rem;
  }

  .inner-div p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    position: relative;
    top: auto;
    right: auto;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px 25px;
  }

  .inner-div h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .inner-div p {
    font-size: 1rem;
  }

  .floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
  }

  .floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
  }

  .floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    width: 95%;
    padding: 25px 20px;
  }

  .inner-div h3 {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
  }

  .inner-div p {
    font-size: 0.80rem;
  }
} */
/* Responsive Design - تغییرات جدید */

.subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #8b4513;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* .section-content-2{
    text-align: center !important;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #8b4513;
  margin-bottom: 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
} */

.text-reveal {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  /* margin-top: 0px; */
  text-align: center !important;
  line-height: 1.4;
  overflow: hidden;
  display: inline-block;
}

.section.active .subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.text-reveal .reveal-text {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  margin-top: 20px;
}

.section.active .text-reveal .reveal-text {
  transform: translateY(0);
  transition-delay: 0.5s;
}
.description {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section.active .description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* ریسپانسیو برای کمتر از 768px */
/* @media (max-width: 768px) {
  .section {
    padding: 20px;
  }

  .section-content {
    padding: 0 15px;
    text-align: center; 
  }

  .subtitle {
    font-size: 1rem; 
  }

  .text-reveal {
    font-size: 1.6rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .text-reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .description {
    font-size: 0.9rem; 
  }
} */

/* ریسپانسیو برای کمتر از 768px */

@media (max-width: 900px) {
  .hero-content {
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* right: auto; */
    width: 85%;
    max-width: 450px;
    min-width: 320px;
    padding: 35px 25px;
    margin: 0;
  }

  .hero-content:hover {
    transform: translate(-50%, -50%) translateY(-8px) scale(1.02);
  }

  .inner-div h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .inner-div p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  /* .floating-element:nth-child(1) {
    width: 90px;
    height: 90px;
    top: 10%;
    left: 5%;
  }

  .floating-element:nth-child(2) {
    width: 70px;
    height: 70px;
    top: 75%;
    right: 8%;
  }

  .floating-element:nth-child(3) {
    width: 110px;
    height: 110px;
    bottom: 10%;
    left: 10%;
  } */
}

@media (max-width: 768px) {
  .hero-content {
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
    transform: translate(-50%, -50%);
  }

  .hero-content:hover {
    transform: translate(-50%, -50%) translateY(-6px) scale(1.01);
  }

  .inner-div h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
  }

  .inner-div p {
    font-size: 1rem;
    line-height: 1.4;
  }

  /* .floating-element:nth-child(1) {
    width: 70px;
    height: 70px;
  }

  .floating-element:nth-child(2) {
    width: 55px;
    height: 55px;
  }

  .floating-element:nth-child(3) {
    width: 85px;
    height: 85px;
  } */
}

@media (max-width: 480px) {
  .hero-content {
    width: 95%;
    max-width: 350px;
    padding: 25px 18px;
    transform: translate(-50%, -50%);
  }

  .hero-content:hover {
    transform: translate(-50%, -50%) translateY(-4px) scale(1.005);
  }

  .inner-div h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .inner-div p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(5deg);
  }
  66% {
    transform: translateY(-15px) rotate(-3deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.card {
  background: #ffffff;
  border: 1px solid rgba(33, 34, 36, 0.1);
  border-radius: 12px;
  padding: 50px;
  margin: 20px 0;
  transform: scale(0.9) rotateY(45deg);
  transition: all 0.8s ease;
  box-shadow: 0 10px 30px rgba(33, 34, 36, 0.1);
  text-align: center;
}

.section.active .card {
  transform: scale(1) rotateY(0deg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.grid-item {
  background: #ffffff;
  border: 1px solid rgba(33, 34, 36, 0.1);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transform: translateY(100px) rotate(10deg);
  opacity: 0;
  transition: all 0.8s ease;
  box-shadow: 0 5px 20px rgba(33, 34, 36, 0.08);
}

.section.active .grid-item {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

.section.active .grid-item:nth-child(1) {
  transition-delay: 0.2s;
}
.section.active .grid-item:nth-child(2) {
  transition-delay: 0.4s;
}
.section.active .grid-item:nth-child(3) {
  transition-delay: 0.6s;
}

.navigation {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(33, 34, 36, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-dot.active {
  background: #212224;
  transform: scale(1.2);
}

.nav-dot:hover {
  transform: scale(1.1);
  background: rgba(33, 34, 36, 0.6);
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  /* color: rgba(33, 34, 36, 0.6); */
  color: #ffffff;
  font-size: 14px;
  z-index: 1000;
  animation: bounce 2s infinite;
}

.progress-bar {
  position: fixed;
  top: 80px;
  left: 0;
  width: 0%;
  height: 3px;
  background: #212224;
  z-index: 1000;
  transition: width 0.3s ease;
}

.feature-box {
  background: #ffffff;
  border: 1px solid rgba(33, 34, 36, 0.1);
  border-radius: 12px;
  padding: 40px;
  margin: 20px 0;
  transform: perspective(1000px) rotateX(45deg);
  opacity: 0;
  transition: all 0.8s ease;
  box-shadow: 0 5px 20px rgba(33, 34, 36, 0.08);
}

.section.active .feature-box {
  transform: perspective(1000px) rotateX(0deg);
  opacity: 1;
}

.section.active .feature-box:nth-child(1) {
  transition-delay: 0.2s;
}
.section.active .feature-box:nth-child(2) {
  transition-delay: 0.4s;
}
.section.active .feature-box:nth-child(3) {
  transition-delay: 0.6s;
}

h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #212224;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #212224;
  margin-bottom: 15px;
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #212224;
  margin-bottom: 10px;
}

p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.section:nth-child(7) {
  background: #fafafa;
}

.section:nth-child(8) {
  background: #ffffff;
}

.section:nth-child(9) {
  background: #fafafa;
}

.section:nth-child(10) {
  background: #ffffff;
}

.section:nth-child(11) {
  background: #fafafa;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-menu {
    gap: 30px;
  }

  .section {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .navigation {
    right: 15px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card,
  .feature-box {
    padding: 30px;
  }
}

/* اضافه کردن background به section اول */
/* .section:nth-child(1) {
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)),
          url(./images/images2.jpg);
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
      } */
/* .inner-div{
  max-width: 15rem;
}
.inner-div h3{
  color: #fafafa;
} */

/* Responsive styles for tablets and laptops */
/* .section-content-2{

}
.section-2{

}
@media (max-width: 1024px) {
  .section-2 {
    padding: 0 30px;
  }
  
  .card {
    padding: 40px 30px;
    margin: 15px 0;
  }
  
  .card h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    text-align: center;
    margin: 40px auto;
    max-width: 100%;
  }
  
  .section-content-2 {
    max-width: 100%;
    padding: 0 20px;
  }
} */

/* @media (max-width: 768px) {
  .section-2 {
    padding: 0 20px;
  }
  
  .card {
    padding: 30px 20px;
    margin: 10px 0;
  }
  
  .card h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
  }
  
  .card h5.subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .card p.description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .section-content-2 {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .section-2 {
    padding: 0 15px;
  }
  
  .card {
    padding: 25px 15px;
    margin: 8px 0;
  }
  
  .card h2 {
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
    max-width: 3000px;
    border: 10px solid rebeccapurple;
    margin: 0 auto;
  }
  
  .card h5.subtitle {
    font-size: 0.8rem;
  }
  
  .card p.description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .section-content-2 {
    max-width: 100%;
    padding: 0 20px;
  }
} */

/* .card {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
} */

/* .subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #8b4513;
  margin-bottom: 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
} */

/* .text-reveal {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-top: 20px;
  text-align: center !important;
  line-height: 1.4;
  display: inline-block; 
} */

/* .text-reveal span {
  display: inline-block; 
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.text-reveal.active span {
  opacity: 1;
  transform: translateY(0);
}

.description {
  font-size: 1rem;
  color: #666;
  margin-top: 20px;
  text-align: center;
} */

/* ریسپانسیو برای کمتر از 768px */
/* @media (max-width: 768px) {
  .section {
    padding: 20px;
  }

  .section-content {
    padding: 0 15px;
    text-align: center !important;
  }

  .card {
    text-align: center;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .text-reveal {
    font-size: 1.6rem;
    line-height: 1.3;
    display: inline-block;
  }

  .text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .text-reveal.active span {
    opacity: 1;
    transform: translateY(0);
  }

  .description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
} */

/* ریسپانسیو برای کمتر از 480px */
/* @media (max-width: 480px) {
  .section {
    padding: 10px;
  }

  .section-content {
    padding: 0 10px;
    text-align: center !important;
  }

  .card {
    text-align: center;
  }

  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .text-reveal {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-top: 15px;
    display: inline-block;
  }

  .text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .text-reveal.active span {
    opacity: 1;
    transform: translateY(0);
  }

  .description {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 10px;
  }
} */

/* بخش 3: ویژگی‌ها */

/* About Section - Section 3 */
.about-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: right;
}

.about-info {
  flex: 1;
  max-width: 500px;
}

.about-title {
  margin-bottom: 30px;
}

.about-title h2 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #212224;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.underline {
  width: 120px; /* از 80px به 120px */
  height: 5px; /* از 4px به 5px */
  background: linear-gradient(90deg, #212224, #666);
  border-radius: 2px;
  margin: 0;
  margin-bottom: 10px;
}

.about-info h5 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #d4a574;
  margin-bottom: 25px;
  line-height: 1.4;
}

.about-info p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.about-img {
  flex: 1;
  max-width: 550px;
  position: relative;
}

.about-img::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 2px solid #d4a574;
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  z-index: -1;
}

.section.active .about-img::before {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(33, 34, 36, 0.15);
  transition: all 0.4s ease;

  position: relative;
  z-index: 1;
}

.about-photo:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(33, 34, 36, 0.2);
}

/* انیمیشن‌های ورود */
.section .about-info {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.section .about-img {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.section.active .about-info {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.section.active .about-img {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

/* انیمیشن‌های جزئی */
.section .about-title h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section .underline {
  width: 0;
  transition: width 0.6s ease;
}

.section .about-info h5 {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section .about-info p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section.active .about-title h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.section.active .underline {
  width: 120px;
  transition-delay: 0.6s;
}

.section.active .about-info h5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.section.active .about-info p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-center {
    gap: 40px;
    padding: 0 30px;
  }

  .about-title h2 {
    font-size: 2.4rem;
  }

  .about-info h5 {
    font-size: 1.2rem;
  }

  .about-info p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .about-center {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
    padding: 0 20px;
  }

  .about-info {
    max-width: 100%;
  }

  .about-title h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .underline {
    margin: 0 auto;
  }

  .about-info h5 {
    font-size: 1.1rem;
    text-align: center;
  }

  .about-info p {
    font-size: 1rem;
    text-align: center;
  }

  .about-img {
    max-width: 100%;
  }

  .about-photo {
    aspect-ratio: 4/3;
    border-radius: 12px;
  }

  /* تنظیم انیمیشن‌ها برای موبایل */
  .section .about-info {
    transform: translateY(30px);
  }

  .section .about-img {
    transform: translateY(-30px);
  }

  .section.active .about-info {
    transform: translateY(0);
  }

  .section.active .about-img {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .about-center {
    gap: 30px;
    padding: 0 15px;
  }

  .about-title h2 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .about-info h5 {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .about-info p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .underline {
    width: 60px;
    height: 3px;
  }

  .section.active .underline {
    width: 60px;
  }
}

@media (max-width: 1024px) {
  .about-img::before {
    display: none; /* مخفی کردن border در تبلت */
  }
}

@media (max-width: 768px) {
  .about-img::before {
    display: none; /* مخفی کردن border در موبایل */
  }
}

/* برای موبایل */
@media (max-width: 480px) {
  .underline {
    width: 90px; /* به جای 60px */
    height: 4px;
  }

  .section.active .underline {
    width: 90px;
  }
}

/* Section 4 - Compact Features Section */
.section:nth-child(4) {
  background: #fafafa;
  padding: 20px 50px;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section:nth-child(4) .section-content {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-main-container {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #212224;
  margin-bottom: 0.5rem;
  margin-top: 5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.features-main-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.1s;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  flex: 1;
  align-content: center;
}

.feature-card-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  border: 1px solid rgba(33, 34, 36, 0.1);
}

.feature-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
  width: 45px;
  height: 45px;
  background: #212224;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.feature-card-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.feature-card-item:hover .feature-card-icon {
  background: #666;
  transform: scale(1.05);
}

.feature-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212224;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.feature-card-description {
  color: #666;
  line-height: 1.4;
  font-size: 0.85rem;
}

/* Animation triggers */
.section:nth-child(4).active .features-main-title {
  opacity: 1;
  transform: translateY(0);
}

.section:nth-child(4).active .features-main-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.section:nth-child(4).active .feature-card-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.section:nth-child(4).active .feature-card-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.section:nth-child(4).active .feature-card-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.section:nth-child(4).active .feature-card-item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .section:nth-child(4) {
    padding: 15px 30px;
  }

  .features-main-title {
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
  }

  .features-main-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .features-grid {
    gap: 1.2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-item {
    padding: 1.2rem;
  }

  .feature-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.8rem;
  }

  .feature-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-card-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .feature-card-description {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section:nth-child(4) {
    padding: 10px 20px;
  }

  .features-main-title {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
  }

  .features-main-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card-item {
    padding: 1rem;
  }

  .feature-card-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 0.7rem;
  }

  .feature-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .feature-card-description {
    font-size: 0.75rem;
    line-height: 1.25;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .section:nth-child(4) {
    padding: 8px 15px;
  }

  .features-main-title {
    font-size: 1.5rem;
  }

  .feature-card-item {
    padding: 0.8rem;
  }

  .feature-card-description {
    font-size: 0.7rem;
  }
}

/* ========================
   SECTION 5: Quality & Supply Chain Styles
   ======================== */

/* کانتینر اصلی سکشن پنجم */
.section:nth-child(5) {
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

/* .section:nth-child(5)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 34, 36, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
} */

.section:nth-child(5)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      135deg,
      rgba(33, 34, 36, 0.02) 0%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    url(../images/Resim551.png) center center / cover no-repeat;
  background-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* افکت hover برای تغییر opacity */
.section:nth-child(5):hover::before {
  opacity: 0.9;
}

.section:nth-child(5) .section-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* استایل‌های کانتینر اصلی عناوین */
.sec5-titel1 {
  margin-bottom: 4rem;
  position: relative;
}

.sec5-titel2 {
  position: relative;
}

/* استایل‌های کانتینرهای داخلی */
/* .sec5-in-titel1,
.sec5-in-titel2 {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(33, 34, 36, 0.08);
    border-radius: 16px;
    padding: 3rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 4px 20px rgba(33, 34, 36, 0.06),
        0 1px 3px rgba(33, 34, 36, 0.04);
} */
.sec5-in-titel1,
.sec5-in-titel2 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(33, 34, 36, 0.08);
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(33, 34, 36, 0.06),
    0 1px 3px rgba(33, 34, 36, 0.04);
}

/* افکت شاین هنگام hover */
.sec5-in-titel1::before,
.sec5-in-titel2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

.sec5-in-titel1:hover::before,
.sec5-in-titel2:hover::before {
  left: 100%;
}

/* افکت‌های hover */
/* .sec5-in-titel1:hover,
.sec5-in-titel2:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(33, 34, 36, 0.12),
        0 4px 12px rgba(33, 34, 36, 0.08);
    border-color: rgba(33, 34, 36, 0.12);
} */
.sec5-in-titel1:hover,
.sec5-in-titel2:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 40px rgba(33, 34, 36, 0.12),
    0 4px 12px rgba(33, 34, 36, 0.08);
  border-color: rgba(33, 34, 36, 0.12);
}

.sec5-in-titel1:hover h2,
.sec5-in-titel2:hover h2 {
  color: #000000;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* استایل‌های عناوین */
/* .sec5-in-titel1 h2,
.sec5-in-titel2 h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #212224;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
} */

.sec5-in-titel1 h2,
.sec5-in-titel2 h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* .sec5-in-titel1:hover h2,
.sec5-in-titel2:hover h2 {
    color: #000;
} */
/*کدشو بالاتر گذاشتم*/

/* استایل‌های پاراگراف‌ها */
.sec5-in-titel1 p,
.sec5-in-titel2 p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  text-align: justify;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  font-weight: 400;
}

.sec5-in-titel1:hover p,
.sec5-in-titel2:hover p {
  color: #333;
}

/* خط تزئینی زیر عناوین */
.sec5-in-titel1 h2::after,
.sec5-in-titel2 h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #212224, #666);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.sec5-in-titel1:hover h2::after,
.sec5-in-titel2:hover h2::after {
  width: 60px;
}

/* انیمیشن پارتیکل‌های شناور */
@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.floating-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(33, 34, 36, 0.1);
  pointer-events: none;
  z-index: 1;
  animation: floatParticle linear infinite;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* تبلت (1024px و کمتر) */
@media (max-width: 1024px) {
  .sec5-in-titel1,
  .sec5-in-titel2 {
    padding: 2.5rem;
    margin: 1.5rem 0;
  }

  .sec5-in-titel1 h2,
  .sec5-in-titel2 h2 {
    font-size: 2rem;
  }

  .sec5-in-titel1 p,
  .sec5-in-titel2 p {
    font-size: 1rem;
  }

  .sec5-titel1 {
    margin-bottom: 3rem;
  }
}

/* تبلت کوچک (768px و کمتر) */
@media (max-width: 768px) {
  .section:nth-child(5) .section-content {
    padding: 0 1rem;
  }

  .sec5-in-titel1,
  .sec5-in-titel2 {
    padding: 2rem;
    margin: 1rem 0;
    border-radius: 12px;
  }

  .sec5-in-titel1 h2,
  .sec5-in-titel2 h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .sec5-in-titel1 p,
  .sec5-in-titel2 p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .sec5-titel1 {
    margin-bottom: 2.5rem;
  }

  /* حذف افکت‌های hover در موبایل */
  .sec5-in-titel1:hover,
  .sec5-in-titel2:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(33, 34, 36, 0.06),
      0 1px 3px rgba(33, 34, 36, 0.04);
  }
}

/* موبایل (480px و کمتر) */
@media (max-width: 480px) {
  .sec5-in-titel1,
  .sec5-in-titel2 {
    padding: 1.5rem;
    margin: 0.8rem 0;
  }

  .sec5-in-titel1 h2,
  .sec5-in-titel2 h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .sec5-in-titel1 p,
  .sec5-in-titel2 p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .sec5-titel1 {
    margin-bottom: 2rem;
  }
}

/* موبایل خیلی کوچک (360px و کمتر) */
@media (max-width: 360px) {
  .section:nth-child(5) .section-content {
    padding: 0 0.5rem;
  }

  .sec5-in-titel1,
  .sec5-in-titel2 {
    padding: 1.2rem;
    margin: 0.6rem 0;
  }

  .sec5-in-titel1 h2,
  .sec5-in-titel2 h2 {
    font-size: 1.3rem;
  }

  .sec5-in-titel1 p,
  .sec5-in-titel2 p {
    font-size: 0.85rem;
  }
}

/* ========================
   ACCESSIBILITY & PERFORMANCE
   ======================== */

/* کاهش انیمیشن برای کاربران با تنظیمات accessibility */
@media (prefers-reduced-motion: reduce) {
  .sec5-in-titel1,
  .sec5-in-titel2 {
    transition: none;
  }

  .sec5-in-titel1::before,
  .sec5-in-titel2::before {
    transition: none;
  }

  .sec5-in-titel1 h2::after,
  .sec5-in-titel2 h2::after {
    transition: none;
  }

  .floating-particle {
    animation: none;
  }
}

/* بهینه‌سازی برای صفحه‌نمایش‌های با کیفیت بالا */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .sec5-in-titel1,
  .sec5-in-titel2 {
    border-width: 0.5px;
  }
}

/* Dark mode support (اختیاری) */
@media (prefers-color-scheme: dark) {
  .section:nth-child(5) {
    background: #1a1a1a;
  }

  .sec5-in-titel1,
  .sec5-in-titel2 {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .sec5-in-titel1 h2,
  .sec5-in-titel2 h2 {
    color: #ffffff;
  }

  .sec5-in-titel1 p,
  .sec5-in-titel2 p {
    color: #cccccc;
  }
}

/* Software Section Styles - استایل اختصاصی سکشن ششم فقط */
.section:nth-child(6) {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url("../images/sw-kuban-bg1.jpg");
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

/* فقط برای سکشن ششم - section-content سفارشی */
.section:nth-child(6) .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
}

.software-video-container {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.software-video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.software-video-container .video-container {
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.software-text-content {
  flex: 1;
  text-align: right;
  padding-right: 20px;
}

.software-text-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.software-text-content h5 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #ffd700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.software-text-content .underline2 {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  margin: 0 0 30px 0;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.software-text-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.software-text-content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #212224;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.software-text-content a:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.software-text-content a:hover:before {
  left: 100%;
}

.software-text-content a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, #ff8c00, #ffd700);
  border-color: rgba(255, 255, 255, 0.2);
}

.software-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.software-text-content a:hover .software-arrow {
  transform: translateX(-5px);
}

/* Text Reveal Animation - فقط برای سکشن ششم */
@keyframes softwareTextReveal {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.section:nth-child(6).active h2 {
  animation: softwareTextReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s
    both;
}

.section:nth-child(6).active h5 {
  animation: softwareTextReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s
    both;
}

.section:nth-child(6).active .underline2 {
  animation: softwareTextReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s
    both;
}

.section:nth-child(6).active p {
  animation: softwareTextReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s
    both;
}

.section:nth-child(6).active a {
  animation: softwareTextReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s
    both;
}

/* Responsive Design - فقط برای سکشن ششم */
@media (max-width: 1024px) {
  .section:nth-child(6) .section-content {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .software-text-content {
    text-align: center;
    padding-right: 0;
  }

  .software-text-content h2 {
    font-size: 2.8rem;
  }

  .software-text-content h5 {
    font-size: 1.6rem;
  }

  .software-text-content .underline2 {
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 768px) {
  .section:nth-child(6) .section-content {
    gap: 40px;
    padding: 0 20px;
  }

  .software-text-content h2 {
    font-size: 2.4rem;
  }

  .software-text-content h5 {
    font-size: 1.4rem;
  }

  .software-text-content p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .software-text-content a {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .software-text-content h2 {
    font-size: 2rem;
  }

  .software-text-content h5 {
    font-size: 1.2rem;
  }

  .software-text-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .software-text-content a {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

/* Section 7 - Support Styles */
.support-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.support-text-content {
  flex: 1;
  max-width: 500px;
}

.support-images-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
}

.support-image-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.support-image-item:hover {
  transform: translateY(-5px);
}

.support-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.support-image-item:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay h4 {
  color: #fafafa;
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.image-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Swiper Container - Hidden by default */
.support-swiper-container {
  display: none;
  width: 100%;
  height: 400px;
}

.support-swiper-container .swiper {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.support-swiper-container .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.support-swiper-container .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  text-align: center;
}

.slide-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.slide-overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Swiper Navigation Buttons */
.support-swiper-container .swiper-button-next,
.support-swiper-container .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-top: -22px;
}

.support-swiper-container .swiper-button-next:after,
.support-swiper-container .swiper-button-prev:after {
  font-size: 18px;
}

/* Swiper Pagination */
.support-swiper-container .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.support-swiper-container .swiper-pagination-bullet-active {
  background: #007bff;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .support-container {
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
  }

  .support-text-content {
    text-align: center;
    order: 1;
  }

  /* Hide Grid, Show Swiper */
  .support-images-grid {
    display: none !important;
  }

  .support-swiper-container {
    display: block !important;
    order: 2;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .support-swiper-container {
    height: 300px;
  }

  /* Hide navigation buttons on very small screens */
  .support-swiper-container .swiper-button-next,
  .support-swiper-container .swiper-button-prev {
    display: none;
  }
  .support-text-content h2 {
    font-size: 1.5rem;
  }
}

/* Events Section Styles */
.section#section8 {
  position: relative;
  background: #212224;
  overflow: hidden;
}

.events-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/kuban-fuar.jpg"); /* تصویر مورد نظرت رو اینجا قرار بده */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* شفافیت تصویر */
  z-index: 1;
}

.section#section8 .section-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.events-content {
  text-align: center;
  background: rgba(0, 0, 0, 0.15); /* خیلی کم‌رنگ‌تر شد */
  padding: 60px 80px;
  border-radius: 20px;
  backdrop-filter: blur(3px); /* blur کم‌تر شد */
  border: 1px solid rgba(255, 255, 255, 0.05); /* حاشیه کم‌رنگ‌تر */
  max-width: 700px;
  width: 100%;
}

.events-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.events-content .description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 40px;
}

.upcoming-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 30px;
}

.events-link {
  display: inline-block;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.events-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-content {
    padding: 40px 30px;
    margin: 0 20px;
  }

  .events-content h2 {
    font-size: 2.2rem;
  }

  .events-content .description {
    font-size: 1rem;
  }

  .upcoming-title {
    font-size: 1.3rem;
  }

  .events-link {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .events-content {
    padding: 30px 20px;
  }

  .events-content h2 {
    font-size: 1.8rem;
  }

  .events-background {
    opacity: 0.2; /* کم‌تر کردن شفافیت در موبایل */
  }
}

/* فقط برای این سکشن - تداخل ندارد */
.testimonials-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
  display: flex;
  font-family: "Vazir", sans-serif;
}
.testimonials-section {
  width: 100vw; /* عرض کامل صفحه */
  margin-left: calc(-50vw + 50%); /* خروج از container */
  margin-right: calc(-50vw + 50%);
}

/* ویدیو بک‌گراند سمت چپ */
.testimonials-video-container {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.testimonials-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Matrix Effect روی ویدیو */
.testimonials-matrix-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.testimonials-matrix-text {
  position: absolute;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 14px;
  opacity: 0.7;
  animation: testimonials-matrix-fall 8s linear infinite;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes testimonials-matrix-fall {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(calc(100vh + 100px));
    opacity: 0;
  }
}

/* محتوای متنی روی ویدیو */
.testimonials-video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  color: white;
}

/* .testimonials-video-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: testimonials-glitch 2s infinite;
} */

.testimonials-video-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: testimonials-glitch 2s infinite;
  font-weight: 900; /* اضافه شد - بولدتر */
  color: #ffffff; /* اضافه شد - سفید خالص */
}

@keyframes testimonials-glitch {
  0%,
  100% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  25% {
    text-shadow: -2px 2px 4px rgba(255, 255, 255, 0.3),
      2px -2px 4px rgba(0, 0, 0, 0.8);
  }
  50% {
    text-shadow: 2px -2px 4px rgba(255, 255, 255, 0.3),
      -2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  75% {
    text-shadow: -2px -2px 4px rgba(255, 255, 255, 0.3),
      2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

.testimonials-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #cccccc);
  margin: 20px auto;
  animation: testimonials-pulse 2s infinite;
}

@keyframes testimonials-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.testimonials-video-content h5 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

.testimonials-video-content a {
  display: inline-block;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.inner-div a {
  display: inline-block;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  margin-top: 20px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 1.5s forwards;
}

.inner-div a:hover {
  background: white;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.testimonials-video-content a:hover {
  background: white;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* بخش Swiper سمت راست */
.testimonials-swiper-container {
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.testimonials-swiper {
  width: 100%;
  height: 400px;
  position: relative;
}

.testimonials-swiper .swiper-slide {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.testimonials-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #666, #999);
}

.testimonials-client-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonials-client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-left: 15px;
  border: 3px solid #ddd;
}

.testimonials-client-details h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 5px;
}

.testimonials-rating {
  color: #ffa500;
  font-size: 1.1rem;
}

.testimonials-swiper .swiper-slide p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
  quotes: '"' '"';
}

.testimonials-swiper .swiper-slide p::before {
  content: open-quote;
  font-size: 2rem;
  color: #ccc;
  margin-left: 5px;
}

.testimonials-swiper .swiper-slide p::after {
  content: close-quote;
  font-size: 2rem;
  color: #ccc;
  margin-right: 5px;
}

.testimonials-swiper .swiper-slide h5 {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  font-weight: normal;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* Navigation Buttons */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: #666;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  color: white;
  background: #666;
  transform: scale(1.1);
}

/* Pagination */
.testimonials-swiper .swiper-pagination-bullet {
  background: #ccc;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: #666;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials-section {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 80px);
  }

  .testimonials-video-container,
  .testimonials-swiper-container {
    width: 100%;
    height: 50vh;
  }

  .testimonials-video-content h2 {
    font-size: 2rem;
  }

  .testimonials-video-content h5 {
    font-size: 1.1rem;
  }

  .testimonials-swiper-container {
    padding: 20px;
  }

  .testimonials-swiper {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .testimonials-video-content h2 {
    font-size: 1.5rem;
  }

  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    display: none;
  }

  .testimonials-swiper {
    height: 300px;
  }

  .testimonials-swiper .swiper-slide {
    padding: 20px;
  }
}

/* � Instagram Section 10 - Tablet Optimized */
.instagram-section-10 {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 60px 40px;
  background: #ffffff;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Arial", sans-serif;
  box-sizing: border-box;
}

.instagram-header-10 {
  text-align: center;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.instagram-title-10 {
  font-size: 3rem;
  color: #333333;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
}

.instagram-title-10::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #333333;
  border-radius: 2px;
}

.instagram-username-10 {
  font-size: 1.2rem;
  color: #666666;
  text-decoration: none;
  font-weight: 400;
  display: inline-block;
}

/* Grid Layout - Desktop */
.instagram-grid-10 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  max-width: 1200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.instagram-image-container-10 {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp-10 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.instagram-image-container-10:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.instagram-image-10 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.instagram-overlay-10 {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid #ffffff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
}

.instagram-image-container-10:hover .instagram-overlay-10 {
  opacity: 1;
}

.instagram-click-text-10 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

/* Animation delays */
.instagram-image-container-10:nth-child(1) {
  animation-delay: 0.1s;
}
.instagram-image-container-10:nth-child(2) {
  animation-delay: 0.2s;
}
.instagram-image-container-10:nth-child(3) {
  animation-delay: 0.3s;
}
.instagram-image-container-10:nth-child(4) {
  animation-delay: 0.4s;
}
.instagram-image-container-10:nth-child(5) {
  animation-delay: 0.5s;
}
.instagram-image-container-10:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp-10 {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱Tablet Responsive - بهینه شده */
@media (max-width: 1024px) {
  .instagram-section-10 {
    padding: 50px 30px;
    height: calc(100vh - 80px);
    justify-content: flex-start;
    overflow-y: auto;
  }

  .instagram-header-10 {
    margin-bottom: 30px;
    padding-top: 20px;
  }

  .instagram-title-10 {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .instagram-username-10 {
    font-size: 1.1rem;
  }

  /* Grid 3x2 برای تبلت */
  .instagram-grid-10 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .instagram-image-container-10 {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    min-height: 180px;
  }

  .instagram-overlay-10 {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-width: 3px;
  }

  .instagram-click-text-10 {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
}

/* 📱 Mobil Responsive */
@media (max-width: 768px) {
  .instagram-section-10 {
    padding: 40px 20px;
  }

  .instagram-header-10 {
    margin-bottom: 25px;
  }

  .instagram-title-10 {
    font-size: 2.2rem;
  }

  .instagram-username-10 {
    font-size: 1rem;
  }

  /* Grid 2x3 برای موبایل */
  .instagram-grid-10 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    max-width: 400px;
  }

  .instagram-image-container-10 {
    max-height: 250px;
  }

  .instagram-click-text-10 {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .instagram-overlay-10 {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .instagram-section-10 {
    padding: 30px 15px;
  }

  .instagram-title-10 {
    font-size: 1.8rem;
  }

  /* .instagram-header-10 {
    margin-bottom: 25px;
  } */

  .instagram-grid-10 {
    max-width: 320px;
    gap: 12px;
  }

  .instagram-image-container-10 {
    min-height: 140px;
  }

  .instagram-click-text-10 {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

/* ارتفاع کم */
@media (max-height: 600px) {
  .instagram-section-10 {
    padding: 30px 30px;
    justify-content: center;
  }

  .instagram-header-10 {
    margin-bottom: 20px;
    padding-top: 0;
  }

  .instagram-title-10 {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .instagram-grid-10 {
    gap: 10px;
  }

  .instagram-image-container-10 {
    min-height: 120px;
  }
}

/* تبلت عمودی */
@media (max-width: 1024px) and (orientation: portrait) {
  .instagram-grid-10 {
    max-width: 600px;
  }
}

/* تبلت افقی */
@media (max-width: 1024px) and (orientation: landscape) {
  .instagram-section-10 {
    padding: 40px 30px;
  }

  .instagram-grid-10 {
    max-width: 800px;
  }

  .instagram-image-container-10 {
    min-height: 150px;
  }
}

.section-content1000 {
  max-width: 1400px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* بخش بالا - کوچکتر */
.section-content1000 > div:first-child {
  flex: 0.8; /* کمتر از 1.2 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px; /* کمتر از 35px */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.section-content1000 > div:first-child h2 {
  font-size: 1.8rem; /* کمتر از 2.2rem */
  font-weight: 700;
  color: #212224;
  margin-bottom: 12px; /* کمتر از 20px */
  line-height: 1.3;
}

.section-content1000 > div:first-child p {
  font-size: 0.95rem; /* کمتر از 1.1rem */
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px; /* کمتر از 25px */
  max-width: 800px;
}

.section-content1000 > div:first-child a {
  display: inline-block;
  background: linear-gradient(135deg, #212224, #444);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px; /* کمتر از 15px 35px */
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem; /* کمتر از 1.1rem */
  transition: all 0.3s ease;
}

.section-content1000 > div:first-child a:hover {
  background: linear-gradient(135deg, #444, #212224);
  transform: translateY(-2px);
}

/* بخش وسط - کوچکتر */
.section-content1000 > div:nth-child(2) {
  flex: 2.2; /* کمتر از 2.8 */
  display: flex;
  gap: 20px; /* کمتر از 25px */
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../images/footer.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 25px; /* کمتر از 35px */
  color: #ffffff;
}

/* ستون اول - لوگوها */
.section-content1000 > div:nth-child(2) > div:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px; /* کمتر از 18px */
  align-items: center;
  justify-content: center;
}

.section-content1000 > div:nth-child(2) > div:first-child img:first-child {
  width: 100px; /* کمتر از 120px */
  height: auto;
  max-height: 90px; /* کمتر از 70px */
  object-fit: contain;
}

.section-content1000
  > div:nth-child(2)
  > div:first-child
  img:not(:first-child) {
  width: 75px; /* کمتر از 90px */
  height: auto;
  max-height: 55px; /* کمتر از 55px */
  object-fit: contain;
}

/* ستون دوم - اطلاعات تماس */
.section-content1000 > div:nth-child(2) > div:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px; /* کمتر از 18px */
  justify-content: center;
}

.section-content1000 > div:nth-child(2) > div:nth-child(2) p {
  color: #ffffff;
  font-size: 0.85rem; /* کمتر از 0.95rem */
  line-height: 1.5;
  margin-bottom: 6px; /* کمتر از 8px */
}

/* آیکون‌های اجتماعی */
.section-content1000 > div:nth-child(2) > div:nth-child(2) > div:last-child {
  display: flex;
  gap: 8px; /* کمتر از 12px */
  flex-wrap: wrap;
  /* flex-direction: column; */
  justify-content: center;
  /* align-items: flex-end; */
  /* align-items: center; */
  /* justify-content: center; */
  margin-top: 0;
}

.section-content1000 > div:nth-child(2) > div:nth-child(2) > div:last-child i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; /* کمتر از 35px */
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  font-size: 1rem; /* کمتر از 1.1rem */
  transition: all 0.3s ease;
  cursor: pointer;
}

.section-content1000
  > div:nth-child(2)
  > div:nth-child(2)
  > div:last-child
  i:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.section-content1000 > div:nth-child(2) > div:nth-child(2) > div:last-child a {
  display: none;
}

/* ستون سوم - محصولات */
.section-content1000 > div:nth-child(2) > div:nth-child(3) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px; /* کمتر از 8px */
  justify-content: flex-start;
  padding-top: 10px; /* کمتر از 15px */
}

.section-content1000 > div:nth-child(2) > div:nth-child(3) a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8rem; /* کمتر از 0.9rem */
  padding: 3px 0; /* کمتر از 4px */
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.section-content1000 > div:nth-child(2) > div:nth-child(3) a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
  padding-right: 8px;
}

.section-content1000 > div:nth-child(2) > div:nth-child(3) a:first-child {
  font-weight: 600;
  font-size: 0.9rem; /* کمتر از 1rem */
  color: #ffffff;
  margin-bottom: 6px; /* کمتر از 8px */
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 6px; /* کمتر از 8px */
}

/* ستون چهارم - خدمات */
.section-content1000 > div:nth-child(2) > div:nth-child(4) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px; /* کمتر از 8px */
  justify-content: flex-start;
  padding-top: 10px; /* کمتر از 15px */
}

.section-content1000 > div:nth-child(2) > div:nth-child(4) a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8rem; /* کمتر از 0.9rem */
  padding: 3px 0; /* کمتر از 4px */
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.section-content1000 > div:nth-child(2) > div:nth-child(4) a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
  padding-right: 8px;
}

.section-content1000 > div:nth-child(2) > div:nth-child(4) a:first-child {
  font-weight: 600;
  font-size: 0.9rem; /* کمتر از 1rem */
  color: #ffffff;
  margin-bottom: 6px; /* کمتر از 8px */
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 6px; /* کمتر از 8px */
}

/* بخش پایین - کوچکتر */
.section-content1000 > div:last-child {
  flex: 0.4; /* کمتر از 0.5 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #212224;
  border-radius: 10px;
  padding: 15px 20px; /* کمتر از 18px 25px */
  color: #ffffff;
}

.section-content1000 > div:last-child > div:first-child {
  display: flex;
  gap: 20px; /* کمتر از 25px */
  align-items: center;
}

.section-content1000 > div:last-child > div:first-child a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8rem; /* کمتر از 0.85rem */
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.section-content1000 > div:last-child > div:first-child a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.section-content1000 > div:last-child p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem; /* کمتر از 0.75rem */
}

/* ======================== RESPONSIVE STYLES ======================== */

/* تبلت - 768px تا 1024px */
@media screen and (max-width: 1024px) {
  .your-section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
  }

  .section-content1000 > div:first-child h2 {
    font-size: 1.6rem;
  }

  .section-content1000 > div:first-child p {
    font-size: 0.9rem;
  }

  .section-content1000 > div:nth-child(2) {
    gap: 15px;
    padding: 20px;
  }
}

/* موبایل و تبلت - حذف بخش وسط */
@media screen and (max-width: 768px) {
  .your-section-container {
    padding: 10px 15px;
  }

  .section-content1000 {
    gap: 15px;
  }

  /* بخش بالا - تنظیم برای موبایل */
  .section-content1000 > div:first-child {
    padding: 25px 20px;
    flex: none;
  }

  .section-content1000 > div:first-child h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .section-content1000 > div:first-child p {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .section-content1000 > div:first-child a {
    padding: 15px 30px;
    font-size: 0.95rem;
  }

  /* حذف بخش وسط در موبایل و تبلت */
  .section-content1000 > div:nth-child(2) {
    display: none !important;
  }

  /* بخش پایین - تنظیم برای موبایل */
  .section-content1000 > div:last-child {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
    flex: none;
  }

  .section-content1000 > div:last-child > div:first-child {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .section-content1000 > div:last-child > div:first-child a {
    font-size: 0.85rem;
  }

  .section-content1000 > div:last-child p {
    font-size: 0.75rem;
    margin-top: 10px;
  }
}

/* موبایل کوچک - 480px */
@media screen and (max-width: 480px) {
  .your-section-container {
    padding: 8px 10px;
  }

  .section-content1000 > div:first-child {
    padding: 20px 15px;
  }

  .section-content1000 > div:first-child h2 {
    font-size: 1.2rem;
  }

  .section-content1000 > div:first-child p {
    font-size: 0.8rem;
  }

  .section-content1000 > div:first-child a {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .section-content1000 > div:last-child {
    padding: 15px;
  }

  .section-content1000 > div:last-child > div:first-child {
    gap: 10px;
  }

  .section-content1000 > div:last-child > div:first-child a {
    font-size: 0.8rem;
  }

  .section-content1000 > div:last-child p {
    font-size: 0.7rem;
  }
}

/* لندسکیپ موبایل */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .section-content1000 > div:first-child {
    padding: 20px;
  }

  .section-content1000 > div:first-child h2 {
    font-size: 1.3rem;
  }
}

/* اضافه کن به ابتدای CSS */
.mobile-menu-btn {
  display: none; /* پیش‌فرض مخفی */
  background: none;
  border: none;
  color: #212224;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.mobile-menu-btn:hover {
  background: rgba(33, 34, 36, 0.1);
  color: #666;
}

.mobile-menu-btn i {
  font-size: 1.5rem;
}

/* Header Styles با Background Blur */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  /* background: rgba(255, 255, 255, 0.85); */
  background: #ffffff;
  /* backdrop-filter: blur(15px); */
  /* -webkit-backdrop-filter: blur(15px); */
  border-bottom: 1px solid rgba(33, 34, 36, 0.08);
  z-index: 2000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(33, 34, 36, 0.06);
}

.header.scrolled {
  /* background: rgba(255, 255, 255, 0.95); */
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  box-shadow: 0 4px 30px rgba(33, 34, 36, 0.1);
  border-bottom: 1px solid rgba(33, 34, 36, 0.12);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

.header-img {
  height: 5rem;
  /* filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)); */
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  /* color: #212224; */
  text-decoration: none;
  transition: all 0.3s ease;
  /* backdrop-filter: blur(200px); */
  /* opacity: 0.8; */
}

.logo:hover {
  opacity: 0.6;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px; /* قبلاً 50px بود */
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #212224;
  text-decoration: none;
  font-size: 0.80rem;      /* ریزتر شدن منو */
  font-weight: 700;        /* بولدتر شدن متن */
  letter-spacing: 0.3px;   /* کمی فاصله بین حروف برای خوانایی */
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
  color: #666;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #212224;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #212224;
  font-weight: 500;
}

/* Modern Dropdown Styles */
.dropdown {
  position: fixed;
  top: 80px;
  right: 0;
  width: 100vw;
  height: 420px;
  background: #212224;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1999;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-container {
  /* max-width: 1400px; */
  margin: 0 auto;
  height: 100%;
  display: flex;
  padding: 60px;
  gap: 60px;
  direction: rtl;
}

.dropdown-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: right;
  padding-top: 20px;
}

.dropdown-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.dropdown-section {
  margin-bottom: 35px;
}

.dropdown-section-title {
  color: #ffd700;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown-link {
  color: #cccccc;
  text-decoration: none;
  padding: 8px 0;
  font-weight: 400;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-link::before {
  content: "+";
  color: #666666;
  font-size: 1.2rem;
  font-weight: 300;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  color: #ffffff;
  padding-right: 15px;
  transform: translateX(-5px);
}

.dropdown-link:hover::before {
  color: #ffd700;
  transform: rotate(45deg);
}

.dropdown-link.featured::after {
  content: "جدید";
  background: #ffd700;
  color: #212224;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: auto;
}

/* Default Single Image Container */
.dropdown-image {
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.dropdown-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.7);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

.dropdown-image:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.08);
}

/* Gray Overlay */
.dropdown-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(66, 66, 66, 0.4);
  transition: all 0.6s ease;
  z-index: 5;
}

.dropdown-image:hover::before {
  background: rgba(66, 66, 66, 0);
}

/* Image Overlay Text */
.image-overla {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 10;
  transition: all 0.3s ease;
}

.dropdown-image:hover .image-overlay {
  transform: translateY(-5px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

/* Double Image Container for Shop & Industrial Roasters */
.dropdown-images-dual {
  flex: 1.5;
  display: flex;
  gap: 15px;
  height: 100%;
}

.dual-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.dual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.7);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

.dual-image:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.08);
}

/* Gray Overlay for dual images */
.dual-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(66, 66, 66, 0.4);
  transition: all 0.6s ease;
  z-index: 5;
}

.dual-image:hover::before {
  background: rgba(66, 66, 66, 0);
}

/* Dual Image Overlay Text */
.dual-image .image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 10;
  transition: all 0.3s ease;
}

.dual-image:hover .image-overlay {
  transform: translateY(-5px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

/* Demo Content */
/* .demo-content {
        margin-top: 120px;
        padding: 60px 20px;
        text-align: center;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        min-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      } */

.demo-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #212224;
  font-weight: 300;
  letter-spacing: 2px;
}

.demo-content p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-container,
  .dropdown-container {
    padding: 40px;
  }

  .nav-menu {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .header-container {
    padding: 0 20px;
  }
}

/* Sidebar Styles - بهینه برای 100vh */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(33, 34, 36, 0.98);
  backdrop-filter: blur(20px);
  z-index: 3000;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  /* 👇 این خط رو اضافه کن */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
/* 👇 این هم اضافه کن */
.sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.sidebar.active {
  right: 0;
}

/* Close Button Container - بالای تب‌ها */
.sidebar-close-container {
  padding: 8px 15px;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.sidebar-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
}

/* Tabs - کوچکتر */
.sidebar-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.sidebar-tab {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.sidebar-tab.active {
  color: #ffd700;
  border-bottom-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

/* Content Container - قابل اسکرول */
.sidebar-content {
  padding: 12px 15px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* 👇 این خطوط رو اضافه کن */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.sidebar-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Categories - کوچکتر */
.sidebar-category {
  margin-bottom: 8px;
}

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.category-title:hover {
  color: #ffd700;
}

.category-title i {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.category-title.active i {
  transform: rotate(180deg);
}

/* Links Container */
.category-links {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  margin-top: 6px;
}

.category-links.active {
  max-height: 250px;
}

/* Links - کوچکتر */
.sidebar-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  line-height: 1.3;
}

.sidebar-link:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  border-left-color: #ffd700;
}

/* Kuban Tab Direct Links */
#kuban-tab .sidebar-category {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 6px;
}

#kuban-tab .sidebar-link {
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Responsive Design */
@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none !important;
  }
  .nav-menu {
    display: flex;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .logo {
    position: static;
    transform: none;
  }

  .sidebar {
    width: 320px;
    right: -320px;
  }

  .header-container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 100%;
    right: -100%;
  }

  .header-container {
    padding: 0 15px;
  }

  .sidebar-content {
    padding: 10px 12px;
  }

  .category-title {
    font-size: 0.8rem;
    padding: 6px 0;
  }

  .sidebar-link {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}
@media (max-width: 768px) {
  :root {
    --vh: 1vh;
  }

  .container {
    height: calc(var(--vh, 1vh) * 100);
  }

  .sections-wrapper {
    height: calc(var(--vh, 1vh) * 100 - 80px);
  }

  .section {
    height: calc(var(--vh, 1vh) * 100 - 80px);
  }

  /* کوچک کردن محتوا برای fit شدن */
  .text-reveal {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
  }

  .subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  .description {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }
}

/* ========================================
   🎯 MOBILE VIEWPORT FIXES
======================================== */

/* Mobile Viewport Variables */
/* @media (max-width: 768px) {
  :root {
    --vh: 1vh;
  }

  body,
  html {
    overflow: hidden !important;
    height: calc(var(--vh, 1vh) * 100) !important;
  }

  .container {
    height: calc(var(--vh, 1vh) * 100) !important;
    overflow: hidden !important;
  }

  .sections-wrapper {
    height: calc(var(--vh, 1vh) * 100 - 80px) !important;
    overflow: hidden !important;
  }

  .section {
    height: calc(var(--vh, 1vh) * 100 - 80px) !important;
    min-height: calc(var(--vh, 1vh) * 100 - 80px) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
} */

/* ========================================
   🎯 SECTION 4 - FEATURES FIX
======================================== */

@media (max-width: 768px) {
  /* Features Main Container */
  .features-main-container {
    padding: 15px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  /* Features Title */
  .features-main-title {
    font-size: 1.6rem !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  /* Features Subtitle */
  .features-main-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    color: #666 !important;
  }

  /* Features Grid */
  .features-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    height: auto !important;
    max-height: calc(100% - 80px) !important;
    overflow: hidden !important;
  }

  /* Feature Cards */
  .feature-card-item {
    background: #fff !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: auto !important;
  }

  /* Feature Icons */
  .feature-card-icon {
    /* width: 35px !important; */
    /* height: 35px !important; */
    margin: 0 auto 8px auto !important;
    /* color: #8b4513 !important; */
  }

  .feature-card-icon svg {
    /* width: 100% !important; */
    /* height: 100% !important; */
  }

  /* Feature Titles */
  .feature-card-title {
    font-size: 0.95rem !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.2 !important;
  }

  /* Feature Descriptions */
  .feature-card-description {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    color: #666 !important;
    margin: 0 !important;
  }
}

/* ========================================
   🎯 SECTION 6 - SOFTWARE VIDEO FIX
======================================== */

@media (max-width: 768px) {
  /* Software Container */

  /* Software Video Container */
  .software-video-container {
    width: 100% !important;
    height: 180px !important; /* کوچک‌تر کردن ویدئو */
    margin-bottom: 15px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .software-video-container .video-container {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Software Text Content */
  .software-text-content {
    text-align: center !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 10px !important;
  }

  .software-text-content h2 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
  }

  .software-text-content h5 {
    font-size: 1.4rem !important;
    margin-bottom: 10px !important;
    /* color: #8b4513 !important; */
  }

  .underline2 {
    width: 50px !important;
    height: 2px !important;
    /* background: #8b4513 !important; */
    margin: 0 auto 10px auto !important;
  }

  .software-text-content p {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    /* color: #666 !important; */
  }

  .software-text-content a {
    /* padding: 12px 30px; */
    font-size: 1rem;
    width: fit-content;
    margin: 10px auto;
  }

  .software-arrow {
    margin-right: 5px !important;
  }
}

/* ========================================
   🎯 SECTION 10 - INSTAGRAM FIX
======================================== */

@media (max-width: 768px) {
  /* Instagram Section */
  /* .instagram-section-10 {
    padding: 20px 15px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
  } */

  /* Instagram Header */
  .instagram-header-10 {
    /* text-align: center !important; */
    /* margin-bottom: 20px !important; */
  }

  .instagram-title-10 {
    /* font-size: 1.8rem !important; */
    /* margin-bottom: 8px !important; */
    /* color: #333 !important; */
  }

  .instagram-username-10 {
    /* font-size: 1rem !important; */
    /* color: #8b4513 !important; */
    /* text-decoration: none !important; */
  }

  /* Instagram Grid - فقط 2 عکس اول */
  .instagram-grid-10 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* مخفی کردن عکس‌های 3، 4، 5، 6 */
  .instagram-grid-10 .instagram-image-container-10:nth-child(1) {
    /* display: none !important; */
    order: 1;
  }
  .instagram-grid-10 .instagram-image-container-10:nth-child(2) {
    /* display: none !important; */
    order: 2;
  }

  /* Instagram Images */
  .instagram-image-container-10 {
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    aspect-ratio: 1 !important;
  }

  .instagram-image-10 {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
  }

  /* Instagram Overlay */
  .instagram-overlay-10 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
  }

  .instagram-image-container-10:hover .instagram-overlay-10 {
    opacity: 1 !important;
  }

  .instagram-click-text-10 {
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-align: center !important;
  }

  .instagram-image-container-10:hover .instagram-image-10 {
    /* transform: scale(1.05) !important; */
  }
}

/* Center hero card reliably on all screens */
.hero-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
}

/* keep hover nudge subtle on small screens */
@media (max-width: 768px) {
  .hero-content:hover {
    transform: translate(-50%, -50%) translateY(-4px) scale(1.005) !important;
  }
}
/* Let the JS --vh take over earlier on mobile to avoid first-paint jumps */
@media (max-width: 768px) {
  .container {
    height: calc(var(--vh, 1vh) * 100) !important;
  }
  .sections-wrapper {
    height: calc(var(--vh, 1vh) * 100 - 80px) !important;
  }
  .section {
    height: calc(var(--vh, 1vh) * 100 - 80px) !important;
    min-height: calc(var(--vh, 1vh) * 100 - 80px) !important;
    padding: 10px 15px !important;
  }
}
@media (max-width: 768px) {
  .support-images-grid {
    display: none !important;
  }
  .support-swiper-container {
    display: block !important;
    height: 320px; /* or 360 if you prefer */
  }
}
@media (max-width: 480px) {
  .navigation {
    right: 8px !important;
    gap: 10px !important;
  }
  .nav-dot {
    width: 12px;
    height: 12px;
  }
}
.section1 .hero-poster {
  z-index: 1;
}
.section1 .hero-video {
  z-index: 1;
}
.section1 .hero-content {
  z-index: 2;
}
