/* ======================================================
   تنظیمات پایه
   ====================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}
body {
    font-family: 'Vazir', 'Tahoma', sans-serif;
    background:  #f5f7fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ======================================================
   بخش ۱: هدر با بک‌گراند سبز
   ====================================================== */
.hero-search-section {
    background: linear-gradient(135deg, #0a8f3c 0%, #0c6b2e 50%, #0a8f3c 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    padding-top: -60px;

}
.hero-search-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.25;
    mix-blend-mode: overlay;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}
.hero-content h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 12px;
}
.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

/* ======================================================
   کادر جستجوی پیشرفته - نسخه اصلاح‌شده
   ====================================================== */
.advanced-search-box {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 9999;
}

.search-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.search-icon {
    color: #0a8f3c;
    font-size: 1.2rem;
    margin-left: 12px;
}
.search-row input {
    flex: 1;
    border: none;
    padding: 14px 0;
    font-size: 1rem;
    outline: none;
    background: transparent;
    font-family: inherit;
}
.search-row button {
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-row button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(10,143,60,0.4);
}

/* ======================================================
   استایل نتایج جستجو - نسخه اصلاح‌شده (مشابه بکاپ قدیمی)
   ====================================================== */
#farasod-search-results {
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    text-align: right;
    display: none;
    background: transparent;
    position: relative;
    z-index: 99999;
}

#farasod-search-results.active {
    display: block;
}

.search-result-item {
    background: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 8px;
    text-align: right;
    transition: 0.3s;
    cursor: pointer;
    border-right: 4px solid #0a8f3c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.search-result-item:hover {
    background: #f0faf5;
    transform: translateX(-5px);
}
.search-result-item a {
    text-decoration: none;
    color: #1a1a2e;
    display: block;
}
.search-result-item .result-title {
    font-weight: 600;
    font-size: 1rem;
}
.search-result-item .result-excerpt {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
}
.search-result-item .result-type {
    display: inline-block;
    background: #0a8f3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 12px;
    border-radius: 20px;
    margin-top: 4px;
}

/* استایل‌های اضافی برای نمایش بهتر */
.search-loading {
    text-align: center;
    color: #fff;
    padding: 20px;
}
.search-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}
.no-results {
    color: #fff;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

/* نمایش تعداد نتایج */
.search-result-count {
    padding: 10px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ======================================================
   بخش ۲: دکمه‌های آیکون‌دار - بدون تغییر
   ====================================================== */
.icon-buttons-section {
    padding: 50px 0;
    background: #fff;
    margin: -30px 0 0;
    position: relative;
    z-index: 3;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
    border-bottom: 5px solid#d13014;
    border-top: 5px solid#f1c604;
}
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}
.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1a1a2e;
    padding: 20px 25px;
    border-radius: 16px;
    transition: 0.3s;
    background: #f8faff;
    width: 100%;
    max-width: 160px;
    border: 1px solid #eef2f7;
}
.icon-btn i {
    font-size: 2.2rem;
    color: #0a8f3c;
    margin-bottom: 10px;
    transition: 0.3s;
}
.icon-btn span {
    font-weight: 600;
    font-size: 0.95rem;
}
.icon-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(10,143,60,0.15);
    border-color: #0a8f3c;
    background: #fff;
}
.icon-btn:hover i {
    transform: scale(1.15);
}

/* =================================================== */
/* ===== بخش ۳: اسلایدر ===================== */
/* =================================================== */

.slider-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #f8faff 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.desktop-only {
    display: flex;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0a8f3c;
    background: #fff;
    color: #0a8f3c;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.slider-controls button:hover {
    background: #0a8f3c;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(10,143,60,0.3);
}

/* ===== اسلایدر ===== */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    touch-action: pan-y;
    padding: 5px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    gap: 20px;
}

/* اصلاح جهت برای محاسبات جاوااسکریپت */
.slider-section,
.slider-wrapper,
.slider-track {
    direction: ltr !important;
}

.slider-slide {
    direction: rtl !important;
    text-align: right;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* ====================================================
   تعداد اسلاید در هر دستگاه - به ترتیب اولویت
   ==================================================== */

/* 1. دسکتاپ بزرگ - 4 کارت */
@media (min-width: 1200px) {
    .slider-slide {
        flex: 0 0 calc(25% - 15px);
        min-width: 0;
        max-width: calc(25% - 15px);
    }
    .slide-image {
        height: 220px;
    }
    .desktop-only {
        display: flex !important;
    }
}

/* 2. دسکتاپ متوسط - 3 کارت */
@media (min-width: 992px) and (max-width: 1199px) {
    .slider-slide {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 0;
        max-width: calc(33.333% - 14px);
    }
    .slide-image {
        height: 220px;
    }
    .desktop-only {
        display: flex !important;
    }
}

/* 3. تبلت - 2 کارت */
@media (min-width: 768px) and (max-width: 991px) {
    .slider-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: 0;
        max-width: calc(50% - 10px);
    }
    .slide-image {
        height: 220px;
    }
    .desktop-only {
        display: none !important;
    }
}

/* 4. موبایل - 1 کارت (100% عرض) */
@media (max-width: 767px) {
    .slider-slide {
        flex: 0 0 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .slide-image {
        height: 220px;
    }
    .slider-section {
        padding: 40px 0 30px;
    }
    .slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
    }
    .slider-controls.desktop-only {
        display: none !important;
    }
    .slider-track {
        gap: 15px;
    }
}

