﻿/*=============== Fonts ===============*/
@font-face {
    font-family: "vazir";
    src: url("../fonts/vazir/Farsi-Digits-Without-Latin/Vazir-Bold-FD-WOL.eot") format("eot"), url("../fonts/vazir/Farsi-Digits-Without-Latin/Vazir-Bold-FD-WOL.woff") format("woff"), url("../fonts/vazir/Farsi-Digits-Without-Latin/Vazir-Bold-FD-WOL.woff2") format("woff2"), url("../fonts/vazir/Vazir-Medium-FD-WOL.woff") format("woff2"), url("../fonts/vazir/Vazir-Medium-FD-WOL.woff") format("woff"), url("../fonts/vazir/Vazir-Medium-FD-WOL.ttf") format("truetype");
}

/*=============== Variables ===============*/
:root {
    --clr-main: #FFFFFF;
    --clr-primary-1: #d81921;
    --clr-primary-2: #a7a9ac;
    --clr-primary-3: #FFECDB;
    --clr-Header_BgColor: rgb(192 247 154);
    --clr-grey-1: #FF9149;
    --clr-grey-2: #FF9149;
    --clr-grey-3: #FFECDB;
    --clr-grey-4: #AFDDFF;
    --clr-white: #ffffff;
    --clr-Black: #000000;
    --clr-bg: #E9EDF0;
    --clr-footer: #C0BCCB;
    --clr-hover: #F97316;
    --clr-bg-img-cover1: rgba(96, 181, 255,0.2);
    --clr-bg-img-cover2: rgba(96, 181, 255,0.6);
    --ff-primary: "vazir", sans-serif;
    --transition: all 0.3s linear;
    --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --menu-side-height: 450px;
}
/*=============== Global Styles ===============*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ===== Desktop ===== */
.top-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--clr-primary-2);
    /* سایه شکیل دو لایه */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 10px solid rgba(f,f,f,0.05);
    padding: 12px 0;
    backdrop-filter: blur(4px);
}
/* ===== Tablet ===== */
@media (max-width: 992px) {
    .top-header-bar {
        padding: 14px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
    }
}
/* ===== Mobile ===== */
@media (max-width: 576px) {
    .top-header-bar {
        padding: 16px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
        border-bottom-width: 0; /* تمیز و مدرن‌تر */
    }
        /* مرتب‌تر شدن محتوا در موبایل */
        .top-header-bar * {
            font-size: 0.9rem !important;
        }
}



body {
    font-family: var(--ff-primary);
    color: var(--clr-grey-1);
    line-height: 1.5;
    font-size: 0.875rem;
    text-align: center;
    background: url('https://source.unsplash.com/1600x900/?nature') var(--clr-bg) no-repeat center center fixed;
    background-size: cover;
    direction: rtl;
    padding-top: 85px !important;
}

body, input, select, textarea {
    font-family: 'Vazir', sans-serif;
}
/* تبدیل اعداد به فارسی */
.num-fa {
    font-family: 'Vazir', sans-serif;
    unicode-bidi: bidi-override;
    direction: rtl;
}


ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 3rem;
    color: var(--clr-Black);
    text-shadow: 2px 2px 5px var(--clr-Black);
}

h2 {
    font-size: 2rem;
    color: var(--clr-Black);
    text-shadow: 2px 2px 5px var(--clr-Black);
}

h3 {
    color: var(--clr-Black);
    font-size: 1.25rem;
}

h4 {
    color: var(--clr-Black);
    font-size: 0.875rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--clr-Black);
    direction: rtl;
    text-justify: inter-word;
}

.mymain {
    display: block;
    unicode-bidi: isolate;
    align-items: center;
}

