/*Start-----------------------[Font CSS ]------------------------*/
@font-face {
    font-family: 'Vazir';
    src: url('fonts/Vazir.woff2') format('woff2'),
         url('fonts/Vazir.woff') format('woff'),
         url('fonts/Vazir.ttf') format('truetype'),
         url('fonts/Vazir.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* برای نمایش بهتر هنگام لود */
}

body {
    font-family: 'Vazir', sans-serif;
    direction: rtl; /* برای متن‌های فارسی/عربی ضروری */
    text-align: right; /* تراز متن به راست */
}


/*Start-----------------------[Section CSS ]------------------------*/
.section {
    padding: 50px 0;
    margin-bottom: 30px;
}
/* #hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1600x900?nature');
    background-size: cover;
    color: white;
} */
#features {
    background-color: #f8f9fa;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}
#testimonials .card {
    height: 100%;
}
#contact {
    background-color: #e9ecef;
}
.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #0d6efd;
}
:root {
--bs-blue: #0d6efd;
--bs-indigo: #6610f2;
--bs-purple: #6f42c1;
--bs-pink: #d63384;
--bs-red: #dc3545;
--bs-orange: #fd7e14;
--bs-yellow: #ffc107;
--bs-green: #198754;
--bs-teal: #20c997;
--bs-cyan: #0dcaf0;
--bs-white: #fff;
--bs-gray: #6c757d;
--bs-gray-dark: #343a40;
--bs-primary: #0d6efd;
--bs-secondary: #6c757d;
--bs-success: #198754;
--bs-info: #0dcaf0;
--bs-warning: #ffc107;
--bs-danger: #dc3545;
--bs-light: #f8f9fa;
--bs-dark: #212529;
--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}
/*End-----------------------[Section CSS ]------------------------*/


/*Start-----------------------[ Body CSS ]------------------------*/
.small-header {
   /* background: var(--2, #3f5af3);*/
    padding: 1px 0;
}
.small-header-sub-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.small-header-sub p {
    color: var(--5, #FFF);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    padding-top: 20px;
    line-height: 24px;
}
.small-header-sub p img {
    padding-left: 5px;
}
.small-header-sub {
    display: flex;
    align-items: center;
    gap: 60px;
}
.small-header-media-main {
    display: flex;
    align-items: center;
    gap: 20px;
}
header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: -50px;
    z-index: 500;
    width: 100%;
}
.header-sub {
    display: flex;
    align-items: center;
    padding: 10px 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu {
    flex-grow: 1;
}
.menu-list {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-end;
    padding-left: 40px;
}
.menu-list li {
    position: relative;
}
.menu-list a {
    color: var(--4, #222);
    font-family: Outfit;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    display: flex;
    align-items: stretch;
}
.contact {
    display: flex;
    align-items: center;
    gap: 10px;
}
.arrow-icon-menu {
    transition: transform 0.3s ease-in-out;
}
.arrow-icon-menu.up {
    transform: rotate(180deg);
}
.wrapper-men {
    width: auto !important;
    position: relative;
}
.menu-text:hover {
    filter: brightness(0) saturate(100%) invert(38%) sepia(100%) saturate(1249%) hue-rotate(350deg) brightness(100%) contrast(90%);
}
.menu-ul-list {
    display: none;
    margin-top: -1px;
    background: #FFF;
    padding-right: 0;
    position: absolute;
    top: 60px;
    right: -280px;
    width: 690px;
    z-index: 5;
    border-top: 2px solid #F16122;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
}
.menu-ul-list a {
    border-bottom: 1px solid #FFF;
    padding: 10px 12px;
}
.menu-ul-list-d ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 15px;
    width: 100%;
}
.menu-ul-list-d {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 20px;
}
.menu-ul-list-d img {
    width: 250px;
}
.menu-ul-list a:hover {
    background: #F16122;
    transition:all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.menu-ul-list a:hover {
    color: #FFF;
}
.menu-text.active,
.submenu-link.active {
    background: #F16122;
    color: #FFF;
}
.wrapper.wrapper-men.active .menu-text {
    filter: brightness(0) saturate(100%) invert(40%) sepia(84%) saturate(1312%) hue-rotate(348deg) brightness(98%) contrast(93%);
}
.active-home a {
    color: #F16122 !important;
}
/*End-----------------------[ Header CSS ]------------------------*/


/*Start-----------------------[ NewsTotal CSS ]------------------------*/
    .news-list-container {
        padding: 2rem 0;
    }
    .main-news-card {
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        overflow: hidden;
    }
    .news-card-header {
        background-color: #3498db;
        color: white;
        padding: 1.2rem 1.5rem;
    }
    .news-card-header h2 {
        margin: 0;
        font-weight: 600;
        font-size: 1.5rem;
    }
    .news-table {
        width: 100%;
        border-collapse: collapse;
    }
    .news-table th {
        background-color: #f8f9fa;
        padding: 0.8rem 1rem;
        text-align: right;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #eee;
    }
    .news-table td {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
    }
    .news-table tr:last-child td {
        border-bottom: none;
    }
    .news-table tr:hover {
        background-color: #f8f9fa;
    }
    .news-id {
        width: 60px;
        text-align: center;
        color: #6c757d;
    }
    .news-date {
        width: 120px;
        text-align: left;
        color: #6c757d;
        font-size: 0.85rem;
    }
    .news-title {
        font-weight: 500;
        color: #2c3e50;
    }
    .news-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }
    .news-title a:hover {
        color: #3498db;
        text-decoration: underline;
    }
    .news-attachment {
        width: 100px;
        text-align: center;
    }
    .attachment-badge {
        background-color: #e3f2fd;
        color: #1976d2;
        padding: 0.3rem 0.6rem;
        border-radius: 4px;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }
    .pagination-container {
        padding: 1rem 1.5rem;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
    }
    .no-news {
        padding: 2rem;
        text-align: center;
        color: #6c757d;
    }
/*End-----------------------[ NewsTotal CSS ]------------------------*/

/*Start-----------------------[ NewsTotal CSS ]------------------------*/
/*End-----------------------[ NewsTotal CSS ]------------------------*/