/* 5. موبایل کوچک - 1 کارت با ارتفاع کمتر */
@media (max-width: 480px) {
    .slider-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .slide-image {
        height: 180px;
    }
    .slide-content {
        padding: 18px 16px 22px;
    }
    .slide-content h3 {
        font-size: 1rem;
    }
    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}




/* استایل کارت‌ها */
.slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.slide-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.slide-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f2f5;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.slide-link:hover .slide-image img {
    transform: scale(1.05);
}

.slide-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e);
    color: #fff;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(10,143,60,0.3);
    z-index: 2;
}

.slide-content {
    padding: 20px 22px 25px;
    background: #fff;
    position: relative;
}

.slide-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(10,143,60,0.3);
}

.slide-content h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 8px;
    margin-top: 8px;
}

.slide-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.slide-tag {
    background: #f0faf5;
    color: #0a8f3c;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.slide-date {
    color: #999;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10,143,60,0.25);
}

.slide-btn i {
    transition: transform 0.3s ease;
}

.slide-link:hover .slide-btn {
    transform: translateX(-5px);
    box-shadow: 0 8px 30px rgba(10,143,60,0.4);
}

/* دات‌ها */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    direction: rtl !important;
}

.slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d9e6;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-dots span.active-dot {
    background: #0a8f3c;
    width: 40px;
    border-radius: 20px;
}

/* بار پیشرفت */
.slider-progress {
    width: 100%;
    height: 5px;
    background: #c48705;
    border-radius: 50%;
    margin-top: 25px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0a8f3c, #0c6b2e);
    border-radius: 4px;
    transition: width 0.1s linear;
    width: 0%;
}

/* =================================================== */
/* ===== بخش ۴: پارالکس ===== */
/* =================================================== */

.parallax-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f5f7fa;
    padding: 40px 0;
}

.parallax-background {
    position: absolute;
    inset: 0;
    background: url('images/parallax-bg.png') center/cover fixed;
    opacity: 0.2;
    transform: scale(1.1);
}

.parallax-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.parallax-text {
    color: #0c1930;
}

.parallax-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
}

.parallax-text h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #0a8f3c;
    margin-top: 12px;
    border-radius: 4px;
}

.parallax-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.85;
    margin-bottom: 25px;
}

.parallax-btn {
    display: inline-block;
    background: #0a8f3c;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 25px rgba(10,143,60,0.3);
}

.parallax-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(10,143,60,0.5);
    color: #fff;
}

.parallax-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* =================================================== */
/* ===== بخش‌های اضافی ===== */
/* =================================================== */

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-title span {
    color: #0a8f3c;
}

.section-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.section-badge {
    display: inline-block;
    background: rgba(10,143,60,0.1);
    color: #0a8f3c;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.why-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f2f7;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.why-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f0faf5;
    border-radius: 12px;
    color: #0a8f3c;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =================================================== */
/* ===== ریسپانسیو ===== */
/* =================================================== */

@media (max-width: 1200px) {
    .slider-slide {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
    .slide-image {
        height: 250px;
    }
}

@media (max-width: 992px) {
    .parallax-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .parallax-text h2::after {
        margin: 12px auto 0;
    }
    .parallax-image img {
        max-height: 300px;
    }
    .slider-slide {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    .slide-image {
        height: 220px;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-search-section {
        min-height: 400px;
    }
    .advanced-search-box {
        padding: 15px 15px;
    }
    .search-row {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 4px;
    }
    .search-row input {
        width: 100%;
        padding: 12px 16px;
        order: 2;
    }
    .search-icon {
        order: 1;
        padding: 0 8px 0 0;
    }
    .search-row button {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        margin-top: 4px;
        order: 3;
        padding: 12px;
    }
    .icon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .icon-btn {
        padding: 14px;
        max-width: 100%;
    }
    .icon-btn i {
        font-size: 1.6rem;
    }
    .icon-btn span {
        font-size: 0.8rem;
    }
    .parallax-text h2 {
        font-size: 2rem;
    }
    .parallax-section {
        min-height: 400px;
        padding: 30px 0;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-search-section {
        min-height: 350px;
        padding-top: 60px;
    }
    .advanced-search-box {
        padding: 12px 10px;
        border-radius: 14px;
    }
    .slide-image {
        height: 180px;
    }
    .slide-content {
        padding: 18px 16px 22px;
    }
    .slide-content h3 {
        font-size: 1rem;
    }
    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    .parallax-text h2 {
        font-size: 1.6rem;
    }
    .parallax-text p {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ================== */
/* ======================================================
   عنوان و توضیحات بالای جستجو
   ====================================================== */

.hero-text-section {
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #FCD34D;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge i {
    margin-left: 8px;
}

.hero-text-section h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-text-section h1 .highlight {
    color: #FCD34D;
    position: relative;
}

.hero-text-section h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FCD34D, #F59E0B);
    border-radius: 4px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* ===== آمار ===== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #FCD34D;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* ===== کلمات کلیدی ===== */
.hero-keywords {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.keyword-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.keyword-label i {
    margin-left: 5px;
}

.keyword-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.keyword-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ======================================================
   واکنش‌گرا
   ====================================================== */

@media (max-width: 992px) {
    .hero-text-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-text-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-keywords {
        gap: 8px;
    }
    
    .keyword-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .hero-text-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 14px;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .keyword-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .keyword-label {
        font-size: 0.75rem;
    }
}
/* ======================end */

/* ======================================================
   استایل‌های اسلایدهای انگیزشی - رنگ‌بندی
   ====================================================== */

/* بدج‌ها با رنگ‌های مختلف */
.slide-badge-store {
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e) !important;
}
.slide-badge-doctor {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}
.slide-badge-ad {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
}
.slide-badge-product {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
}
.slide-badge-wallet {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.slide-badge-default {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
}

/* تگ‌ها با رنگ‌های مختلف */
.slide-tag-store {
    background: rgba(10, 143, 60, 0.15) !important;
    color: #0a8f3c !important;
}
.slide-tag-doctor {
    background: rgba(37, 99, 235, 0.15) !important;
    color: #2563eb !important;
}
.slide-tag-ad {
    background: rgba(124, 58, 237, 0.15) !important;
    color: #7c3aed !important;
}
.slide-tag-product {
    background: rgba(217, 119, 6, 0.15) !important;
    color: #d97706 !important;
}
.slide-tag-wallet {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
}
.slide-tag-default {
    background: rgba(107, 114, 128, 0.15) !important;
    color: #6b7280 !important;
}

/* دکمه‌ها با رنگ‌های مختلف */
.slide-btn-store {
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e) !important;
    box-shadow: 0 4px 20px rgba(10, 143, 60, 0.3) !important;
}
.slide-btn-store:hover {
    box-shadow: 0 8px 30px rgba(10, 143, 60, 0.5) !important;
    transform: translateX(-5px);
}

.slide-btn-doctor {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3) !important;
}
.slide-btn-doctor:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5) !important;
    transform: translateX(-5px);
}

.slide-btn-ad {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3) !important;
}
.slide-btn-ad:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5) !important;
    transform: translateX(-5px);
}

.slide-btn-product {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.3) !important;
}
.slide-btn-product:hover {
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.5) !important;
    transform: translateX(-5px);
}

