/* استایل‌های اختصاصی برای صفحه حریم خصوصی */
body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.8;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hover-card:hover .icon-box {
    transform: scale(1.1);
}

.scroll-mt-5 {
    scroll-margin-top: 100px;
}

.bg-primary-subtle {
    background-color: rgba(12, 46, 96, 0.1);
}

.card-header {
    background-color: #0c2e60 !important;
    padding: 1rem 1.5rem;
}

.section-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    color: #0c2e60;
    margin-right: 10px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-body {
    padding: 2rem;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.info-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(12, 46, 96, 0.1);
    color: #0c2e60;
    margin-right: 10px;
}

.feature-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: #0c2e60;
    margin-right: 1rem;
}

.alert-custom {
    border-left: 4px solid #0c2e60;
    background-color: rgba(12, 46, 96, 0.05);
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-item {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

.toc-link {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc-link:hover {
    color: #0c2e60;
    transform: translateX(5px);
}

.toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: #0c2e60;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
}

/* استایل های سفارشی برای آکوردیون */
.custom-sharing-accordion .accordion-item {
    transition: all 0.3s ease;
    border-radius: 8px !important;
    overflow: hidden;
}

.custom-sharing-accordion .accordion-item:hover {
    box-shadow: 0 5px 15px rgba(12, 46, 96, 0.1) !important;
    transform: translateY(-2px);
}

.custom-sharing-accordion .accordion-button {
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 0 !important;
}

.custom-sharing-accordion .accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #0c2e60, #1e56a0);
    transition: all 0.3s ease;
    opacity: 0;
}

.custom-sharing-accordion .accordion-button:not(.collapsed)::before {
    opacity: 1;
}

.custom-sharing-accordion .accordion-button::after {
    background-image: none;
    font-family: 'Font Awesome 5 Free';
    content: '\f107';
    font-weight: 900;
    color: #0c2e60;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(12, 46, 96, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-sharing-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    background-color: rgba(12, 46, 96, 0.2);
}

.custom-sharing-accordion .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0c2e60;
    box-shadow: none;
    font-weight: 700;
}

.custom-sharing-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(12, 46, 96, 0.1);
}

.custom-sharing-accordion .accordion-body {
    padding: 1.5rem;
    background-color: #ffffff;
    animation: fadeInDown 0.5s ease forwards;
}

.custom-sharing-accordion .accordion-collapse {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.custom-sharing-accordion .accordion-collapse.collapsing {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* انیمیشن های آکوردیون */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* اطمینان از نمایش محتوا حتی در صورت وجود مشکل */
.custom-sharing-accordion .accordion-collapse.show {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
}

/* انیمیشن‌های اضافی برای اکوردیون */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Privacy Page Styles */
.privacy-content {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Sidebar Styles */
.sticky-lg-top {
    top: 100px;
}

.mobile-sidebar-wrapper {
    position: relative;
}

/* Content Cards */
.card {
    border: none;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem;
}

.card-body {
    padding: 1.5rem;
}

/* List Group Items */
.list-group-item {
    border: none;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(-5px);
}

.list-group-item i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Help Box */
.help-box {
    border-radius: 15px;
}

.help-box .card-body {
    padding: 1.5rem;
}

/* Icons */
.icon-circle {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .mobile-sidebar-wrapper {
        margin-bottom: 2rem;
    }

    .sticky-lg-top {
        position: static !important;
    }
}

/* Animation */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

/* Content Typography */
.card p {
    color: #6c757d;
    line-height: 1.8;
}

/* List Styles */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.custom-list li i {
    margin-right: 1rem;
    color: #0d6efd;
}