/*@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');*/
/*@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Scheherazade+New:wght@400;700&display=swap');*/

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FAF8F5;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Vazir', 'IranNastaliq', 'Amiri', serif;
}

main {
    flex: 1;
}*/

/* ========== استایل‌های نوار ناوبری ========== */
/*.navbar {
    background: linear-gradient(145deg, #12312E 0%, #0B1F1D 100%);
    border-bottom: 3px solid #E8C98F;
    padding: 0.3rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 70px;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand-img {
    max-height: 55px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(232, 201, 143, 0.3));
}

.navbar-brand-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(232, 201, 143, 0.5));
}

.navbar .container-fluid {
    position: relative;
}

#navbarMain {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    margin: 0 auto;
}

#navbarMain .navbar-nav {
    margin: 0 !important;
}

@media (max-width: 1199.98px) {
    #navbarMain {
        position: static;
        transform: none;
    }
}

.navbar-nav {
    gap: 0.2rem;
}

.navbar-nav .nav-link {
    color: #FAF8F5 !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(232, 201, 143, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #E8C98F !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    color: #E8C98F;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
    transform: scale(1.1);
}

.navbar-toggler {
    background: linear-gradient(145deg, #E8C98F, #DDBB7A) !important;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(232, 201, 143, 0.3);
}

.navbar-toggler:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(232, 201, 143, 0.6);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(18, 49, 46, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}*/

/* ========== استایل دراپ‌داون ========== */
/*.dropdown-menu {
    background: #12312E;
    border: 1px solid rgba(232, 201, 143, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #FAF8F5;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(232, 201, 143, 0.15);
    color: #E8C98F;
    transform: translateX(-5px);
}

.dropdown-item i {
    color: #E8C98F;
    width: 1.5rem;
}*/

/* ========== استایل پروفایل ========== */
/*.profile-toggler {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid #E8C98F;
    color: #FAF8F5;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.profile-toggler:hover {
    background: #E8C98F;
    color: #12312E !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 201, 143, 0.4);
}

.profile-toggler:hover .user-image {
    background: #12312E;
}

.profile-toggler:hover .user-image i {
    color: #E8C98F;
}

.user-image {
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #E8C98F, #DDBB7A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-image i {
    color: #12312E;
    font-size: 1.1rem;
}

.name {
    font-weight: 500;
}

.lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1.5px solid #E8C98F;
    color: #FAF8F5;
    border-radius: 40px;
    padding: 0.45rem 0.8rem;
    transition: 0.3s;
}

.lang-btn:hover {
    background: #E8C98F;
    color: #12312E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 201, 143, 0.4);
}

.lang-btn i {
    font-size: 1.2rem;
}

.navbar .d-flex.gap-2 {
    gap: 0.75rem !important;
}

@media (max-width: 1199.98px) {
    .navbar .d-flex.gap-2 {
        margin-right: auto;
    }
}*/

/* ========== استایل آف‌کَنواس ========== */
/*.offcanvas {
    background: linear-gradient(145deg, #12312E, #0B1F1D);
    color: #FAF8F5;
    border-right: 3px solid #E8C98F;
}

.offcanvas-header {
    border-bottom: 2px solid rgba(232, 201, 143, 0.2);
    padding: 1rem;
}

.offcanvas-logo {
    height: 45px;
    width: auto;
}

.offcanvas .btn-close {
    background-color: #E8C98F;
    opacity: 0.8;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.offcanvas .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.offcanvas .nav-link {
    color: #FAF8F5 !important;
    padding: 0.8rem 1rem !important;
    border-radius: 10px;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    background: rgba(232, 201, 143, 0.15);
    color: #E8C98F !important;
    transform: translateX(-5px);
}

.offcanvas .dropdown-menu {
    background: rgba(18, 49, 46, 0.95);
    border: 1px solid rgba(232, 201, 143, 0.3);
    position: static !important;
    transform: none !important;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.5rem;
}

.offcanvas .dropdown-item {
    color: #FAF8F5;
    border-radius: 8px;
    padding: 0.6rem 1rem;
}

.offcanvas .dropdown-item:hover {
    background: rgba(232, 201, 143, 0.2);
    color: #E8C98F;
}

.offcanvas-profile {
    background: rgba(232, 201, 143, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.offcanvas-profile:hover {
    background: rgba(232, 201, 143, 0.15);
}

.user-image-lg {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #E8C98F, #DDBB7A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(232, 201, 143, 0.3);
}

.user-image-lg i {
    color: #12312E;
    font-size: 1.8rem;
}

#offcanvasProfile .offcanvas-body {
    padding: 1.5rem 1rem;
}

#offcanvasProfile .btn-outline-light {
    border-color: rgba(232, 201, 143, 0.5);
    color: #FAF8F5;
}

#offcanvasProfile .btn-outline-light:hover {
    background: rgba(232, 201, 143, 0.1);
    border-color: #E8C98F;
}

#offcanvasProfile .btn-warning {
    background: #E8C98F;
    border-color: #E8C98F;
    color: #12312E;
    font-weight: 600;
}

#offcanvasProfile .btn-warning:hover {
    background: #d4b574;
    border-color: #d4b574;
}*/