.slide-btn-wallet {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3) !important;
}
.slide-btn-wallet:hover {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5) !important;
    transform: translateX(-5px);
}

.slide-btn-default {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.3) !important;
}
.slide-btn-default:hover {
    box-shadow: 0 8px 30px rgba(107, 114, 128, 0.5) !important;
    transform: translateX(-5px);
}

/* آیکون‌ها با رنگ‌های مختلف - برای اسلایدهای انگیزشی */
.slider-slide[data-color="store"] .slide-icon {
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e) !important;
}
.slider-slide[data-color="doctor"] .slide-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}
.slider-slide[data-color="ad"] .slide-icon {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
}
.slider-slide[data-color="product"] .slide-icon {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
}
.slider-slide[data-color="wallet"] .slide-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.slider-slide[data-color="default"] .slide-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
}

/* ======================================================
   انیمیشن‌های خاص برای اسلایدهای انگیزشی
   ====================================================== */

.slider-slide .slide-link {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide:hover .slide-link {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.slider-slide .slide-btn i {
    transition: transform 0.3s ease;
}

.slider-slide:hover .slide-btn i {
    transform: translateX(-5px);
}

/* افکت شیشه‌ای برای بدج */
.slide-badge {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ======================================================
   استایل اضافی برای اسلایدها
   ====================================================== */

/* حاشیه رنگی برای کارت‌ها */
.slider-slide[data-color="store"] .slide-link {
    border-bottom: 4px solid #0a8f3c;
}
.slider-slide[data-color="doctor"] .slide-link {
    border-bottom: 4px solid #2563eb;
}
.slider-slide[data-color="ad"] .slide-link {
    border-bottom: 4px solid #7c3aed;
}
.slider-slide[data-color="product"] .slide-link {
    border-bottom: 4px solid #d97706;
}
.slider-slide[data-color="wallet"] .slide-link {
    border-bottom: 4px solid #f59e0b;
}
.slider-slide[data-color="default"] .slide-link {
    border-bottom: 4px solid #6b7280;
}

/* ======================================================
   واکنش‌گرا برای اسلایدهای انگیزشی
   ====================================================== */

@media (max-width: 768px) {
    .slide-badge {
        font-size: 0.6rem !important;
        padding: 3px 10px !important;
    }
    
    .slide-tag {
        font-size: 0.65rem !important;
        padding: 2px 10px !important;
    }
    
    .slide-btn {
        font-size: 0.8rem !important;
        padding: 8px 18px !important;
    }
    
    .slide-content h3 {
        font-size: 1rem !important;
    }
    
    .slide-content p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .slide-badge {
        font-size: 0.55rem !important;
        padding: 2px 8px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .slide-btn {
        font-size: 0.75rem !important;
        padding: 6px 14px !important;
    }
    
    .slide-content {
        padding: 16px 14px 20px !important;
    }
}

/* ======================================================
   استایل‌های اضافی برای بخش Why Sections
   ====================================================== */

/* بخش فروشگاه */
.why-section-farasood {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

/* بخش دکتران */
.why-section-doctor {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #f8faff 100%);
}

/* بخش آگهی‌ها */
.features-section-ads {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f3ff 0%, #f8faff 100%);
}

/* کارت‌های ویژگی‌ها */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f2f7;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #f0faf5;
    border-radius: 14px;
    color: #0a8f3c;
    font-size: 1.6rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card .badge {
    display: inline-block;
    background: rgba(10, 143, 60, 0.1);
    color: #0a8f3c;
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 12px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* انیمیشن fade-up */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================================
   واکنش‌گرا برای بخش‌های اضافی
   ====================================================== */

@media (max-width: 768px) {
    .why-section-farasood,
    .why-section-doctor,
    .features-section-ads {
        padding: 50px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-card {
        padding: 20px 18px;
    }
    
    .feature-card .icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 18px 16px;
    }
}





/* بحش های جدید من ========================================== */
/* ==========بخش فروشگاه==================== */

/* ===== بخش اول: فراسود (طلایی) ===== */
.why-section-farasood {
    padding: 80px 0;
    background: linear-gradient(135deg, #05bb17 0%, #809cc9 50%, #06cd59 100%) !important;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.why-section-farasood::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(252, 211, 77, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

.why-section-farasood::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FCD34D, transparent);
    opacity: 0.3;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.2) translate(-10%, 5%); }
}

.why-section-farasood .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-section-farasood .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(3, 183, 93, 0.08) !important;
    color: #FCD34D !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(252, 211, 77, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.why-section-farasood .section-badge:hover {
    background: rgba(252, 211, 77, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(252, 211, 77, 0.1);
}

.why-section-farasood .section-badge i {
    font-size: 14px;
    color: #FCD34D;
}

.why-section-farasood .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.why-section-farasood .section-title span {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.why-section-farasood .section-title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FCD34D, transparent);
    border-radius: 2px;
    opacity: 0.4;
}

.why-section-farasood .section-desc {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 720px;
    margin: 0 auto 48px auto;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
}

.why-section-farasood .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 10px;
}

.why-section-farasood .why-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 28px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.why-section-farasood .why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FCD34D, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-section-farasood .why-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(252, 211, 77, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.why-section-farasood .why-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(252, 211, 77, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(252, 211, 77, 0.05);
}

.why-section-farasood .why-card:hover::before {
    opacity: 1;
}

.why-section-farasood .why-card:hover::after {
    opacity: 1;
}

.why-section-farasood .why-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.15), rgba(252, 211, 77, 0.05));
    border: 1px solid rgba(252, 211, 77, 0.1);
    margin-bottom: 20px;
    font-size: 28px;
    color:  #eb5d05 !important;
    transition: all 0.4s ease;
    position: relative;
}

