﻿/*@font-face {
    font-family: 'Vazir';
    src: url('/PanelAdmin/dist/fonts/Vazir-Light.woff2') format('woff2'), url('/PanelAdmin/dist/fonts/Vazir-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('/PanelAdmin/dist/fonts/Vazir-Regular.woff2') format('woff2'), url('/PanelAdmin/dist/fonts/Vazir-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}
*/
@font-face {
    font-family: 'Vazir';
    src: url('/PanelAdmin/dist/fonts/Vazir-Bold.woff2') format('woff2'), url('/PanelAdmin/dist/fonts/Vazir-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
    color: #333;
    overflow-x: hidden;
    padding-top: 130px;
    font-size: 18px;
    transition: font-size 0.3s ease, filter 0.3s ease;
}

.high-contrast body {
    background: #000;
    color: #fff;
    filter: contrast(1.5);
}

.high-contrast .header {
    background: #222;
}

.high-contrast .ServiceItem {
    background: #444;
}

.high-contrast .news-slide-content {
    background: #333;
}

.grayscale {
    filter: grayscale(100%);
}

.header {
    background: linear-gradient(90deg, #003087, #004d99);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed; 
    top: 0; 
    width: 100%;
    z-index: 1000;
}

.adl-logo img {
    width: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

    .adl-logo img:hover {
        transform: scale(1.1);
    }


.mobile-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* موبایل */
@media (max-width: 768px) {
    .mobile-logo {
        width: 40px;
        height: 40px;
    }
}

/* موبایل کوچک */
@media (max-width: 576px) {
    .mobile-logo {
        width: 35px;
        height: 35px;
    }
}


.MainNav li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

    .MainNav li a:hover {
        color: #00b4d8;
    }

.MobileBottomMenu {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, #003087, #004d99);
    color: #ffffff;
    height: 70px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

    .MobileBottomMenu svg {
        width: 28px;
        height: 28px;
        stroke: #ffffff;
        transition: transform 0.3s ease;
    }

    .MobileBottomMenu a:hover svg {
        transform: scale(1.2);
    }

.ServiceItem {
    background: linear-gradient(135deg, #003087, #0056b3);
    color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 48, 135, 0.2);
}

    .ServiceItem:hover {
        transform: translateY(-10px);
        background: linear-gradient(135deg, #0056b3, #007bff);
        box-shadow: 0 10px 20px rgba(0, 48, 135, 0.3);
    }

.ServiceSVGbox {
    background-color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
}

    .ServiceSVGbox svg {
        width: 36px;
        height: 36px;
        stroke: #003087;
        transition: stroke 0.3s ease;
    }

.ServiceItem:hover .ServiceSVGbox svg {
    stroke: #00b4d8;
}

.card-body {
    text-align: center;
    padding: 1.5rem;
}

.CopyRightBox {
    background: linear-gradient(90deg, #003087, #004d99);
    color: #ffffff;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .CopyRightBox p {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .CopyRightBox .social-icons a {
        color: #ffffff;
        margin: 0 0.5rem;
        transition: color 0.3s ease;
        text-decoration: none;
    }

        .CopyRightBox .social-icons a:hover {
            color: #00b4d8;
        }

.link-card {
    width: 100%;
    max-width: 200px;
    transition: all 0.3s ease;
}

.link-card-inner {
    background: linear-gradient(135deg, #003087, #0056b3);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 48, 135, 0.2);
    transition: all 0.3s ease;
}

.link-card:hover .link-card-inner {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #0056b3, #007bff);
    box-shadow: 0 8px 15px rgba(0, 48, 135, 0.3);
}

.link-card .card-body {
    padding: 1rem;
    text-align: center;
}

.link-card span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
}

.link-card:hover span {
    color: #00b4d8;
}

.CopyRightBox .links .row {
    justify-content: flex-start;
}

.CopyRightBox .links .col-6 {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .CopyRightBox .links .row {
        justify-content: center;
    }

    .CopyRightBox .links .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .CopyRightBox .copyright-section {
        order: 3;
        margin-top: 1.5rem;
    }

    .CopyRightBox .social-icons-section {
        order: 2;
    }

    .CopyRightBox .links-section {
        order: 1;
    }

    .MobileMenuOverlay.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .MenuMobile {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background: #ffffff;
        color: #333;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        padding: 20px;
        overflow-y: auto;
    }

        .MenuMobile.active {
            right: 0;
        }

        .MenuMobile ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .MenuMobile ul li {
                margin-bottom: 1rem;
            }

                .MenuMobile ul li a {
                    color: #003087;
                    text-decoration: none;
                    font-size: 1.2rem;
                    padding: 0.5rem 1rem;
                    display: block;
                    transition: background 0.3s ease;
                }

                    .MenuMobile ul li a:hover {
                        background: #f0f4f8;
                        border-radius: 5px;
                    }

    .MobileHeader {
        position: sticky;
        top: 0;
        z-index: 1001;
    }

    .HamburgerMenuTrigger {
        font-size: 1.5rem;
        color: #ffffff;
        cursor: pointer;
        padding: 10px;
    }

    .news-slide {
        display: none;
        margin-bottom: 1rem;
    }

        .news-slide.active {
            display: block;
        }

    .link-card {
        max-width: 150px;
    }

        .link-card .card-body {
            padding: 0.75rem;
        }

        .link-card span {
            font-size: 0.85rem;
        }
    /* Mobile Search Adjustments */
    .mobile-search-container {
        margin: 0.5rem 1rem;
        position: relative;
    }

        .mobile-search-container .form-control {
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 20px;
            padding: 8px 15px 8px 40px; /* Smaller padding */
            font-size: 0.9rem; /* Smaller font size */
            direction: rtl;
            color: #333;
            width: 100%;
        }

            .mobile-search-container .form-control:focus {
                outline: none;
                box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
            }

        .mobile-search-container .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #003087;
            z-index: 1;
            font-size: 0.9rem; /* Smaller icon */
        }

    .mobile-search-results {
        margin-top: 0.5rem;
        max-height: 300px;
        overflow-y: auto;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
    }
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #003087, #0056b3);
    /* یا */
    /* background: url('/images/hero-bg.jpg') no-repeat center center/cover; */
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 48, 135, 0.7);
        z-index: 1;
    }

    .hero-section .content {
        position: relative;
        z-index: 2;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        margin-bottom: 15px;
    }

    .hero-section p {
        font-size: 1.1rem;
        color: #e0e0e0;
        line-height: 1.8;
    }

.news-slider {
    position: relative;
    max-width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
                border: 2px solid #003087;

    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.2);
}

.news-slide {
    display: none;
}

    .news-slide.active {
        display: block;
    }

    .news-slide img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
    }

.news-slide-content {
    background: #ffffff;
    padding: 1.5rem;
    text-align: right;
    border-radius: 0 0 10px 10px;
}

    .news-slide-content h3 {
        font-size: 1.5rem;
        color: #003087;
        margin-bottom: 0.5rem;
    }

    .news-slide-content p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 1rem;
    }

    .news-slide-content a {
        color: #00b4d8;
        text-decoration: none;
        font-weight: 700;
    }

        .news-slide-content a:hover {
            text-decoration: underline;
        }

.font-settings {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

    .font-settings.active {
        display: block;
    }

    .font-settings button {
        background: #003087;
        color: #ffffff;
        border: none;
        padding: 5px 10px;
        margin: 5px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .font-settings button:hover {
            background: #0056b3;
        }

.font-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #003087;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

    .font-toggle i {
        font-size: 1.2rem;
    }
/* Modal Styles for Legal Services */
.legal-services-modal .modal-content {
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.3);
}

.legal-services-modal .modal-header {
    background: linear-gradient(90deg, #003087, #004d99);
    color: #ffffff;
    border-radius: 15px 15px 0 0 !important;
    border-bottom: none;
}

    .legal-services-modal .modal-header .btn-close {
        filter: invert(1);
    }

.legal-services-modal .modal-body {
    padding: 2rem;
}

.legal-services-item {
    background: linear-gradient(135deg, #003087, #0056b3);
    color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 48, 135, 0.2);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

    .legal-services-item:hover {
        transform: translateY(-10px);
        background: linear-gradient(135deg, #0056b3, #007bff);
        box-shadow: 0 10px 20px rgba(0, 48, 135, 0.3);
        color: #ffffff;
    }

    .legal-services-item .card-body {
        text-align: center;
        padding: 2rem;
    }

    .legal-services-item .ServiceSVGbox {
        background-color: #ffffff;
        border-radius: 50%;
        width: 80px;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem auto;
    }

        .legal-services-item .ServiceSVGbox svg {
            width: 48px;
            height: 48px;
            stroke: #003087;
            transition: stroke 0.3s ease;
        }

    .legal-services-item:hover .ServiceSVGbox svg {
        stroke: #00b4d8;
    }
/* Modal Styles for Legal Services */
.modal-legal .modal-content {
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.3);
}

.modal-legal .modal-header {
    background: linear-gradient(90deg, #003087, #004d99);
    color: #ffffff;
    border-radius: 15px 15px 0 0 !important;
    border-bottom: none;
}

    .modal-legal .modal-header .btn-close {
        filter: invert(1);
    }

.modal-legal .modal-body {
    padding: 2rem;
}

/* استایل کلی برای آیتم‌های خدمات */
.modal-legal-item {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #003087;
    border: 4px solid #003087;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 15px rgba(0, 48, 135, 0.2);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

    .modal-legal-item:hover {
        transform: translateY(-10px);
        background: linear-gradient(135deg, #bbdefb, #90caf9);
        box-shadow: 0 10px 20px rgba(0, 48, 135, 0.3);
        color: #003087;
    }

    .modal-legal-item .card-body {
        text-align: center;
        padding: 1.5rem;
    }

    .modal-legal-item .ServiceSVGbox {
        background-color: #ffffff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem auto;
    }

        .modal-legal-item .ServiceSVGbox svg {
            width: 40px;
            height: 40px;
            stroke: #003087;
            transition: stroke 0.3s ease;
        }

        .modal-legal-item .ServiceSVGbox i {
            font-size: 1.5rem;
            color: #003087;
        }

    .modal-legal-item:hover .ServiceSVGbox svg,
    .modal-legal-item:hover .ServiceSVGbox i {
        color: #00b4d8;
        stroke: #00b4d8;
    }

    .modal-legal-item strong {
        font-size: 1rem;
    }

    .modal-legal-item p {
        font-size: 0.85rem;
    }
/* Search Styles - Smaller for all devices */
.search-container {
    position: relative;
    max-width: 500px; /* Slightly smaller max-width */
    margin: 0.5rem auto 0; /* Adjusted margin */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px; /* Slightly smaller radius */
    padding: 0.4rem; /* Smaller padding */
}

    .search-container .form-control {
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 15px; /* Smaller radius */
        padding: 8px 15px 8px 40px; /* Smaller padding */
        font-size: 0.9rem; /* Smaller font size */
        direction: rtl;
        color: #333;
    }

        .search-container .form-control:focus {
            outline: none;
            box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
        }

    .search-container .search-icon {
        position: absolute;
        left: 15px; /* Adjusted for smaller input */
        top: 50%;
        transform: translateY(-50%);
        color: #003087;
        z-index: 1;
        font-size: 0.9rem; /* Smaller icon */
    }

.search-results {
    margin-top: 0.5rem; /* Smaller margin */
    max-height: 350px; /* Slightly smaller max-height */
    overflow-y: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;

}

.search-result-item {
    padding: 0.75rem; /* Smaller padding */
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

    .search-result-item:hover {
        background: #f0f4f8;
    }

    .search-result-item:last-child {
        border-bottom: none;
    }

.search-result-title {
    font-weight: bold;
    color: #003087;
    margin-bottom: 0.25rem; /* Smaller margin */
    font-size: 0.95rem; /* Smaller font */
}

.search-result-snippet {
    color: #666;
    font-size: 0.8rem; /* Smaller font */
}

.no-results {
    padding: 0.75rem; /* Smaller paing */
    text-align: center;
    color: #666;
}

.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .search-container {
        margin: 0.5rem 0.5rem 0; /* Adjusted for mobile */
        max-width: none;
    }

        .search-container .search-results {
            position: relative;
            top: auto;
            left: auto;
            right: auto;
            margin-top: 0.5rem;
        }

    .mobile-search-container .search-results {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-top: 0.5rem;
    }
}
    /*درباره ما
*/
    /* Hero Section */
    .about .hero-section {
    position: relative;
    background: linear-gradient(90deg, #003087, #004d99);
    padding: 80px 20px;
    color: #ffffff;
    text-align: center;
}

    .about .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

    .about .hero-section .content {
        position: relative;
        z-index: 2;
    }

    .about .hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
        margin-bottom: 25px;
        animation: fadeInUp 1s ease;
    }

    .about .hero-section p {
        font-size: 1.3rem;
        color: #f0f0f0;
        line-height: 1.8;
        max-width: 900px;
        margin: 0 auto;
        animation: fadeInUp 1s ease 0.2s both;
    }

/* About Content */
.about .about-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 4rem 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    line-height: 2;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 48, 135, 0.1);
}

    .about .about-content::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, #003087, #004d99, #00b4d8);
    }

    .about .about-content p {
        font-size: 1.15rem;
        color: #444;
        margin-bottom: 2rem;
        text-align: justify;
    }

/* Team Section */
.about .team-section {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb, #90caf9);
    padding: 5rem 0;
    margin: 4rem 0;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 48, 135, 0.1);
}

    .about .team-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, #003087, #004d99, #00b4d8);
    }

    .about .team-section h2 {
        text-align: center;
        color: #003087;
        margin-bottom: 4rem;
        font-size: 3rem;
        position: relative;
        font-weight: 700;
    }

        .about .team-section h2::after {
            content: '';
            display: block;
            width: 120px;
            height: 5px;
            background: linear-gradient(90deg, #003087, #004d99);
            margin: 15px auto 0;
            border-radius: 3px;
        }

.about .team-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 48, 135, 0.15);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0, 48, 135, 0.1);
}

    .about .team-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #003087, #004d99);
    }

    .about .team-card:hover {
        transform: translateY(-20px) scale(1.03);
        box-shadow: 0 30px 60px rgba(0, 48, 135, 0.3);
    }

