/*
Footer CSS - ElemanKit
*/


.ek-footer {

    background:var(--ek-dark);

    color:#fff;

    margin-top:60px;

    padding:50px 0 20px;

}





.ek-footer-grid {


    display:grid;


    grid-template-columns:repeat(4,1fr);


    gap:30px;


}





.ek-footer h3 {


    font-size:24px;

    margin-top:0;


}





.ek-footer h4 {


    margin-bottom:20px;

    font-size:17px;


}





.ek-footer p,
.ek-footer li {


    color:#d1d5db;

    line-height:2;


}





.ek-footer ul {


    list-style:none;

    padding:0;

    margin:0;


}





.ek-footer a {


    color:#d1d5db;

    transition:var(--ek-transition);


}





.ek-footer a:hover {


    color:#fff;


}







/* Trust Badges */


.ek-footer-trust {


    text-align:center;


}





.ek-trust-slider {

    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 15px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

}

.ek-trust-slides {

    position: relative;
    width: 100px;
    height: 60px;

}

.ek-trust-slide {

    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease;

}

.ek-trust-slide.active {

    opacity: 1;
    visibility: visible;

}

.ek-trust-slide img {

    max-width: 90px;
    height: auto;
    background: #fff;
    border-radius: 10px;
    padding: 5px;

}

.ek-trust-arrow {

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    flex-shrink: 0;
    transition: background .2s ease;

}

.ek-trust-arrow:hover {

    background: rgba(255,255,255,0.18);

}
/* نوار آمار بالای فوتر */

.ek-footer-stats {

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;

}

.ek-stat-item {

    display: flex;
    align-items: center;
    gap: 12px;

}

.ek-stat-icon {

    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #a8b0b9;

}

.ek-stat-icon i,
.ek-stat-icon .fa-duotone {
    --fa-primary-color: #a8b0b9;
    --fa-secondary-color: #d1d5db;
    --fa-secondary-opacity: 0.9;
    color: #a8b0b9;
}

.ek-stat-number {

    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff;

}

.ek-stat-label {

    display: block;
    font-size: 12px;
    color: #9ca3af;

}

@media (max-width: 480px) {

    .ek-footer-stats {
        gap: 20px 24px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 15px;
    }

}

.ek-trust-icons img {


    max-width:90px;

    height:auto;

    background:#fff;

    border-radius:10px;

    padding:5px;


}







/* Bottom */


.ek-footer-bottom {


    border-top:1px solid #374151;


    margin-top:40px;


    padding-top:20px;


    text-align:center;


}






@media(max-width:1000px){


    .ek-footer-grid {


        grid-template-columns:repeat(2,1fr);


    }


}





@media(max-width:768px){


    .ek-footer-grid {


        grid-template-columns:1fr 1fr;


    }


}





@media(max-width:480px){


    .ek-footer-grid {


        grid-template-columns:1fr;


    }



}
/* لیست‌های آیکون‌دار (دسترسی سریع / اطلاعات تماس) */

.ek-footer-icon-list li {

    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;

}

.ek-footer-icon-list li:last-child {

    margin-bottom: 0;

}

.ek-footer-icon-list i,
.ek-footer-icon-list .fa-duotone {

    color: #a8b0b9;
    --fa-primary-color: #a8b0b9;
    --fa-secondary-color: #d1d5db;
    --fa-secondary-opacity: 0.8;
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;

}

.ek-footer-icon-list a,
.ek-footer-icon-list span {

    color: #d1d5db;

}

.ek-footer-icon-list a:hover {

    color: #fff;

}

.ek-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.14), transparent 24%),
        #0b1220;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ek-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.8), rgba(167, 139, 250, 0.8), transparent);
}

.ek-footer-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto 48px;
    padding: 32px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.ek-stat-item {
    position: relative;
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr 48px;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    gap: 0 14px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.7));
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.ek-stat-item::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    top: -46px;
    left: -30px;
    border-radius: 50%;
    background: var(--ek-stat-accent, #60a5fa);
    opacity: 0.14;
    filter: blur(4px);
}

.ek-stat-item:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--ek-stat-accent, #60a5fa) 55%, transparent);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.3), 0 0 24px color-mix(in srgb, var(--ek-stat-accent, #60a5fa) 12%, transparent);
}