.why-section-farasood .why-card:hover .icon {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.25), rgba(252, 211, 77, 0.08));
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 8px 32px rgba(252, 211, 77, 0.15);
}

.why-section-farasood .why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.why-section-farasood .why-card p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

/* ===== بخش دوم: دکتریار (سبز) ===== */
.why-section-doctor {
    padding: 90px 0;
    background: linear-gradient(160deg, #0B1120 0%, #1A2744 40%, #0F1A2F 100%);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.why-section-doctor::before {
    content: '✦';
    position: absolute;
    font-size: 300px;
    color: rgba(52, 211, 153, 0.03);
    top: -80px;
    left: -60px;
    transform: rotate(-15deg);
    pointer-events: none;
    font-family: serif;
}

.why-section-doctor::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 80% 100%, rgba(52, 211, 153, 0.04), transparent 70%);
    pointer-events: none;
}

.why-section-doctor .section-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #34D399, #6EE7B7, #34D399, transparent);
    opacity: 0.4;
    animation: shimmerLine 4s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.2; transform: scaleX(1); }
    50% { opacity: 0.6; transform: scaleX(1.02); }
}

.why-section-doctor .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-section-doctor .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(52, 211, 153, 0.10) !important;
    color: #34D399 !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(52, 211, 153, 0.15);
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.05);
}

.why-section-doctor .section-badge:hover {
    background: rgba(52, 211, 153, 0.18) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 40px rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
}

.why-section-doctor .section-badge i {
    font-size: 14px;
    color: #34D399;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.why-section-doctor .section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #F8FAFC;
    margin-bottom: 18px;
    line-height: 1.35;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.why-section-doctor .section-title span {
    background: linear-gradient(135deg, #34D399, #6EE7B7, #34D399);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.why-section-doctor .section-title span::after {
    content: '▎';
    position: absolute;
    bottom: -8px;
    right: 0;
    font-size: 20px;
    color: #34D399;
    opacity: 0.3;
    -webkit-text-fill-color: #34D399;
}

.why-section-doctor .section-desc {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 720px;
    margin: 0 auto 50px auto;
    line-height: 1.9;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.3px;
    background: rgba(52, 211, 153, 0.03);
    padding: 16px 30px;
    border-radius: 16px;
    border: 1px solid rgba(52, 211, 153, 0.05);
}

.why-section-doctor .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 8px;
}

.why-section-doctor .why-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(52, 211, 153, 0.06);
    border-radius: 24px;
    padding: 38px 30px 32px;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.why-section-doctor .why-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(52, 211, 153, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.why-section-doctor .why-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: linear-gradient(180deg, transparent, #34D399, transparent);
    opacity: 0;
    border-radius: 2px;
    transition: opacity 0.4s ease, height 0.6s ease;
}

.why-section-doctor .why-card:hover {
    transform: translateY(-12px);
    background: radial-gradient(circle at 50% 50%, rgba(215, 102, 15, 0.74), transparent 70%);
    border-color: rgba(52, 211, 153, 0.15);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(52, 211, 153, 0.04);
}

.why-section-doctor .why-card:hover::before {
    opacity: 1;
}

.why-section-doctor .why-card:hover::after {
    opacity: 0.6;
    height: 70%;
    top: 15%;
}

.why-section-doctor .why-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(52, 211, 153, 0.03));
    border: 1px solid rgba(52, 211, 153, 0.08);
    margin-bottom: 22px;
    font-size: 30px;
    color: #34D399;
    transition: all 0.45s ease;
    position: relative;
}

