
@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');

body {




  font-family: 'Vazir', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background: #f7f9fc;
  color: #222;
}

.about-container {
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: auto;
  padding: 20px;
  position: relative;
}

#readMoreBtn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.3s;
}

#readMoreBtn:hover {
  background-color: #0056b3;
}




/* هدر */
header {
  background-color: #004080;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.8rem;
}

/* کانتینر اصلی */
.container {
  padding: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  color: #004080;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* اسلایدر بالا */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
}

.slide.active {
  display: block;
}

/* اسلایدر افقی محصولات و مشتریان */
.slider-container {
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.slider-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.auto-scroll {
  animation: scrollLeft 25s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(-50); }
  100% { transform: translateX(50%); }
}

.auto-scroll:hover {
  animation-play-state: paused;
}

.feature {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 160px;
  background: white;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 0.85rem;
  color: #004080;
  margin: 0;
}

/* بخش دانلودها */
.downloads-section {
  margin: 2rem 0;
  text-align: center;
}

.download-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.download-banner:hover {
  transform: scale(1.02);
}

/* در دسکتاپ تصویر دانلود کوچکتر شود */
@media (min-width: 1024px) {
  .download-banner {
    max-width: 400px;
    display: block;
    margin: 0 auto;
  }
}

/* لیست دانلودها */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.download-item img {
  width: 64px;
  height: 64px;
  object-fit: contain; 
 margin-left: 20px;
  flex-shrink: 0;
}


.download-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.download-info h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #004080;
}

.download-info p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #333;
}

/* دکمه‌ها */
.btn {
  display: inline-block;
  background: #007BFF;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0056b3;
}

.btn.secondary {
  background: #28a745;
}

.btn.secondary:hover {
  background: #1e7e34;
}





.cert-slider {
  overflow: hidden;
  direction: ltr;
  position: relative;
  padding: 10px;
  border-radius: 10px;
}

.cert-track {
  display: flex;
  width: max-content;
  animation: certScroll 60s linear infinite;
}

.cert-track img {
  height: 260px;
  margin-left: 20px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cert-slider:hover .cert-track {
  animation-play-state: paused;
}

@keyframes certScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .cert-track {
    animation-duration: 30s;
  }
  .cert-track img {
    height: 200px;
  }
}



















.awards-section {
  margin: 3rem 0;
  text-align: center;
}

.awards-section h2 {
  font-size: 1.4rem;
  color: #004080;
  margin-bottom: 1rem;
text-align: right;
}

.award-slider {
  overflow: hidden;
  direction: ltr;
  position: relative;
  padding: 10px;
  border-radius: 10px;
}

.award-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: awardScroll 40s linear infinite;
}

.award-track img {
  height: 260px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.award-slider:hover .award-track {
  animation-play-state: paused;
}

@keyframes awardScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .award-track {
    animation-duration: 20s;
  }

  .award-track img {
    height: 200px;
  }
}









.home-icon {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999;
  background: #e3f2fd;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  font-family: 'Vazir', Tahoma, sans-serif;
}

.home-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #004080;
  font-size: 1rem;
  font-weight: bold;
  padding: 6px 10px;
  height: 40px;
}

.home-icon i {
  font-size: 1.3rem;
  margin-left: 6px;
}

/* ✅ در موبایل فقط آیکون نمایش داده می‌شود */
@media (max-width: 768px) {
  .home-icon .home-text {
    display: none;
  }

  .home-icon a {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .home-icon {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .home-icon i {
    font-size: 1.4rem;
    margin: 0;
  }
}











/* فوتر */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

footer a {
  color: #FFD700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.6rem;
  }

  .feature {
    min-width: 120px;
    padding: 6px;
  }

  .feature img {
    width: 95px;
    height: 95px;
  }

  .download-item {
    flex-direction: column;
    text-align: center;
  }

  .download-item img {
    margin: 0 0 10px 0;
    width: 80px;
    height: 80px;
  }

  .download-info {
    align-items: center;
  }
}