.login-link {
    color: black !important;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .login-link:hover {
        color: #FFD700;
    }

.text-logo-dep1 {
    color: var(--clr-primary-2);
}

.text-logo-dep2 {
    color: var(--clr-primary-1);
}

.navbar-logo {
    border: 2px solid #000;
    border-radius: 50%;
    padding: 4px;
    width: 75px;
    height: 75px;
    object-fit: cover;
    transition: all 0.3s ease;
    z-index: 998;
}

    .navbar-logo:hover {
        border-color: #FFD700;
        transform: scale(1.1);
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
        z-index: 999;
    }

.btn {
    background: var(--clr-primary-1);
    color: var(--clr-Black);
    padding: 0.375rem 0.75rem;
    margin-bottom: 0.3rem;
    display: inline-block;
    transition: var(--transition);
    font-size: 0.875rem;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

    .btn:hover {
        background: var(--clr-primary-2);
        color: var(--clr-black);
    }

/* ... (بقیه کلاس‌های سایت مانند carousel, section, hero, services, articles که در مرحله قبل پاک‌سازی شدند) ... */
.nowrap-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
}

.category-item {
    flex: 0 0 11.11%;
    max-width: 11.11%;
}

#categoriesCarousel, #categoriesCarousel .carousel-inner, #categoriesCarousel .carousel-item {
    background-color: #f8f9fa !important;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(0) sepia(0) saturate(0) hue-rotate(0deg);
    background-color: black;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.section {
    padding: 5rem 0;
}

.section-center {
    width: 70vw;
    margin: 0 auto;
    padding-left-10px;
    max-width: var(--max-width);
}

@media screen and (min-width: 992px) {
    .section-center {
        width: 90vw;
    }
}

.section-title {
    margin-top: 6rem;
    margin-bottom: 4rem;
    text-align: center;
}

.blog-center {
    display: grid;
    /*    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));*/
    grid-template-columns: repeat(4,1fr);
    gap: 1rem 1rem;
}

@media screen and (max-width: 768px) {
    .blog-center {
        display: grid;
        /*    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));*/
        grid-template-columns: 1fr;
        gap: 1rem 1rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .blog-center {
        display: grid;
        /*    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));*/
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1rem;
    }
}

.navbar {
    height: 5rem;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    background: linear-gradient(to bottom, #ffffff, #f2f2f2);
    min-height: 90px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid #e0e0e0;
    z-index: 1000;
}

.navbar-center {
    width: 100%;
    max-width: 1170px;
    margin: 0 3rem;
}

.nav-links ul li a {
    color: var(--clr-Black);
}

.image-container {
    display: flex;
    justify-content: center; /* افقی وسط */
    align-items: center; /* عمودی وسط (در صورت داشتن ارتفاع مشخص) */
}

    .image-container img {
        opacity: 0.5;
        width: 90%;
        height: auto;
        padding: 0 2rem;
        display: block;
    }

.main_categories .bi {
    color: #007bff;
    text-shadow: 1px 1px 0 #0056b3, 2px 2px 5px rgba(0, 0, 0, 0.4);
    transform: perspective(500px) rotateX(15deg) rotateY(15deg);
    transition: transform 0.3s ease;
}

    .main_categories .bi:hover {
        transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale(1.2);
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }

.category-item.active {
    background-color: #d0e9ff;
    border-color: #339af0;
    transition: background-color 0.5s, border-color 0.5s;
}
/*برای بخش نمایش ابزارها در حالت موبایل و تبلت*/
/* استایل‌های موبایل و تبلت */
/* استایل‌های موبایل و تبلت */
@media (max-width: 991px) {
    /* 
      کلاس برای عمودی کردن متن.
      چون والد آن (تگ a) از قبل یک flex container وسط‌چین است،
      دیگر نیازی به استایل‌های اضافی برای وسط‌چینی این تگ نیست.
    */
    .vertical-text-on-mobile {
        writing-mode: vertical-rl; /* راست به چپ عمودی */
        text-orientation: mixed; /* برای حفظ جهت کاراکترها */
        margin: 0; /* حذف حاشیه اضافی */
        line-height: 1.5; /* فاصله بین خطوط برای خوانایی بهتر */
    }

    /* 
      تنظیم padding برای کادر والد (تگ a) در موبایل.
      این کار باعث می‌شود فضای خالی اطراف محتوای وسط‌چین، زیبا و یکنواخت باشد.
    */
    .category-item a {
        padding: 1.5rem 0.5rem; /* padding عمودی بیشتر و افقی کمتر */
    }
}
/*پایان بخش نمایش ابزارها در حالت موبایل و تبلت*/
#toTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    width: 46px;
    height: 46px;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    border-radius: 50%;
    text-align: center;
    font-size: 21px;
    color: #fff;
    cursor: pointer;
}

    /*@media (max-width: 767px) {
    #toTop {
        display: none !important;
    }
}*/

    #toTop:after {
        font-family: "fontello";
        position: relative;
        display: block;
        top: 50%;
        -webkit-transform: translateY(-55%);
        transform: translateY(-55%);
    }

    #toTop:hover {
        background-color: var(--clr-hover);
        /*        #004dda;*/
    }
