@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir/Vazir.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir/Vazir-Bold.woff2') format('woff2');
    font-weight: bold;
}
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir/Vazir-Light.woff2') format('woff2');
    font-weight: 300;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Vazir', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    background: #0e1621;
    color: #c8d6e5;
    line-height: 1.8;
}
.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.thumb-icon {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 6px;
}
.file-input-dash {
    padding: 10px !important;
    background: #f8fafc !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    width: 100% !important;
    cursor: pointer !important;
}
.file-size-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #64748b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
    border: 1px solid #1a3347;
    background: #0c2135;
}
.top-bar {
    background: linear-gradient(135deg, #070d15 0%, #0a1929 50%, #0c2135 100%);
    color: #7f8c9b;
    padding: 6px 0;
    font-size: 11px;
    border-bottom: 1px solid #1a2a3a;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar-left {
    display: flex;
    gap: 20px;
}
.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7b8d;
}
.top-bar-left i {
    color: #2e86ab;
    font-size: 11px;
}
.flag-container {
    display: flex;
    align-items: center;
}
.flag-icon {
    width: 26px;
    height: 17px;
    border-radius: 2px;
    border: 1px solid #1a2a3a;
}
.top-bar-clock, .top-bar-calendar {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7b8d;
}
.top-bar-clock i {
    color: #1b7a4e;
    font-size: 11px;
}
.top-bar-calendar i {
    color: #2e86ab;
    font-size: 11px;
}
.main-header {
    background: linear-gradient(135deg, #0a1929 0%, #0c2641 40%, #0e3350 70%, #0a1929 100%);
    padding: 14px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
    border-bottom: 2px solid #143d55;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-box {
    flex-shrink: 0;
}
.logo-svg {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}
.logo-text h1 {
    color: #d5e1ed;
    font-size: 13px;
    font-weight: bold;
}
.logo-text p {
    color: #2e86ab;
    font-size: 11px;
    margin-top: 1px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid #2a3f52;
    color: #7f8c9b;
    font-size: 18px;
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.mobile-menu-btn:hover {
    background: #1a2a3a;
    color: #d5e1ed;
}
.main-nav {
    background: linear-gradient(135deg, #0c1f30 0%, #0e2a40 50%, #0c1f30 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    border-bottom: 1px solid #1a3347;
}
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8a9bb0;
    text-decoration: none;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
}
.nav-link:hover {
    color: #d5e1ed;
    background: rgba(46,134,171,0.08);
}
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: #1b7a4e;
}
.nav-link i {
    font-size: 11px;
    color: #2e86ab;
}
.slogan-bar {
    background: linear-gradient(135deg, #1b2838 0%, #1c3a28 50%, #1b2838 100%);
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #243a2e;
}
.slogan-text {
    color: #d4a937;
    font-size: 13px;
    font-weight: bold;
    animation: sloganGlow 3s infinite;
}
.slogan-text i {
    color: #c0392b;
    font-size: 12px;
}
@keyframes sloganGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #070d15;
}
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: linear-gradient(135deg, #070d15 0%, #0a1929 30%, #0c2641 60%, #0e3350 100%);
    color: #d5e1ed;
    text-align: center;
    padding: 20px;
}
.slide-placeholder h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #d5e1ed;
}
.slide-placeholder h2 i {
    color: #1b7a4e;
}
.slide-placeholder p {
    font-size: 14px;
    color: #2e86ab;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(7,13,21,0.9));
    color: #c8d6e5;
    padding: 20px 18px 12px;
    font-size: 14px;
    font-weight: bold;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,25,41,0.8);
    color: #7f8c9b;
    border: 1px solid #1a3347;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.slider-btn:hover {
    background: rgba(27,122,78,0.6);
    color: #fff;
    border-color: #1b7a4e;
}
.slider-prev { right: 12px; }
.slider-next { left: 12px; }
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(127,140,155,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background: #1b7a4e;
    transform: scale(1.15);
}
.big-slogan-section {
    background: linear-gradient(135deg, #0a1929 0%, #0c2135 40%, #122a1e 70%, #0a1929 100%);
    padding: 35px 0;
    border-top: 1px solid #1a3347;
    border-bottom: 1px solid #1a3347;
}
.big-slogan {
    text-align: center;
}
.big-slogan-icon {
    font-size: 42px;
    color: #1b7a4e;
    margin-bottom: 10px;
}
.big-slogan h2 {
    font-size: 24px;
    color: #d4a937;
    margin-bottom: 8px;
}
.big-slogan p {
    font-size: 13px;
    color: #7f8c9b;
    max-width: 600px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 35px;
    padding-top: 20px;
}
.section-header h2 {
    font-size: 18px;
    color: #d5e1ed;
    margin-bottom: 8px;
}
.section-header h2 i {
    color: #2e86ab;
    margin-left: 6px;
}
.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1b7a4e, #2e86ab);
    margin: 0 auto;
    border-radius: 2px;
}
.trades-section {
    padding: 40px 0;
    background: #111d2b;
}
.trades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.trade-card {
    background: #152232;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1a3347;
    transition: transform 0.3s, border-color 0.3s;
}
.trade-card:hover {
    transform: translateY(-4px);
    border-color: #1b7a4e;
}
.trade-image {
    height: 160px;
    overflow: hidden;
}
.trade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.trade-card:hover .trade-image img {
    transform: scale(1.05);
}
.trade-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0c2135, #0e3350);
    color: #2e86ab;
    font-size: 40px;
}
.trade-info {
    padding: 16px;
}
.trade-info h3 {
    font-size: 13px;
    color: #d5e1ed;
    margin-bottom: 6px;
    line-height: 1.6;
}
.trade-info p {
    font-size: 11px;
    color: #6b7b8d;
}
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #1a3347;
    color: #2e86ab;
    border: 1px solid #2e86ab;
    padding: 5px 12px;
    border-radius: 5px;
    font-family: 'Vazir', sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s;
}
.btn-more:hover {
    background: #2e86ab;
    color: #fff;
}
:root {
    --primary-color: #1e3a8a; /* رنگ اصلی تم (آبی تیره) */
    --primary-light: #3b82f6; /* رنگ روشن‌تر */
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

/* استایل دکمه ادامه مطلب */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-more:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* استایل مینی‌پیج (مدال‌ها) */
.mini-page {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mini-page.active { display: flex; }
.mini-page-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}
.mini-page-content {
    position: relative;
    background: #fff;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 600px; /* سایز کوچک‌تر و مناسب‌تر */
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease;
}
.mini-page-content.mini-page-large { max-width: 750px; }

.mini-page-close {
    position: absolute;
    top: 15px;
    left: 15px; /* برای سایت راست‌چین چپ میاد */
    background: rgba(255,255,255,0.9);
    color: var(--text-color);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    z-index: 2;
}
.mini-page-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.mini-page-scroll {
    overflow-y: auto;
    height: 100%;
}
.mini-page-header-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.mini-page-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-page-text {
    padding: 25px;
}
.mini-page-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
}
.mini-page-summary {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
}
.mini-page-body {
    line-height: 1.8;
    color: #475569;
    font-size: 14px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px;
}
.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow: hidden !important; /* مخفی کردن اسکرول */
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); /* حرکت بسیار نرم */
    direction: ltr; /* برای درست کار کردن حرکت */
}
.gallery-scroll .gallery-item {
    min-width: 280px;
    max-width: 280px;
    height: 200px;
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    .gallery-scroll .gallery-item { 
        min-width: 200px; 
        max-width: 200px; 
        height: 180px; 
    }
}
.gallery-caption {
    direction: rtl;
    text-align: right;
}