.about .team-icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about .team-card:hover .team-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about .team-card h5 {
    color: #003087;
    font-weight: bold;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.about .team-card:hover h5 {
    color: #004d99;
}

.about .team-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Contact Info Section */
.about .contact-info-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 4rem 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    margin-top: 4rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 48, 135, 0.1);
}

    .about .contact-info-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, #003087, #004d99, #00b4d8);
    }

    .about .contact-info-section h3 {
        color: #003087;
        text-align: center;
        margin-bottom: 2.5rem;
        font-size: 2.5rem;
        position: relative;
        font-weight: 700;
    }

        .about .contact-info-section h3::after {
            content: '';
            display: block;
            width: 100px;
            height: 5px;
            background: linear-gradient(90deg, #003087, #004d99);
            margin: 15px auto 0;
            border-radius: 3px;
        }

.about .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 48, 135, 0.1);
}

    .about .contact-item:hover {
        transform: translateX(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .about .contact-item i {
        font-size: 2.5rem;
        color: #003087;
        margin-left: 1.5rem;
        width: 60px;
        text-align: center;
        transition: color 0.3s ease;
    }

    .about .contact-item:hover i {
        color: #004d99;
    }

    .about .contact-item p {
        margin: 0;
        font-size: 1.15rem;
        color: #555;
        line-height: 1.6;
    }

/* Responsive adjustments */
@media (max-width: 767px) {
    .about .about-content, .about .contact-info-section {
        padding: 2.5rem 2rem;
    }

    .about .team-section {
        padding: 3rem 1rem;
        margin: 2rem 0;
        border-radius: 20px;
    }

    .about .team-card {
        padding: 2rem 1.5rem;
    }

    .about .team-icon {
        width: 140px;
        height: 140px;
    }

    .about .hero-section h1 {
        font-size: 2.2rem;
    }

    .about .hero-section p {
        font-size: 1.1rem;
    }

    .about .team-section h2 {
        font-size: 2.2rem;
    }

    .about .contact-info-section h3 {
        font-size: 2rem;
    }
}

/*تماس با ما
*/
/* کارت خلاقانه تماس */
.contactUs .creative-contact-card {
    background: linear-gradient(135deg,#fff,#f8f9fa);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,48,135,.15);
    border: 1px solid rgba(0,48,135,.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .4s ease;
    margin-bottom: 2rem
}

    .contactUs .creative-contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg,#003087,#004d99,#00b4d8,#003087);
        animation: gradientShift 3s ease infinite
    }

@keyframes gradientShift {
    0%,100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.contactUs .creative-contact-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(0,48,135,.3)
}

.contactUs .creative-contact-card h4 {
    color: #003087;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,.1);
    position: relative
}

    .contactUs .creative-contact-card h4::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg,#003087,#00b4d8);
        margin: 8px auto 0;
        border-radius: 2px;
        animation: pulse 2s infinite
    }

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scaleX(1)
    }

    50% {
        opacity: .7;
        transform: scaleX(1.1)
    }
}