/*===============
Footer
===============
*/
.footer-site-link {
    font-size: 1.2rem;
    color: var(--clr-Black);
}

    .footer-site-link:hover {
        color: var(--clr-hover);
    }

.footer-nav-icons {
    display: grid;
    font-size: 18px;
    color: var(--clr-main);
    align-self: center;
    justify-content: center;
    margin-top: 1rem;
}

.nav-icon {
    color: #696565;
    font-size: 2rem;
    margin-right: 0.75rem;
}

    .nav-icon:hover {
        color: var(--clr-hover);
    }

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

    .nav-header h3 {
        margin-bottom: 0;
    }

    .nav-header a {
        font-size: 2.5rem;
        background-color: var(--clr-main);
        border: none;
    }

.auth-link {
    font-size: 2.5rem !important;
    background-color: var(--clr-main) !important;
    border: none !important;
    padding-left: 15px;
}

.nav-toggle {
    background: transparent;
    border: transparent;
    color: var(--clr-white);
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

    .nav-toggle:hover {
        color: var(--clr-hover);
        transform: scale(1.6);
    }


.show-links {
    display: none;
    height: var(--menu-side-height);
}

@media screen and (max-width: 991px) {
    .navbar-center {
        height: 120px;
        overflow: hidden;
    }
}

@media screen and (max-width: 991px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 130px;
        right: 0;
        width: 100%;
        z-index: 999;
        padding: 1rem;
        box-shadow: var(--light-shadow);
    }

        .nav-links.show {
            display: flex;
        }
}

