@font-face {
    font-family: "yekan";
    src: url("/static/fonts/Yekan.eot") format("eot"),
    url("/static/fonts/Yekan.woff") format("woff"),
    url("/static/fonts/Yekan.woff2") format("woff2");
}

* {
    font-family: "yekan", sans-serif !important;
}

.nav_font {
    font-family: "yekan", sans-serif !important;
}

.about_title {
    text-align: right !important;
}

.about_text {
    text-align: right !important;
}

.btn-group {
    color: white !important;
    background-color: #009961;
    border-radius: 50px;
}

.btn-group:hover {
    background-color: #018051;
}

#hero {
    position: relative;
    overflow: hidden;
    background-color: rgba(13, 17, 23, 0.85); /* زمینه نیمه شفاف تیره */
    height: 100vh; /* اگر میخوای ارتفاع کل صفحه باشه */
    color: white;
    padding-top: 70px; /* اگر هدر فیکس داری */
}

#particles-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* ذرات پشت متن */
    pointer-events: none;
}

#hero > .container {
    position: relative;
}

.shrink_i {
    padding-left: 7px;
}

.btn_nav {
    font-size: 12px !important;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
}

.footer .footer-top {
    padding: 50px 0;
    background-color: color-mix(
            in srgb,
            var(--footer-background-color) 90%,
            white 10%
    );
}

.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 10px;
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-about .logo span {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
    color: var(--heading-color);
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links {
    margin: 0 0 30px 0;
}

.footer .social-links a {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--contrast-color);
    line-height: 1;
    margin: 0 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    text-decoration: none;
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
    color: white !important;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    margin-right: 4px;
    font-size: 12px;
    line-height: 0;
    color: var(--accent-color);
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}


.footer .copyright {
    padding: 30px 0;
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 5px;
    font-size: 13px;
    color: white !important;
}

.my-swal-popup {
    font-size: 14px !important; /* کل پاپ‌آپ */
}

.my-swal-title {
    font-size: 16px !important; /* عنوان */
}

.my-swal-text {
    font-size: 13px !important; /* متن */
}

.btn_r {
    background-color: #078f5d !important;
    color: white !important;
}

.footer-contact p {
    color: white !important;
}


.title_log {
    margin-right: 88px !important;
}


.form_user {
    width: 20rem !important;
    padding: 13px !important;
}

.form_user_edit {
    width: 30rem !important;
    padding: 20px !important;
}



.btn_edit {
    background-color: #078f5d !important;
    color: white !important;
}

.dashboard_com {
    color: black !important;
}

.active_bash {
    color: #078f5d !important;
}

.dashboard_logout {
    color: red !important;
}

.title_home {
    color: white !important;
}

.btn_hero {
    background-color: #078f5d !important;
    border-radius: 16px !important;
}

.btn_hero:hover {
    background-color: #156a42 !important;
}

.errorlist {
    color: red;
    list-style: none; /* اگر نمی‌خواهی بولت داشته باشد */
    padding: 0;
    margin: 5px 0;
    font-size: 14px;
}

.bg_toasts {
    background-color: #078f5d !important;
    color: white !important;
}


@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

.sticker {
    font-size: 4rem;
    animation: shake 1s infinite;
}

.bg_content {
    background-color: rgb(188, 189, 189) !important;
}

.close_modal {
    background-color: rgb(188, 189, 189) !important;
    color: red !important;
}


.btn_sms {
    background-color: #078f5d !important;
    padding: 4px !important;
    border-radius: 8px !important;
    color: white !important;
}

.main-404 {
    color: #ffffff; /* متن روشن */
    font-family: "Vazirmatn", sans-serif;
    margin: 0;
    padding: 0;
}

.main-404 container {
    padding: 60px 20px;
}

.logo-404 {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.logo-404 img {
    max-width: 160px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-404 img:hover {
    transform: scale(1.05);
}

.content-404 {
    text-align: center;
}

.content-404 img {
    max-width: 400px;
    width: 100%;
    margin-bottom: 30px;
    filter: brightness(0.8);
}

.content-404 h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f44336; /* رنگ قرمز برای جلب توجه */
}

.content-404 h2 a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: #f44336;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.content-404 h2 a:hover {
    background-color: #d32f2f;
}


.form_user {
    max-width: 300px!important;
    margin: auto!important;
    padding: 1rem 1.5rem!important;
    text-align: center!important;
    box-shadow: 0 0.125rem 0.375rem rgba(34, 48, 62, 0.08)!important;
    border-radius: 0.375rem!important;
    background-color: #fff!important;
    direction: rtl!important; /* اگر صفحه فارسی هست */
    font-family: "yekan", sans-serif;
}

.form_user img.user-img {
    display: block!important;
    margin: 0 auto 1rem auto!important; /* فاصله پایین تصویر */
    width: 150px!important;
    height: 150px!important;
    border-radius: 50% !important;
}

.form_user label.form-label {
    display: block!important;
    text-align: center!important;
    margin-bottom: 0.25rem!important;
    font-weight: 600!important;
    color: #282828!important; /* رنگ دلخواه لیبل */
}

.form_user input.form-control {
    width: 100% !important;
    padding: 0.375rem 0.75rem!important;
    margin-bottom: 1rem!important;
    border: 1px solid #ccc!important;
    border-radius: 0.375rem!important;
    font-size: 1rem!important;
    color: #444444!important;
    background-color: #f9f9f9!important;
}

.form_user input.form-control:disabled {
    background-color: #e9ecef!important;
    color: #6c757d!important;
    cursor: not-allowed!important;
}


 .sticker {
    font-size: 3rem;
    user-select: none;
  }
  /* انیمیشن لرزش برای تلفن */
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
  }
  /* انیمیشن پالس برای هیجان زده */
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
  }

.phone {
    animation: shake 1s infinite;
  }
.excited {
    animation: pulse 1.5s infinite;
  }


@media (max-width: 768px) {
    .swiper-img {
        width: 100%; /* عرض تصویر در موبایل 100% از عرض صفحه */
        height: auto; /* ارتفاع به طور خودکار با توجه به عرض تنظیم می‌شود */
    }
}


.blog-details .content p {
    text-align: justify;
}
  
.text-portfolio{
    text-align: justify;
}  


.text-service{
     text-align: justify;
}

.content-detail{
    text-align: justify;
}

.text-sms{
     text-align: justify;
}

.btn_site {
    background-color: #078959 !important;
    color: white!important;
}

.text_jus {
        text-align: justify!important;
}

.w_ul {
    width: 100%!important;
}

.img-tem{
    height:150px; width:100%; object-fit:cover
}

.img-tem-d{
    max-height:400px; object-fit:cover; width:100%;
}

.img-article{
        height: 100% !important;
}