/* دو بخش کنار هم */
.contactUs .contact-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem
}

.contactUs .contact-form-section, .contactUs .contact-info-section {
    flex: 1
}

.contactUs .contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

/* آیتم‌های اطلاعات تماس */
.contactUs .contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg,#f8f9fa,#fff);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    position: relative;
    overflow: hidden;
    transition: all .4s ease
}

    .contactUs .contact-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,transparent,rgba(0,180,216,.1),transparent);
        transition: left .5s
    }

    .contactUs .contact-item:hover::before {
        left: 100%
    }

    .contactUs .contact-item:hover {
        transform: translateX(-8px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0,48,135,.2)
    }

    .contactUs .contact-item i {
        font-size: 1.5rem;
        color: #003087;
        margin-left: 1rem;
        width: 40px;
        text-align: center;
        transition: transform .3s
    }

    .contactUs .contact-item:hover i {
        transform: rotate(360deg)
    }

    .contactUs .contact-item a {
        color: #003087;
        text-decoration: none;
        font-weight: 500
    }

        .contactUs .contact-item a:hover {
            color: #00b4d8
        }

/* فرم */
.contactUs .form-control {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 14px;
    background: #f8f9fa;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: all .3s;
    border-right: 4px solid transparent
}

    .contactUs .form-control:focus {
        border-color: #003087;
        box-shadow: 0 0 0 .2rem rgba(0,48,135,.25);
        background: #fff;
        border-right-color: #00b4d8
    }

