/* استایل‌های پایه فوتر */
.site-footer {
    width: 100%;
    direction: rtl !important;
    text-align: right;
   background:var(--footer);
  border-top:1px solid var(--primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

/* ==========================
     SLEEK STATS ROW STYLE
========================== */
.stats-row-section {
    background: #020204; /* مشکی عمیق هماهنگ با انتهای بخش پورتفولیو */
    direction: rtl;
    position: relative;
    z-index: 5;
}

/* ظرف اصلی شیشه‌ای و باریک به صورت یک ردیف */
.stats-row-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 10px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* استایل هر ستون در ردیف */
.stat-row-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    position: relative;
    padding: 10px 20px;
}

/* خط جداکننده محو مابین ستون‌ها (فقط روی دسکتاپ) */
.stat-row-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* استایل آیکون‌های دایره‌ای کوچک مینی‌مال */
.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.stat-row-item:hover .stat-icon-wrapper {
    transform: scale(1.1) translateY(-2px);
}

/* افکت‌های نوری ملایم آیکون‌ها */
.purple-glow { color: #a855f7; border-color: rgba(168, 85, 247, 0.3); }
.cyan-glow { color: #06b6d4; border-color: rgba(6, 182, 212, 0.3); }
.pink-glow { color: #ec4899; border-color: rgba(236, 72, 153, 0.3); }
.gold-glow { color: #eab308; border-color: rgba(234, 179, 8, 0.3); }

/* ساختار متون */
.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    font-family: system-ui, -apple-system, sans-serif;
}

.stat-number .stat-unit {
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 4px;
}

/* ==========================================
     RESPONSIVE (بهینه‌سازی برای موبایل)
========================================== */
@media (max-width: 992px) {
    .stats-row-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
        padding: 30px;
    }
    /* حذف مرزبندی‌ها در حالت تبلت */
    .stat-row-item:nth-child(even)::after {
        display: none;
    }
    .stat-row-item {
        justify-content: flex-start;
        padding: 10px 30px;
    }
}

@media (max-width: 600px) {
    .stats-row-container {
        grid-template-columns: 1fr;
        gap: 15px 0;
        padding: 20px 15px;
    }
    .stat-row-item::after {
        display: none; /* حذف تمام جداکننده‌ها روی موبایل */
    }
    .stat-row-item {
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.01);
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.02);
    }
}

/*==============================
        Footer Middle
==============================*/

.footer-middle{
    max-width:1200px;
    margin:auto;
    padding:50px 0px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:60px;
    background:var(--footer);
   border-top:1px solid var(--footer-border)
}

/* ستون ها */

.footer-col h3{
    margin:0 0 22px;
    color:var(--footer-title);
    font-size:20px;
    font-weight:700;
    position:relative;
    padding-bottom:12px;
}

.footer-col h3::after{
    content:"";
    position:absolute;
    bottom:0;
    right:0;
    width:55px;
    height:3px;
    background:var(--primary);
    border-radius:30px;
}

.footer-col p{
    color:var(--footer-text);
    line-height:2.2;
    font-size:15px;
    margin-top:25px;
}

/* لوگو */

.footer-logo{
    display:block;
    text-align:center;
}

.footer-logo img{
    display:inline-block;
}
.footer-logo img{
    max-width:195px;
    height:auto;
}

/* منو */

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col ul li{
    margin-bottom:14px;
}

.footer-col ul li a{
    color:var(--footer-text);
    text-decoration:none;
    transition:.3s;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.footer-col ul li a::before{
    content:"›";
    color:var(--primary);
    font-size:18px;
}

.footer-col ul li a:hover{
    color:var(--primary);
    padding-right:8px;
}

/* اینماد */

.footer-enamad{
    text-align:center;
}

.footer-enamad img{
    width:150px;
    border:1px solid var(--footer-border);
    border-radius:12px;
    padding:12px;
    transition:.35s;
}

.footer-enamad img:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

/* جداکننده */

.footer-col{
    position:relative;
}

.footer-col:not(:last-child)::before{
    content:"";
    position:absolute;
    left:-30px;
    top:0;
    width:1px;
    height:100%;
    background:var(--footer-border);
}

/*==============================
        Responsive
==============================*/
@media (max-width:576px){

.footer-middle{
    display:flex;
    flex-direction:column;
    text-align:center;
    gap:35px;
}

/* ترتیب نمایش */
.footer-middle .footer-col:nth-child(2){order:1;}
.footer-middle .footer-col:nth-child(3){order:2;}
.footer-middle .footer-about{order:3;}
.footer-middle .footer-enamad{order:4;}

.footer-col::before{
    display:none;
}

.footer-col h3::after{
    right:50%;
    transform:translateX(50%);
}

.footer-col ul li a{
    justify-content:center;
}

}

/*==============================
        Footer Bottom
==============================*/

.footer-bottom-bar{
    background: var(--footer);
    border-top: 1px solid var(--footer-border);
    padding: 18px 15px;
}

.copyright-texts-right{
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.copyright-texts-right p{
    margin: 0;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.9;
}

/*=========== Tablet ===========*/

@media (max-width: 768px){

    .footer-bottom-bar{
        padding: 16px 20px;
    }

    .copyright-texts-right p{
        font-size: 13px;
        line-height: 2;
    }

}

/*=========== Mobile ===========*/

@media (max-width: 480px){

    .footer-bottom-bar{
        padding: 14px 15px;
    }

    .copyright-texts-right p{
        font-size: 12px;
        line-height: 2.1;
    }

}


/***********************      شروع شبکه اجتماعی شناور     ********************************/
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.image-social{
    padding-left: 7px;
}
.social-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.social-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bale {
    background: linear-gradient(135deg, #f09433, #e1306c, #833ab4);
}

.telegrami {
    background:#1d87bb;
}

.whatsapp {
    background: #25D366;
}

.social-icon{
    width: 32px;
    height: 32px;
    display: block;
}

.social-item i{
    font-size: 32px;
}
@media (max-width: 768px) {
    .social-menu {
        right: 33px;
        bottom: 90px;
        gap: 8px;
margin-bottom: 5px;
    }
    
    .social-item {
        width: 55px !important;
        height: 55px !important;
    }
    
   .image-social {
        width: 36px !important;
        height: 30px !important;
        padding-left: 7px !important;
        flex-shrink: 0 !important;
    }
    
  
}
overflow-x{
display:hidden;
}


/***********************  پایان  شبکه اجتماعی شناور    ********************************/
