/* =========================================
   1. GENERAL & HERO
   ========================================= */
body { direction: rtl; font-family: 'Tahoma', sans-serif; background: #f4f4f4; margin: 0; }
.hero-section { padding: 30px 0; background-color: #f9f9f9; }
.hero-row { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-main-wrapper { flex: 0 0 calc(75% - 15px); max-width: calc(75% - 15px); }
.featured-vertical-list { display: flex; flex-direction: column; gap: 25px; margin-bottom: 40px; }
.featured-card-row { display: flex; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.featured-card-row .card-image-box { flex: 0 0 30%; max-width: 30%; position: relative; background-color: #f0f0f0; }
.featured-card-row .card-image-box img { width: 100%; height: auto; object-fit: contain; display: block; transition: 0.3s; }
.featured-card-row:hover .card-image-box img { transform: scale(1.02); }
.category-badge { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 4px; color: #fff; font-size: 12px; }
.featured-card-row .card-content { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.featured-card-row .card-title { margin: 0 0 10px 0; font-size: 1.3rem; font-weight: bold; }
.featured-card-row .card-title a { color: #333; text-decoration: none; }
.featured-card-row .card-title a:hover { color: #3498db; }
.featured-card-row .card-desc { font-size: 0.9rem; color: #555; text-align: justify; margin-bottom: 15px; }
.read-more-link { color: #3498db; font-weight: bold; text-decoration: none; align-self: flex-end; }

.section-divider-title { font-size: 1.1rem; border-right: 4px solid #3498db; padding-right: 10px; margin-bottom: 20px; font-weight: bold; }
.four-col-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.small-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.2s; }
.small-card:hover { transform: translateY(-5px); }
.small-card-img { display: block; height: 150px; overflow: hidden; }
.small-card-img img { width: 100%; height: 100%; object-fit: cover; }
.small-card-title { padding: 12px; font-size: 0.9rem; margin: 0; }
.small-card-title a { color: #444; text-decoration: none; }

/* Sidebar */
.sidebar-wrapper { flex: 0 0 calc(25% - 15px); max-width: calc(25% - 15px); }
.popular-sidebar { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 20px; }
.sidebar-title { border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; font-size: 1.1rem; font-weight: bold; }
.text-only-list { list-style: none; padding: 0; margin: 0; }
.text-only-list li { border-bottom: 1px solid #f4f4f4; padding: 10px 0; }
.text-only-list li a { color: #444; text-decoration: none; display: block; font-size: 0.95rem; }
.text-only-list li:hover a { color: #3498db; }

/* =========================================
   2. MESSAGE SECTION
   ========================================= */
.message-section { min-height: 150px; background: linear-gradient(45deg, #2c3e50, #3498db); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 40px; padding: 15px 0; width: 90%; margin-left: 10%; border-radius: 50px 0 0 50px; }
.message-box { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1100px; padding: 0 20px; }
.message-text { flex: 1; padding-left: 30px; }
.message-text h3 { font-size: 1.5rem; margin-bottom: 5px; color: #fff; }
.cta-btn { background-color: #f1c40f; color: #2c3e50; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.cta-btn:hover { background-color: #fff; transform: translateY(-3px); }
/* --- تنظیمات مخصوص موبایل (هماهنگ با عکس‌ها) --- */
@media (max-width: 991px) {
    .message-section {
        width: 100%;       
        margin: 0 0 30px 0; 
        border-radius: 0;   
        padding: 40px 20px;
    }

    .message-box {
        flex-direction: column; /* انتقال دکمه به پایین */
        text-align: center;
    }

    .message-text {
        padding-left: 0;
        margin-bottom: 25px; /* ایجاد فاصله تا دکمه زرد رنگ */
        text-align: center;    
    }

    .message-action {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cta-btn {
        width: 100%; 
        max-width: 280px; /* دکمه در موبایل بزرگ و خوانا */
    }
}
/* =========================================
   3. BIO SECTION (Completed & Responsive)
   ========================================= */

.bio-section {
  padding: 50px 0;
  background-color: #fcfcfc;
  overflow: hidden; /* جلوگیری از اسکرول افقی کل صفحه */
}

/* هدر بخش (تیتر) */
.section-header.right-aligned {
  text-align: right;
  margin-bottom: 25px;
  padding-right: 40px; /* فاصله از راست در دسکتاپ */
}

.bio-title {
  font-size: 1.2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.title-line {
  width: 50px;
  height: 3px;
  background: var(--brand, #3498db); /* استفاده از متغیر رنگ یا پیش‌فرض */
  margin-right: 0;
  border-radius: 10px;
}

/* کانتینر اسلایدر */
.bio-slider-wrapper {
  position: relative;
  padding: 0 40px; /* فضای خالی برای دکمه‌های چپ و راست */
}

/* مسیر کارت‌ها (Track) */
.bio-track {
  display: flex;
  gap: 16px; /* فاصله بین کارت‌ها */
  overflow-x: auto; /* اجازه اسکرول افقی */
  scroll-behavior: smooth; /* حرکت نرم */
  padding: 10px 5px; /* کمی فضای داخلی برای سایه کارت‌ها */
  
  /* مخفی کردن اسکرول‌بار مرورگر */
  scrollbar-width: none; /* برای فایرفاکس */
  -ms-overflow-style: none;  /* برای IE */
}

.bio-track::-webkit-scrollbar {
  display: none; /* برای کروم و سافاری */
}

/* استایل کارت‌ها */
.bio-card {
  /* تنظیم پیش‌فرض برای دسکتاپ (۵ کارت در ردیف) */
  flex: 0 0 calc(20% - 13px); 
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  text-decoration: none; /* اگر لینک هستند */
}

.bio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* عکس داخل کارت */
.bio-thumb {
  height: 120px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bio-card:hover .bio-thumb img {
  transform: scale(1.05); /* زوم ملایم عکس هنگام هاور */
}

/* محتوای متنی کارت */
.bio-content {
  padding: 15px 10px;
  text-align: center;
  border-top: 1px solid #f4f4f4;
}

.bio-content h3,
.bio-name {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  color: #333;
}

/* دکمه‌های چپ و راست (فلش‌ها) */
.bio-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: 0.3s;
}

.bio-arrow:hover {
  background-color: var(--brand, #3498db);
  color: #fff;
  border-color: var(--brand, #3498db);
}

.bio-right-btn { right: 0; }
.bio-left-btn  { left: 0; }


/* =========================================
   RESPONSIVE (تنظیمات موبایل و تبلت)
   ========================================= */

/* تبلت (زیر 992 پیکسل) */
@media (max-width: 992px) {
  .bio-card {
    /* نمایش ۳ کارت در هر ردیف */
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* موبایل بزرگ (زیر 768 پیکسل) */
@media (max-width: 768px) {
  .bio-slider-wrapper {
    padding: 0 15px; /* کاهش فاصله کناری */
  }

  .section-header.right-aligned {
    padding-right: 15px;
  }

  /* حذف دکمه‌ها در موبایل (چون با لمس اسکرول می‌شود) */
  .bio-arrow {
    display: none;
  }

  .bio-card {
    /* نمایش حدود ۲ کارت (برای اینکه معلوم شود ادامه دارد) */
    flex: 0 0 calc(45% - 10px);
  }
}

/* موبایل کوچک (زیر 480 پیکسل) */
@media (max-width: 480px) {
  .bio-card {
    /* کارت‌ها بزرگ شوند تا خوانا باشند (حدود ۱.۵ کارت دیده می‌شود) */
    flex: 0 0 calc(65% - 10px);
  }

  .bio-thumb {
    height: 140px; /* عکس بزرگتر دیده شود */
  }

  .bio-content h3 {
    font-size: 0.95rem; /* متن کمی درشت‌تر */
  }
}


/* =========================================
   4. LIBRARY & DICTIONARY
   ========================================= */
.library-section { background: #e8e4dc; }
.books-shelf { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; border-bottom: 15px solid #c4a484; padding-bottom: 20px; }
.book-card-3d { width: 140px; text-align: center; perspective: 1000px; }
.book-cover { display: block; height: 200px; box-shadow: -5px 5px 10px rgba(0,0,0,0.3); transition: 0.3s; transform-origin: left center; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card-3d:hover .book-cover { transform: rotateY(-15deg) scale(1.05); }

/* Dictionary (Modern + Shape) */
.dictionary-promo-section { 
    padding: 40px 0; 
    background: #fff; 
    width: 90%; 
    margin-left: 10%; 
    border-radius: 60px 0 0 60px; 
    overflow: hidden; 
}

.dictionary-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    background: #f8fafc; 
    min-height: 265px; 
    border-radius: 30px; 
    padding: 20px 40px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.05); 
    border: 1px solid #e2e8f0; 
}

.dictionary-image { flex: 0 0 180px; display: flex; justify-content: center; }

.book-icon-animate { 
    font-size: 80px; 
    color: #3498db; 
    animation: floating 3s infinite; 
}

@keyframes floating { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
}

.dictionary-text { flex: 1; }

.promo-badge { 
    background: #3498db; 
    color: #fff; 
    padding: 3px 12px; 
    border-radius: 50px; 
    font-size: 11px; 
    margin-bottom: 8px; 
    display: inline-block; 
}

.dictionary-text h2 { font-size: 1.5rem; color: #1e293b; margin-bottom: 10px; }

.dictionary-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: #1e293b; 
    color: #fff; 
    padding: 10px 25px; 
    border-radius: 50px; 
    text-decoration: none; 
    transition: 0.3s; 
}

.dictionary-btn:hover { background: #3498db; transform: translateY(-3px); }

/* --- اضافه شده: بخش مخصوص موبایل --- */
@media (max-width: 768px) {
    .dictionary-promo-section { 
        width: 100%; 
        margin-left: 0; 
        border-radius: 0; 
        padding: 20px 10px;
    }
    
    .dictionary-wrapper { 
        flex-direction: column; /* چیدمان عمودی */
        text-align: center; 
        padding: 30px 20px;
        gap: 20px;
        min-height: auto;
    }
    
    .dictionary-image { 
        flex: 0 0 auto; 
    }
    
    .book-icon-animate { 
        font-size: 60px; /* آیکون کمی کوچک‌تر */
    }
    
    .dictionary-text h2 { 
        font-size: 1.25rem; 
    }
    
    .dictionary-btn { 
        width: 100%; /* دکمه در موبایل تمام‌عرض شود */
        justify-content: center;
    }
}

/* =========================================
   5. LATIN TRAIN (LTR)
   ========================================= */
.latin-train-light { background: #fcfdfe; padding: 60px 0; direction: ltr !important; text-align: left !important; border-top: 1px solid #f0f3f5; }
.train-header-light { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; }
.header-title h2 { font-size: 25px; margin: 0; }
.nav-btn-latin { width: 45px; height: 45px; border-radius: 12px; background: #fff; border: 1px solid #edf2f7; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.nav-btn-latin:hover { background: #1a202c; color: #fff; }
.train-track-light { display: flex; gap: 25px; overflow-x: auto; scrollbar-width: none; padding: 10px 5px; }
.train-card-light { min-width: 280px; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #f1f5f9; transition: 0.4s; }
.train-card-light:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.card-img-top { height: 180px; background: #f8fafc; }
.card-img-top img { width: 100%; height: 100%; object-fit: cover; }
.card-body-light { padding: 20px; }

/* =========================================
   6. VIDEO SECTION (Clean + Modern)
   ========================================= */
.video-section { padding: 34px 0; background: #f9f9f9; }
.section-header-flex { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-header-flex h2 { margin: 0; font-size: 22px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(0,0,0,0.14); border-radius: 12px; background: rgba(255,255,255,0.55); color: inherit; font-weight: 600; transition: 0.15s; }
.btn-outline:hover { background: #fff; border-color: rgba(0,0,0,0.22); }

/* Carousel */
.video-carousel-wrapper { display: flex; align-items: center; gap: 10px; position: relative; }
.nav-btn { flex: 0 0 auto; width: 44px; height: 44px; border: none; border-radius: 14px; cursor: pointer; background: rgba(0,0,0,0.06); box-shadow: 0 8px 20px rgba(0,0,0,0.08); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; transition: 0.15s; }
.nav-btn:hover { background: rgba(0,0,0,0.10); transform: translateY(-1px); }

.video-scroller { flex: 1 1 auto; overflow-x: auto; display: flex; gap: 14px; padding: 8px 2px; scroll-behavior: smooth; scrollbar-width: thin; }
.video-card-slider { flex: 0 0 auto; width: 240px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 26px rgba(0,0,0,0.06); cursor: pointer; transition: 0.15s; }
.video-card-slider:hover { transform: translateY(-2px); border-color: rgba(0,0,0,0.14); box-shadow: 0 16px 34px rgba(0,0,0,0.10); }

.video-img-box { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.video-img-box img { width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); }
.play-icon i { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: rgba(255,255,255,0.2); color: #fff; font-size: 18px; backdrop-filter: blur(3px); }
.video-info { padding: 12px; }
.video-info h5 { margin: 0; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Video Modal */
.video-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 10000; justify-content: center; align-items: center; padding: 16px; }
.video-modal-content { width: 100%; max-width: 920px; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.65); direction: rtl; }
.video-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.10); }
.video-modal-header h3 { margin: 0; font-size: 16px; color: #fff; }
.close-modal-btn { border: none; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; color: #fff; background: rgba(255,255,255,0.12); font-size: 24px; }
.close-modal-btn:hover { background: rgba(255,255,255,0.18); color: #ff9800; }
.responsive-iframe-container { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.responsive-iframe-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
/* =========================================
   MIXED SECTION (Compact List + Sidebar)
   ========================================= */
.mixed-content-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #f1f1f1;
}

.mixed-row {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* برای چسبان بودن سایدبار ضروری است */
}

/* --- ستون چپ: لیست مقالات --- */
.articles-column {
    flex: 1; /* فضای اصلی را پر می‌کند */
}

.section-header-simple {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header-simple h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    white-space: nowrap;
}

.header-line {
    width: 100%;
    height: 2px;
    background: #f1f1f1;
    border-radius: 2px;
}

/* لیست شبکه‌ای دو ستونه */
.compact-article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* دو ستون در دسکتاپ */
    gap: 20px;
}

.compact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.compact-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.compact-img-box {
    flex: 0 0 90px; /* عکس کوچک ۹۰ پیکسلی */
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.compact-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.compact-card:hover .compact-img-box img {
    transform: scale(1.1);
}

.compact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compact-title {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 700;
}

.compact-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* حداکثر ۲ خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-title a:hover {
    color: #3498db;
}

.compact-meta {
    font-size: 11px;
    color: #999;
    display: flex;
    gap: 10px;
}

/* --- ستون راست: سایدبار --- */
.sidebar-column {
    flex: 0 0 320px; /* عرض ثابت سایدبار */
    max-width: 320px;
}

.sticky-sidebar-wrapper {
    position: sticky;
    top: 20px; /* فاصله از بالا هنگام اسکرول */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* ویجت آبی (کانورتور) */
.converter-widget {
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    border-bottom: 4px solid #3498db;
}

/* ویجت طلایی (اسم‌ها) */
.names-widget {
    background: linear-gradient(145deg, #ffffff, #fffdf0);
    border-bottom: 4px solid #f1c40f;
}

.widget-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #e1f0fa;
    color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.widget-icon.icon-gold {
    background: #fff8e1;
    color: #f1c40f;
}

.sidebar-widget h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2c3e50;
}

.sidebar-widget p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.names-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.names-features li {
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
}

.names-features li i {
    color: #f1c40f;
    margin-left: 5px;
}

.widget-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-blue {
    background: #3498db;
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-blue:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-gold {
    background: #f1c40f;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

.btn-gold:hover {
    background: #e1b700;
    transform: translateY(-2px);
}

/* --- واکنش‌گرا --- */
@media (max-width: 992px) {
    .mixed-row {
        flex-direction: column;
    }
    .articles-column, .sidebar-column {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    .sticky-sidebar-wrapper {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-widget {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 600px) {
    .compact-article-list {
        grid-template-columns: 1fr; /* موبایل: ۱ ستون */
    }
    .sticky-sidebar-wrapper {
        flex-direction: column;
    }
}

/* =========================================
   FEEDBACK SECTION
   ========================================= */
.feedback-section {
    padding: 50px 0;
    background-color: #f9f9f9; /* پس‌زمینه کلی سکشن */
}

.feedback-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    max-width: 800px;
    margin: 0 auto; /* وسط‌چین کردن باکس */
    position: relative;
    overflow: hidden;
}

/* نوار رنگی بالای باکس */
.feedback-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #f1c40f);
}

.fb-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 800;
}

.fb-desc {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ایموجی‌های ارزیابی */
.rating-faces {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.rate-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #fff;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rate-btn:hover { transform: scale(1.1); }

/* رنگ‌بندی ایموجی‌ها در هاور */
.rate-btn.sad:hover { border-color: #e74c3c; color: #e74c3c; background: #fff5f5; }
.rate-btn.neutral:hover { border-color: #f1c40f; color: #f1c40f; background: #fffdf0; }
.rate-btn.happy:hover { border-color: #2ecc71; color: #2ecc71; background: #f0fff4; }

/* دکمه‌های تماس */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s;
}

.contact-pill i { font-size: 1.1rem; }

/* استایل اختصاصی دکمه‌ها */
.email {
    background: #eef2f7;
    color: #3498db;
}
.email:hover { background: #3498db; color: #fff; }

.telegram {
    background: #eef9fe;
    color: #0088cc;
}
.telegram:hover { background: #0088cc; color: #fff; }

.phone {
    background: #effaf3;
    color: #27ae60;
}
.phone:hover { background: #27ae60; color: #fff; }

/* ریسپانسیو موبایل */
@media (max-width: 600px) {
    .feedback-box { padding: 30px 20px; }
    .contact-methods { flex-direction: column; }
    .contact-pill { width: 100%; justify-content: center; }
}
/* =========================================
   SKY BLUE BANNER STYLE (Light Blue + RTL)
========================================= */
.feedback-green-section {
    padding: 40px 0;
    background-color: #fff;
}

.feedback-green-box {
    /* گرادینت آبی آسمانی روشن */
    background: linear-gradient(90deg, #4facfe, #a6d8ff);
    
    /* گوشه‌های کاملاً گرد (کپسولی) */
    border-radius: 50px;
    
    padding: 30px 50px;
    
    /* تنظیمات راست‌چین */
    text-align: right;
    direction: rtl;
    
    /* سایه آبی ملایم */
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.35);
    color: #ffffff;
    
    max-width: 100%;
    margin: 0 auto;
}

.fb-green-title {
    margin: 0 0 12px 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.fb-green-desc {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #eef7ff; /* سفید مایل به آبی خیلی روشن */
    font-weight: 500;
}

/* --- واکنش‌گرا (موبایل) --- */
@media (max-width: 768px) {
    .feedback-green-box {
        padding: 30px 25px;
        border-radius: 20px;
        text-align: right;
    }

    .fb-green-title {
        font-size: 1.4rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-main-wrapper, .sidebar-wrapper { flex: 0 0 100%; max-width: 100%; }
    .four-col-grid { grid-template-columns: repeat(2, 1fr); }
    .dictionary-wrapper { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .featured-card-row { flex-direction: column; }
    .featured-card-row .card-image-box { flex: 0 0 100%; max-width: 100%; }
    .message-section { width: 100%; margin-left: 0; border-radius: 0; }
    .video-card-slider { width: 210px; }
}