/* دکمه واتساپ */
.contactUs .btn-primary {
    background: linear-gradient(90deg,#003087,#004d99);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all .3s;
    width: 100%;
    position: relative;
    overflow: hidden;
    font-size: 1rem
}

    .contactUs .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
        transition: left .5s
    }

    .contactUs .btn-primary:hover::before {
        left: 100%
    }

    .contactUs .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,48,135,.3);
        background: linear-gradient(90deg,#004d99,#003087)
    }
.contactUs .contact-section {
    padding-top: 60px; /* فاصله از هیرو */
}


/* نقشه */
.contactUs .map-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg,#f8f9fa,#fff);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    text-align: center
}

    .contactUs .map-section h5 {
        color: #003087;
        margin-bottom: 1rem
    }

    .contactUs .map-section iframe {
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,48,135,.1);
        transition: transform .3s
    }

        .contactUs .map-section iframe:hover {
            transform: scale(1.02)
        }

/* واکنش‌گرایی موبایل */
@media(max-width:767px) {
    .contactUs .contact-content {
        flex-direction: column
    }

    .contactUs .contact-item {
        flex-direction: column;
        text-align: center
    }

        .contactUs .contact-item i {
            margin-left: 0;
            margin-bottom: .75rem
        }

    .contactUs .map-section iframe {
        height: 250px
    }
}

