/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a3a8f;
    --secondary: #ff6b00;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #28a745;
    --hero-light: #fffdfd;
    --hero-dark: #e7ebf5;
    --atm-blue: #0d2a6e;
    --atm-dark: #091c4d;
    --atm-light: #2a4da0;
    --button-color: #4a6fc7;
    --button-hover: #3a5fb7;
}

body {
   
    transition: opacity 0.8s ease-in-out, background-color 0.3s, color 0.3s;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}


        

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}




.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e55e00;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

        .load-more-btn {
            display: block;
            margin: 40px auto;
            padding: 15px 40px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }
        
        .load-more-btn:hover {
            background-color: #0d2a6e;
            transform: translateY(-2px);
        }
        
        .load-more-btn:disabled {
            background-color: var(--gray);
            cursor: not-allowed;
            transform: none;
        }
        
        .loading {
            opacity: 0.7;
            pointer-events: none;
        }
        

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

nav ul li a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile Menu Styles */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
    list-style: none;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul li {
    margin: 10px 0;
    list-style: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--hero-light) 0%, var(--hero-dark) 100%);
    color: var(--primary);
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* How It Works Section */
.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #e55e00 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Page Styles */
.blog-header {
    background-color: var(--light);
    padding: 40px 0;
    text-align: center;
}

.blog-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.search-container {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.blog-image {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.blog-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.blog-meta span {
    margin-right: 15px;
}

.blog-excerpt {
    margin-bottom: 15px;
    color: var(--dark);
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--gray);
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

/* Blog Article Styles */
.blog-article-header {
    background-color: var(--light);
    padding: 60px 0 40px;
}

.blog-article-header .container {
    max-width: 800px;
}

.article-meta {
    display: flex;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.article-meta span {
    margin-right: 20px;
}

.article-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.article-image {
    width: 100%;
    height: 400px;
    background-color: #1a3a8f;
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-box {
    background-color: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary);
    color: white;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--primary);
    color: white;
}

.nav-btn.prev::before {
    content: "←";
    margin-right: 10px;
}

.nav-btn.next::after {
    content: "→";
    margin-left: 10px;
}

.related-articles {
    background-color: var(--light);
    padding: 60px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.article-card-image {
    height: 180px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.article-card-content {
    padding: 20px;
}

.article-card-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.article-card-meta {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--gray);
}

.article-card-meta span {
    margin-right: 15px;
}

.article-card-excerpt {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 0.9rem;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav.desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        justify-content: center;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    



    .feature-card, .blog-card, .article-card {
        padding: 20px;
    }
    
    .article-content {
        padding: 20px 0 40px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-meta span {
        margin-right: 0;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .blog-meta span {
        margin-right: 0;
    }
}



/* -----------------------------------*/
/* ------- Book Page Styles ----------*/
/* -----------------------------------*/

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
        }
        
        .download-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
        }
        
        .download-option {
            display: flex;
            align-items: center;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .download-option:hover {
            border-color: var(--primary);
            background-color: #f0f5ff;
        }
        
        .option-icon {
            font-size: 1.5rem;
            margin-right: 15px;
            color: var(--primary);
        }
        
        .option-text h4 {
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .option-text p {
            font-size: 0.9rem;
            color: var(--gray);
            margin: 0;
        }
        
        /* Testimonials Section */
        .testimonials {
            background-color: var(--light);
        }
        
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .testimonial-card {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: relative;
        }

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

        
        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
            color: var(--dark);
        }
        
        .testimonial-author {
            font-weight: 600;
            color: var(--primary);
        }
        
        .quote-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 2rem;
            color: rgba(26, 58, 143, 0.1);
        }
        
        /* Tabs Section */
        .tabs-section {
            padding: 80px 0;
        }
        
        .tabs-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .tabs-header {
            display: flex;
            border-bottom: 1px solid #ddd;
            margin-bottom: 30px;
            overflow-x: auto;
            scrollbar-width: none; /* Firefox */
        }
        
        .tabs-header::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Edge */
        }
        
        .tab-btn {
            padding: 15px 25px;
            background: none;
            border: none;
            font-weight: 600;
            color: var(--gray);
            cursor: pointer;
            white-space: nowrap;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
        }
        
        .tab-btn.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .chapter-preview {
            background-color: var(--light);
            padding: 30px;
            border-radius: 8px;
            line-height: 1.7;
        }
        
        /* Order Section */
        .order-section {
            background: linear-gradient(135deg, var(--secondary) 0%, #e55e00 100%);
            color: white;
            text-align: center;
            padding: 80px 0;
        }
        
        .order-section h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .order-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* FAQ Section */
        .faq-section {
            background-color: var(--light);
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            margin-bottom: 20px;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .faq-question {
            padding: 20px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--primary);
        }
        
        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }
        
        .faq-item.active .faq-answer {
            padding: 0 20px 20px;
            max-height: 500px;
        }
        
        .faq-toggle {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }
        
        /* Book Details Section */
        .book-details {
            display: flex;
            gap: 50px;
            align-items: flex-start;
            margin-bottom: 50px;
        }
        
        .book-cover {
            flex: 0 0 300px;
            text-align: center;
        }
        
        .book-cover img {
            width: 100%;
            max-width: 300px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .book-info {
            flex: 1;
        }
        
        .book-title {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .book-subtitle {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .book-description {
            margin-bottom: 30px;
            line-height: 1.7;
            color: var(--dark);
        }
        
        .book-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--gray);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .book-details {
                flex-direction: column;
                text-align: center;
            }
            
            .book-cover {
                flex: 0 0 auto;
                margin-bottom: 30px;            
            }
            

            .book-meta {
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .book-title {
                font-size: 2rem;
            }
            
            .book-subtitle {
                font-size: 1.2rem;
            }
            
            .tab-btn {
                padding: 12px 20px;
                font-size: 0.9rem;
            }
            
            .order-section h2 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .modal-content {
                padding: 20px;
            }
            
            .testimonial-card {
                padding: 20px;
            }
            
            .chapter-preview {
                padding: 20px;
            }
        }

/* ------- Book Page Styles Ends ----------*/