/* استایل دکمه‌ها */
.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,25,41,0.8);
    color: #fff;
    border: 1px solid #1a3347;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-prev { right: -5px; }
.gallery-next { left: -5px; }
.gallery-prev:hover, .gallery-next:hover {
    background: #1b7a4e;
    color: #fff;
}

/* اصلاح دکمه‌های اسلایدر گالری */
.gallery-carousel-wrapper .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9) !important;
    color: #0c2135 !important;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gallery-carousel-wrapper .slider-btn:hover {
    background: #0c2135 !important;
    color: #fff !important;
}
.gallery-carousel-wrapper .gallery-prev { right: -5px; }
.gallery-carousel-wrapper .gallery-next { left: -5px; }

/* دکمه‌های اسلایدر گالری و هدر */
.slider-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 5;
}
.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.gallery-prev { right: -10px; }
.gallery-next { left: -10px; }
.definitions-section {
    padding: 40px 0;
    background: #0e1a28;
}
.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.definition-card {
    background: #152232;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #1a3347;
    border-right: 3px solid #1b7a4e;
    transition: border-color 0.3s;
}
.definition-card:hover {
    border-right-color: #2e86ab;
}
.definition-card h3 {
    color: #d5e1ed;
    font-size: 13px;
    margin-bottom: 8px;
}
.definition-card h3 i {
    color: #2e86ab;
}
.definition-card p {
    color: #6b7b8d;
    font-size: 11px;
    line-height: 1.9;
}
.board-section {
    padding: 40px 0;
    background: #111d2b;
}
.board-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.board-card {
    background: #152232;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    width: 185px;
    border: 1px solid #1a3347;
    transition: transform 0.3s, border-color 0.3s;
}
.board-card:hover {
    transform: translateY(-5px);
    border-color: #1b7a4e;
}
.board-image {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 2px solid #1a3347;
}
.board-card:hover .board-image {
    border-color: #1b7a4e;
}
.board-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.board-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0c2135, #0e3350);
    color: #2e86ab;
    font-size: 32px;
}
.board-info h3 {
    font-size: 12px;
    color: #d5e1ed;
    margin-bottom: 4px;
}
.board-position {
    display: inline-block;
    background: #1a3347;
    color: #2e86ab;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    border: 1px solid #2e86ab;
}
.services-section {
    padding: 40px 0;
    background: #0e1a28;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.service-card {
    background: #152232;
    border-radius: 10px;
    padding: 25px 16px;
    text-align: center;
    border: 1px solid #1a3347;
    border-top: 3px solid #1b7a4e;
    transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover {
    transform: translateY(-4px);
    border-top-color: #2e86ab;
}
.service-icon {
    font-size: 30px;
    color: #2e86ab;
    margin-bottom: 12px;
}
.service-card h3 {
    font-size: 12px;
    color: #d5e1ed;
    margin-bottom: 8px;
}
.service-card p {
    font-size: 11px;
    color: #6b7b8d;
}
.service-img {
    max-width: 100%;
    border-radius: 6px;
    margin-top: 8px;
}
.members-section {
    padding: 40px 0;
    background: #111d2b;
}
.members-table-wrapper {
    overflow-x: auto;
}
.members-table {
    width: 100%;
    border-collapse: collapse;
    background: #152232;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1a3347;
}
.members-table th {
    background: #0c2135;
    color: #8a9bb0;
    padding: 10px 12px;
    font-size: 11px;
    border-bottom: 1px solid #1a3347;
}
.members-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #1a2a3a;
    font-size: 11px;
    color: #8a9bb0;
}
.members-table tr:hover {
    background: #1a2a3a;
}
.text-center {
    text-align: center;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 18px;
}
.page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #152232;
    color: #6b7b8d;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #1a3347;
    transition: all 0.3s;
}
.page-link.active, .page-link:hover {
    background: #1b7a4e;
    color: #fff;
    border-color: #1b7a4e;
}
.news-section {
    padding: 40px 0;
    background: #0e1a28;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.news-card {
    background: #152232;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1a3347;
    transition: transform 0.3s, border-color 0.3s;
}
.news-card:hover {
    transform: translateY(-3px);
    border-color: #2e86ab;
}
.news-image {
    height: 160px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-info {
    padding: 16px;
}
.news-info h3 {
    font-size: 13px;
    color: #d5e1ed;
    margin-bottom: 6px;
}
.news-info p {
    font-size: 11px;
    color: #6b7b8d;
    margin-bottom: 8px;
}
.news-date {
    font-size: 10px;
    color: #4a5a6a;
}
.second-slogan-section {
    background: linear-gradient(135deg, #0c2135 0%, #122a1e 50%, #0c2135 100%);
    padding: 25px 0;
    border-top: 1px solid #1a3347;
    border-bottom: 1px solid #1a3347;
}
.second-slogan {
    text-align: center;
    color: #8a9bb0;
}
.second-slogan i {
    font-size: 24px;
    color: #1b7a4e;
    display: block;
    margin-bottom: 6px;
}
.second-slogan h3 {
    font-size: 14px;
    line-height: 1.8;
}
.complaint-section {
    padding: 35px 0;
    background: #0e1621;
}
.complaint-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid #1a3347;
    background: #152232;
    color: #6b7b8d;
    border-radius: 6px;
    font-family: 'Vazir', sans-serif;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
    background: #1b7a4e;
    color: #fff;
    border-color: #1b7a4e;
}
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
}
.alert-error {
    background: #2a1518;
    border: 1px solid #5c2a2a;
    color: #e8a0a0;
}
.alert-success {
    background: #152a1e;
    border: 1px solid #2a5c3a;
    color: #a0e8b0;
}
.alert ul {
    margin: 0;
    padding-right: 18px;
}
.complaint-form, .track-form {
    background: #152232;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #1a3347;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #8a9bb0;
    margin-bottom: 4px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid #1a3347;
    border-radius: 6px;
    font-family: 'Vazir', sans-serif;
    font-size: 12px;
    transition: border-color 0.3s;
    direction: rtl;
    background: #0e1a28;
    color: #c8d6e5;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #2e86ab;
    outline: none;
    background: #111d2b;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #4a5a6a;
}
.required {
    color: #c0392b;
    font-size: 12px;
}
.field-error {
    display: block;
    color: #e07070;
    font-size: 10px;
    margin-top: 3px;
}
.char-counter {
    text-align: left;
    font-size: 10px;
    color: #4a5a6a;
    margin-top: 2px;
}
.help-icon {
    display: inline-flex;
    cursor: pointer;
    color: #2e86ab;
    font-size: 13px;
}
.help-mini .mini-page-content {
    max-width: 350px;
    padding: 18px;
}
.help-mini .mini-page-content h4 {
    color: #d5e1ed;
    margin-bottom: 8px;
    font-size: 13px;
}
.help-mini .mini-page-content p {
    color: #8a9bb0;
    font-size: 11px;
    line-height: 1.8;
}
.attachments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.attachment-box {
    border: 1px dashed #1a3347;
    border-radius: 6px;
    padding: 10px 5px;
    text-align: center;
    transition: all 0.3s;
    background: #0e1a28;
}
.attachment-box:hover {
    border-color: #2e86ab;
    background: #111d2b;
}
.attachment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    color: #4a5a6a;
    font-size: 10px;
}
.attachment-label i {
    font-size: 18px;
    color: #2e86ab;
}
.file-input {
    display: none;
}
.btn-submit {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1b7a4e, #166b42);
    color: #d5e1ed;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-family: 'Vazir', sans-serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit:hover {
    background: linear-gradient(135deg, #166b42, #1b7a4e);
    color: #fff;
}
.track-result {
    background: #152232;
    padding: 20px;
    border-radius: 10px;
    margin-top: 18px;
    border: 1px solid #1a3347;
    border-right: 3px solid #1b7a4e;
}
.track-result h3 {
    color: #d5e1ed;
    margin-bottom: 12px;
    font-size: 14px;
}
.result-table {
    width: 100%;
    border-collapse: collapse;
}
.result-table th, .result-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #1a2a3a;
    text-align: right;
    font-size: 12px;
}
.result-table th {
    width: 130px;
    background: #0e1a28;
    color: #8a9bb0;
}
.result-table td {
    color: #c8d6e5;
}
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    background: #1a3347;
    color: #2e86ab;
    border: 1px solid #2e86ab;
}
.main-footer {
    background: linear-gradient(135deg, #070d15 0%, #0a1929 50%, #070d15 100%);
    color: #4a5a6a;
    padding: 35px 0 0;
    border-top: 1px solid #1a2a3a;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.footer-col h3 {
    color: #1b7a4e;
    font-size: 13px;
    margin-bottom: 12px;
}
.footer-col h3 i {
    margin-left: 4px;
}
.footer-col p {
    font-size: 11px;
    line-height: 1.9;
    margin-bottom: 6px;
    color: #5a6a7a;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 6px;
}
.footer-col ul li a {
    color: #5a6a7a;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.footer-col ul li a:hover {
    color: #2e86ab;
}
.footer-col ul li a i {
    color: #1b7a4e;
    font-size: 9px;
}
.footer-bottom {
    border-top: 1px solid #1a2a3a;
    padding: 12px 0;
    margin-top: 25px;
    text-align: center;
    font-size: 10px;
    color: #3a4a5a;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(7,13,21,0.7);
    z-index: 999;
}
.overlay.active {
    display: block;
}
.gallery-section {
    padding: 40px 0;
    background: #111d2b;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid #1a3347;
    transition: transform 0.3s, border-color 0.3s;
}
.gallery-item:hover {
    transform: scale(1.02);
    border-color: #2e86ab;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(7,13,21,0.9));
    color: #d5e1ed;
    padding: 15px 10px 8px;
    font-size: 12px;
    text-align: center;
}
.gallery-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #152232;
    color: #1a3347;
    font-size: 35px;
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.empty-text {
    color: #4a5a6a;
    font-size: 12px;
    text-align: center;
    padding: 20px;
    grid-column: 1 / -1;
}
.ltr-text {
    direction: ltr;
    text-align: right;
}
.definition-img {
    height: 160px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 15px -20px;
}
.definition-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.definition-body h3 {
    color: #d5e1ed;
    font-size: 13px;
    margin-bottom: 8px;
}
.definition-body h3 i {
    color: #2e86ab;
    margin-left: 4px;
}
.definition-body p {
    color: #6b7b8d;
    font-size: 11px;
    line-height: 1.9;
    margin-bottom: 10px;
}
.mini-page-header-img {
    width: calc(100% + 44px);
    margin: -22px -22px 18px -22px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.mini-page-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-section {
    padding: 45px 0;
    background: #0e1a28;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #1a3347;
    background: #152232;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.gallery-item:hover {
    transform: translateY(-4px);
    border-color: #2e86ab;
    box-shadow: 0 8px 25px rgba(46,134,171,0.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(7,13,21,0.92));
    color: #d5e1ed;
    padding: 20px 12px 10px;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.gallery-caption i {
    color: #2e86ab;
    font-size: 10px;
}
.gallery-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111d2b;
    color: #1a3347;
    gap: 8px;
}
.gallery-placeholder i {
    font-size: 32px;
    color: #1a3347;
}
.gallery-placeholder span {
    font-size: 11px;
    color: #2a3a4a;
}
.news-no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    background: #0c2135;
    color: #1a3347;
    font-size: 35px;
}
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
 .list-group-item-action.active {
        background-color: #0d6efd !important;
        border-color: #0d6efd !important;
    }
    .list-group-item {
        border: none;
    }
    .topbar-user .btn-view-site {
    background: #1a3347;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    margin-left: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topbar-user .btn-view-site:hover {
    background: #0c2135;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.gallery-slider .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.gallery-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.gallery-slider .slide.active {
    opacity: 1;
}
.gallery-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-slider .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12, 33, 53, 0.8);
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
}
.gallery-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    color: #0c2135;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: 0.3s;
}
.gallery-slider .slider-btn:hover {
    background: #0c2135;
    color: #fff;
}
.gallery-slider .slider-prev { right: 15px; }
.gallery-slider .slider-next { left: 15px; }

