/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0F5132;
    --secondary-color: #198754;
    --accent-color: #d4af37; /* Gold */
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', serif;
    font-weight: 700;
}

/* Utilities */
.text-success { color: var(--primary-color) !important; }
.bg-success { background-color: var(--primary-color) !important; }
.bg-success.bg-opacity-10 { background-color: rgba(15, 81, 50, 0.1) !important; }
.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-success:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.hover-success:hover {
    color: var(--primary-color) !important;
}

/* Navbar */
.navbar-brand {
    font-family: 'Amiri', serif;
}
.nav-link {
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    background-color: #000;
}
.hero-slide {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #f8f9fa;
    margin-bottom: 2rem;
}

/* Cards */
.book-card {
    transition: var(--transition);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 100%;
}
.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.book-cover {
    height: 250px;
    object-fit: cover;
    width: 100%;
    border-bottom: 1px solid #eee;
}
.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.book-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Categories */
.category-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: block;
    text-decoration: none;
    color: var(--dark-text);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: var(--primary-color);
    color: #fff;
}
.category-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.category-card:hover .category-icon {
    color: #fff;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

/* Article Page */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.article-header {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(15, 81, 50, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

 / *   M e g a   M e n u   S t y l e s   * / 
 . h a s - m e g a m e n u   {   p o s i t i o n :   s t a t i c   ! i m p o r t a n t ;   } 
 . m e g a m e n u   {   l e f t :   0 ;   r i g h t :   0 ;   w i d t h :   1 0 0 % ;   m a r g i n - t o p :   0 ;   b o r d e r - r a d i u s :   0 ;   b o r d e r - b o t t o m - l e f t - r a d i u s :   1 0 p x ;   b o r d e r - b o t t o m - r i g h t - r a d i u s :   1 0 p x ;   } 
 @ m e d i a   ( m i n - w i d t h :   9 9 2 p x )   { 
         . m e g a m e n u   {   p a d d i n g :   0   ! i m p o r t a n t ;   } 
         . d r o p d o w n - m e n u . m e g a m e n u . s h o w   {   d i s p l a y :   f l e x ;   } 
         . n a v - i t e m . d r o p d o w n . h a s - m e g a m e n u : h o v e r   . d r o p d o w n - m e n u   {   d i s p l a y :   f l e x ;   m a r g i n - t o p :   0 ;   } 
 } 
 . m e g a m e n u - s i d e b a r   . n a v - l i n k : h o v e r ,   . m e g a m e n u - s i d e b a r   . n a v - l i n k . a c t i v e   {   b a c k g r o u n d - c o l o r :   # 1 9 8 7 5 4 ;   c o l o r :   w h i t e   ! i m p o r t a n t ;   } 
 . m e g a m e n u - s i d e b a r   . n a v - l i n k . a c t i v e   . t e x t - m u t e d   {   c o l o r :   w h i t e   ! i m p o r t a n t ;   } 
 . h o v e r - s u c c e s s : h o v e r   {   c o l o r :   # 1 9 8 7 5 4   ! i m p o r t a n t ;   t e x t - d e c o r a t i o n :   u n d e r l i n e   ! i m p o r t a n t ;   } 
  
 