/*سوالات متداول*/
/* FAQ Section */
/* FAQ Section */
.faq-section .faq-item {
    background: #fff; /* faq */
    border: 1px solid #ddd; /* faq */
    border-radius: 10px; /* faq */
    margin-bottom: 1rem; /* faq */
    overflow: hidden; /* faq */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* faq */
}

.faq-section .faq-question {
    background: linear-gradient(90deg, #003087, #004d99); /* faq */
    color: white; /* faq */
    padding: 1rem; /* faq */
    cursor: pointer; /* faq */
    font-weight: bold; /* faq */
    display: flex; /* faq */
    justify-content: space-between; /* faq */
    align-items: center; /* faq */
}

    .faq-section .faq-question i {
        transition: transform 0.3s ease; /* faq */
        font-size: 1.2rem; /* faq */
    }

    .faq-section .faq-question.active i {
        transform: rotate(180deg); /* faq */
    }

.faq-section .faq-answer {
    padding: 1rem; /* faq */
    display: none; /* faq */
}

    .faq-section .faq-answer.active {
        display: block; /* faq */
    }

/*    انواع دعاوی در ایندکس*/
.postindex .hero-section {
    position: relative;
    background: linear-gradient(135deg, #003087, #004d99);
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
}

    .postindex .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 48, 135, 0.7);
        z-index: 1;
    }

    .postindex .hero-section .content {
        position: relative; /* postindex */
        z-index: 2; /* postindex */
    }

    .postindex .hero-section h1 {
        font-size: 2.2rem; /* postindex */
        font-weight: 700; /* postindex */
        color: #ffffff; /* postindex */
        text-shadow: 1px 1px 5px rgba(0,0,0,0.5); /* postindex */
        margin-bottom: 15px; /* postindex */
    }

    .postindex .hero-section p {
        font-size: 1.1rem; /* postindex */
        color: #e0e0e0; /* postindex */
        line-height: 1.8; /* postindex */
    }