.hero {
    min-height: 100vh;
    background-color: var(--clr-primary-2);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-banner {
    padding: 0 3rem;
    text-align: center;
}

.btn-hero {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    background: var(--clr-main);
    color: var(--clr-primary-2);
}

    .btn-hero:hover {
        background: transparent;
        color: var(--clr-hover);
        border-color: var(--clr-main);
    }

.about-img {
    margin-bottom: 2rem;
}

.service {
    text-align: center;
    margin-bottom: 3rem;
}

.service-icon {
    background: var(--clr-primary-2);
    color: var(--clr-white);
    font-size: 2rem;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-text {
    max-width: 20rem;
    margin: 0 auto;
}

.article-card {
    background: var(--clr-grey-4);
    margin-bottom: 2rem;
    box-shadow: var(--light-shadow);
    transition: var(--transition);
}

    .article-card:hover {
        box-shadow: var(--dark-shadow);
        transform: scale(1.02);
    }

.article-img-container {
    position: relative;
}

.article-img {
    height: 15rem;
    object-fit: cover;
}

.article-category {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--clr-primary-3);
    color: var(--clr-white);
    padding: 0.25rem 0.5rem;
    margin-bottom: 0;
}

.article-info {
    padding: 1.25rem 1.5rem;
}

.article-title {
    display: flex;
    justify-content: space-between;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .article-footer p {
        margin-bottom: 0;
        color: var(--clr-primary-2);
    }

    .article-footer a {
        color: var(--clr-primary-2);
    }

.article-btn {
    text-align: center;
}

.contact {
    background: var(--clr-primary-2);
}

.contact-title, .contact-title p {
    color: var(--clr-white);
}

.contact-form {
    display: flex;
}

.form-control { /*3*/
    flex: 1 1 auto;
    color: var(--clr-Black);
}

.form-control, .btn-submit { /*4*/
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border: solid 1px black;
}

    .form-control::placeholder { /*5*/
        font-family: var(--ff-primary);
        color: inherit;
    }

.btn-submit {
    font-family: var(--ff-primary);
    background: var(--clr-primary-3);
    color: var(--clr-white);
    cursor: pointer;
    transition: var(--transition);
}

    .btn-submit:hover {
        background: var(--clr-primary-1);
    }

/* =================================================================
--- Responsive Styles (Tablet & Mobile) ---
================================================================= */

/* Tablet Styles (max-width: 991px) */
@media (max-width: 991px) {
    .navbar-center {
        height: 120px;
        overflow: hidden;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 130px;
        right: 0;
        width: 100%;
        z-index: 999;
        padding: 1rem;
        box-shadow: var(--light-shadow);
    }

        .nav-links.show {
            display: flex;
        }

    .nav-toggle {
        display: block;
        color: var(--clr-Black);
    }

    .navbar-center {
        display: block;
    }

    .nav-header {
        padding: 0;
    }

    .nav-icons {
        display: flex;
        align-self: center;
        justify-content: left;
        margin-top: 2rem;
    }

    .footer-nav-icons {
        display: flex;
        align-self: center;
        justify-content: center;
        margin-top: 2rem;
    }

    .nav-icon {
        color: #696565;
        font-size: 2rem;
        margin-right: 0.75rem;
    }

        .nav-icon:hover {
            color: var(--clr-hover);
        }

    .services-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .service {
        flex: 0 0 calc(50% - 1rem);
    }

    .articles-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .article-card {
        flex: 0 0 calc(50% - 2rem);
    }

    .contact-center {
        display: flex;
        gap: 2rem;
    }

    .contact-form {
        align-self: flex-start;
        flex: 1 1 60rem;
    }
}

.footer {
    background: var(--clr-footer);
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-links,
.footer-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: right;
}

.footer-link {
    color: #696565; /*var(--clr-Black);*/
    font-size: 1rem;
    margin-right: 1rem;
    transition: var(--transition);
    justify-items: right;
    text-align: right;
}

    .footer-link a {
        color: #696565; /* var(--clr-Black);*/
    }

        .footer-link a:hover {
            color: var(--clr-hover);
            /*                var(--clr-primary-2);*/
        }

@media screen and ( max-width:768px) {
    .footer-link {
        justify-items: center;
    }
}

@media screen and ( min-width:769px) and (max-width:992px) {
    .footer-link {
        justify-items: center;
    }
}

.footershrink {
    flex-shrink: 0; /* این دستور جلوی کوچک شدن فوتر را می‌گیرد */
}


/*-----------------------------------*/
.footer-nav-icons {
    display: grid;
    font-size: 18px;
    color: var(--clr-main);
    align-self: center;
    justify-content: center;
    margin-top: 1rem;
}

.nav-icon {
    color: #696565; /*var(--clr-Black);*/
    /*     var(--clr-primary-2);   */
    font-size: 2rem;
    margin-right: 0.75rem;
}

    .nav-icon:hover {
        color: var(--clr-hover);
        /*            var(--clr-primary-3);*/
    }

.flinks {
    display: inline-block;
    height: 80px;
    width: 80px;
}

div ul li {
    color: var(--clr-Black);
}
    /*----------------*/
    /*div ul li i{
    color:var(--clr-white);
}*/
    /*----------------*/
    div ul li a {
        color: var(--clr-Black);
    }

        div ul li a:hover {
            color: var(--clr-main);
        }

.footer-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--clr-primary-3);
    transition: var(--transition);
}

    .footer-icon:hover {
        color: var(--clr-main);
    }

.copyright {
    color: var(--clr-Black);
    font-size: 1rem !important;
}
/*
        input format class
    */
.inputbtn {
    border: dashed 2px var(--clr-Black);
    background-color: var(--clr-white);
    color: var(--clr-Black);
}

    .inputbtn:hover {
        border: none;
    }
/* Mobile Styles (max-width: 576px) */
@media (max-width: 576px) {
    body {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .hero-banner h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-banner p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .btn-hero {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .service {
        flex: 0 0 100%;
        text-align: center;
    }

    .service-icon {
        margin-bottom: 1rem;
    }

    .article-card {
        flex: 0 0 100%;
    }

    .article-img {
        height: 12rem;
    }

    .contact-form {
        flex-direction: column;
    }

    .form-control {
        margin-bottom: 1rem;  /*1*/
    }

    .btn-submit {
        width: 100%;
    }
}
/*فرصتهای شغلی و روزمه ها*/
#searchTabs .nav-link {
    background-color: #bbc4d0;
    color: #495057;
    text-align: center;
}

    #searchTabs .nav-link.active {
        background-color: #0d6efd;
        color: #fff !important;
    }

    #searchTabs .nav-link:hover {
        background-color: #e2e6ea;
        color: #495057;
    }
/*فرصتهای شغلی و روزمه ها*/
/*صفحه درباره ما our services*/

