/* فونت فارسی ClassMe — Vazirmatn تا فایل‌های IRANYekan اضافه شوند */
@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");

html,
body,
button,
input,
select,
textarea {
  font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif !important;
}

/* بازنویسی نام فونت قالب — وزن‌ها با Vazirmatn */
.font-100,
.font-200,
.font-300 {
  font-weight: 300 !important;
}

.font-400 {
  font-weight: 400 !important;
}

.font-500,
.font-600 {
  font-weight: 500 !important;
}

.font-700,
.font-800 {
  font-weight: 700 !important;
}

.font-900,
.font-1000,
.font-bold,
.font-bolder {
  font-weight: 800 !important;
}

/* خوانایی بهتر متن تبلیغاتی */
.line-h-6,
.line-h-7,
.line-h-9,
.line-h-10 {
  letter-spacing: -0.01em;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 2;
}

@media (min-width: 992px) {
  .lead-text {
    font-size: 1.25rem;
  }
}

/* پنل مدرس — bottom nav */
.teacher-panel-body {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.teacher-panel-main {
  min-height: calc(100vh - 120px);
  padding-bottom: 5rem;
}

.teacher-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0));
}

.teacher-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bs-secondary, #6c757d);
  text-decoration: none;
}

.teacher-nav-item i {
  font-size: 1.1rem;
}

.teacher-nav-item:hover {
  color: var(--primary-color, #2f66f2);
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* شمارنده مرحله how-work */
.step-counter {
  width: 50px;
  height: 50px;
  transform: translateY(-25px);
}

/* تماس — فرم روی موبایل زیر نقشه */
@media (max-width: 991.98px) {
  .location-sec .contact-us-form-box {
    position: relative !important;
    right: auto !important;
    margin-top: 1.5rem;
  }

  .location-google {
    min-height: 280px;
  }
}

/* گالری ویدیو — overlay خوانا */
.gallery-div img {
  object-fit: cover;
  min-height: 160px;
}

.gallery-div .position-absolute {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
  border-radius: inherit;
}

/* اسلایدر دسته‌ها — Owl تصویر آیکون را کش ندهد و حاشیه آبی کارت دیده شود */
.owl-carousel-edu-list .owl-stage-outer {
  overflow: visible;
  padding-top: 4px;
  padding-bottom: 4px;
}

.owl-carousel-edu-list .owl-item img {
  width: 65px !important;
  max-width: 65px;
  height: auto;
  display: block;
}

.owl-carousel-edu-list .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-carousel-edu-list .owl-nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  color: #2f66f2;
}

.owl-carousel-edu-list .owl-nav .owl-prev {
  position: absolute;
  right: -8px;
}

.owl-carousel-edu-list .owl-nav .owl-next {
  position: absolute;
  left: -8px;
}

.owl-carousel-post .owl-dots {
  text-align: center;
  margin-top: 1rem;
}

.owl-carousel-post .owl-dots .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

.owl-carousel-post .owl-dots .owl-dot.active span {
  background: #2f66f2;
}
