/* OVI PUBLICATION - PROFESSIONAL NGO PUBLISHING HOUSE */

/* ========================================
   CSS VARIABLES - Academic & Professional Theme
======================================== */
:root {
    /* Primary Colors - Professional Blue */
    --primary: #003d82;
    --primary-light: #0052a3;
    --primary-dark: #002952;
    
    /* Secondary Colors - Academic Burgundy */
    --secondary: #8b1538;
    --secondary-light: #a01b42;
    
    /* Accent Colors */
    --accent-gold: #b8860b;
    --accent-teal: #008b8b;
    
    /* Neutral Colors */
    --dark: #1a1a1a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Status Colors */
    --success: #2e7d32;
    --warning: #f57c00;
    --info: #0288d1;
    --danger: #c62828;
    
    /* Typography */
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Shadows - Subtle & Professional */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 700; }
h4 { font-size: 1.35rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   NAVIGATION - Professional & Clean
======================================== */
.navbar-custom {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}

.navbar-custom .brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.navbar-custom .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700) !important;
    padding: 0.5rem 1.125rem !important;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 80%;
}

.btn-donate {
    background: var(--secondary) !important;
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-donate:hover {
    background: var(--secondary-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   HERO SECTION - Professional & Academic
======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section p {
    color: rgba(255,255,255,0.95);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 2rem;
}

.hero-section .btn-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.hero-section .btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.hero-section .btn-outline-white {
    border: 2px solid rgba(255,255,255,0.9);
    background: transparent;
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.hero-section .btn-outline-white:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

.hero-section .hero-image {
    position: relative;
    z-index: 2;
}

.hero-section .hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.1);
}

/* ========================================
   SECTION STYLES - Academic Layout
======================================== */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-teal));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    max-width: 650px;
    margin: 0 auto 3.5rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ========================================
   INFO STRIP - Professional Trust Indicators
======================================== */
.info-strip {
    background: var(--gray-50);
    padding: 50px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.info-strip .info-item {
    text-align: center;
    padding: 0 1.5rem;
}

.info-strip .info-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.info-strip .info-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.info-strip .info-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* DOI/Crossref Badge */
.doi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 0.75rem;
}

.doi-badge i {
    color: var(--accent-teal);
    font-size: 1rem;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    padding: 80px 0;
}

.about-section .about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-section p {
    color: var(--gray-700);
    margin-bottom: 1.25rem;
}

.about-section .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-section .feature-item i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.about-section .feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-section .feature-item p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

/* ========================================
   STATISTICS
======================================== */
.stats-section {
    background: var(--dark);
    padding: 70px 0;
}

.stats-section .stat-item {
    text-align: center;
    color: white;
}

.stats-section .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stats-section .stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ========================================
   CATEGORIES
======================================== */
.category-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card .category-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.category-card .category-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.category-card:hover .category-icon {
    background: var(--primary);
}

.category-card:hover .category-icon i {
    color: white;
}

.category-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ========================================
   SERVICES
======================================== */
.services-section {
    padding: 80px 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-card .service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* ========================================
   BOOKS GRID
======================================== */
.books-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.book-card .book-cover {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--gray-200);
}

.book-card .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card .book-info {
    padding: 1.25rem;
}

.book-card .book-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.book-card .book-info .author {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.book-card .book-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonial-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--gray-200);
    line-height: 1;
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-700);
    margin: 1rem 0 1.5rem;
}

.testimonial-card .author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.testimonial-card .author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-card .author-title {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: var(--primary);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-section .btn-cta {
    background: var(--accent);
    color: var(--dark);
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-section .btn-cta:hover {
    background: #b7791f;
    color: var(--dark);
    transform: translateY(-2px);
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter-section {
    background: var(--dark);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.newsletter-section h3 {
    color: white;
    margin-bottom: 0.75rem;
}

.newsletter-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.newsletter-section .newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-section .newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-section .newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.newsletter-section .newsletter-form button:hover {
    background: var(--primary-light);
}

/* ========================================
   FOOTER
======================================== */
.footer-section {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 25px;
}

.footer-section .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-section .brand-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.footer-section p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

.footer-section h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-links li {
    margin-bottom: 0.75rem;
}

.footer-section .footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-section .footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section .footer-contact li i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.footer-section .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-section .social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-section .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-section .footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-section .footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-section .footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary-custom {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
}

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

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section .hero-image {
        margin-top: 2rem;
    }
    
    .navbar-custom .nav-link {
        padding: 0.75rem 0 !important;
    }
    
    .footer-section .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section {
        padding: 60px 0;
    }
    
    .stats-section .stat-number {
        font-size: 2.25rem;
    }
    
    .newsletter-section .newsletter-form {
        flex-direction: column;
    }
    
    .category-card,
    .service-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    h1 { font-size: 1.75rem; }
    
    .hero-section h1 {
        font-size: 1.85rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .btn-white,
    .btn-outline-white {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   UTILITIES
======================================== */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-light { background-color: var(--gray-100) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-200); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* Selection */
::selection { background: var(--primary); color: white; }