
    i.icon,
    .ui.dropdown > .dropdown.icon,
    .icon,
    [class*="icon"]::before {
        font-family: 'Icons' !important;
    }
       .nav-title {
        color: white;
        margin: auto 10px;
       }
       /* منوی دسکتاپ */
        .ui.fixed.top.menu {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
            border: none !important;
            border-radius: 0 !important;
            height: 70px;
            display: flex;
            align-items: center;
            backdrop-filter: blur(10px);
            z-index: 999;
            /* top: 70px; */
        }

        .ui.menu .item {
            padding: 0 !important;
            background: transparent !important;
            border: none !important;
            margin: 0 4px;
        }

        .ui.menu .item::before {
            content: unset !important;
        }

        .ui.menu .item div {
            padding: 12px 20px;
            border-radius: 8px;
            color: #ffffff !important;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .ui.menu .item div::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transition: width 0.3s ease;
            z-index: -1;
        }

        .ui.menu .item div:hover::before {
            width: 100%;
        }

        .ui.menu .item div:hover {
            /* background: rgba(255, 255, 255, 0.15) !important; */
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        /* آیتم فعال */
        .ui.menu .active.item div {
            background: rgba(255, 255, 255, 0.25) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        /* دکمه همبرگر منو موبایل */
        .ham {
            position: fixed;
            z-index: 1001;
            top: 1rem;
            right: 1rem;
            width: 3.5rem;
            height: 3.5rem;
            border: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            cursor: pointer;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            transition: all 0.3s ease;
        }

        .ham:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }

        .ham:active {
            transform: scale(0.95);
        }

        .ham img {
            width: 24px;
            height: 24px;
            filter: brightness(0) invert(1);
        }

        .menuIcon {
            display: block;
        }

        .xIcon {
            display: none;
        }

        .showMenu ~ .ham .menuIcon {
            display: none;
        }

        .showMenu ~ .ham .xIcon {
            display: block;
        }

        /* منوی موبایل */
        .menu2 {
            z-index: 1000;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            list-style: none;
            padding: 5rem 2rem 2rem;
            margin: 0;
            overflow-y: auto;
        }

        .showMenu {
            transform: translateX(0) !important;
        }

        .menu2 li {
            padding: 0;
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.3s ease;
        }

        .showMenu li {
            opacity: 1;
            transform: translateX(0);
        }

        .showMenu li:nth-child(1) { transition-delay: 0.1s; }
        .showMenu li:nth-child(2) { transition-delay: 0.15s; }
        .showMenu li:nth-child(3) { transition-delay: 0.2s; }
        .showMenu li:nth-child(4) { transition-delay: 0.25s; }
        .showMenu li:nth-child(5) { transition-delay: 0.3s; }
        .showMenu li:nth-child(6) { transition-delay: 0.35s; }
        .showMenu li:nth-child(7) { transition-delay: 0.4s; }
        .showMenu li:nth-child(8) { transition-delay: 0.45s; }
        .showMenu li:nth-child(9) { transition-delay: 0.5s; }

        .menu2 .item {
            display: block;
            padding: 1rem 1.5rem;
            color: #ffffff !important;
            text-decoration: none;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .menu2 .item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .menu2 .item div {
            color: #ffffff !important;
        }

        /* هدر لوگو */
        .item[style*="width:100%"] {
            background: linear-gradient(90deg, rgba(102, 126, 234, 0) 0%, rgba(102, 126, 234, 1) 84%, rgba(118, 75, 162, 1) 100%) !important;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        /* لینک‌ها */
        a {
            color: #ffffff !important;
            text-decoration: none;
        }

        /* محتوای صفحه نمونه */
        .pusher {
            margin-top: 100px;
            padding: 2rem;
        }

        .demo-content {
            background: white;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            /* max-width: 1200px; */
            margin: 0 auto;
        }

        .demo-content h1 {
            color: #764ba2;
            margin-bottom: 1rem;
        }

        .demo-content p {
            line-height: 1.8;
            color: #333;
            margin-bottom: 1rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .ui.fixed.top.menu {
                display: none;
            }
        }

        @media (min-width: 769px) {
            .ham,
            .menu2 {
                display: none !important;
            }
        }

        /* استایل Dropdown Menu */
.ui.dropdown {
    position: relative;
}

.ui.dropdown .menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border: none !important;
    min-width: 200px;
    padding: 8px 0;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.ui.dropdown:hover .menu,
.ui.dropdown.active .menu {
    display: block !important;
    animation: dropdownFade 0.3s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .ui.dropdown .menu .item {
        padding: 12px 20px !important;
        color: #ffffff !important;
        background: transparent !important;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 4px 8px;
        display: block;
    }

    .ui.dropdown .menu .item:hover {
    
    /*     background: rgba(255, 255, 255, 0.2) !important; */
        transform: translateX(-5px);
    }

    .ui.dropdown .menu .item a {
        color: #ffffff !important;
        display: block;
        width: 100%;
    }

    .ui.dropdown .menu div {
        color: #ffffff !important;
    }

    .ui.dropdown > .dropdown.icon {
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .ui.dropdown:hover > .dropdown.icon,
    .ui.dropdown.active > .dropdown.icon {
        transform: rotate(180deg);
    }
        /* content */

         * {
        font-family: "IRANSans-web" !important
    }
    /* استایل بخش اسلایدر */
    .news-slider-wrapper {
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        margin-bottom: 30px;
    }

    .news-slide-item {
        display: flex;
        align-items: stretch;
        min-height: 400px;
        background: white;
    }

    .news-slide-image-section {
        flex: 1;
        position: relative;
        overflow: hidden;
    }

    .news-slide-img {
        width: 100%;
        height: 100%;
        min-height: 400px;
        object-fit: cover;
        display: block;
    }

    .news-slide-content-section {
        flex: 1;
        padding: 60px 50px;
        /* display: flex; */
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
        border-left: 1px solid #e8eaed;
    }

    .news-slide-title {
        /* font-size: 2.2em; */
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 25px;
        line-height: 1.4;
        text-align: right;
        position: relative;
        padding-right: 25px;
    }

    .news-slide-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 6px;
        height: 50px;
        background: linear-gradient(to bottom, #0066cc, #004c99);
        border-radius: 3px;
    }

    .news-slide-desc {
        /* font-size: 1.15em; */
        color: #4a5568;
        line-height: 2;
        text-align: justify;
        margin: 0;
    }

    /* دکمه‌های ناوبری */
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px !important;
        height: 50px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: #0066cc !important;
        transform: scale(1.1);
    }

    .swiper-button-next:hover::after,
    .swiper-button-prev:hover::after {
        color: white !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px !important;
        color: #0066cc !important;
        font-weight: bold !important;
    }

    .swiper-pagination {
        position: relative !important;
        margin-top: 25px !important;
    }

    .swiper-pagination-bullet {
        width: 12px !important;
        height: 12px !important;
        background: #d1d5db !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
    }

    .swiper-pagination-bullet-active {
        background: #0066cc !important;
        width: 35px !important;
        border-radius: 6px !important;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .news-slide-item {
            flex-direction: column;
        }

        .news-slide-img {
            min-height: 300px;
        }

        .news-slide-content-section {
            padding: 40px 30px;
            border-left: none;
            border-bottom: 1px solid #e8eaed;
        }

        /* .news-slide-title {
            font-size: 1.8em;
        } */

        /* .news-slide-desc {
            font-size: 1.05em;
        } */
    }

    @media (max-width: 576px) {
        .news-slide-content-section {
            padding: 30px 20px;
        }

        /* .news-slide-title {
            font-size: 1.5em;
        } */

        .news-slide-title::before {
            height: 40px;
        }
    }

    /* بخش نامه‌ها - طراحی جذاب و مدرن */
    .letters-container, .swiper-container-msg {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 16px;
        /* padding: 1px; */
        margin-bottom: 35px;
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    }

    .letters-inner {
        background: #ffffff;
        border-radius: 14px;
        padding: 45px;
    }

    .letters-header-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 35px;
    }

    .letters-main-title {
        /* font-size: 2.2em; */
        font-weight: 800;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .letters-icon {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        /* font-size: 1.3em; */
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

    .letters-table-wrapper {
        width: 100%;
    }

    .letters-table-header {
        display: grid;
        grid-template-columns: 150px 160px 1fr 180px;
        gap: 20px;
        align-items: center;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        padding: 22px 30px;
        border-radius: 12px;
        margin-bottom: 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .table-header-title {
        /* font-size: 1.05em; */
        font-weight: 700;
        color: #2c3e50;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .letters-list-wrapper {
        max-height: 480px;
        overflow-y: auto;
        padding-left: 8px;
    }

    .letter-row-item {
        display: grid;
        grid-template-columns: 150px 160px 1fr 180px;
        gap: 20px;
        align-items: center;
        /* padding: 22px 30px; */
        /* margin-bottom: 12px; */
        background: white;
        border: 2px solid #f0f2f5;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .letter-row-item::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .letter-row-item:hover {
        border-color: #667eea40;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
        transform: translateX(-5px);
    }

    .letter-row-item:hover::before {
        transform: scaleY(1);
    }

    .letter-date-cell {
        text-align: center;
        position: relative;
    }

    .date-display {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 10px 15px;
        border-radius: 10px;
        /* font-size: 0.95em; */
        font-weight: 600;
        display: inline-block;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    }

    .letter-number-cell {
        text-align: center;
    }

    .letter-number-badge {
        display: inline-block;
        background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
        color: #d35400;
        padding: 10px 20px;
        border-radius: 25px;
        font-weight: 700;
        /* font-size: 0.95em; */
        box-shadow: 0 4px 12px rgba(252, 182, 159, 0.3);
        position: relative;
    }

    .letter-number-badge::before {
        content: '#';
        margin-left: 3px;
    }

    .letter-title-cell {
        color: #2c3e50;
        font-size: 1.05em;
        line-height: 1.7;
        text-align: right;
        font-weight: 500;
        padding: 0 10px;
    }

    .letter-action-cell {
        text-align: center;
    }

    .btn-read-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white !important;
        padding: 12px 28px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
        /* font-size: 0.95em; */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .btn-read-more:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        color: white !important;
    }

    .btn-read-more::after {
        content: '←';
        /* font-size: 1.1em; */
        transition: transform 0.3s ease;
    }

    .btn-read-more:hover::after {
        transform: translateX(-3px);
    }

    /* اسکرول بار زیبا */
    .letters-list-wrapper::-webkit-scrollbar {
        width: 10px;
    }

    .letters-list-wrapper::-webkit-scrollbar-track {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        border-radius: 10px;
    }

    .letters-list-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 10px;
        border: 2px solid #f5f7fa;
    }

    .letters-list-wrapper::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

    /* Badge تعداد */
    .letters-count {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 8px 18px;
        border-radius: 20px;
        /* font-size: 0.9em; */
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    /* انیمیشن ورود */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .letter-row-item {
        animation: slideIn 0.4s ease-out backwards;
    }

    .letter-row-item:nth-child(1) { animation-delay: 0.05s; }
    .letter-row-item:nth-child(2) { animation-delay: 0.1s; }
    .letter-row-item:nth-child(3) { animation-delay: 0.15s; }
    .letter-row-item:nth-child(4) { animation-delay: 0.2s; }
    .letter-row-item:nth-child(5) { animation-delay: 0.25s; }

    /* Responsive */
    @media (max-width: 992px) {
        .letters-table-header,
        .letter-row-item {
            grid-template-columns: 130px 140px 1fr 150px;
            gap: 15px;
            /* padding: 18px 25px; */
        }

        .letters-inner {
            padding: 35px 25px;
        }
    }

    @media (max-width: 768px) {
        .letters-table-header {
            display: none;
        }

        .letter-row-item {
            grid-template-columns: 1fr;
            gap: 15px;
            /* padding: 25px; */
        }

        .letter-date-cell,
        .letter-number-cell,
        .letter-title-cell,
        .letter-action-cell {
            text-align: right;
        }

        .date-display,
        .letter-number-badge {
            display: block;
            text-align: center;
        }

        .btn-read-more {
            width: 100%;
            display: flex;
        }

        .letters-list-wrapper {
            max-height: none;
        }

        /* .letters-main-title {
            font-size: 1.7em;
        } */
    }

    
    /* بخش اخبار کانون - طراحی فوق‌العاده جذاب */
    .news-section-container {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 18px;
        /* padding: 1px; */
        margin-bottom: 35px;
        box-shadow: 0 15px 50px rgba(102, 126, 234, 0.35);
        position: relative;
    }

   
    .news-section-container::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 18px;
        opacity: 0.3;
        filter: blur(15px);
        z-index: -1;
    }

    .news-section-inner {
        background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
        border-radius: 16px;
        padding: 50px;
    }

    .news-header-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 45px;
        position: relative;
    }

    .news-header-section::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(to left, transparent, #667eea, #764ba2, transparent);
        opacity: 0.3;
    }

    .news-main-title {
        /* font-size: 2.4em; */
        font-weight: 800;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 18px;
        position: relative;
    }

    .news-icon {
        width: 55px;
        height: 55px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5em;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        position: relative;
    }

    .news-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 50%;
        opacity: 0.2;
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.2;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.3);
            opacity: 0;
        }
    }

    .news-count {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 10px 22px;
        border-radius: 25px;
        font-size: 1em;
        font-weight: 700;
        box-shadow: 0 5px 18px rgba(102, 126, 234, 0.35);
        position: relative;
        overflow: hidden;
    }

    .news-count::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s;
    }

    .news-count:hover::before {
        left: 100%;
    }

    /* کارت‌های خبر */
    .swiper-container-news {
        overflow: hidden !important;
        padding: 15px 8px 50px 8px;
    }

    .news-card-item {
        background: white;
        border-radius: 18px;
        overflow: hidden;
        border: 2px solid transparent;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        height: 460px;
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .news-card-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: 1;
        pointer-events: none;
        border-radius: 16px;
    }

    .news-card-item:hover {
        border-color: #667eea59;
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
        transform: translateY(-8px) scale(1.01);
    }

    .news-card-item:hover::before {
        opacity: 0.05;
    }

    .news-image-wrapper {
        width: 100%;
        height: 240px;
        overflow: hidden;
        position: relative;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .news-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
        z-index: 2;
        transition: opacity 0.5s ease;
    }

    .news-card-item:hover .news-image-overlay {
        opacity: 0.3;
    }

    .news-card-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
    }

    .news-card-item:hover .news-card-image {
        transform: scale(1.2) rotate(2deg);
    }

    .news-featured-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #d35400;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 0.8em;
        z-index: 3;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }

    .news-card-content {
        padding: 28px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
        background: white;
    }

    .news-meta-section {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .news-meta-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 9px 16px;
        border-radius: 25px;
        font-size: 0.88em;
        font-weight: 600;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .news-date-badge {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .news-number-badge {
        background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
        color: #d35400;
        box-shadow: 0 4px 12px rgba(252, 182, 159, 0.3);
    }

    .news-number-badge::before {
        content: '#';
        font-weight: 800;
    }

    .news-card-item:hover .news-meta-badge {
        transform: translateY(-3px) scale(1.05);
    }

    .news-card-item:hover .news-date-badge {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }

    .news-card-item:hover .news-number-badge {
        box-shadow: 0 6px 20px rgba(252, 182, 159, 0.5);
    }

    .news-divider {
        height: 3px;
        background: linear-gradient(to left, transparent, #e0e0e0, transparent);
        margin: 18px 0;
        position: relative;
    }

    .news-divider::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 2px;
    }

    .news-subject-label {
        font-size: 0.82em;
        color: #888;
        margin-bottom: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        text-align: right;
    }

    .news-title-text {
        font-size: 1.15em;
        font-weight: 700;
        color: #2c3e50;
        line-height: 1.8;
        text-align: right;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .news-card-item:hover .news-title-text {
        color: #667eea;
        transform: translateX(-3px);
    }

    /* Read More Indicator */
    .read-more-indicator {
        margin-top: auto;
        padding-top: 15px;
        text-align: left;
        font-size: 0.9em;
        color: #667eea;
        font-weight: 600;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.4s ease;
    }

    .news-card-item:hover .read-more-indicator {
        opacity: 1;
        transform: translateX(0);
    }

    .read-more-indicator::after {
        content: '←';
        margin-right: 8px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .news-card-item:hover .read-more-indicator::after {
        transform: translateX(-5px);
    }

    /* Pagination فوق‌العاده زیبا */
    .swiper-pagination-news {
        position: relative !important;
        margin-top: 35px !important;
        text-align: center !important;
    }

    .swiper-pagination-news .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
        background: #d1d5db;
        opacity: 1;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0 8px;
        position: relative;
    }

    .swiper-pagination-news .swiper-pagination-bullet::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .swiper-pagination-news .swiper-pagination-bullet-active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 40px;
        border-radius: 7px;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
    }

    .swiper-pagination-news .swiper-pagination-bullet:hover::before {
        opacity: 0.2;
    }

    /* انیمیشن ورود */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .news-card-item {
        animation: fadeInUp 0.7s ease-out backwards;
    }

    .swiper-slide:nth-child(1) .news-card-item { animation-delay: 0.1s; }
    .swiper-slide:nth-child(2) .news-card-item { animation-delay: 0.2s; }
    .swiper-slide:nth-child(3) .news-card-item { animation-delay: 0.3s; }
    .swiper-slide:nth-child(4) .news-card-item { animation-delay: 0.4s; }

    /* Responsive */
    @media (max-width: 768px) {
        .news-section-inner {
            padding: 35px 25px;
        }

        /* .news-main-title {
            font-size: 1.8em;
        } */

        .news-icon {
            width: 45px;
            height: 45px;
            font-size: 1.2em;
        }

        .news-card-item {
            height: auto;
            min-height: 420px;
        }

        .news-image-wrapper {
            height: 220px;
        }

        .news-card-content {
            padding: 22px;
        }
    }

    /* ticket */

        /* فرم جستجو */
        .search-form-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 18px;
            padding: 2px;
            margin-bottom: 35px;
            box-shadow: 0 15px 50px rgba(102, 126, 234, 0.35);
            position: relative;
        }

        .search-form-container::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 18px;
            opacity: 0.3;
            filter: blur(15px);
            z-index: -1;
        }

        .search-form-inner {
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            padding: 40px;
        }

        .search-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 35px;
            position: relative;
        }

        .search-header::after {
            content: '';
            position: absolute;
            bottom: -18px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(to left, transparent, #667eea, #764ba2, transparent);
            opacity: 0.3;
        }

        .search-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.4em;
            box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
        }

        .search-title {
            /* font-size: 1.8em; */
            font-weight: 800;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
        }

        .ui.right.labeled.input > .label {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            color: white !important;
            font-weight: 600 !important;
            border: none !important;
            /* border-radius: 10px 0 0 10px !important; */
            padding: 12px 20px !important;
            font-size: 0.95em !important;
        }

        .ui.right.labeled.input input {
            border: 2px solid #e0e0e0 !important;
            /* border-radius: 0 10px 10px 0 !important; */
            padding: 12px 18px !important;
            transition: all 0.3s ease !important;
            font-size: 0.95em !important;
        }

        .ui.right.labeled.input input:focus {
            border-color: #667eea !important;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
        }

        /* کانتینر نتایج */
        .results-wrapper {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        /* Grid کارت‌ها */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 20px;
        }

        /* کارت نتایج */
        .results-container {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            border: 2px solid transparent;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .results-container:hover {
            border-color: #667eea40;
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
            transform: translateY(-8px);
        }

        /* بخش تصویر در بالای کارت */
        .result-image-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 0;
            height: 220px;
            position: relative;
            overflow: hidden;
        }

        .result-image-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
            z-index: 0;
        }

        .result-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
            position: relative;
            z-index: 1;
        }

        .results-container:hover .result-image {
            transform: scale(1.15) rotate(2deg);
        }

        /* محتوای کارت */
        .result-content {
            padding: 25px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .result-row {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            align-items: flex-start;
        }

        .result-row:last-child {
            margin-bottom: 0;
        }

        .result-label {
            font-weight: 700;
            color: #667eea;
            font-size: 0.9em;
            text-align: right;
            white-space: nowrap;
            min-width: 80px;
        }

        .result-value {
            color: #2c3e50;
            font-weight: 500;
            line-height: 1.7;
            flex: 1;
        }

        .result-date {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 6px 14px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85em;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
        }

        .result-number {
            display: inline-block;
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            color: #d35400;
            padding: 6px 14px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85em;
            box-shadow: 0 3px 10px rgba(252, 182, 159, 0.3);
        }

        .result-number::before {
            content: '#';
            margin-left: 3px;
        }

        .result-title {
            font-size: 1em;
            font-weight: 700;
            color: #1a1a1a;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .result-desc {
            font-size: 0.88em;
            line-height: 1.7;
            color: #555;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .result-attachment {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            color: #155724;
            padding: 5px 12px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.85em;
        }

        .result-attachment::before {
            content: '📎';
        }

        .result-no-attachment {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
            color: #721c24;
            padding: 5px 12px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.85em;
        }

        .result-no-attachment::before {
            content: '✕';
        }

        /* بخش دکمه‌ها */
        .result-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: auto;
            padding-top: 20px;
        }

        .btn-images {
            width: 100%;
            background: linear-gradient(135deg, #de6262 0%, #c73939 100%);
            color: white;
            padding: 11px 20px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(222, 98, 98, 0.3);
            border: none;
            cursor: pointer;
            font-size: 0.9em;
        }

        .btn-images:hover {
            background: linear-gradient(135deg, #c73939 0%, #de6262 100%);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(222, 98, 98, 0.4);
        }

        .btn-read-detail {
            width: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 11px 20px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            border: none;
            font-size: 0.9em;
        }

        .btn-read-detail:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .btn-read-detail::after {
            content: '←';
            transition: transform 0.3s ease;
        }

        .btn-read-detail:hover::after {
            transform: translateX(-5px);
        }

        /* پیام خالی */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        .empty-icon {
            font-size: 4em;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-text {
            font-size: 1.2em;
            color: #888;
            font-weight: 600;
        }

        /* Pagination */
        .pagination-container {
            margin-top: 40px;
            padding: 30px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            display: flex;
            justify-content: center;
        }

        .pagination-list {
            display: flex;
            gap: 8px;
            list-style: none;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .pagination-item {
            display: inline-block;
        }

        .pagination-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 45px;
            height: 45px;
            padding: 0 12px;
            background: white;
            color: #667eea !important;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            font-size: 0.95em;
        }

        .pagination-link:hover:not(.disabled):not(.active) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        }

        .pagination-link.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            cursor: default;
        }

        .pagination-link.disabled {
            background: #f5f5f5;
            color: #ccc;
            border-color: #e0e0e0;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .pagination-arrow {
            padding: 0;
            width: 45px;
        }

        .pagination-arrow i {
            margin: 0 !important;
            font-size: 1.2em;
        }

        .pagination-dots {
            border: none;
            background: transparent;
            color: #888;
            cursor: default;
        }

        .pagination-dots:hover {
            transform: none;
            box-shadow: none;
            background: transparent;
            border: none;
        }

        /* Modal تصاویر */
        .ui.modal {
            border-radius: 16px !important;
            overflow: hidden;
        }

        .ui.modal > .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            color: white !important;
            font-weight: 700 !important;
            padding: 20px 30px !important;
            border-radius: 16px 16px 0 0 !important;
        }

        .ui.modal > .content {
            padding: 30px !important;
            background: #fafbfc !important;
        }

        #images {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            padding: 10px;
        }

        .image-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
        }

        .image-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
        }

        .image-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        /* انیمیشن ورود */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .results-container {
            animation: slideInUp 0.6s ease-out backwards;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .cards-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                gap: 25px;
            }
        }

        @media (max-width: 992px) {
            .cards-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
            }

            .search-form-inner {
                padding: 30px 20px;
            }

            #images {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }

            .result-row {
                flex-direction: column;
                gap: 8px;
                align-items: flex-start;
            }

            .result-label {
                min-width: auto;
            }

            .result-content {
                padding: 20px;
            }

            /* .search-title {
                font-size: 1.4em;
            } */

            .pagination-list {
                gap: 5px;
            }

            .pagination-link {
                min-width: 38px;
                height: 38px;
                font-size: 0.85em;
                padding: 0 8px;
            }

            .pagination-arrow {
                width: 38px;
            }

            #images {
                grid-template-columns: 1fr;
            }
        }


        /* فرم جستجو */
        .search-form-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 18px;
            padding: 2px;
            margin-bottom: 35px;
            box-shadow: 0 15px 50px rgba(102, 126, 234, 0.35);
            position: relative;
        }

        .search-form-container::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 18px;
            opacity: 0.3;
            filter: blur(15px);
            z-index: -1;
        }

        .search-form-inner {
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            padding: 40px;
        }

        .search-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
            position: relative;
        }

        .search-header::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(to left, transparent, #667eea, #764ba2, transparent);
            opacity: 0.3;
        }

        .search-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.4em;
            box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
        }

        .search-title {
            /* font-size: 1.8em; */
            font-weight: 800;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
        }

        .ui.left.labeled.input > .label {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            color: white !important;
            font-weight: 600 !important;
            border: none !important;
            /* border-radius: 10px 0 0 10px !important; */
            padding: 12px 20px !important;
            font-size: 0.95em !important;
        }

        .ui.left.labeled.input input {
            border: 2px solid #e0e0e0 !important;
            border-radius: 0 10px 10px 0 !important;
            padding: 12px 18px !important;
            transition: all 0.3s ease !important;
            font-size: 0.95em !important;
        }

        .ui.left.labeled.input input:focus {
            border-color: #667eea !important;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
        }

        /* کانتینر نتایج */
        .results-wrapper {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        /* Grid کارت‌ها */
        .downloads-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 25px;
            margin-bottom: 20px;
        }

        /* کارت دانلود */
        .download-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid transparent;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .download-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .download-card:hover {
            border-color: #667eea40;
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
            transform: translateY(-8px);
        }

        .download-card:hover::before {
            transform: scaleX(1);
        }

        /* محتوای کارت */
        .download-content {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
        }

        .download-row {
            display: flex;
            gap: 12px;
            margin-bottom: 18px;
            align-items: flex-start;
        }

        .download-row:last-of-type {
            margin-bottom: 0;
        }

        .download-label {
            font-weight: 700;
            color: #667eea;
            font-size: 0.9em;
            white-space: nowrap;
            min-width: 75px;
            position: relative;
            padding-right: 12px;
        }

        .download-label::before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
        }

        .download-value {
            color: #2c3e50;
            font-weight: 500;
            line-height: 1.7;
            flex: 1;
        }

        .download-date {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 6px 14px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85em;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
        }

        .download-title {
            font-size: 1.05em;
            font-weight: 700;
            color: #1a1a1a;
            line-height: 1.6;
        }

        .download-desc {
            font-size: 0.88em;
            line-height: 1.7;
            color: #555;
            margin-top: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* دکمه دانلود */
        .download-button-section {
            margin-top: auto;
            padding-top: 25px;
        }

        .btn-download {
            width: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 14px 20px;
            border-radius: 12px;
            font-weight: 700;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
            border: none;
            cursor: pointer;
            font-size: 0.95em;
            position: relative;
            overflow: hidden;
        }

        .btn-download::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transition: width 0.6s ease, height 0.6s ease;
        }

        .btn-download:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-download:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
            color: white;
        }

        .download-icon {
            width: 24px;
            height: 24px;
            filter: brightness(0) invert(1);
            transition: transform 0.3s ease;
        }

        .btn-download:hover .download-icon {
            transform: translateY(3px);
        }

        /* پیام خالی */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        .empty-icon {
            font-size: 5em;
            margin-bottom: 25px;
            opacity: 0.4;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .empty-text {
            font-size: 1.3em;
            color: #888;
            font-weight: 600;
        }

        /* Pagination */
        .pagination-container {
            margin-top: 40px;
            padding: 30px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            display: flex;
            justify-content: center;
        }

        .pagination-list {
            display: flex;
            gap: 8px;
            list-style: none;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .pagination-item {
            display: inline-block;
        }

        .pagination-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 45px;
            height: 45px;
            padding: 0 12px;
            background: white;
            color: #667eea;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            font-size: 0.95em;
        }

        .pagination-link:hover:not(.disabled):not(.active) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        }

        .pagination-link.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            cursor: default;
        }

        .pagination-link.disabled {
            background: #f5f5f5;
            color: #ccc;
            border-color: #e0e0e0;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .pagination-arrow {
            padding: 0;
            width: 45px;
        }

        .pagination-arrow i {
            margin: 0 !important;
            font-size: 1.2em;
        }

        .pagination-dots {
            border: none;
            background: transparent;
            color: #888;
            cursor: default;
        }

        .pagination-dots:hover {
            transform: none;
            box-shadow: none;
            background: transparent;
            border: none;
        }

        /* انیمیشن ورود */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .download-card {
            animation: fadeInUp 0.6s ease-out backwards;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .downloads-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .downloads-grid {
                grid-template-columns: 1fr;
            }

            .download-row {
                flex-direction: column;
                gap: 8px;
                align-items: flex-start;
            }

            .download-label {
                min-width: auto;
            }

            .download-content {
                padding: 25px;
            }

            /* .search-title {
                font-size: 1.4em;
            } */

            .search-form-inner {
                padding: 30px 20px;
            }

            .pagination-list {
                gap: 5px;
            }

            .pagination-link {
                min-width: 38px;
                height: 38px;
                font-size: 0.85em;
                padding: 0 8px;
            }

            .pagination-arrow {
                width: 38px;
            }
        }


       /* کانتینر اصلی اسلایدر */
