@layer utilities {
    @font-face {
        font-family: "IRANSans";
        src: url("/siteAssets/fonts/IRANSansX-Medium.woff2") format("woff2"), url("/siteAssets/fonts/IRANSansX-Bold.woff2") format("woff");
        font-weight: normal;
        font-style: normal;
    }

    .bg {
        background-image: url("/siteAssets/images/sabalan.webp"); /* مسیر عکس بک‌گراند را اینجا بگذارید */
        background-size: cover;
        width: 100%;
        background-position: center;
    }

    .bgpeople {
        background-image: url("/siteAssets/images/سبلان.png"); /* مسیر عکس بک‌گراند را اینجا بگذارید */
        background-size: cover;
        width: 100%;
        background-position: center;
    }
    /* کارت فرم: کمی بلور و شفافیت */
    .card-blur {
        backdrop-filter: blur(10px) saturate(120%);
    }

    html {
        scroll-behavior: smooth;
    }

    .glass {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(6px);
    }
    /* لایت‌باکس ساده */
    .lightbox-bg {
        background: rgba(0, 0, 0, 0.7);
    }

    .hero-height {
        height: 40vh; /* پیشفرض برای کمتر از md */
    }

    @media (min-width: 768px) and (max-width: 1023px) {
    .hero-height {
        height: 70vh; /* بین md و lg */
    }
}

    @media (min-width: 1024px) {
        .hero-height {
            height: 100vh; /* بعد از lg */
        }
    }

    .swiper-button-prev:after,
    .swiper-rtl .swiper-button-next:after {
        content: "prev";
        font-size: 26px !important;
    }
}

.error-text {
    font-size: 0.875rem;
    color: red;
}

.error-border {
    border-color: red !important;
}


.notyf {
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    bottom: auto !important;
    width: 60%; /* عرض توست */
    max-width: 600px; /* حداکثر عرض */
}

.notyf__toast {
    width: 100% !important; /* توست تمام عرض کانتینر */
    text-align: center; /* متن وسط‌چین */
    justify-content: center;
}