.postindex .ServiceItem {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb); /* postindex */
    color: #003087; /* postindex */
    border: 4px solid #003087; /* postindex */
    border-radius: 15px; /* postindex */
    overflow: hidden; /* postindex */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* postindex */
    box-shadow: 0 6px 15px rgba(0,48,135,0.2); /* postindex */
    cursor: pointer; /* postindex */
    position: relative; /* postindex */
}

    .postindex .ServiceItem:hover {
        transform: translateY(-15px) scale(1.05); /* postindex */
        background: linear-gradient(135deg, #90caf9, #64b5f6); /* postindex */
        box-shadow: 0 20px 40px rgba(0,48,135,0.5); /* postindex */
    }

    .postindex .ServiceItem .continue-link {
        display: none; /* postindex */
        position: absolute;
        bottom: 10px;
        left: 10px;
        text-align: left;
        padding: 5px 10px; /* postindex */
        color: #003087; /* postindex */
        text-decoration: none; /* postindex */
        font-weight: bold; /* postindex */
        transition: all 0.3s ease; /* postindex */
        z-index: 2; /* postindex */
        font-size: 0.9rem; /* postindex */
    }

    .postindex .ServiceItem:hover .continue-link {
        display: block; /* postindex */
    }

    .postindex .ServiceItem .continue-link:hover {
        color: #0056b3; /* postindex */
    }

    .postindex .ServiceItem:hover strong,
    .postindex .ServiceItem:hover p {
        font-size: 1.1em; /* postindex */
        transition: font-size 0.3s ease; /* postindex */
    }

    .postindex .ServiceItem strong {
        color: #003087; /* postindex */
    }

    .postindex .ServiceItem p {
        color: #0066cc; /* postindex */
    }

.postindex .card-body {
    text-align: center; /* postindex */
    padding: 1.5rem; /* postindex */
    position: relative; /* postindex */
    z-index: 1; /* postindex */
}

/*انواع دعاوی دیتیل*/
/* ===== detailpost ===== */

/* Hero Section */
.detailpost .hero-section {
    position: relative;
    background: linear-gradient(135deg, #003087, #0056b3);
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
}

    .detailpost .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 48, 135, 0.7);
        z-index: 1;
    }

    .detailpost .hero-section .content {
        position: relative;
        z-index: 2;
    }

    .detailpost .hero-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        margin-bottom: 15px;
    }

    .detailpost .hero-section p {
        font-size: 1.1rem;
        color: #e0e0e0;
        line-height: 1.8;
    }

/* Article Content */
.detailpost .article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 20px;
    background-color: #e8f4fd;
    padding: 20px;
    border-radius: 10px;
}

    .detailpost .article-content h2 {
        color: #003087;
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
        border-bottom: 2px solid #003087;
        padding-bottom: 5px;
        text-align: right;
    }

    .detailpost .article-content ol {
        padding-right: 20px;
    }

    .detailpost .article-content li {
        margin-bottom: 10px;
    }

    .detailpost .article-content p {
        text-align: justify;
        margin-bottom: 1em;
    }

/* Sidebar */
.detailpost .sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 2px solid #003087;
}

    .detailpost .sidebar h5 {
        color: #003087;
        margin-bottom: 15px;
    }

    .detailpost .sidebar ul {
        list-style: none;
        padding: 0;
    }

        .detailpost .sidebar ul li {
            margin-bottom: 10px;
        }

            .detailpost .sidebar ul li a {
                color: #333;
                text-decoration: none;
                transition: color 0.3s ease, border 0.3s ease;
                display: block;
                padding: 5px;
                border-radius: 5px;
            }

                .detailpost .sidebar ul li a:hover {
                    color: #003087;
                    border: 1px solid #003087;
                    background: #e6f3ff;
                }

/* Services Section */
.detailpost .services-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

    .detailpost .services-section h5 {
        color: #003087;
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

.detailpost .service-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .detailpost .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 48, 135, 0.2);
        border-color: #003087;
    }

    .detailpost .service-card i {
        font-size: 2rem;
        color: #003087;
        margin-bottom: 10px;
    }

    .detailpost .service-card h6 {
        color: #003087;
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .detailpost .service-card p {
        color: #666;
        font-size: 0.95rem;
    }

.detailpost .whatsapp-link {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    transition: background 0.3s ease;
}

    .detailpost .whatsapp-link:hover {
        background: #128C7E;
        color: white;
    }

/* Latest Posts Section */
.detailpost .latest-posts-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

    .detailpost .latest-posts-section h5 {
        color: #003087;
        text-align: center;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

.detailpost .post-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .detailpost .post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 48, 135, 0.2);
        border-color: #003087;
    }

    .detailpost .post-card h6 {
        color: #003087;
        margin-bottom: 0;
        font-size: 1rem;
    }

    .detailpost .post-card a {
        color: inherit;
        text-decoration: none;
    }

