body {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  font-family: 'Vazir', sans-serif;
}

.wrap {
  width: 90%;
  max-width: 1250px;
}

.swiper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.picture {
  max-width: 1250px;
  width: 90%;
  height: 100px;
}

.picture img {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}

.swiper-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: filter 0.5s ease;
}

.swiper-slide img:hover {
  filter: grayscale(0%);
}

.swiper-slide img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
}

/* دکمه‌های ناوبری */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  --swiper-navigation-size: 36px;
}

/* نقاط صفحه‌بندی */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
}


.section {
  width: 100%;
  font-family: "Tahoma", "Vazirmatn", sans-serif;
  margin: 20px auto;
}

.title-line {
  display: flex;
  align-items: center;
  text-align: center;
  border-bottom: 2px solid #ccc;

  margin-bottom: 20px;
  position: relative;
}

.title-line .title {
  background: #fff;
  /* رنگ پس‌زمینه تا خط از زیر نوشته رد نشود */
  padding: 0 10px;
  font-weight: 600;
  color: #333;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
}

.products {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.product {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
}

.latest-products {
  width: 1250px;
  max-width: 90%;
  border-top: 2px solid #ccc;
  margin: 50px 0 0 0;
  padding: 50px 0 8px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}



.card-products img {
  width: 200px;
  height: 250px;
}

.call-btn {
  width: 100%;
  text-align: center;
  background-color: #202020;
  /* رنگ پس‌زمینه */
  color: #ffffff;
  /* متن سفید */
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.call-btn:hover {
  background-color: #333333;
}

.other-products {
  padding: 10px 20px;
  color: #202020;
}

.swiper-slide {
  position: relative;
}


.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.70);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  opacity: 1;
  /* همیشه قابل مشاهده */
}

.other {
  display: flex;
  width: 200px;
  border: 2px solid #202020;
  border-radius: 5px;

}

.features-section {
  font-family: "Vazir";
  max-width: 1150px;
  width: 100%;
}

.features-section h2 {
  font-family: "Vazir";
  padding: 20px;
  color: #1f2937;
  margin-top: 20px;
}

.feature-box {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-e {
  border: 1px solid #ddd;
}


.feature-box:hover {
  transform: translateY(-8px);
}

section {
  max-width: 1250px;
  width: 90%;
}

.other i {
  text-align: center;
  align-content: center;
  width: 35px;
  height: 35px;
  margin: 5px;
  color: #fff;
  background-color: #202020;
  border-radius: 50%;

}



@media (max-width: 1024px) {
  .swiper-slide img {
    height: 500px;
  }

  .latest-products {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .swiper-slide img {
    height: 400px;
  }

  .latest-products {
    grid-template-columns: 1fr;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 480px) {
  .swiper-slide img {
    height: 220px;
  }
}