/* ========== استایل‌های بخش قهرمان (Hero) ========== */
/*.hero-section {
    background: linear-gradient(135deg, #12312E, #1C3E39);
    padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 50px);
    position: relative;
    overflow: hidden;
    min-height: min(600px, 100vh);
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            repeating-linear-gradient(45deg,
            rgba(232, 201, 143, 0.03) 0px,
            rgba(232, 201, 143, 0.03) 2px,
            transparent 2px,
            transparent 8px),
            radial-gradient(circle at 10% 20%, rgba(232, 201, 143, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 90% 50%, rgba(232, 201, 143, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 30% 80%, rgba(232, 201, 143, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 70% 30%, rgba(232, 201, 143, 0.05) 1px, transparent 1px);
    background-size: clamp(40px, 5vw, 50px) clamp(40px, 5vw, 50px),
    clamp(80px, 10vw, 100px) clamp(80px, 10vw, 100px),
    clamp(80px, 10vw, 100px) clamp(80px, 10vw, 100px),
    clamp(80px, 10vw, 100px) clamp(80px, 10vw, 100px),
    clamp(80px, 10vw, 100px) clamp(80px, 10vw, 100px);
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-weight: 700;
    color: #FAF8F5;
    line-height: 1.4;
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-family: 'Vazir', sans-serif;
}

.hero-title span {
    color: #E8C98F;
    border-bottom: 2px solid rgba(232, 201, 143, 0.3);
    padding-bottom: 5px;
}

.hero-subtitle {
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    font-weight: 300;
    font-family: 'Vazir', sans-serif;
}

.search-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: clamp(40px, 8vw, 60px);
    padding: 8px;
    border: 1.5px solid rgba(232, 201, 143, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-width: min(600px, 95%);
    margin: 0 auto clamp(1.5rem, 3vw, 2rem);
}

.search-wrapper:hover {
    border-color: #daa520;
    box-shadow: 0 20px 45px rgba(232, 201, 143, 0.2);
}

.search-input {
    background: transparent;
    border: none;
    color: #FAF8F5;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    direction: rtl;
    min-width: 0;
    font-family: 'Vazir', sans-serif;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.9rem;
}

.search-button {
    background: linear-gradient(145deg, #E8C98F, #DDBB7A);
    border: none;
    color: #12312E;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Vazir', sans-serif;
}

.search-button:hover {
    background: #12312E;
    color: #E8C98F;
    border-color: #E8C98F;
    transform: scale(1.02);
}

.search-button i {
    font-size: 1rem;
}

.stats-container {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: clamp(15px, 3vw, 20px);
    padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1rem, 2.5vw, 2rem);
    border: 1px solid rgba(232, 201, 143, 0.5);
    transition: all 0.3s ease;
    min-width: clamp(80px, 15vw, 120px);
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(232, 201, 143, 0.1);
    border-color: #E8C98F;
    box-shadow: 0 10px 25px rgba(232, 201, 143, 0.2);
}

.stat-number {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 700;
    color: #E8C98F;
    display: block;
    line-height: 1.2;
    font-family: 'Vazir', sans-serif;
}

.stat-label {
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    color: rgba(245, 240, 232, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Vazir', sans-serif;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.hero-image {
    max-width: min(80%, 400px);
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 20px;
}

.hero-image:hover {
    opacity: 1;
    transform: scale(1.02);
}*/