.call_section {
    /*    background-color: #C68EFD;*/
    /*    #004dda*/
    position: relative;
    color: #fff;
    direction: rtl;
}

    .call_section h2 {
        color: #fff;
    }

    .call_section .wrapper {
        /*        background-color: black;
        background-color: rgba(0, 0, 0, 0.7);*/
        position: relative;
        z-index: 22;
    }

    .call_section .box_how {
        text-align: center;
        position: relative;
    }

        .call_section .box_how h3 {
            color: #fff;
            font-size: 18px;
            font-size: 1.125rem;
        }

        .call_section .box_how i {
            color: #fff;
            font-size: 60px;
            font-size: 3.75rem;
            margin-bottom: 10px;
            color: #FFC107;
        }

    .call_section.pattern {
        background: #004dda url(../img/pattern.svg) center center repeat fixed;
    }

        .call_section.pattern .wrapper {
            background-color: black;
            background-color: rgba(0, 0, 0, 0.6);
        }

    .call_section.image_bg {
        background: #004dda url(../img/bg_call_section.jpg) center center no-repeat fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

        .call_section.image_bg .wrapper {
            background-color: black;
            background-color: rgba(0, 0, 0, 0.8);
        }

#hero-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.clear:after, .pagination:after, .clear:before, .pagination:before {
    content: "";
    display: table;
}

.clear:after, .pagination:after {
    clear: both;
}

.pagination__wrapper {
    height: 50px;
    padding-top: 10px;
    margin-bottom: 0;
    position: relative;
    text-align: center;
    width: 100%;
}

    .pagination__wrapper:before {
        top: -1px;
    }

    .pagination__wrapper:after {
        bottom: -1px;
    }

@keyframes hoverAnimation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.pagination {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .pagination li {
        display: block;
        float: left;
        padding: 5px;
    }

        .pagination li:first-child {
            border: none;
        }

    .pagination a,
    .pagination span {
        background: none;
        border: none;
        border-radius: 50%;
        box-sizing: border-box;
        color: rgba(0, 0, 0, 0.6);
        display: block;
        font-size: 16px;
        height: 40px;
        line-height: 40px;
        min-width: 40px;
        padding: 0;
    }

    .pagination a {
        outline: none;
        position: relative;
        transition: all 170ms linear;
    }

        .pagination a:before {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 50%;
            content: "";
            cursor: pointer;
            height: 0;
            left: 50%;
            opacity: 0;
            position: absolute;
            transform: translate(-50%, -50%);
            transition: all 170ms linear;
            top: 50%;
            width: 0;
        }

        .pagination a:hover:not(.active) {
            color: black;
        }

            .pagination a:hover:not(.active):before {
                animation: hoverAnimation 510ms linear forwards;
                height: 40px;
                width: 40px;
            }

        .pagination a.active {
            background: #004dda;
            color: white;
            cursor: default;
        }

    .pagination .prev,
    .pagination .next {
        font-size: 14px;
    }

.section {
    padding: 5rem 0;
}

.section-center {
    width: 70vw;
    margin: 0 auto;
    padding-left-10px;
    max-width: var(--max-width);
}

@media screen and (min-width: 992px) {
    .section-center {
        width: 90vw;
    }
}

.section-title {
    margin-top: 6rem;
    margin-bottom: 4rem;
    text-align: center;
}
/*@media screen and (min-with : 769px) and (max-width : 1700px){
    .section-title {
        margin-top: 10rem;
 
    }
}*/
/*
    End of call section
*/
/*
    Blog is here for our services
*/

.blog {
    background: var(--clr-grey-3);
}

.card {
    /*    height: var(--cardHeight);*/
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    perspective: 1500px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}

    .card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        transform: translateY(-3px);
    }