/* Comments Section */
.detailpost .comments-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

    .detailpost .comments-section h3 {
        color: #003087;
        margin-bottom: 30px;
        text-align: center;
        font-size: 1.8rem;
        font-weight: 700;
    }

.detailpost .comment-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

    .detailpost .comment-form input,
    .detailpost .comment-form textarea {
        width: 100%;
        margin-bottom: 20px;
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 15px;
        direction: rtl;
        font-size: 1.1rem;
        font-family: 'Vazir', sans-serif;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .detailpost .comment-form input:focus,
        .detailpost .comment-form textarea:focus {
            outline: none;
            border-color: #003087;
            box-shadow: 0 0 10px rgba(0, 48, 135, 0.2);
        }

    .detailpost .comment-form textarea {
        resize: vertical;
        min-height: 120px;
    }

    .detailpost .comment-form button {
        background: linear-gradient(135deg, #003087, #0056b3);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 1.1rem;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
    }

        .detailpost .comment-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 48, 135, 0.3);
        }

.detailpost .comments-list {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
}

.detailpost .comment-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .detailpost .comment-item strong {
        color: #003087;
        font-size: 1.1rem;
    }

    .detailpost .comment-item span {
        color: #666;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 10px;
    }

    .detailpost .comment-item p {
        color: #333;
        line-height: 1.6;
        font-size: 1rem;
    }

/* Notice Box */
.detailpost .notice-box {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    border: 2px solid #00bcd4;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    color: #00695c;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.2);
}
/* Breadcrumb Styles */
.breadcrumb-section {
/*    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
*/    padding: 15px 0;
   

}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #666;
}

    .breadcrumb li {
        display: flex;
        align-items: center;
    }

        .breadcrumb li a {
            color: #003087;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .breadcrumb li a:hover {
                color: #0056b3;
            }

        .breadcrumb li:not(:last-child)::after {
            content: " / ";
            margin: 0 10px;
            color: #999;
            font-weight: bold;
        }

@media (max-width: 767px) {
    .breadcrumb {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 5px;
    }

        .breadcrumb li:not(:last-child)::after {
            display: none;
        }
}




.rulse .hero-section {
    position: relative;
    background: url('https://via.placeholder.com/1200x400/003087/ffffff?text=قوانین+حقوقی') no-repeat center center/cover;
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
    background-color: #003087;
}
    /* rulse */
    .rulse .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 48, 135, 0.7);
        z-index: 1;
    }
    /* rulse */
    .rulse .hero-section .content {
        position: relative;
        z-index: 2;
    }
    /* rulse */
    .rulse .hero-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        margin-bottom: 15px;
    }
    /* rulse */
    .rulse .hero-section p {
        font-size: 1.1rem;
        color: #e0e0e0;
        line-height: 1.8;
    }
/* Article Styles */
/* rulse */
.rulse .article-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 48, 135, 0.1);
    margin-bottom: 1.5rem;
    border: 2px solid #007bff;
}
    /* rulse */
    .rulse .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 48, 135, 0.2);
    }
/* rulse */
.rulse .article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
/* rulse */
.rulse .article-body {
    padding: 2rem;
    text-align: right;
}
    /* rulse */
    .rulse .article-body h1 {
        font-size: 1.8rem;
        color: #003087;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
/* rulse */
.rulse .article-meta {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
/* rulse */
.rulse .article-body p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}
/* rulse */
.rulse .article-body h2 {
    color: #003087;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
/* rulse */
.rulse .back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #00b4d8;
    text-decoration: none;
    font-weight: 700;
}
    /* rulse */
    .rulse .back-link:hover {
        text-decoration: underline;
    }
/* Download Button Styles */
/* rulse */
.rulse .download-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
    /* rulse */
    .rulse .download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        color: #ffffff;
    }
/* Comments Section - Improved Styles */
/* rulse */
.rulse .comments-section {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 48, 135, 0.15);
    margin-bottom: 2rem;
    border: 2px solid #007bff;
    transition: box-shadow 0.3s ease;
}
    /* rulse */
    .rulse .comments-section:hover {
        box-shadow: 0 12px 35px rgba(0, 48, 135, 0.2);
    }