.swiper-container-msg {
    width: 100%;
    margin: 0 auto 40px;
}

/* اسلایدر اخبار */
.segment-slider,
.news-slider-wrapper {
    height: 500px;
    margin-bottom: 35px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100%;
    background: #00000000 !important;
}

.swiper-wrapper {
    height: 100%;
}

.swiper-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* آیتم خبر */
.news-slide-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* بخش تصویر */
.news-slide-image-section {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.swiper-slide:hover .news-slide-img {
    transform: scale(1.05);
}

/* بخش محتوا */
.news-slide-content-section {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    color: #fff;
    position: relative;
    z-index: 2;
}

/* عنوان خبر */
.news-slide-title {
    font-size: 2em;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* color: #ffffff; */
}

/* توضیحات خبر */
.news-slide-desc {
    font-size: 1.1em;
    line-height: 2;
    text-align: justify;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* دکمه‌های ناوبری */
.swiper-button-next,
.swiper-button-prev {
    width: 55px !important;
    height: 55px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px !important;
    color: #667eea !important;
    font-weight: bold !important;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: white !important;
}

/* نقاط صفحه‌بندی */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: white !important;
    width: 40px !important;
    border-radius: 7px !important;
}

/* Responsive */
@media (max-width: 992px) {
    .news-slide-item {
        flex-direction: column;
    }
    
    .news-slide-image-section,
    .news-slide-content-section {
        width: 100%;
        height: 50%;
    }
    
    .news-slide-content-section {
        padding: 30px 25px;
    }
    
    .news-slide-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .news-slide-desc {
        font-size: 0.95em;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 576px) {
    .segment-slider,
    .news-slider-wrapper {
        height: 400px;
    }
    
    .news-slide-content-section {
        padding: 20px;
    }
    
    .news-slide-title {
        font-size: 1.2em;
    }
    
    .news-slide-desc {
        font-size: 0.9em;
        -webkit-line-clamp: 2;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px !important;
    }
}
        /* فرم جستجو */
        .search-form-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 18px;
            padding: 2px;
            margin-bottom: 35px;
            box-shadow: 0 15px 50px rgba(102, 126, 234, 0.35);
            position: relative;
        }

        .search-form-container::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 18px;
            opacity: 0.3;
            filter: blur(15px);
            z-index: -1;
        }

        .search-form-inner {
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            padding: 40px;
        }

        .search-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
            position: relative;
        }

        .search-header::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(to left, transparent, #667eea, #764ba2, transparent);
            opacity: 0.3;
        }

        .search-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.4em;
            box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
        }

        .search-title {
            font-size: 1.8em;
            font-weight: 800;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
        }

        .ui.left.labeled.input > .label {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            color: white !important;
            font-weight: 600 !important;
            border: none !important;
            /* border-radius: 10px 0 0 10px !important; */
            padding: 12px 20px !important;
            font-size: 0.95em !important;
        }

        .ui.left.labeled.input input {
            border: 2px solid #e0e0e0 !important;
            border-radius: 0 10px 10px 0 !important;
            padding: 12px 18px !important;
            transition: all 0.3s ease !important;
            font-size: 0.95em !important;
        }

        .ui.left.labeled.input input:focus {
            border-color: #667eea !important;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
        }

        /* کانتینر نتایج */
        .results-wrapper {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        /* Grid کارت‌ها */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 30px;
            margin-bottom: 20px;
        }

        /* کارت خبر */
        .news-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid transparent;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .news-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: scaleX(0);
            transition: transform 0.4s ease;
            z-index: 1;
        }

        .news-card:hover {
            border-color: #667eea40;
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
            transform: translateY(-8px);
        }

        .news-card:hover::before {
            transform: scaleX(1);
        }

        /* محتوای کارت */
        .news-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
        }

        .news-meta {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .news-date-badge {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 6px 14px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85em;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
        }

        .news-number-badge {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            color: #d35400;
            padding: 6px 14px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85em;
            box-shadow: 0 3px 10px rgba(252, 182, 159, 0.3);
        }

        .news-number-badge::before {
            content: '#';
            margin-left: 3px;
        }

        .news-divider {
            height: 2px;
            background: linear-gradient(to left, transparent, #e0e0e0, transparent);
            margin: 18px 0;
        }

        .news-title {
            font-size: 1.1em;
            font-weight: 700;
            color: #1a1a1a;
            line-height: 1.6;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-description {
            font-size: 0.9em;
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* دکمه */
        .news-button-section {
            margin-top: auto;
        }

        .btn-read-more {
            width: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            border: none;
            font-size: 0.95em;
        }

        .btn-read-more:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .btn-read-more::after {
            content: '←';
            transition: transform 0.3s ease;
        }

        .btn-read-more:hover::after {
            transform: translateX(-5px);
        }

        /* پیام خالی */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        .empty-icon {
            font-size: 5em;
            margin-bottom: 25px;
            opacity: 0.4;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .empty-text {
            font-size: 1.3em;
            color: #888;
            font-weight: 600;
        }

        /* Pagination */
        .pagination-container {
            margin-top: 40px;
            padding: 30px;
            background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            display: flex;
            justify-content: center;
        }

        .pagination-list {
            display: flex;
            gap: 8px;
            list-style: none;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .pagination-item {
            display: inline-block;
        }

        .pagination-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 45px;
            height: 45px;
            padding: 0 12px;
            background: white;
            color: #667eea;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            font-size: 0.95em;
        }

        .pagination-link:hover:not(.disabled):not(.active) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        }

        .pagination-link.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            cursor: default;
        }

        .pagination-link.disabled {
            background: #f5f5f5;
            color: #ccc;
            border-color: #e0e0e0;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .pagination-arrow {
            padding: 0;
            width: 45px;
        }

        .pagination-arrow i {
            margin: 0 !important;
            font-size: 1.2em;
        }

        .pagination-dots {
            border: none;
            background: transparent;
            color: #888;
            cursor: default;
        }

        .pagination-dots:hover {
            transform: none;
            box-shadow: none;
            background: transparent;
            border: none;
        }

        /* انیمیشن ورود */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .news-card {
            animation: fadeInUp 0.6s ease-out backwards;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .news-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                gap: 25px;
            }
        }

        @media (max-width: 768px) {
            .segment-slider {
                height: 500px;
                border-radius: 15px;
            }

            .swiper-slide {
                padding: 40px 20px;
            }

            .swiper-slide .title {
                font-size: 1.5em;
            }

            .swiper-slide .description {
                font-size: 0.95em;
            }

            .swiper-button-next,
            .swiper-button-prev {
                display: none;
            }

            .news-grid {
                grid-template-columns: 1fr;
            }

            .news-content {
                padding: 20px;
            }

            .search-title {
                font-size: 1.4em;
            }

            .search-form-inner {
                padding: 30px 20px;
            }

            .pagination-list {
                gap: 5px;
            }

            .pagination-link {
                min-width: 38px;
                height: 38px;
                font-size: 0.85em;
                padding: 0 8px;
            }

            .pagination-arrow {
                width: 38px;
            }
        }