@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn/fonts/webfonts/Vazirmatn[wght].woff2') format('woff2 supports variations'),
    url('../fonts/Vazirmatn/fonts/webfonts/Vazirmatn[wght].woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: Vazirmatn !important;
}

.swiper {
  width: 100%;
  height: 610px;
  background-color: whitesmoke;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: rgb(235, 235, 235);
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
   
}

.courseSwiper{

  width:85%;
  height: auto;
  padding:20px 0 40px;
background-color: white;
}


.courseSwiper .swiper-slide{

  width:325px;
  height:420px;
background: #fff;
}

    
        .reveal {
            opacity: 0;
            ;
        }

        .reveal.show {
            opacity: 1;
            transform: translateY(0);
            transform: translateX(0);
            transition:
                opacity 1.3s ease,
                transform 1.5s ease
        }
    
.ttb{
  transform: translateY(-40px);
}
.btt{
  transform: translateY(40px);
}
.ltr{
  transform: translateX(-60px);
}
.rtl{
  transform: translateX(60px);
}
.rttl{
  transform:translate(-60px ,-40px)   ;
}
.
/* 
#container {
  box-shadow: 5px 9px 13px 0px rgba(0, 0, 0, 0.06);
} */

/* 
/* body {
  font-family: Tahoma, sans-serif;
  margin: 0;
  background: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Overlay با افکت بلور */
/* .overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  /* فاصله از دیواره‌های صفحه */
/* box-sizing: border-box; */
/* } */

/* مودال کشیده و ریسپانسیو */
*/
/* .modal { */
/* background: white; */
/* width: 100%; */
/* max-width: 450px; */
/* min-height: 550px; */
/* افزایش ارتفاع */
/* padding: 50px 40px; */
/* border-radius: 15px; */
/* گوشه‌های ملایم (نه خیلی گرد) */
/* position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  box-sizing: border-box; */
/* } */

/* دکمه ضربدر در سمت راست */
/* .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  /* قرارگیری در سمت راست */
/* cursor: pointer; */
/* font-size: 24px; */
/* color: #888; */
/* } */
*/
/* .modal-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
} */

/* استایل اینپوت کادر دار */
/* .input-container {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
}

.input-container input {
  width: 100%;
  padding: 15px 12px;
  border: 2px solid #ddd; */
/* کادر دور اینپوت */
/* border-radius: 8px; */
/* گوشه‌های کادر اینپوت */
/* font-size: 16px;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
} */

/* تغییر رنگ کادر به آبی هنگام کلیک */
/* .input-container input:focus {
  border-color: #007bff;
} */

/* لیبل که روی خط بالا قرار می‌گیرد */
/* .input-container label {
  position: absolute;
  right: 12px;
  top: 15px; */
/* داخل اینپوت قرار دارد */
/* color: #999;
  pointer-events: none;
  transition: all 0.2s ease;
  font-size: 16px;
  background: white; */
/* برای اینکه روی خط کادر قرار بگیرد */
/* padding: 0 5px; */
/* } */

/* حرکت لیبل به روی خطِ کادر بالا */
/* .input-container input:focus+label,
.input-container input:not(:placeholder-shown)+label {
  top: -12px; */
/* جابجایی به روی خطِ کادر */
/* right: 10px;
  font-size: 13px;
  color: #007bff;
  font-weight: bold;
} */

/* چک‌باکس و متن */
/* .checkbox-wrapper {
  margin-top: 10px;
} */
/* 
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
} */
/* 
.terms-link {
  display: block;
  font-size: 12px;
  color: #007bff;
  text-decoration: none;
  margin-top: 8px;
  margin-right: 28px;
}

/* دکمه تایید در پایین و وسط */
/* .btn-container {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 40px;
} */
*/
/* #submit-btn {
  width: 80%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
} */

/* #submit-btn.disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
} */
*/
/* 
ریسپانسیو سازی
@media (max-width: 480px) {
  .modal {
    padding: 40px 20px;
    min-height: 500px;
  }

  .modal-title {
    font-size: 22px;
  }
/* ============================================================
   Header Search - dropdown پیشنهادهای جستجوی دوره‌ها
   ============================================================ */
.header-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
    z-index: 200;
    max-height: 340px;
    overflow-y: auto;
    display: none;
}

.header-search-dropdown.open {
    display: block;
}

.header-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    text-align: right;
    border-bottom: 1px solid #f2f2f2;
    color: #333333;
    font-size: 14px;
    transition: background 0.15s ease;
}

.header-search-item:last-child {
    border-bottom: none;
}

.header-search-item:hover {
    background: #f3fafc;
}

.header-search-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.header-search-item span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search-empty,
.header-search-loading {
    padding: 16px;
    text-align: center;
    color: #999999;
    font-size: 13.5px;
}

.header-search-viewall {
    display: block;
    text-align: center;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0c7b93;
    cursor: pointer;
    border-top: 1px solid #f2f2f2;
}

.header-search-viewall:hover {
    background: #f3fafc;
}

@media (max-width: 1023px) {
    .header-search-dropdown {
        max-height: 280px;
    }
}