/* ========== استایل‌های بخش دکمه‌ها ========== */
/*.buttons-section {
    padding: 50px 0 70px;
    background: linear-gradient(180deg, #FAF8F5 0%, #F0ECE6 100%);
    position: relative;
}

.buttons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E8C98F, transparent);
}

.feature-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #12312E, #0B1F1D);
    border: 2px solid #E8C98F;
    border-radius: 20px;
    padding: 25px 15px;
    color: #FAF8F5;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    min-height: 160px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(232, 201, 143, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-button:hover {
    transform: translateY(-8px);
    border-color: #FAF8F5;
    box-shadow: 0 20px 40px rgba(232, 201, 143, 0.3);
}

.feature-button:hover::before {
    opacity: 1;
}

.feature-button i {
    font-size: 2.5rem;
    color: #E8C98F;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.feature-button:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #FAF8F5;
}

.feature-button span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    font-family: 'Vazir', sans-serif;
}

.special-button-wrapper {
    height: 100%;
}

.special-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #E8C98F, #DDBB7A);
    border: 2px solid #12312E;
    border-radius: 20px;
    padding: 35px 20px;
    color: #12312E;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    min-height: 200px;
    box-shadow: 0 15px 35px rgba(232, 201, 143, 0.4);
    position: relative;
    overflow: hidden;
}

.special-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.special-button:hover::before {
    opacity: 1;
}

.special-button:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FAF8F5;
    box-shadow: 0 30px 50px rgba(232, 201, 143, 0.6);
}

.special-button i {
    font-size: 3.5rem;
    color: #12312E;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.special-button:hover i {
    transform: scale(1.2) rotate(360deg);
    color: #FAF8F5;
}

.special-button span {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    font-family: 'Vazir', sans-serif;
}

.special-button small {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
    font-family: 'Vazir', sans-serif;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}*/

/* ========== استایل‌های تب‌های قرآن ========== */
/*.quran-tabs {
    border-bottom: 2px solid #f1f1f1;
    margin-bottom: 2.5rem;
    gap: 1rem;
    display: flex;
    justify-content: center;
}

.quran-tabs .nav-link {
    border: none;
    color: #888;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    background: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    font-family: 'Vazir', sans-serif;
}

.quran-tabs .nav-link:hover {
    color: #12312E;
}

.quran-tabs .nav-link.active {
    color: #12312E;
    background: none;
    border-bottom: 3px solid #E8C98F;
}*/

/* ========== استایل‌های اصلی لیست سوره‌ها ========== *//* ========== استایل‌های اصلی لیست سوره‌ها ========== */
/*.quran-surah-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.qsl-chapter-container {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.qsl-chapter-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(18, 49, 46, 0.12);
    border-color: #E8C98F;
}

.qsl-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 1.25rem;
}*/

/* ساختار اصلی کارت - بدون جهت‌گیری خاص */
/*.qsl-row-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}*/

/* بخش شماره و نام عربی - در RTL سمت راست، در LTR سمت چپ */
/*.qsl-arabic-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}*/

/* در حالت RTL، این بخش در سمت راست قرار می‌گیرد */
/*[dir="rtl"] .qsl-arabic-section {
    order: 1;
}*/

/* در حالت LTR، این بخش در سمت چپ قرار می‌گیرد */
/*[dir="ltr"] .qsl-arabic-section {
    order: 2;
}*/

/* باکس شماره سوره */
/*.qsl-surah-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.qsl-surah-number::before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    background: #12312E;
    transform: rotate(45deg);
    border-radius: 8px;
    z-index: -1;
    transition: all 0.3s ease;
}

.qsl-chapter-container:hover .qsl-surah-number::before {
    background: #E8C98F;
}

.qsl-surah-number span {
    font-weight: 700;
    color: #FAF8F5;
    font-family: 'Vazir', sans-serif;
    font-size: 0.95rem;
    z-index: 2;
    position: relative;
}

.qsl-chapter-container:hover .qsl-surah-number span {
    color: #12312E;
}*/

/* بخش اطلاعات عربی */
/*.qsl-arabic-info {
    display: flex;
    flex-direction: column;
}*/

/* نام عربی سوره - همیشه راست‌چین */
/*.qsl-surah-name {
    font-family: 'Scheherazade New', 'Amiri', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #12312E;
    line-height: 1.2;
    direction: rtl;
    text-align: right;
    unicode-bidi: embed;
}*/

/* توضیحات زیر نام عربی (تعداد آیات) */
/*.qsl-description {
    font-size: 0.85rem;
    color: #64748b;
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    text-align: right;
}*/

/* بخش نام ترجمه شده - در RTL سمت چپ، در LTR سمت راست */
/*.qsl-translation-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex: 1;
}*/