/* rulse */
.rulse .comments-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #003087, #004d99);
    color: #ffffff;
    text-align: center;
    position: relative;
}
    /* rulse */
    .rulse .comments-header::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #003087;
    }
/* rulse */
.rulse .comments-list {
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    background: #fafbfc;
}
    /* rulse */
    .rulse .comments-list::-webkit-scrollbar {
        width: 6px;
    }
    /* rulse */
    .rulse .comments-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    /* rulse */
    .rulse .comments-list::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 10px;
    }
/* rulse */
.rulse .comment-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}
    /* rulse */
    .rulse .comment-item:hover {
        transform: translateX(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
/* rulse */
.rulse .comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003087, #007bff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    margin-left: 1rem;
    flex-shrink: 0;
}
/* rulse */
.rulse .comment-content {
    flex: 1;
}
/* rulse */
.rulse .comment-author {
    font-weight: 700;
    color: #003087;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}
/* rulse */
.rulse .comment-meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
/* rulse */
.rulse .comment-text {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}
/* rulse */
.rulse .reply-item {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    margin-right: 1.5rem;
    border-left: 3px solid #28a745;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}
    /* rulse */
    .rulse .reply-item .comment-author {
        color: #28a745;
        font-size: 0.9rem;
    }
    /* rulse */
    .rulse .reply-item .comment-text {
        color: #666;
        font-size: 0.9rem;
    }
/* rulse */
.rulse .comment-form {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}
    /* rulse */
    .rulse .comment-form .form-control {
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        direction: rtl;
        transition: border-color 0.3s ease;
    }
        /* rulse */
        .rulse .comment-form .form-control:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
    /* rulse */
    .rulse .comment-form textarea {
        min-height: 120px;
        resize: vertical;
        font-family: 'Vazir', sans-serif;
    }
    /* rulse */
    .rulse .comment-form button {
        background: linear-gradient(135deg, #003087, #007bff);
        color: #ffffff;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 25px;
        cursor: pointer;
        margin-top: 0.5rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }
        /* rulse */
        .rulse .comment-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
        }
/* WhatsApp Button */
/* rulse */
.rulse .whatsapp-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
    /* rulse */
    .rulse .whatsapp-btn:hover {
        transform: scale(1.1);
    }
/* rulse */
@media (max-width: 767px) {
    /* rulse */
    .rulse .article-body {
        padding: 1.5rem;
    }
        /* rulse */
        .rulse .article-body h1 {
            font-size: 1.5rem;
        }
    /* rulse */
    .rulse .article-image {
        height: 200px;
    }
    /* rulse */
   
    /* rulse */
    .rulse .comment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    /* rulse */
    .rulse .comment-avatar {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    /* rulse */
    .rulse .reply-item {
        margin-right: 0;
    }
}

/*ایندکس اخبار*/


.newsindex .hero-section {
    position: relative;
    padding: 40px 20px;
    color: #ffffff;
    text-align: center;
    background-color: #003087;
}


    .newsindex .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 48, 135, 0.7);
        z-index: 1;
    }

    .newsindex .hero-section .content {
        position: relative;
        z-index: 2;
    }

    .newsindex .hero-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        margin-bottom: 15px;
    }

    .newsindex .hero-section p {
        font-size: 1.1rem;
        color: #e0e0e0;
        line-height: 1.8;
    }

.newsindex .news-grid-item img {
    height: 150px;
}

.newsindex .news-grid-body h3 {
    font-size: 1.1rem;
}

.newsindex .news-grid-item {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 48, 135, 0.1);
    margin-bottom: 1.5rem;
    height: 100%;
    border: 2px solid #007bff; /* اضافه کردن حاشیه آبی دور هر خبر */
}

    .newsindex .news-grid-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 48, 135, 0.2);
    }

    .newsindex .news-grid-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.newsindex .news-grid-body {
    padding: 1.2rem;
    text-align: right;
}

    .newsindex .news-grid-body h3 {
        font-size: 1.2rem;
        color: #003087;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .newsindex .news-grid-body p {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 1rem;
    }

    .newsindex .news-grid-body a {
        color: #00b4d8;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
    }

        .newsindex .news-grid-body a:hover {
            text-decoration: underline;
        }

    .newsindex .news-grid-body h3 {
        font-size: 1.1rem;
    }