/* /Components/ContactForm.razor.rz.scp.css */
/* کدهای CSS مربوط به باکس دعوت به اقدام */

.cta-box[b-zgkz3i548i] {
    background-color: #f1f4f6;
    /* اعمال گوشه‌های گرد شده مطابق تصویر مرجع (شامل گوشه‌های تیز و گرد) */
    border-top-left-radius: 12px;
    border-top-right-radius: 20px; /* گردتر */
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 20px; /* گردتر */
    padding: 2rem;
    margin-top: 1rem;
    direction: rtl; /* برای تراز راست به چپ */
}

.cta-header[b-zgkz3i548i] {
    display: flex;
    align-items: center;
    /* اصلاح فاصله آیکون تا متن با استفاده از gap */
    gap: 8px; /* فاصله کم */
    margin-bottom: 1.5rem;
}

    .cta-header h3[b-zgkz3i548i] {
        margin: 0;
        color: #1A365D;
        font-size: 1.1rem;
    }

.info-icon[b-zgkz3i548i] {
    color: #3b82f6;
    font-size: 1.2rem;
}

.input-group[b-zgkz3i548i] {
    display: flex;
    /* فاصله بین دکمه و ورودی */
    gap: 12px;
    /* چیدمان برای راست به چپ */
    flex-direction: row-reverse;
}

    .input-group input[b-zgkz3i548i] {
        flex: 1;
        padding: 12px 16px;
        border: none;
        border-radius: 8px;
        font-family: inherit;
        font-size: 1rem;
        outline: none;
        text-align: right;
    }

        .input-group input[b-zgkz3i548i]::placeholder {
            /* رنگ متن پیش‌فرض */
            color: rgba(128, 128, 128, 0.6);
        }

    .input-group button[b-zgkz3i548i] {
        background-color: #4a90e2;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 12px 2.5rem;
        font-family: inherit;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s;
        /* برای چسبیدن دکمه به سمت راست در حالت rtl */
        order: -1;
    }

        .input-group button:hover[b-zgkz3i548i] {
            background-color: #357abd;
        }

/* حالت موبایل: قرار گرفتن فیلد و دکمه زیر هم */
@media (max-width: 600px) {
    .input-group[b-zgkz3i548i] {
        flex-direction: column-reverse;
        gap: 8px;
    }

        .input-group button[b-zgkz3i548i] {
            width: 100%;
        }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.top-nav[b-vwpufda8e1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.menu-btn[b-vwpufda8e1] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar[b-vwpufda8e1] {
    background-color: #fafbfa;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container[b-vwpufda8e1] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle[b-vwpufda8e1] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.main-content[b-vwpufda8e1] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-dqhexsinvs],
.components-reconnect-repeated-attempt-visible[b-dqhexsinvs],
.components-reconnect-failed-visible[b-dqhexsinvs],
.components-pause-visible[b-dqhexsinvs],
.components-resume-failed-visible[b-dqhexsinvs],
.components-rejoining-animation[b-dqhexsinvs] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-retrying[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-failed[b-dqhexsinvs],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-dqhexsinvs] {
    display: block;
}


#components-reconnect-modal[b-dqhexsinvs] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-dqhexsinvs 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-dqhexsinvs 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-dqhexsinvs 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-dqhexsinvs]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-dqhexsinvs 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-dqhexsinvs {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-dqhexsinvs {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-dqhexsinvs {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-dqhexsinvs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-dqhexsinvs] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-dqhexsinvs] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-dqhexsinvs] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-dqhexsinvs] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-dqhexsinvs] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-dqhexsinvs] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-dqhexsinvs 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-dqhexsinvs] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-dqhexsinvs {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* --- Hero Banner --- */
.hero[b-x585ons0ie] {
    /* یک عکس ماک برای ساختمان پس زمینه */
    background-image: url('../../img/Hero.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px; /* ملایم‌تر مطابق با طرح */
    overflow: hidden;
    height: 380px; /* کاهش ارتفاع برای موبایل */
    position: relative;
    margin-bottom: 3rem;
    direction: rtl; /* اطمینان از تراز راست به چپ */
}

.hero-overlay[b-x585ons0ie] {
    background: linear-gradient(180deg, rgba(235, 241, 248, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    width: 100%;
    padding: 0px; /* فاصله بیشتر از بالا */
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* فاصله متن از بالا */
}

.hero-text[b-x585ons0ie] {
    color: #000000;
    max-width: 80%; /* محدود کردن عرض متن برای بهتر خوانده شدن */
    text-align: right;
    margin: 0px 45px 45px 45px;
}

    .hero-text h1[b-x585ons0ie] {
        font-size: 1.3rem; /* کمی کوچک‌تر برای موبایل */
        margin-bottom: 0.8rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-text p[b-x585ons0ie] {
        font-size: 0.9rem;
        color: #2b4c7e;
        margin: 0;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: -3%;
    }

        /* حذف استایل اسپان */
        .hero-text p span[b-x585ons0ie] {
            display: none;
        }

/* --- Products Grid --- */
.section-title[b-x585ons0ie] {
    color: #1F3C88;
    margin-bottom: 1.5rem;
    text-align: right;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -2%;
}

.grid-container[b-x585ons0ie] {
    display: grid;
    /* حالت موبایل: ۳ ستون */
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-card[b-x585ons0ie] {
    background-color: #f1f4f6;
    border-radius: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-wrapper[b-x585ons0ie] {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
    margin-bottom: 8px;
}

    .image-wrapper img[b-x585ons0ie] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-title[b-x585ons0ie] {
    font-size: 0.75rem;
    color: #333;
    font-weight: bold;
    height:45px;
}

/* --- Footer Area --- */
.footer-section[b-x585ons0ie] {
    margin-top: 4rem;
}

.warning-text[b-x585ons0ie] {
    text-align: right;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 20px;
    line-height: 180%;
    letter-spacing: -3%;
}

.asterisk[b-x585ons0ie] {
    color: #4a90e2;
    font-weight: bold;
    font-size: 1rem;
}

/* --- Responsive Desktop (5 ستون) --- */
@media (min-width: 768px) {

    .grid-container[b-x585ons0ie] {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    .product-title[b-x585ons0ie] {
        font-size: 0.9rem;
        padding: 4px 0;
    }

    .hero[b-x585ons0ie] {
        height: 520px;
        border-radius: 24px;
    }

    .hero-overlay[b-x585ons0ie] {
        padding: 1rem;
        font-size: 20px;
    }

    .hero-text[b-x585ons0ie] {
        max-width: 100%;
    }

        .hero-text h1[b-x585ons0ie] {
            font-size: 1.9rem;
        }

        .hero-text p[b-x585ons0ie] {
            font-size: 1.1rem;
        }

            .hero-text p span[b-x585ons0ie] {
                display: inline;
                color: #4A90E2
            }

    .products-section h2[b-x585ons0ie] {
        font-size: 18px;
    }
    .section-title[b-x585ons0ie]{
        font-size:18px;
    }
}
