﻿
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin: 0;
    direction: rtl;
    overflow-x: hidden; /* جلوگیری از اسکرول افقی غیرضروری */
}

p {
    line-height: 30px;
}

/* منوی کناری (side-menu) موبایل */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, #592E8A, #EE0979);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
    overflow-y: auto; /* اضافه کردن اسکرول عمودی */
    scrollbar-width: thin; /* تنظیم عرض اسکرول‌بار در مرورگرهایی که از این ویژگی پشتیبانی می‌کنند */
}

    .side-menu.open {
        right: 0; /* نمایش منوی باز */
    }

    /* سفارشی‌سازی اسکرول‌بار */
    .side-menu::-webkit-scrollbar {
        width: 8px; /* عرض اسکرول‌بار */
    }

    .side-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.2); /* رنگ پس‌زمینه اسکرول‌بار */
        border-radius: 4px;
    }

    .side-menu::-webkit-scrollbar-thumb {
        background: #EE0979; /* رنگ دستگیره اسکرول‌بار */
        border-radius: 4px;
        border: 2px solid #592E8A; /* حاشیه دستگیره اسکرول‌بار */
    }

        .side-menu::-webkit-scrollbar-thumb:hover {
            background: #FF50A0; /* رنگ دستگیره هنگام هاور */
        }

    .side-menu .close-btn {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }

    .side-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .side-menu ul li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

            .side-menu ul li a {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 20px;
                color: #fff;
                text-decoration: none;
                font-size: 16px;
            }

            .side-menu ul li span {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 20px;
                color: #fff;
                text-decoration: none;
                font-size: 16px;
                cursor:pointer;
            }

                .side-menu ul li a:hover {
                    background: rgba(255, 255, 255, 0.1);
                }

                .side-menu ul li a .dropdown-icon {
                    font-size: 16px;
                    margin-left: 10px;
                }

            .side-menu ul li ul.dropdown {
                display: none;
                background: rgba(0, 0, 0, 0.1);
            }

            .side-menu ul li.open > ul.dropdown {
                display: block;
            }

/* دکمه نمایش */
.menu-toggle {
    font-size: 24px;
    padding: 10px 20px;
    background: #592E8A;
    color: #fff;
    cursor: pointer;
}





/* استایل کلی فوتر */
footer {
    background: linear-gradient(90deg, #592E8A, #EE0979);
    color: #fff;
    padding: 40px 20px;
}

/* چینش داخلی فوتر */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* ستون‌ها */
.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

    .footer-column h6 {
        border-bottom: 2px solid #fff;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-column ul li {
            margin-bottom: 10px;
        }

            .footer-column ul li a {
                color: #fff;
                text-decoration: none;
                transition: color 0.3s ease;
            }

                .footer-column ul li a:hover {
                    color: #FFD700;
                }

/* شبکه‌های اجتماعی */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .social-icons a {
        display: inline-block;
        width: 35px;
        height: 35px;
        background: #fff;
        color: #592E8A;
        text-align: center;
        line-height: 35px;
        border-radius: 50%;
        font-size: 18px;
        transition: background-color 0.3s ease;
    }

        .social-icons a:hover {
            background-color: #FFD700;
        }

/* متن پایینی */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
}

/* تنظیمات ریسپانسیو */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        max-width: 100%;
    }

    .cta-link {
        width: 70%;
    }
}


/* سبک اولیه دکمه */
.button2 {
    background: linear-gradient(45deg, #2c3e50, #34495e, #4a69bd, #2e86de, #1e3799, #273c75, #192a56, #0c2461);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 7px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 1.5s ease-in-out;
    animation: gradient-shift 8s infinite;
}

/* انیمیشن تغییر رنگ گرادیان */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* انیمیشن چرخش ملایم */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* تغییر حالت هنگام هاور */
.button2:hover {
    filter: brightness(1.2);
    color: white;
}



.custom-card {
    width: 100%; /* نصف سایز قبلی */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s ease;
    margin-top: 10px;
}

    .custom-card:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
        cursor: pointer;
    }

.custom-card-image {
    width: 100%;
    height: auto; /* نصف ارتفاع قبلی */
    object-fit: cover;
}

.custom-card-content {
    padding: 10px; /* کاهش فاصله داخلی */
    text-align: center;
}

.custom-card-title {
    margin: 5px 0;
    font-size: 12px; /* اندازه فونت کمتر */
    color: #333;
}

.custom-card-description {
    margin: 5px 0;
    font-size: 10px; /* اندازه فونت کمتر */
    color: #555;
}

.custom-card-button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px; /* کوچک کردن دکمه */
    background: linear-gradient(90deg, #592E8A, #EE0979);
    color: #fff;
    text-decoration: none;
    font-size: 10px; /* اندازه فونت کمتر */
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

    .custom-card-button:hover {
        background: linear-gradient(90deg, #EE0979, #592E8A);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        text-decoration: none;
        color: #fff;
    }


/* لینک ادامه محصولات */
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: linear-gradient(135deg, #6A11CB, #2575FC);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 20%;
}

    .cta-link:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-4px);
        color: #fff;
    }

    .cta-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease-in-out;
        z-index: 0;
    }

    .cta-link:hover::before {
        transform: scaleX(1);
    }

    .cta-link span {
        position: relative;
        z-index: 1;
    }

    /* فلش رو به پایین */
    .cta-link .arrow {
        margin-right: 10px;
        font-size: 24px;
        animation: bounce 1.5s infinite;
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

@media (max-width: 768px) {
    .cta-link {
        width: 70%;
    }
}



/* CSS */
.button-61 {
    align-items: center;
    appearance: none;
    border-radius: 4px;
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 1px -2px,rgba(0, 0, 0, .14) 0 2px 2px 0,rgba(0, 0, 0, .12) 0 1px 5px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 500;
    height: 36px;
    justify-content: center;
    letter-spacing: .0892857em;
    line-height: normal;
    min-width: 64px;
    outline: none;
    overflow: visible;
    padding: 0 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    will-change: transform,opacity;
}

.button-61:hover {
    box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
}

.button-61:disabled {
    background-color: rgba(0, 0, 0, .12);
    box-shadow: rgba(0, 0, 0, .2) 0 0 0 0, rgba(0, 0, 0, .14) 0 0 0 0, rgba(0, 0, 0, .12) 0 0 0 0;
    color: rgba(0, 0, 0, .37);
    cursor: default;
    pointer-events: none;
}

.button-61:not(:disabled) {
    background-color: #6200ee;
}

.button-61:focus {
    box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
}

.button-61:active {
    box-shadow: rgba(0, 0, 0, .2) 0 5px 5px -3px, rgba(0, 0, 0, .14) 0 8px 10px 1px, rgba(0, 0, 0, .12) 0 3px 14px 2px;
    background: #A46BF5;
}

.adImageSlider {
    width: 100%;
    height: 320px;
}

.hBack {
    width:50%;
    font-size: 25px;
    text-align: center;
    padding: 10px;
    background: repeating-linear-gradient( 45deg, #0d47a1, #2196f3 10%, #0d47a1 20% );
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}