.ek-stat-item:nth-child(1) { --ek-stat-accent: #38bdf8; }
.ek-stat-item:nth-child(2) { --ek-stat-accent: #a78bfa; }
.ek-stat-item:nth-child(3) { --ek-stat-accent: #f472b6; }
.ek-stat-item:nth-child(4) { --ek-stat-accent: #34d399; }

.ek-stat-number,
.ek-stat-label,
.ek-stat-icon {
    position: relative;
    z-index: 1;
}

.ek-stat-number {
    grid-column: 1;
    grid-row: 1;
    color: #f8fafc;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1;
    letter-spacing: 0;
}

.ek-stat-label {
    grid-column: 1;
    grid-row: 2;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.ek-stat-icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    border: 1px solid color-mix(in srgb, var(--ek-stat-accent, #60a5fa) 38%, transparent);
    border-radius: 15px;
    background: color-mix(in srgb, var(--ek-stat-accent, #60a5fa) 15%, #0f172a);
    color: var(--ek-stat-accent, #60a5fa);
    font-size: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(2, 6, 23, 0.2);
}

.ek-stat-icon i,
.ek-stat-icon .fa-duotone {
    --fa-primary-color: var(--ek-stat-accent, #60a5fa);
    --fa-secondary-color: #e0f2fe;
    --fa-secondary-opacity: 0.7;
    color: var(--ek-stat-accent, #60a5fa);
}

.ek-footer-accordion summary {
    display: block;
    margin-bottom: 20px;
    color: #f8fafc;
    font-size: 16px;
    font-weight: 800;
    cursor: default;
    list-style: none;
}

.ek-footer-accordion summary::-webkit-details-marker {
    display: none;
}

.ek-footer-accordion[open] > summary {
    pointer-events: none;
}

.ek-footer-icon-list li {
    min-height: 34px;
    gap: 12px;
    margin-bottom: 12px;
}

.ek-footer-icon-list i,
.ek-footer-icon-list .fa-duotone {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.72);
    color: #7dd3fc;
    --fa-primary-color: #7dd3fc;
    --fa-secondary-color: #c4b5fd;
    --fa-secondary-opacity: 0.75;
    font-size: 14px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ek-footer-icon-list li:hover i,
.ek-footer-icon-list li:hover .fa-duotone {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(30, 64, 175, 0.42);
}

.ek-footer-icon-list a,
.ek-footer-icon-list span {
    color: #cbd5e1;
    font-size: 13px;
}

.ek-footer-icon-list a:hover {
    color: #fff;
}

.ek-footer-trust h4 {
    margin-bottom: 18px;
    color: #f8fafc;
}

.ek-trust-slider {
    max-width: 250px;
    gap: 12px;
}

.ek-trust-slides {
    width: 132px;
    height: 92px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(30, 41, 59, 0.8));
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ek-trust-slides::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 24px;
    pointer-events: none;
}

.ek-trust-slide img {
    max-width: 106px;
    max-height: 76px;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 5px 15px rgba(2, 6, 23, 0.14);
}

.ek-trust-arrow {
    width: 32px;
    height: 32px;
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(30, 41, 59, 0.72);
    color: #7dd3fc;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.ek-trust-arrow:hover {
    transform: scale(1.08);
    background: #2563eb;
    color: #fff;
}

.ek-footer-bottom {
    border-top-color: rgba(148, 163, 184, 0.18);
}

@media (max-width: 900px) {
    .ek-footer-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-inline: 16px;
    }
}

@media (max-width: 520px) {
    .ek-footer {
        padding-top: 32px;
    }

    .ek-footer-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 34px;
        padding: 22px 12px;
    }

    .ek-stat-item {
        min-height: 84px;
        grid-template-columns: 1fr 38px;
        gap: 0 8px;
        padding: 12px 10px;
        border-radius: 15px;
    }

    .ek-stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .ek-stat-number {
        font-size: 19px;
    }

    .ek-stat-label {
        font-size: 10px;
    }

    .ek-footer-grid {
        gap: 28px 18px;
    }

    .ek-footer-trust {
        grid-column: 1 / -1;
    }
}