
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');
body {
    font-family: 'Noto Naskh Arabic', serif;
    background-color: #f5f5f0;
    color: #333;
    line-height: 1.8;
}
.container {
    max-width: 1200px;
}

.hadith-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.hadith-card:hover {
    transform: translateY(-5px);
}

.hadith-text {
    line-height: 2.5;
    font-size: 1.1rem;
    color: #333;
}

.book-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.book-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-box {
    border-radius: 50px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.search-box:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.nav-tabs .nav-link.active {
    color: #4f46e5;
    border-bottom: 2px solid #4f46e5;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hadith text styling */
.hadith-text {
    line-height: 2.5;
    text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hadith-text {
        font-size: 0.9rem;
    }
}