    /* =================== استایل عمومی =================== */
body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    color: #111;
    margin: 0;
    padding: 0;
}

/* =================== Section =================== */
section {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: right;
    color: black;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =================== تیترها =================== */
h3,h4,h5,h6 {
    background-color: #004d99;
    text-align: right;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 12px 16px;
}

section h2 {
    background-color: #004d99;
    color: #ececec;
    font-size: 1.2rem;
    padding: 12px 16px;
    border-radius: 8px;
    transition: color 0.5s ease; /* تغییر آرام رنگ در نیم ثانیه */
}

h2.meto {
    background-color: yellow;
    color: black;
}

.titlefaq {
    text-align: center;
    background-color: lime;
    color: black;
    padding: 12px;
    border-radius: 8px;
}

h2:hover {
    color: #ffffff;
    cursor: pointer;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

/* =================== پاراگراف ها =================== */
p {
    color: black;
}

/* =================== جدول =================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: right;
    transition: background 0.3s ease;
}
table th {
    background-color: #007BFF;
    color: white;
}
table tr:hover td {
    background: rgba(255,87,34,0.1);
}

/* =================== لیست ها =================== */
ul, ol {
    list-style: inside disc;
    margin-top: 10px;
    color: black;
    text-align: right;
    padding-right: 0;
}

ol li a, ul li a {
    color: #007BFF;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

ol li a::after, ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF5722, #FF9800, #FFC107);
    transition: width 0.4s ease;
}

ol li a:hover::after, ul li a:hover::after {
    width: 100%;
}

ol li a:hover, ul li a:hover {
    color: #FF5722;
    transform: translateX(5px);
}

/* =================== دکمه ها =================== */
.buy-link {
    display: inline-block;
    color: #e63946;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.buy-link:hover {
    color: #1d3557;
    border-bottom: 2px solid #1d3557;
    transform: translateY(-2px);
}

/* =================== افکت انیمیشن رنگی لیست ===================*/
li {
    transition: transform 0.3s ease, color 0.3s ease;
}
li:hover {
    transform: translateX(3px);
    color: #FF5722;
}

/* =================== ریسپانسیو =================== */
@media (max-width: 768px) {
    section {
        padding: 15px 20px;
    }
    h1,h2,h3,h4,h5,h6 {
        font-size: 0.85rem;
    }
    table th, table td {
        padding: 8px 10px;
    }
    ol li a:hover, ul li a:hover {
        transform: translateX(1px);
    }
}

@media (max-width: 480px) {
    section {
        padding: 12px 15px;
    }
    h1,h2,h3,h4,h5,h6 {
        font-size: 0.85rem;
    }
}

     #logo {
         animation: rotateX360 6s linear infinite;
         transform-style: preserve-3d; /* برای بهتر شدن جلوه سه‌بعدی */
     }

    @keyframes rotateX360 {
        from {
            transform: rotateX(0deg);
        }
        to {
            transform: rotateX(360deg);
        }
    }
    #faqAccordion a {
        color: #007bff; /* رنگ آبی Bootstrap برای لینک‌ها */
        text-decoration: underline;
    }

    #faqAccordion a:hover,
    #faqAccordion a:focus {
        color: #0056b3; /* رنگ آبی تیره‌تر هنگام هاور یا فوکوس */
        text-decoration: none;
    }

    .text-dangers{
        color: rgb(5, 255, 138) !important;
    }
    h1{
        color: #02f802;
        text-align: center;
    }
    .pcolor{
        color: yellow;
    }
    hr {
        border: none; /* حذف کردن خطوط مرزی پیش‌فرض */
        background-color: green; /* رنگ پس‌زمینه سبز */
        height: 4px; /* ضخامت خط */
    }


    .navbar-nav .nav-item a {
        padding: 10px 15px;
        direction: rtl;
    }
    br {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