.why-section-doctor .why-card .icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    border: 1.5px solid rgba(52, 211, 153, 0.1);
    opacity: 0;
    transition: all 0.5s ease;
}

.why-section-doctor .why-card:hover .icon {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.20), rgba(52, 211, 153, 0.06));
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(52, 211, 153, 0.12);
}

.why-section-doctor .why-card:hover .icon::before {
    opacity: 1;
    transform: scale(1.1);
    animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.why-section-doctor .why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.why-section-doctor .why-card p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
}

.why-section-doctor .why-card .card-number {
    position: absolute;
    top: 12px;
    left: 18px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(52, 211, 153, 0.04);
    line-height: 1;
    pointer-events: none;
    font-family: 'Georgia', serif;
}

/* ===== ریسپانسیو مشترک برای هر دو بخش ===== */
@media (max-width: 1024px) {
    .why-section-farasood .section-title,
    .why-section-doctor .section-title {
        font-size: 2.2rem;
    }
    
    .why-section-farasood .why-grid,
    .why-section-doctor .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .why-section-farasood,
    .why-section-doctor {
        padding: 60px 0;
    }
    
    .why-section-farasood .section-title,
    .why-section-doctor .section-title {
        font-size: 1.8rem;
    }
    
    .why-section-doctor .section-desc {
        font-size: 1rem;
        padding: 14px 20px;
        margin-bottom: 36px;
    }
    
    .why-section-farasood .section-desc {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 32px;
    }
    
    .why-section-farasood .why-grid,
    .why-section-doctor .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    
    .why-section-farasood .why-card,
    .why-section-doctor .why-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }
    
    .why-section-farasood .why-card .icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
        border-radius: 18px;
        margin-bottom: 18px;
    }
    
    .why-section-doctor .why-card .icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
        border-radius: 18px;
        margin-bottom: 18px;
    }
    
    .why-section-farasood .why-card h3,
    .why-section-doctor .why-card h3 {
        font-size: 1.05rem;
    }
    
    .why-section-farasood .why-card p,
    .why-section-doctor .why-card p {
        font-size: 0.88rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .why-section-farasood,
    .why-section-doctor {
        padding: 48px 0;
    }
    
    .why-section-farasood .container,
    .why-section-doctor .container {
        padding: 0 16px;
    }
    
    .why-section-farasood .section-badge,
    .why-section-doctor .section-badge {
        font-size: 12px;
        padding: 6px 16px;
        gap: 6px;
    }
    
    .why-section-farasood .section-title,
    .why-section-doctor .section-title {
        font-size: 1.5rem;
    }
    
    .why-section-farasood .section-desc,
    .why-section-doctor .section-desc {
        font-size: 0.9rem;
        padding: 12px 16px;
        line-height: 1.7;
    }
    
    .why-section-farasood .why-grid,
    .why-section-doctor .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 16px;
    }
    
    .why-section-farasood .why-card,
    .why-section-doctor .why-card {
        padding: 24px 18px 20px;
        border-radius: 18px;
    }
    
    .why-section-farasood .why-card .icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    
    .why-section-doctor .why-card .icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    
    .why-section-farasood .why-card h3,
    .why-section-doctor .why-card h3 {
        font-size: 1rem;
    }
    
    .why-section-farasood .why-card p,
    .why-section-doctor .why-card p {
        font-size: 0.84rem;
        line-height: 1.6;
    }
    
    .why-section-doctor .why-card .card-number {
        font-size: 32px;
        top: 8px;
        left: 12px;
    }
}

@media (max-width: 380px) {
    .why-section-farasood .section-title,
    .why-section-doctor .section-title {
        font-size: 1.3rem;
    }
    
    .why-section-farasood .why-card,
    .why-section-doctor .why-card {
        padding: 20px 14px 16px;
    }
    
    .why-section-farasood .why-card h3,
    .why-section-doctor .why-card h3 {
        font-size: 0.95rem;
    }
}

/* ===== حالت روشن برای فراسود ===== */
@media (prefers-color-scheme: light) {
    .why-section-farasood {
        background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #F8FAFC 100%);
    }
    
    .why-section-farasood .section-title {
        color: #0F172A;
    }
    
    .why-section-farasood .section-desc {
        color: #475569;
    }
    
    .why-section-farasood .why-card {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(0, 0, 0, 0.06);
    }
    
    .why-section-farasood .why-card h3 {
        color: #0F172A;
    }
    
    .why-section-farasood .why-card p {
        color: #475569;
    }
    
    .why-section-farasood .why-card:hover {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(252, 211, 77, 0.3);
    }
}

