/* Generated by script */
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



    :root{ --primary:#0d6efd; --card-radius:14px; }
    body{ background: linear-gradient(180deg,#f6f8fb 0%, #eef2f7 100%); font-family:"Vazirmatn", Tahoma, sans-serif; color:#222; }

    /* header */
    .navbar-brand { font-weight:700; letter-spacing:.4px; }
    .nav-link { color: rgba(255,255,255,0.9) !important; }

    /* hero */
    .hero{ background: linear-gradient(90deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02)); border-radius:12px; padding:18px; margin-bottom:18px; }

    /* cards */

/* ===== جلوگیری از برخورد دایره با کارت بالا ===== */
.row.g-3 {
  row-gap: 2rem; /* ~56px، کافی برای آیکون 60px با بیرون‌زدگی ~28px */
}

/* تنظیم برای موبایل تا فاصله زیاد صفحه را به هم نزند */
@media (max-width: 575px) {
  .row.g-3 {
    row-gap: 1.2rem; /* ~35px (کمتر روی موبایل) */
  }
}
/*@media (max-width: 480px) {
  .col-6.col-md-4.col-lg-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}*/

.rate-card {
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: visible;
  padding-top: 38px;
  background: linear-gradient(145deg, #ffffff, #f7f9fc);
  border: 1px solid #eee;
  margin-bottom:50px
}

.rate-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.rate-card .card-body {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rate-title {
  font-size: 1rem;
  font-weight: 700;
}

.rate-value {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: #222;
}


.rate-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border: 2px solid #f0f0f0;
}

.rate-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}




    /* footer */
    footer.site-footer{ background:#0b1220; color:#d1d9e6; margin-top:40px; }
    footer.site-footer a{ color:#fff; text-decoration:none; }
    footer .small-note{ color:#9fb0d6; }

    /* floating */
    .floating-wrap{ position:fixed; bottom:15px; right:25px; z-index:1300; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
    .fab-main{ width:56px; height:56px; border-radius:50%; background:#0d6efd; color:#fff; border:0; display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow:0 8px 22px rgba(13,110,253,0.24); cursor:pointer; }
    .fab-options{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; opacity:0; transform:translateY(8px) scale(.98); pointer-events:none; transition: all .9s cubic-bezier(.2,.9,.3,1); }
    .fab-options.show{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }

    @media (max-width:575px){ .rate-value{ font-size:1rem; } .rate-title{ font-size:.95rem; } }
    


.fab-main i {
  pointer-events: none;
}



/* استایل پایه همه دکمه‌های شناور */
.fab-btn {
    cursor:pointer;
  padding: 10px 14px;
  border-radius: 50px;          /* گردتر و مدرن‌تر */
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);  /* سایه ملایم */
}

/* هاور عمومی روی همه دکمه‌ها */
.fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  background:#f1f1f1;
}

/* اینستاگرام */
.fab-inst {
  background: #E1306C;
}
.fab-inst:hover {
  background: #c2265b;
}

/* واتس‌اپ */
.fab-wa {
  background: #25D366;
}
.fab-wa:hover {
background: #1eb65a;
}

/* تلگرام */
.fab-tg {
  background: #0088cc;
}
.fab-tg:hover {
  background: #0074ad;
}

/* توییتر/X */
.fab-tw {
  background: #1DA1F2;
}
.fab-tw:hover {
  background: #1788cb;
}

/* ایمیل */
.fab-mail {
  background: #ff9800;
}
.fab-mail:hover {
  background: #e68900;
}

/* تماس */
.fab-call {
  background: #0d6efd;
}
.fab-call:hover {
  background: #0c5cd4;
}
.fab-tg-bot {
  background: #6f42c1;       /* رنگ متفاوت مخصوص ربات */
}
.fab-tg-bot:hover {
  background: #582da6;
}

.fab-chat {
  background: #114bc3;        /* رنگ خاص پشتیبانی */
}
.fab-chat:hover {
  background: #092868;
}



.promo-box {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid rgba(0, 123, 255, 0.15);
  padding: 25px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.promo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.promo-box::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: rgba(0,123,255,0.08);
  border-radius: 50%;
}

.promo-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media(min-width: 768px){
  .promo-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.promo-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: #003d82;
  margin-bottom: 6px;
}

.promo-text {
  color: #555;
  font-size: .95rem;
  margin: 0;
}

/* دکمه‌ها */
.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-telegram {
  background: #0088cc;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-telegram:hover {
  background: #0074ad;
  color: #fff;
}

.btn-bot {
  background: #28a745;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-bot:hover {
  background: #218838;
  color: #fff;
}