@media (max-width: 576px) {
    .card {
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .card {
        height: var(--cardHeight);
    }
}

@media screen and (min-width:769px) and (max-width: 992px) {
    .card {
        height: var(--cardHeight);
    }
}
/*card inside of contact us start here*/
.card-contactus {
    height: 79rem;
    perspective: 1500px;
    /*    position: relative;*/
}

@media screen and (max-width: 768px) {
    .card-contactus {
        height: 97rem;
    }
}

@media screen and (min-width:769px) and (max-width: 992px) {
    .card-contactus {
        height: 70rem;
    }
}

card-body-reset {
    height: 30rem;
}

@media screen and (max-width: 992px) {
    .card-body-pass {
        height: 30rem;
    }
}

.card-body-pass {
    height: 15rem;
}

@media screen and (max-width: 992px) {
    .card-body-pass {
        height: 15rem;
    }
}
/*card inside of contact us finishes here*/
.card-body {
    /*    height: 10rem;*/
    height: auto !important;
    overflow: visible !important;
}

@media screen and (max-width: 992px) {
    /*    .card-body {
        height: 50rem;
    }*/
}

.card-side {
    position: absolute;
    transition: all 1.5s linear;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

.card-front {
    background: var(--clr-white);
}

.card-back {
    background: var(--clr-primary-5);
    transform: rotateY(180deg);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    /*padding-left: 1rem; 123*321
    padding-right: 1rem;*/
}

.card:hover .card-front {
    transform: rotateY(-180deg);
}

.card:hover .card-back {
    transform: rotateY(0);
}

.card-front img {
    height: 13rem;
    -o-object-fit: cover;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.card-footer img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.card-info {
    padding: 1rem 1.5rem;
}

.card-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

    .card-footer p {
        margin-bottom: 0;
        justify-self: end;
        color: var(--clr-main);
        font-size: 0.85rem;
    }

.blog-center {
    display: grid;
    /*    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));*/
    grid-template-columns: repeat(4,1fr);
    gap: 1rem 1rem;
}

@media screen and (max-width: 768px) {
    .blog-center {
        display: grid;
        /*    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));*/
        grid-template-columns: 1fr;
        gap: 1rem 1rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .blog-center {
        display: grid;
        /*    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));*/
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1rem;
    }
}
/*
    Blog finishes here
*/

#additional_links .col-lg-6 {
    width: 100%;
}

@media screen and (min-width:992px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 100%;
    }
}

.services {
    /*        background: var(--clr-grey-4);*/
}
/*.services-card {
    height: 25rem;
}*/
.service {
    text-align: center;
    margin-bottom: 3rem;
}

.service-icon {
    background: var(--clr-primary-2);
    color: var(--clr-white);
    font-size: 2rem;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-text {
    max-width: 20rem;
    margin: 0 auto;
}

@media screen and (min-width: 576px) {
    .services-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .service {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media screen and (min-width: 992px) {
    .service {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media screen and (min-width: 1170px) {
    .service {
        display: flex;
        text-align: right;
    }

    .service-info {
        padding-right: 0.75rem;
    }

    .service-icon {
        align-self: start;
    }

    .service-title {
        margin-bottom: 0.5rem;
    }
}

/* افزایش اولویت با اضافه کردن .form-control   2*/
.form-control.bordered-input {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
}
/* افزایش اولویت با اضافه کردن .card-body */
.card-body .table-container {
    max-height: 400px;
    overflow-y: auto;
}

    .card-body .table-container thead th {
        position: sticky;
        top: 0;
        background-color: #343a40;
        z-index: 10;
    }

/*برای نمای شکاروسل تصاوییر شرکت ها*/
.carousel-item {
    display: none;
}

    .carousel-item.active {
        display: block !important;
    }

/* اصلاح موقعیت دکمه‌های کنترل در حالت RTL */
.carousel-control-prev {
    left: 0 !important;
    right: auto !important;
}

.carousel-control-next {
    right: 0 !important;
    left: auto !important;
}


/* کلاس سفارشی برای هایلایت ردیف‌های خوانده نشده در جدول */
.table-unread-row {
    --bs-table-bg: #fff3cd; /* رنگ استاندارد بوت‌استرپ برای warning */
    background-color: var(--bs-table-bg) !important; /* استفاده از !important برای غلبه بر سایر استایل‌ها */
}


/*برای بخش about میباشد . این قسمت از دیتابیس میخواند */
.section-center .card {
    height: 400px; /* ارتفاع دلخواه خودت */
    perspective: 1000px;
}

.card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 10px;
    overflow: hidden;
}

/*برای بخش about میباشد . این قسمت از دیتابیس میخواند */


/*برای بخش اعضا هییت مدیره در صفحه index.cshtml  مربوط به about میباشد*/
/* ----- کارت خدمات قبلی ----- */
.service-flip-card {
    perspective: 1000px;
}

    .service-flip-card .card-side {
        backface-visibility: hidden;
        transition: transform 0.8s;
        width: 100%;
        height: 100%;
    }

    .service-flip-card:hover .card-front {
        transform: rotateY(180deg);
    }

    .service-flip-card:hover .card-back {
        transform: rotateY(0deg);
    }


/* =======================================
       کارت اعضای هیئت مدیره – Flip جدید
       ======================================= */

.board-flip-card {
    width: 100%;
    height: 310px; /* بلندتر طبق خواسته شما */
    perspective: 1000px;
    cursor: pointer;
}

.flip-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    position: relative;
    border-radius: 15px;
    box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.12);
}

.board-flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: white;
}

.flip-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-back {
    transform: rotateY(180deg);
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* نام عضو */
.member-name {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card-img-back {
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 18px;
}
/*برای بخش اعضا هییت مدیره در صفحه index.cshtml  مربوط به about میباشد*/
/*پایان*/


/*استایل مربوط به پیام های خطای اعتبارسنجی (Validation Messages) */
/* استایل برای کادر خلاصه خطاها */
.validation-summary-errors {
    color: #dc3545; /* یک رنگ قرمز استاندارد و خوانا */
    font-weight: bold;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dc3545;
    background-color: #f8d7da; /* پس‌زمینه قرمز کم‌رنگ */
    border-radius: 5px;
    /* انیمیشن چشمک زدن */
    animation: flash-error 1.5s ease-in-out 3;
}

/* استایل برای خطاهای مربوط به هر فیلد به صورت جداگانه */
.field-validation-error {
    color: #dc3545;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 5px;
    display: block; /* باعث می‌شود خطا در یک خط جدید نمایش داده شود */
    /* انیمیشن چشمک زدن */
    animation: flash-error 1.5s ease-in-out 3;
}

/* تعریف انیمیشن چشمک زدن */
@keyframes flash-error {
    0% {
        background-color: #f8d7da;
    }

    50% {
        background-color: #f5c2c7; /* در نیمه انیمیشن، رنگ کمی پررنگ‌تر می‌شود */
        color: #721c24;
    }

    100% {
        background-color: #f8d7da;
    }
}
/* فعال‌سازی کارت در موبایل با لمس */
.card.flip-active .card-front {
    transform: rotateY(-180deg);
}

.card.flip-active .card-back {
    transform: rotateY(0);
}

/**/
/*پایان بخش درباره ما  our services*/
/*بخش نمایش سوابق تحصیلی  در رزومه کارجو Employer/ApplicationDetaild*/
/*.timeline {
    position: relative;
    list-style: none;
    padding-right: 20px;
    border-right: 3px solid #0d6efd;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    position: absolute;
    right: -27px;
    top: 10px;
}

.timeline-content {
    background: #f8f9fa;
}*/
.timeline {
    position: relative;
    list-style: none;
    padding-right: 20px;
    border-right: 3px solid #0d6efd;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    position: absolute;
    right: -27px;
    top: 10px;
}

.timeline-content {
    background: #f8f9fa;
}

.bg-primary-2 {
    background-color: var(--clr-Header_BgColor);
    color: var(--clr-Black); /* متن همچنان سفید بماند */
    font-size: larger;
}
/*پایان*/
/*بخش نمایش سوابق تحصیلی  در رزومه کارجو Employer/ApplicationDetaild*/

.p-5 {
    padding: 1rem !important;
}
/*  با این استایل اسکرول عمودی باقی میماند و اسکرول افقی حذف میشود
    .tab-pane {
    min-height: 400px !important;
    max-height: 600px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;*/ /* <-- این خط را اضافه کنید */
    /*padding-right: 10px !important;
}*/

/* ... استایل‌های قبلی ... */

/* استایل برای کانتینر اصلی تب‌ها */
.tab-content {
    /* این کلاس را اضافه یا ویرایش کنید */
    position: relative;
    overflow: hidden; /* بسیار مهم: جلوگیری از نمایش محتوای اضافی هنگام انیمیشن */
    transition: height 0.4s ease-in-out; /* انیمیشن نرم برای تغییر ارتفاع */
    width: 100%;
}

.tab-pane {
    /* این کلاس را ویرایش کنید */
    min-height: auto;
    /* این خطوط را حذف یا کامنت کنید */
    /* max-height: 600px; */
    /* overflow-y: auto; */
    /* overflow-x: hidden; */
    padding-right: 10px;
}

/* ... بقیه استایل‌های فایل ... */