.help-icon {
    cursor: pointer;
    color: #0c2135;
    font-size: 16px;
    margin-right: 10px;
    display: inline-block;
}
.btn-view-site-topbar {
    background: #1a3347;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    margin-left: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-view-site-topbar:hover {
    background: #0c2135;
    color: #fff;
}

.help-icon {
    cursor: pointer;
    color: #0c2135;
    font-size: 16px;
    margin-right: 10px;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    aspect-ratio: 4/3;
    background: #f0f5fa;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12, 33, 53, 0.85);
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
}
.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7b8d;
    border: 1px dashed #ccc;
}
.gallery-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}
.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}
.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* scroll-behavior: smooth; حذف شد */
    scrollbar-width: none;
    padding-bottom: 10px;
}
.gallery-scroll::-webkit-scrollbar {
    display: none;
}
.gallery-scroll .gallery-item {
    min-width: 250px;
    max-width: 250px;
    height: 220px;
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    .gallery-scroll .gallery-item { min-width: 200px; max-width: 200px; height: 180px; }
}
.btn-view-site-topbar {
    background: #1a3347;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    margin-left: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-view-site-topbar:hover { background: #0c2135; color: #fff; }

.help-icon {
    cursor: pointer;
    color: #0c2135;
    font-size: 16px;
    margin-right: 10px;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    aspect-ratio: 4/3;
    background: #f0f5fa;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12, 33, 53, 0.85);
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
}
.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7b8d;
    border: 1px dashed #ccc;
}
.gallery-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}
.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.gallery-scroll::-webkit-scrollbar {
    display: none;
}
.gallery-scroll .gallery-item {
    min-width: 250px;
    max-width: 250px;
    height: 220px;
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    .gallery-scroll .gallery-item { min-width: 200px; max-width: 200px; height: 180px; }
}

.gallery-carousel-wrapper .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #0c2135;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gallery-carousel-wrapper .slider-btn:hover {
    background: #0c2135;
    color: #fff;
}
.gallery-carousel-wrapper .gallery-prev { right: -5px; }
.gallery-carousel-wrapper .gallery-next { left: -5px; }
.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.definition-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.definition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.definition-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f5fa;
}
.definition-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.definition-body {
    padding: 20px;
    text-align: right;
}
.definition-body h3 {
    color: #0c2135;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.definition-body p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.tag-badge {
    background: #eef2f7;
    color: #0c2135;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s ease;
    border: 1px solid #dde3ea;
    display: inline-block;
}
.tag-badge:hover {
    background: #0c2135;
    color: #fff;
    border-color: #0c2135;
}
.novin-credit {
    width: 100%;
    text-align: center;
    padding: 15px 10px;
    background: #0b1320;
    color: #ffffff;
    font-size: 14px;
    direction: rtl;
    font-family: inherit;
}

.novin-credit a {
    color: #20c997;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.novin-credit a:hover {
    color: #ffffff;
}