/* در حالت RTL، این بخش در سمت چپ قرار می‌گیرد */
/*[dir="rtl"] .qsl-translation-section {
    order: 2;
    align-items: flex-start;
    text-align: left;
}*/

/* در حالت LTR، این بخش در سمت راست قرار می‌گیرد */
/*[dir="ltr"] .qsl-translation-section {
    order: 1;
    align-items: flex-end;
    text-align: right;
}*/

/* نام ترجمه شده سوره */
/*.qsl-translated-surah-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    font-family: 'Vazir', sans-serif;
    line-height: 1.4;
    white-space: nowrap;
}*/

/* محل نزول */
/*.qsl-place {
    font-size: 0.85rem;
    color: #64748b;
    font-family: 'Vazir', sans-serif;
    margin-top: 2px;
}*/

/* در حالت RTL، محل نزول چپ‌چین می‌شود */
/*[dir="rtl"] .qsl-place {
    text-align: left;
}*/

/* در حالت LTR، محل نزول راست‌چین می‌شود */
/*[dir="ltr"] .qsl-place {
    text-align: right;
}*/

/* ========== استایل‌های گروه‌های جز و حزب ========== */
/*.juz-group-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
}

.juz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #E8C98F;
    padding-bottom: 1rem;
}

[dir="rtl"] .juz-header {
    flex-direction: row-reverse;
}

.juz-title-right {
    font-size: 1.5rem;
    font-weight: 800;
    color: #12312E;
    font-family: 'Vazir', sans-serif;
}

.juz-action-left {
    color: #E8C98F;
    font-weight: 600;
    font-family: 'Vazir', sans-serif;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: rgba(232, 201, 143, 0.1);
    transition: all 0.3s ease;
}

.juz-action-left:hover {
    background: #E8C98F;
    color: #12312E;
    text-decoration: none;
}

.juz-surah-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
}*/

/* ========== استایل‌های کارت‌های جز و حزب ========== */
/*.juz-hizb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.jh-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.jh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: #E8C98F;
}

.jh-number-badge {
    width: 52px;
    height: 52px;
    background: #12312E;
    color: #E8C98F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Vazir', sans-serif;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(18, 49, 46, 0.25);
}

.jh-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    font-family: 'Vazir', sans-serif;
}

.jh-subtitle {
    font-family: 'Scheherazade New', serif;
    font-size: 1.4rem;
    color: #12312E;
    font-weight: 700;
    line-height: 1.3;
}

.jh-meta {
    font-size: 0.8rem;
    color: #64748b;
    font-family: 'Vazir', sans-serif;
    background: #f1f5f9;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    display: inline-block;
}*/

/* ========== استایل فوتر ========== */
/*.footer {
    background: linear-gradient(145deg, #0B1F1D, #12312E);
    color: #FAF8F5;
    padding: clamp(40px, 6vw, 60px) 0 clamp(20px, 4vw, 30px);
    position: relative;
    overflow: hidden;
    border-top: 3px solid #E8C98F;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            repeating-linear-gradient(45deg,
            rgba(232, 201, 143, 0.02) 0px,
            rgba(232, 201, 143, 0.02) 2px,
            transparent 2px,
            transparent 8px);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(232, 201, 143, 0.3));
}

.footer-title {
    color: #E8C98F;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Vazir', sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #E8C98F;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(245, 240, 232, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    font-family: 'Vazir', sans-serif;
}

.footer-links a:hover {
    color: #E8C98F;
    transform: translateX(-5px);
}

.footer-links i {
    margin-left: 8px;
    font-size: 0.8rem;
    color: #E8C98F;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(245, 240, 232, 0.8);
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    font-family: 'Vazir', sans-serif;
}

.footer-contact i {
    color: #E8C98F;
    font-size: 1.2rem;
    min-width: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    background: rgba(232, 201, 143, 0.1);
    border-radius: 50%;
    color: #E8C98F;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 201, 143, 0.3);
    text-decoration: none;
}

.footer-social a:hover {
    background: #E8C98F;
    color: #12312E;
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: clamp(40px, 6vw, 50px);
    padding-top: clamp(20px, 4vw, 25px);
    border-top: 1px solid rgba(232, 201, 143, 0.2);
    text-align: center;
    color: rgba(245, 240, 232, 0.6);
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    font-family: 'Vazir', sans-serif;
}

.footer-bottom a {
    color: #E8C98F;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    margin-top: 20px;
    border: 1px solid rgba(232, 201, 143, 0.3);
    display: flex;
}

.footer-newsletter-input {
    background: transparent;
    border: none;
    color: #FAF8F5;
    padding: 10px 15px;
    width: 100%;
    font-size: 0.9rem;
    font-family: 'Vazir', sans-serif;
}

.footer-newsletter-input:focus {
    outline: none;
}

.footer-newsletter-input::placeholder {
    color: rgba(245, 240, 232, 0.4);
}

.footer-newsletter-button {
    background: #E8C98F;
    border: none;
    color: #12312E;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Vazir', sans-serif;
}

.footer-newsletter-button:hover {
    background: #12312E;
    color: #E8C98F;
    border: 1px solid #E8C98F;
}*/

