﻿/* فوتر اصلی */
footer {
    width: 100%;
    padding: 50px 20px 25px 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

/* حالت ستونی */
.footer-wrapper.column-layout {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* کارت‌های داخل فوتر */
.footer-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .footer-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

/* متن معرفی */
.idea-box h3 {
    color: #00A551;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.idea-box p {
    color: #374151;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.more-link {
    text-align: center !important;
    margin-top: 20px;
}

.idea-box a {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .idea-box a:hover {
        color: black;
    }

/* بخش تماس */
.contact-box {
    padding-top: 3%;
}

    .contact-box fieldset {
        border: 1px solid #00A551;
        border-radius: 10px;
        padding: 20px 6px 20px 6px;
    }

    .contact-box legend {
        font-size: 20px;
        color: #00A551;
        text-align: center;
        padding: 0 10px;
        font-weight: bold;
        width: auto !important;
    }

    .contact-box p {
        text-align: center;
        font-size: 15px;
        color: #374151;
        margin-bottom: 15px;
    }

/* آیکون‌ها */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 12px;
}

    .social-icons a {
        width: 42px;
        height: 42px;
        background-color: #474A4E;
        color: #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        font-size: 18px;
    }

        .social-icons a:hover {
            background-color: #474A4E;
            transform: scale(1.1);
        }

/* پایین فوتر */
.footer-bottom {
    text-align: center;
    color: white;
    font-size: 13px;
    background: #00A551;
    padding: 12px;
    border-radius: 6px;
}
/* ---------------------------------------------------------------- */
.phone-numbers {
    white-space: nowrap; /* جلوگیری از شکستن شماره */
    display: flex; /* همه در یک ردیف */
    flex-wrap: nowrap; /* نذار خط بعدی بره */
    gap: 4px; /* فاصله بین شماره‌ها */
    display: flex;
    justify-content: space-around;
}

    .phone-numbers span {
        direction: ltr; /* نمایش درست اعداد */
    }
/* ---------------------------------------------------------------- */
.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* فاصله بین لینک‌ها */
    text-align: center;
    padding-top: 3%;
}

    .quick-links a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }

    /* جداکننده | برای دسکتاپ */
    .quick-links span::after {
        content: "|";
        margin: 0 12px; /* فاصله بیشتر */
        color: #333;
    }

    /* حذف جداکننده برای لینک‌های خاص */
    .quick-links span:nth-child(6)::after {
        content: "";
    }

/* موبایل: سه تا سه تا در هر ردیف */
@media (max-width: 768px) {
    .quick-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* سه ستون */
        gap: 10px 5px; /* فاصله ردیف و ستون */
        justify-items: center; /* وسط‌چین ستون‌ها */
        padding-top: 10px;
    }

        /* حذف همه جداکننده‌ها روی موبایل */
        .quick-links span:nth-child(3)::after {
            content: "";
        }

        .quick-links a {
            font-size: 10px;
        }
}

/* ---------------------------------------------------------------- */
.banner-footer-content {
    display: flex;
    justify-content: center;
}

.banner-box {
    border-radius: 16px;
    text-align: center;
}

.banner-text h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 10px;
}
/* ---------------------------------------------------------------- */
.enamad {
    width: 125px;
    height: 136px;
    margin: 0px auto;
    margin-top: 30px;
}
/* ---------------------------------------------------------------- */
.banner-text p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 40px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-track a {
    flex: 0 0 auto;
    margin: 0 3px;
}

.carousel-track img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-track a:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .carousel-track img {
        width: 100px;
        height: 50px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .carousel-track img {
        width: 80px;
        height: 40px;
        margin: 0 10px;
    }
}

@keyframes slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/*باشگاه مشتریان*/
.plogo {
    text-align: center;
    direction: rtl;
}

    .plogo span {
        font-weight: bold;
        font-size: 30px;
        direction: rtl;
    }

.logos {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

    .logos:before, .logos:after {
        position: absolute;
        top: 0;
        content: '';
        width: 250px;
        height: 100%;
        z-index: 2;
    }

    .logos:before {
        left: 0;
        background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
    }

    .logos:after {
        right: 0;
        background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
    }

.logo_items {
    display: inline-block;
    animation: 35s slides infinite linear;
}

.logos:hover .logo_items {
    animation-play-state: paused;
}

.logo_items img {
    height: 100px;
    display: -webkit-inline-box !important;
    max-width: max-content !important;
}

.ltr {
    direction: ltr !important;
}
