.nav-pills {
  --bs-nav-pills-link-active-bg: #17a2b8;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  /* color: var(--bs-nav-pills-link-active-color); */
  background-color: var(--bs-nav-pills-link-active-bg);
}

@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-brand .navbar-brand-item {
    height: 70px !important;
  }
}

@media (min-width: 1200px) {
  header.header-sticky-on .navbar-brand .navbar-brand-item {
    height: 60px !important;
  }
}

@media (max-width: 1199.98px) {
  .navbar-expand-xl .navbar-brand .navbar-brand-item {
    height: 50px !important;
  }
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'IranSansX', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--bs-heading-color);
}  
  

@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.3rem;
  }
}


@media (max-width: 767.98px) {
  h1,.h1 {
    font-size: 1.4rem; /* سایز دلخواه خود */
  }
  h2,.h2 {
    font-size: 1.2rem;
  }
  h3,.h3 {
    font-size: 1.1rem;
  }
  h4,.h4 {
    font-size: 1rem;
  }
  h5,.h5 {
    font-size: 0.9rem;
  }
  h6,.h6 {
    font-size: 0.8rem;
  }
}

  .font_bold {    
    font-family: 'IranSansX', sans-serif;
    font-weight: bold;
  } 
  
  .font_thin {    
    font-family: 'IranSansX', sans-serif;
    font-weight: 100;
  } 
  
  .font_light {    
    font-family: 'IranSansX', sans-serif;
    font-weight: 300;
  } 
  
  .font_medium {    
    font-family: 'IranSansX', sans-serif;
    font-weight: 500;
  } 
  
  .font-12{ font-size: 12px;}
  
  #scrollTabsWrapper {
    height: auto;
  }

  #scrollTabs.sticky {
    position: fixed;
    top: 89px;
    width: 100%;
    z-index: 1020;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  @media (max-width: 767.98px) {
    #scrollTabs.sticky {
      top: 0px;
    }
  }

  #scrollTabs a.active {
    color: #0d6efd;
    font-weight: bold;
    border-bottom: 2px solid #0d6efd;
  }

  #section1,
  #section2,
  #section3,
  #section4,
  #section5,
  #section6 {
    scroll-margin-top: 70px; 
  }

  @media (max-width: 767.98px) {
    #section1,
    #section2,
    #section3,
    #section4,
    #section5,
    #section6 {
      scroll-margin-top: 50px;
    }
  }

  .form-select {    
    border-radius: 0.5rem !important;
  }

  .form-control {    
    border-radius: 0.5rem !important;
  }

  .counter-wrapper {
    position: relative;
    /* width: 180px;
    margin: 0 auto; */
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: 41px;
}

html[data-bs-theme="dark"] .counter-wrapper {
  background: transparent; /* یا #222 یا هر رنگ مناسب دارک مود */
}
.counter-input {
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1.2rem;
    padding: 10px 36px;
    background: transparent;
    pointer-events: none; /* قابل انتخاب نیست */
}

.btn-counter {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    border: none;
    background-color: #f1f1f1;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background-color 0.2s;
}

.btn-counter:hover {
    background-color: #e0e0e0;
}

.btn-counter.increment {
    right: 0;
    border-left: 1px solid #ccc;
}

.btn-counter.decrement {
    left: 0;
    border-right: 1px solid #ccc;
}


/* برای کانتر افقی  */
.horiz-counter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.horiz-counter-label {
  font-weight: bold;
  font-size: 1rem;
}

.horiz-counter-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.horiz-counter-btn {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
}

.horiz-counter-btn.minus {
  background-color: #f8f9fa; /* معادل btn-light */
  color: #000;
}

.horiz-counter-btn.plus {
  background-color: #f8f9fa;
  color: #000;
}

.horiz-counter-value {
  width: 25px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  background: transparent;
  pointer-events: none;
}
.horiz-counter-wrapper:hover {
      background-color: #f8f9fc;
} 

input[type="checkbox"],
input[type="radio"] {
  transform: scale(1.5); /* اندازه را 1.5 برابر بزرگ‌تر می‌کند */
  margin: 5px; /* فاصله مناسب */
  cursor: pointer; /* تغییر نشانگر موس به حالت کلیک */
}

/* .custom-card{
  background-color: #fefefe;
} */

.pointer{ cursor: pointer !important;}

html[dir="rtl"] select option {
  direction: rtl !important;
  unicode-bidi: normal !important;
  /* text-align: right; */
}

.dropzone .dz-message {
  margin: 0 !important;
}

.quick-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-size: 14px;
  line-height: 1.3;
  color: #f1f1f1;
  font-weight: 600;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.quick-box:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
}

.home-sliders .card a:hover img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}
.home-sliders .card a:hover .overlay {
  opacity: 1;
}