/* ========== استایل‌های فوکوس و دسترسی‌پذیری ========== */
/*a:focus-visible,
button:focus-visible,
.search-input:focus-visible {
    outline: 2px solid #E8C98F;
    outline-offset: 3px;
}

.navbar-nav .nav-link:focus-visible {
    background: rgba(232, 201, 143, 0.15) !important;
    color: #E8C98F !important;
    transform: translateY(-2px);
}

.feature-button:focus-visible,
.special-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(232, 201, 143, 0.4);
    border-color: #FAF8F5;
}

.footer-links a:focus-visible {
    color: #E8C98F;
    transform: translateX(-5px);
}

.footer-social a:focus-visible {
    background: #E8C98F;
    color: #12312E;
    transform: translateY(-5px);
}

.footer-newsletter-button:focus-visible,
.navbar-toggler:focus-visible,
.profile-toggler:focus-visible {
    outline: 2px solid #E8C98F;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}*/

/* ========== استایل‌های ریسپانسیو ========== */
/*@media (min-width: 1200px) {
    .navbar-nav {
        margin: 0 auto;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1.2rem !important;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        display: none !important;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-brand-img {
        max-height: 45px;
    }

    .navbar-collapse {
        padding-top: 0.5rem;
    }

    .navbar-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 992px) {
    .quran-surah-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .qsl-surah-name {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .feature-button {
        min-height: 140px;
        padding: 20px 10px;
    }

    .feature-button i {
        font-size: 2rem;
    }

    .feature-button span {
        font-size: 1rem;
    }

    .special-button {
        min-height: 180px;
        padding: 25px 15px;
    }

    .special-button i {
        font-size: 3rem;
    }

    .special-button span {
        font-size: 1.4rem;
    }

    .quran-tabs .nav-link {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .quran-surah-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .juz-surah-grid {
        grid-template-columns: 1fr;
    }

    .juz-group-container {
        padding: 1.2rem;
    }

    .juz-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    [dir="rtl"] .juz-header {
        align-items: flex-end;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.3rem 0.5rem;
        min-height: 60px;
    }

    .navbar-brand-img {
        max-height: 40px;
    }

    .profile-toggler {
        border: none;
        padding: 0.2rem 0.5rem;
    }

    .user-image {
        width: 40px;
        height: 40px;
    }

    .user-image i {
        font-size: 2rem;
    }

    .search-wrapper {
        padding: 6px;
        border-radius: 30px;
    }

    .search-input {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .search-button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        width: 100% !important;
        border-radius: 30px;
    }

    .search-wrapper .d-flex {
        gap: 0.5rem !important;
    }

    .buttons-section {
        padding: 30px 0 50px;
    }

    .feature-button {
        min-height: 120px;
    }

    .special-button {
        min-height: 160px;
    }

    .qsl-surah-name {
        font-size: 1.5rem;
    }

    .qsl-translated-surah-name {
        font-size: 1rem;
    }

    .qsl-row-left {
        gap: 0.5rem;
    }
}

@media (max-width: 400px) {
    .hero-section {
        padding: 36px 0 28px;
    }*/

    /* ساختار اصلی کارت */
/*.qsl-row-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}*/

/* سکشن راست (شماره + نام عربی) */
/*.qsl-right-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}*/

/* سکشن چپ (ترجمه + محل نزول) */
/*.qsl-left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}*/

/* وقتی صفحه RTL است */
/*[dir="rtl"] .qsl-row-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .qsl-left-section {
    align-items: flex-end;
    text-align: right;
}

    .qsl-row-left {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .qsl-surah-name-container {
        min-width: auto;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .search-button {
        padding: 0.7rem 1.5rem;
    }
}*/