/* ===== حالت روشن برای دکتریار ===== */
@media (prefers-color-scheme: light) {
    .why-section-doctor {
        background: linear-gradient(160deg, #F0FDF4 0%, #DCFCE7 40%, #F0FDF4 100%);
    }
    
    .why-section-doctor .section-title {
        color: #064E3B;
    }
    
    .why-section-doctor .section-desc {
        color: #065F46;
        background: rgba(52, 211, 153, 0.06);
        border-color: rgba(52, 211, 153, 0.1);
    }
    
    .why-section-doctor .why-card {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(52, 211, 153, 0.08);
    }
    
    .why-section-doctor .why-card h3 {
        color: #064E3B;
    }
    
    .why-section-doctor .why-card p {
        color: #065F46;
    }
    
    .why-section-doctor .why-card:hover {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(52, 211, 153, 0.25);
        box-shadow: 0 24px 70px rgba(52, 211, 153, 0.1);
    }
    
    .why-section-doctor .section-badge {
        background: rgba(52, 211, 153, 0.10) !important;
        border-color: rgba(52, 211, 153, 0.15);
    }
}

/* ===== انیمیشن ورود برای هر دو بخش ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-section-farasood .why-card,
.why-section-doctor .why-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.why-section-farasood .why-card:nth-child(1),
.why-section-doctor .why-card:nth-child(1) { animation-delay: 0.1s; }

.why-section-farasood .why-card:nth-child(2),
.why-section-doctor .why-card:nth-child(2) { animation-delay: 0.2s; }

.why-section-farasood .why-card:nth-child(3),
.why-section-doctor .why-card:nth-child(3) { animation-delay: 0.3s; }

.why-section-farasood .why-card:nth-child(4),
.why-section-doctor .why-card:nth-child(4) { animation-delay: 0.4s; }


/* بخش آگهی ها============== */

/* ===== FEATURES SECTION - ADS ===== */
.features-section-ads {
    padding: 90px 0;
    background: linear-gradient(165deg, #0B1121 0%, #1A2332 40%, #0F1729 100%);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

/* افکت‌های پس‌زمینه پویا */
.features-section-ads::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite;
}

.features-section-ads::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 15s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* خط نورانی بالای بخش */
.features-section-ads .section-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FBBF24, #F59E0B, #FBBF24, transparent);
    opacity: 0.3;
    animation: shimmerDivider 5s ease-in-out infinite;
}

@keyframes shimmerDivider {
    0%, 100% { opacity: 0.2; transform: scaleX(1); }
    50% { opacity: 0.6; transform: scaleX(1.03); }
}

/* کانتینر */
.features-section-ads .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* بخش‌بندی */
.features-section-ads .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.08) !important;
    color: #FBBF24 !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(251, 191, 36, 0.12);
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.features-section-ads .section-badge:hover {
    background: rgba(251, 191, 36, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
}

.features-section-ads .section-badge i {
    font-size: 14px;
    color: #FBBF24;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
}

/* عنوان اصلی */
.features-section-ads .section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #F8FAFC;
    margin-bottom: 18px;
    line-height: 1.35;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.features-section-ads .section-title span {
    background: linear-gradient(135deg, #FBBF24, #F59E0B, #FBBF24);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.features-section-ads .section-title span::after {
    content: '✦';
    position: absolute;
    bottom: -10px;
    right: 0;
    font-size: 18px;
    color: #FBBF24;
    opacity: 0.2;
    -webkit-text-fill-color: #FBBF24;
}

/* توضیحات */
.features-section-ads .section-desc {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 680px;
    margin: 0 auto 50px auto;
    line-height: 1.9;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* شبکه اصلی - ۳ ستون */
.features-section-ads .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 10px;
}

/* کارت‌های ویژگی‌ها */
.features-section-ads .feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 38px 28px 32px;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* افکت هاله پشت کارت */
.features-section-ads .feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(4, 140, 11, 0.378), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* خط کشویی بالای کارت */
.features-section-ads .feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FBBF24, transparent);
    border-radius: 3px;
    transition: all 0.6s ease;
    transform: translateX(-50%);
}

/* هاور کارت */
.features-section-ads .feature-card:hover {
    transform: translateY(-12px);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.06), rgba(251, 191, 36, 0.01));
    border-color: rgba(251, 191, 36, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 50px rgba(251, 191, 36, 0.03);
}

.features-section-ads .feature-card:hover::before {
    opacity: 1;
}

.features-section-ads .feature-card:hover::after {
    width: 60%;
}

/* آیکون کارت */
.features-section-ads .feature-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(11, 202, 5, 0.403));
    border: 1px solid rgba(251, 191, 36, 0.08);
    margin-bottom: 20px;
    font-size: 28px;
    color: #0c6b2e;
    transition: all 0.45s ease;
    position: relative;
}

.features-section-ads .feature-card:hover .icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.20), rgba(251, 191, 36, 0.05));
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.10);
}

/* عنوان کارت */
.features-section-ads .feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

/* متن کارت */
.features-section-ads .feature-card p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.8;
    margin: 0 0 18px 0;
    font-weight: 300;
}

/* برچسب (badge) پایین کارت */
.features-section-ads .feature-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: #FBBF24;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.features-section-ads .feature-card:hover .badge {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.2);
    transform: scale(1.02);
}

.features-section-ads .feature-card .badge i {
    font-size: 11px;
    color: #FBBF24;
}

