@import url('Fa_Font.css');

body {
  font-family: 'YekanBakh-Regular', sans-serif;
  background-color: #e7e7e7;
  color: #333;
}

.bg-soft {
  background-color: #f0f7fa;
}

.hero-slider-top {
  font-family: 'YekanBakh-Regular', sans-serif;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

.hero-slider-top .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-slider-top .content {
  z-index: 2;
  max-width: 700px;
  margin: auto;
  padding: 2rem;
  color: #fff;
}

.hero-slider-top h3,
.hero-slider-top h4,
.hero-slider-top p {
  color: white;
  font-family: 'YekanBakh-Regular', sans-serif;
}

.navbar-nav{
  font-family: 'YekanBakh-Regular', sans-serif;
}
.navbar-nav .nav-link {
  color: #272727;
}
.navbar-nav .nav-link:hover {
  color: #2e81c5;
}

.step-number {
  width: 48px; height: 48px; line-height: 48px;
  background: #6cb4ee; color: white; border-radius: 50%;
  margin: auto auto 10px auto; font-weight: bold;
}

.btn-primary {
  background-color: #6cb4ee; border-color: #6cb4ee;
}
s
.btn-primary:hover {
  background-color: #589cd6;
}

.accordion-button:not(.collapsed) {
  background-color: #e4f1fc;
}

.scroll-wrapper {
  position: relative;
}

.scroll-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-gallery::-webkit-scrollbar {
  display: none;
}

.img-thumb {
  flex: 0 0 auto;
  width: 200px; height: auto;
  object-fit: contain;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0.4;
  transform: scale(0.95);
  transition: all 0.6s ease-in-out;
}

.img-thumb.visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e1e1e1;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.63);
  padding: 0.5rem 0.8rem;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 2;
  cursor: pointer;
}

.scroll-btn.left { right: 100%; margin-right: 10px; }
.scroll-btn.right { left: 100%; margin-left: 10px; }
@media (max-width:576px) {
  .img-thumb { width: 160px; height: 280px; }
  .scroll-btn { display: none; }
}

.circle-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#6cb4ee 0%, #ddd 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: background 1s ease-out;
}

.circle-progress::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  z-index: 0;
}

.count-label {
  position: relative;
  font-size: 1.25rem;
  font-weight: bold;
  z-index: 1;
  color: #333;
}

.img-thumb.centered {
  opacity: 1;
  transform: scale(1.05);
}

.scroll-to-top {
  position: fixed;
  bottom: 40px;
  left: 30px;
  z-index: 999;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.scroll-to-top:hover {
  width: 50px;
  height: 65px;
  border-radius: 50% 50% 60% 60% / 40% 40% 80% 80%;
  transform: translateY(-5px);
  background-color: red;
}

.text-justify {
  text-align: justify;
}

.line-relaxed {
  line-height: 2;
}

/* تب‌ها */
.nav-tabs {
  border: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 5px;
}

.nav-tabs .nav-link {
  border: none !important;
  border-radius: 10px;
  transition: 0.3s;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  background: linear-gradient(135deg, #147bff, #6cb4ee);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(20,123,255,0.25);
}

/* کارت اصلی */
.custom-card {
  border-radius: 14px;
  padding: 35px;
  border: none;
  background: #ffffff;
}

.custom-card:hover {

}

/* تصویر */
.intro-image {
  all: unset;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* عنوان اصلی */
.main-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #147bff;
  line-height: 1.6;
}

/* بولت‌ها */
.feature-list li {
  margin-bottom: 6px;
  font-size: 1.03rem;
}

/* متن پایانی */
.footer-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #147bff;
}

.footer-link {
  color: #dcdcdc;
  text-decoration: none;
  transition: 0.3s;
}
.footer-link:hover {
  color: #ffffff;
  padding-right: 6px;
}

.social-icon {
  transition: 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-4px) scale(1.15);
}

.feature-card {
  transition: 0.25s;
  background: #fff;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