.destination-box img {
  transition: transform 0.4s ease;
}
.destination-box:hover img {
  transform: scale(1.1);
}
.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent) !important;
  transition: background 0.3s ease;
}

.destination-box:hover .destination-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.destination-overlay span {
  font-size: 16px;
}

.blog-card img {
  transition: transform 0.4s ease;
}
.blog-card:hover img {
  transform: scale(1.1);
}
.blog-card .badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 8px;
}

.host-card {
  /* background: #fff; */
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06); /* سایه ملایم اولیه */
}
.host-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* سایه بزرگتر و نرم‌تر در هاور */
}

.service-box {
  /* background: #fff; */
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.experience-card img {
  transition: transform 0.4s ease;
}
.experience-card:hover img {
  transform: scale(1.08);
}

.countdown-timer {
  min-width: 90px;
  text-align: center;
  background: #e7f1ff;
  border-radius: 12px;
  padding: 4px 10px;
  direction: initial;
}
.card .badge {
  font-weight: 700;
}

.hover-white:hover {
  color: #fff !important;
  text-decoration: underline;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  width: 38px;      /* عرض ثابت */
  height: 38px;     /* ارتفاع ثابت */
  padding: 0;       /* حذف padding */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* دایره کامل */
  font-size: 18px;   /* اندازه آیکون */
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}  

.text-truncate-ellipsis {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box_intro{ min-height: 42px !important;}

.social-icon{
  width: 70px; height: 70px;
}

.bg-danger {  
  background-color: #f63746 !important;
}


.btn {
  font-weight: normal !important;
}

.h-80px {
  height: 80px !important;
}

.h-100px {
  height: 100px !important;
}


 /* دکمه شناور */
 #ai-chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

/* جعبه چت */
#ai-chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-height: 450px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1050;
}

#ai-chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.ai-chat-message.user {
  text-align: right;
  margin-bottom: 8px;
}

.ai-chat-message.bot {
  text-align: left;
  margin-bottom: 8px;
}

.ai-chat-header {
  background-color: #594cdb;
  color: white;
  padding: 8px 12px;
  font-weight: bold;
}

.ai-chat-form {
  padding: 8px;
  border-top: 1px solid #ddd;
  display: flex;
}

.social-icon.facebook {
  background-color: #1877f2; /* آبی فیسبوک */
  color: white;
}

.social-icon.linkedin {
  background-color: #0077b5; /* آبی لینکدین */
  color: white;
}

.social-icon.twitter {
  background-color: #1da1f2; /* آبی توییتر */
  color: white;
}

.social-icon.telegram {
  background-color: #26a5df; /* آبی تلگرام */
  color: white;
}

.social-icon.whatsapp {
  background-color: #25d366; /* سبز واتساپ */
  color: white;
}

/* اگر خواستید هاور هم اضافه کنید */
.social-icon:hover {
  opacity: 0.85;
}

.thumb-60{
  width: 60px; height: 60px; object-fit: cover; border-radius: 4px;
}

.thumb-80{
  width: 80px; height: 80px; object-fit: cover; border-radius: 4px;
}

.thumb-120{
  width: 120px; height: 120px; object-fit: cover; border-radius: 4px;
}

.thumb-150{
  width: 150px; height: 150px; object-fit: cover; border-radius: 4px;
}

.thumb-200{
  width: 200px; height: 200px; object-fit: cover; border-radius: 4px;
}

.thumb-300{
  width: 300px; height: 300px; object-fit: cover; border-radius: 4px;
}

.thumb-400{
  width: 400px; height: 400px; object-fit: cover; border-radius: 4px;
}

.thumb-500{
  width: 500px; height: 500px; object-fit: cover; border-radius: 4px;
}


.thumb-60-circle{
  width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
}

.thumb-80-circle{
  width: 80px; height: 80px; object-fit: cover; border-radius: 50%;
}

.thumb-120-circle{
  width: 120px; height: 120px; object-fit: cover; border-radius: 50%;
}

.thumb-150-circle{
  width: 150px; height: 150px; object-fit: cover; border-radius: 50%;
}

.thumb-200-circle{
  width: 200px; height: 200px; object-fit: cover; border-radius: 50%;
}

.thumb-300-circle{
  width: 300px; height: 300px; object-fit: cover; border-radius: 50%;
}

.thumb-400-circle{
  width: 400px; height: 400px; object-fit: cover; border-radius: 50%;
}

.thumb-500-circle{
  width: 500px; height: 500px; object-fit: cover; border-radius: 50%;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}


.back-top {
  
  background: var(--bs-info) !important;  
  border-radius: 50% !important;  
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
}

.font-base {
  font-family: IRANSansfanum, "DM Sans", sans-serif !important;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 1.5rem; /* فاصله استاندارد بین تیتر و پاراگراف قبلی */
}