/* ===== انیمیشن fade-up ===== */
.features-section-ads .animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.features-section-ads .delay-1 { animation-delay: 0.1s; }
.features-section-ads .delay-2 { animation-delay: 0.2s; }
.features-section-ads .delay-3 { animation-delay: 0.3s; }
.features-section-ads .delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ریسپانسیو ===== */

/* لپ‌تاپ و تبلت بزرگ */
@media (max-width: 1024px) {
    .features-section-ads .section-title {
        font-size: 2.2rem;
    }
    
    .features-section-ads .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* تبلت */
@media (max-width: 768px) {
    .features-section-ads {
        padding: 60px 0;
    }
    
    .features-section-ads .section-title {
        font-size: 1.8rem;
    }
    
    .features-section-ads .section-desc {
        font-size: 1rem;
        margin-bottom: 36px;
        padding: 0 10px;
    }
    
    .features-section-ads .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .features-section-ads .feature-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }
    
    .features-section-ads .feature-card .icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
        border-radius: 18px;
        margin-bottom: 18px;
    }
    
    .features-section-ads .feature-card h3 {
        font-size: 1.05rem;
    }
    
    .features-section-ads .feature-card p {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    
    .features-section-ads .feature-card .badge {
        font-size: 11px;
        padding: 5px 14px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .features-section-ads {
        padding: 48px 0;
    }
    
    .features-section-ads .container {
        padding: 0 16px;
    }
    
    .features-section-ads .section-badge {
        font-size: 12px;
        padding: 6px 16px;
        gap: 6px;
    }
    
    .features-section-ads .section-title {
        font-size: 1.5rem;
    }
    
    .features-section-ads .section-desc {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }
    
    .features-section-ads .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .features-section-ads .feature-card {
        padding: 24px 18px 20px;
        border-radius: 18px;
    }
    
    .features-section-ads .feature-card .icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    
    .features-section-ads .feature-card h3 {
        font-size: 1rem;
    }
    
    .features-section-ads .feature-card p {
        font-size: 0.84rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .features-section-ads .feature-card .badge {
        font-size: 10px;
        padding: 4px 12px;
    }
}

/* موبایل‌های خیلی کوچک */
@media (max-width: 380px) {
    .features-section-ads .section-title {
        font-size: 1.3rem;
    }
    
    .features-section-ads .feature-card {
        padding: 20px 14px 16px;
    }
    
    .features-section-ads .feature-card h3 {
        font-size: 0.95rem;
    }
}

/* ===== حالت روشن ===== */
@media (prefers-color-scheme: light) {
    .features-section-ads {
        background: linear-gradient(165deg, #FFFBEB 0%, #FEF3C7 40%, #FFFBEB 100%);
    }
    
    .features-section-ads .section-title {
        color: #0F172A;
    }
    
    .features-section-ads .section-title span {
        background: linear-gradient(135deg, #D97706, #F59E0B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .features-section-ads .section-desc {
        color: #475569;
    }
    
    .features-section-ads .feature-card {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(251, 191, 36, 0.06);
    }
    
    .features-section-ads .feature-card h3 {
        color: #0F172A;
    }
    
    .features-section-ads .feature-card p {
        color: #475569;
    }
    
    .features-section-ads .feature-card:hover {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(251, 191, 36, 0.2);
        box-shadow: 0 24px 70px rgba(251, 191, 36, 0.08);
    }
    
    .features-section-ads .section-badge {
        background: rgba(251, 191, 36, 0.08) !important;
        border-color: rgba(251, 191, 36, 0.12);
    }
    
    .features-section-ads .feature-card .badge {
        background: rgba(251, 191, 36, 0.06);
        border-color: rgba(251, 191, 36, 0.08);
        color: #D97706;
    }
}

/* ===== افکت‌های اضافی ===== */

/* عددگذاری مخفی در گوشه کارت‌ها */
.features-section-ads .feature-card .card-number {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 44px;
    font-weight: 900;
    color: rgba(251, 191, 36, 0.03);
    line-height: 1;
    pointer-events: none;
    font-family: 'Georgia', serif;
}

/* خطوط تزیینی زیر آیکون */
.features-section-ads .feature-card .icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FBBF24, transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.features-section-ads .feature-card:hover .icon::after {
    opacity: 0.4;
    width: 40px;
}


/* بخش دکمه شناور================== */
/* ======================================================
   دکمه شناور اشتراک‌گذاری
   ====================================================== */

.floating-share-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 30px rgba(10, 143, 60, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    border: none;
    text-decoration: none;
    margin-bottom: 80px;
}

.floating-share-btn:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 8px 40px rgba(10, 143, 60, 0.6);
}

.floating-share-btn .share-tooltip {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-share-btn:hover .share-tooltip {
    opacity: 1;
    bottom: 80px;
}

/* ======================================================
   مودال اشتراک‌گذاری
   ====================================================== */

.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.share-modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.4s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f2f7;
}

.share-modal-header h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 0;
}

.share-modal-header h3 i {
    color: #0a8f3c;
    margin-left: 10px;
}

.share-modal-close {
    font-size: 30px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-modal-close:hover {
    color: #333;
    background: #f5f5f5;
}

.share-modal-body {
    padding: 24px;
}

.share-modal-desc {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-buttons-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    transition: all 0.3s ease;
    gap: 6px;
}

.share-buttons-grid a i {
    font-size: 28px;
}

.share-buttons-grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.share-btn-whatsapp {
    background: #25D366;
}
.share-btn-telegram {
    background: #0088cc;
}
.share-btn-facebook {
    background: #1877f2;
}
.share-btn-twitter {
    background: #000000;
}
.share-btn-linkedin {
    background: #0a66c2;
}
.share-btn-email {
    background: #ea4335;
}
.share-btn-copy {
    background: #6b7280;
}
.share-btn-sms {
    background: #34a853;
}

.share-url-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f7fa;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e8ecf1;
}

.share-url-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    outline: none;
    direction: ltr;
    text-align: left;
    font-family: monospace;
}

.copy-url-btn {
    background: #0a8f3c;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-url-btn:hover {
    background: #0c6b2e;
    transform: scale(1.02);
}

/* ======================================================
   دکمه اشتراک‌گذاری در بخش آیکون‌ها
   ====================================================== */

.share-btn {
    background: linear-gradient(135deg, #0a8f3c, #0c6b2e) !important;
    color: #fff !important;
    border-color: #0a8f3c !important;
}

.share-btn i {
    color: #fff !important;
}

.share-btn:hover {
    background: linear-gradient(135deg, #0c6b2e, #0a8f3c) !important;
    transform: translateY(-8px) scale(1.02);
}

/* ======================================================
   ریسپانسیو
   ====================================================== */

@media (max-width: 768px) {
    .share-buttons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .share-buttons-grid a {
        padding: 12px 6px;
        font-size: 10px;
    }
    
    .share-buttons-grid a i {
        font-size: 22px;
    }
    
    .share-modal-content {
        width: 95%;
        border-radius: 18px;
    }
    
    .share-modal-header {
        padding: 16px 20px;
    }
    
    .share-modal-body {
        padding: 18px;
    }
    
    .floating-share-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .share-buttons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .share-buttons-grid a {
        padding: 10px 4px;
        font-size: 9px;
        border-radius: 10px;
    }
    
    .share-buttons-grid a i {
        font-size: 18px;
    }
    
    .share-url-box {
        flex-wrap: wrap;
        padding: 4px;
    }
    
    .share-url-box input {
        width: 100%;
        text-align: center;
        font-size: 12px;
        padding: 8px;
    }
    
    .copy-url-btn {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }
    
    .floating-share-btn {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


.latest-ads-section{padding:40px 0;}
.latest-ads-section .slider-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;}
.view-all-ads-link{color:#0a8f3c;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:6px;}
.view-all-ads-link:hover{text-decoration:underline;}




/* بهش پشتیبانی */
/* ===== تیم پشتیبانی ===== */
.support-team-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f5e9 100%);
    direction: rtl;
}

.support-team-section .section-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    background: rgba(10,143,60,0.12);
    color: #0a8f3c;
}

.support-team-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.support-team-section .section-title span {
    color: #0a8f3c;
}

.support-team-section .section-desc {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-align: center;
}

/* گرید تیم */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-card {
    background: #ffffff;
    border-radius: 10px;
    border-bottom-left-radius: 30%;
    border-top-right-radius: 30%;
    padding: 30px 20px 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgb(236, 130, 8);
    border-left: 6px solid rgb(236, 130, 8);
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(10,143,60,0.15);
    border-color: #067430;
}

/* آواتار */
.team-avatar {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 8px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgb(236, 130, 8);

    transition: border-color 0.3s;
}

.team-card:hover .team-avatar {
    border-color: #0a8f3c;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #fff;
    border-radius: 30px;
    padding: 2px 12px 2px 8px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
}

.team-status i {
    font-size: 10px;
}

.team-status.online i {
    color: #22c55e;
}

.team-status.away i {
    color: #f59e0b;
}

.team-status.offline i {
    color: #94a3b8;
}

/* اطلاعات */
.team-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 8px 0 4px;
    color: #0f172a;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: #0a8f3c;
    background: rgba(10,143,60,0.1);
    padding: 3px 14px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-role i {
    margin-left: 6px;
}

.team-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 8px 0 12px;
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}



/* CTA */
.team-cta-wrapper {
    text-align: center;
    margin-top: 48px;
}

.team-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a8f3c;
    color: #fff;
    padding: 14px 36px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(10,143,60,0.35);
}

.team-cta-btn:hover {
    background: #067a32;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10,143,60,0.4);
    color: #fff;
}

.team-cta-btn i {
    font-size: 1.2rem;
}

.team-cta-note {
    display: block;
    margin-top: 12px;
    font-size: 0.95rem;
    color: #64748b;
}

/* واکنش‌گرایی موبایل */
@media (max-width: 768px) {
    .support-team-section {
        padding: 50px 15px 40px;
    }
    .support-team-section .section-title {
        font-size: 1.7rem;
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .team-card {
        padding: 20px 12px 18px;
    }
    .team-avatar {
        width: 80px;
        height: 80px;
    }

}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}


.btn-online-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 8px;
    background: rgb(236, 130, 8);
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #0d9488;
    transition: all 0.2s ease;
}

.btn-online-chat:hover {
    background: #067430;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

.btn-online-chat i {
    font-size: 12px;
}

@media (max-width: 768px) {

    .latest-ads-section .slider-header,
    .doctors-slider-section .slider-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .latest-ads-section .section-title,
    .doctors-slider-section .section-title {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .latest-ads-section .view-all-link,
    .doctors-slider-section .view-all-link {
        text-align: center;
    }
}