
body {
    margin: 0;
    line-height: inherit;
}

@font-face {
    font-family: FS-regular;
    src: url(/fonts/OpenSans-Regular.ttf);
}

@font-face {
    font-family: FS-bold;
    src: url(/fonts/OpenSans-Bold.ttf);
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.font-heading {
    font-family: Poppins, sans-serif;
}

.text-h1 {
    font-size: 48px;
}

@media (min-width: 768px) {
    .md\:order-1 {
        order: 1;
    }

    .md\:order-2 {
        order: 2;
    }

    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .md\:text-\[14px\] {
        font-size: 14px;
    }

    .md\:text-\[40px\] {
        font-size: 40px;
    }

    .md\:text-\[30px\] {
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    .lg\:text-\[36px\] {
        font-size: 36px;
    }
}

.text-neutral {
    --tw-text-opacity: 1;
    color: hsl(0 0% 100% / var(--tw-text-opacity));
}

.main-bg {
    width: 100%;
    /*height: auto; !* یا هر ارتفاع دلخواه *!*/
    background-image: url("/img/Section.jpg");
    background-size: cover; /* کل باکس را پر می‌کند */
    background-repeat: no-repeat;
    background-position: center; /* تصویر را وسط قرار می‌دهد */
    content: '';
    display: block;
    /*position: absolute;*/
    top: 0;
    z-index: 0;
}

.responsive-image {
    background-image: url("/img/Section-res.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* وقتی صفحه بزرگ‌تر از 768px شد → عکس دسکتاپ */
@media (min-width: 768px) {
    .responsive-image {
        background-image: url("/img/Section.jpg");
    }
}



/*!* ===== DESKTOP ===== *!*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f8ff;
}

.hero-box {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto;
    border-radius: 20px;
    padding: 80px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;

    /* --- GRADIENT BACKGROUND --- */
    background: linear-gradient(
            to left,
            rgba(160, 180, 255, 0.35), /* آبی ملایم سمت راست */ #ffffff /* سفید سمت چپ */
    );
}

.revers-gradian {
    /* گرادیان برعکس: چپ آبی → راست سفید */
    background: linear-gradient(
            to right,
            rgba(160, 180, 255, 0.35), /* آبی ملایم سمت چپ */ #ffffff /* سفید سمت راست */
    );
}

/*!* متن‌ها باکس1 داخل دسکتاپ *!*/
.content {
    width: 65%;
    z-index: 2;
}

/*!* متن‌های باکس2 داخل دسکتاپ *!*/
.content2 {
    margin-left: 10%;
}

.tag {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
}

h1 {
    font-size: 38px;
    font-weight: 700;
    margin: 10px 0 20px;
    line-height: 1.3;
}

h1 span {
    color: #5d6bff;
}

p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}
/*!* عکس محصول — سمت چپ *!*/
.product-image {
    width: 25%;
    position: relative;
}

.product-image img {
    width: 120%;
    position: absolute;
    right: -60px;
    top: -250px;
    object-fit: contain;
}



/* ======================================================
   ==================   MOBILE MODE   ====================
   ====================================================== */

@media (max-width: 1200px) {

    .hero-box {
        flex-direction: column;          /* زیر هم قرار بگیرند */
        text-align: left;
        padding: 40px 25px;
        margin-top: 40px;

        /* موبایل: بالا سفید → پایین آبی */
        background: linear-gradient(
                to bottom,
                #ffffff,
                rgba(160, 180, 255, 0.35)
        );
    }

    .content .content2 {
        width: 100%;
        text-align: left;
    }

    .tag {
        font-size: 13px;
        padding: 8px 20px;
    }

    h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    p {
        font-size: 16px;
        max-width: 100%;
    }

    /* عکس در موبایل بیاد پایین */
    .product-image {
        width: 50%;
        height: auto;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .product-image img {
        position: relative;
        width: 90%;
        left: 0;
        top: 0;
        margin: 0 auto;
    }
}

