/* ==== source: style.css ==== */
/* WiseLeaf Scientific Ventures - Main Stylesheet */

:root {
    --primary-color: #0c4a60;
    --secondary-color: #1a5c75;
    --accent-color: #005a8b;
    --light-accent: #3498db;
    --orange-accent: #e67e22;
    --text-primary: #2c3e50;
    --text-secondary: #5d6d7e;
    --text-light: #85929e;
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --border-light: #e9ecef;
    --gradient-main: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%);
    --gradient-accent: linear-gradient(45deg, #3498db 0%, #005a8b 100%);
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-normal: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
    font-size: 14px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Increased from 80px to accommodate larger logo */
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.7rem; /* Increased from 1.4rem */
    font-weight: 700; /* Increased from 600 */
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px; /* Added padding for better clickable area */
    border-radius: 8px; /* Added border radius for modern look */
}

/* Removed hover effect as requested */

.logo i {
    margin-right: 15px; /* Increased spacing */
    color: var(--accent-color);
    font-size: 2.5rem; /* Much bigger than text - increased from 2rem */
    filter: drop-shadow(0 2px 4px rgba(12, 74, 96, 0.2)); /* Added subtle glow */
}

.logo-text {
    color: var(--primary-color);
    font-family: 'Merriweather', serif;
    font-weight: 700; /* Made bolder */
    letter-spacing: -0.5px; /* Tighter letter spacing for premium look */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.header-links a:hover {
    color: var(--accent-color);
    background: rgba(52, 152, 219, 0.05);
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-links a:hover::after {
    width: 70%;
}

.account-dropdown {
    position: relative;
}

.account-btn {
    background: rgba(15, 27, 60, 0.05);
    border: 2px solid transparent;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.account-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-elevated);
    min-width: 240px;
    padding: 12px 0;
    margin-top: 5px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.dropdown-content a i {
    margin-right: 12px;
    width: 16px;
    color: var(--accent-color);
}

.dropdown-content a:hover {
    background: var(--bg-primary);
    color: var(--accent-color);
    padding-left: 28px;
}

/* Removed auth-buttons and btn-signin styles - no longer needed */
.auth-buttons {
    display: none !important;
}

.btn-signin {
    display: none !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: var(--accent-color);
    color: white;
}

/* Signed-in state styling */
.btn-signin.signed-in {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-signin.signed-in:hover {
    background: #c82333;
    border-color: #bd2130;
}

.account-link {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

        .account-link:hover {
            color: var(--accent-color);
        }

        /* Home Button Styles */
        .home-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 6px;
            background: rgba(0, 90, 139, 0.1);
            transition: all 0.3s ease;
        }

        .home-btn:hover {
            background: var(--accent-color);
            color: white !important;
        }

        .home-btn i {
            font-size: 14px;
        }

/* Navigation Menu - World Class Design */
.nav-menu {
    background: var(--gradient-main);
    padding: 0;
    border-bottom: none; /* Removed the white line */
    margin-top: 0; /* Removed margin to eliminate gap */
    box-shadow: 0 2px 8px rgba(12, 74, 96, 0.1); /* Added subtle shadow instead */
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    min-height: 50px; /* Consistent height */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a {
    display: block;
    padding: 15px 22px; /* Increased padding for better click area */
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px; /* Slightly increased from 13px */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px; /* Added border radius */
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15); /* Slightly more visible hover */
    transform: translateY(-1px); /* Subtle lift effect */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Added hover shadow */
}

/* Hero Banner */
.hero {
    background: var(--gradient-main);
    position: relative;
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    padding: 40px 20px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="4" cy="4" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect x="0" y="0" width="800" height="400" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-right: 40px;
}

.hero-quote {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 14px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Section */
.search-section {
    background: var(--bg-primary);
    padding: 50px 20px;
    position: relative;
    z-index: 2;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.search-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.search-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto 20px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-normal);
    border: 1px solid var(--border-light);
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.search-field {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    font-weight: 400;
    width: 100%;
}

.search-field:focus {
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 2px rgba(0, 90, 139, 0.1);
}

.search-field::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.search-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.search-btn {
    padding: 10px 24px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    min-width: 120px;
}

.search-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-subtle);
}

.search-btn i {
    margin-right: 8px;
}

.advanced-search {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.advanced-search::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.advanced-search:hover::after {
    width: 100%;
}

.advanced-search:hover {
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    padding: 40px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Merriweather', serif;
}

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

.card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}

.card-content {
    padding: 20px;
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.card-link:hover {
    text-decoration: underline;
}

/* Announcements-specific styling - Simple Image Cards */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 320px;
    display: flex;
    flex-direction: column;
}

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

.announcement-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.announcement-deadline {
    font-size: 13px;
    color: var(--orange-accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.announcement-cta {
    background: white !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid var(--primary-color) !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
    display: inline-block;
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-normal);
    text-decoration: none !important;
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    background: white !important;
}

/* Responsive adjustments - Force mobile layout only on smaller screens */
@media (max-width: 576px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .announcement-card {
        height: 280px;
    }
    
    .announcement-image {
        height: 160px;
    }
}

/* Tablet layout - Ensure 2 columns minimum on medium screens */
@media (min-width: 577px) and (max-width: 991px) {
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Desktop layout - Force 3 columns on larger screens */
@media (min-width: 992px) {
    .announcements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Force desktop layout override - use when production incorrectly detects mobile */
.announcements-grid.force-desktop {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.announcements-grid.force-desktop .announcement-card {
    height: 320px !important;
}

.announcements-grid.force-desktop .announcement-image {
    height: 200px !important;
}

/* About Section */
.about-section {
    background: var(--gradient-main);
    color: white;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-section .section-title {
    color: white;
}

.about-text {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--light-accent);
}

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

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

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    color: var(--text-light);
}

.footer-bottom-links {
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Authentication Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-primary);
}

.auth-options {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.auth-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    border-color: var(--accent-color);
    background: var(--bg-primary);
}

.auth-btn.google {
    border-color: #db4437;
}

.auth-btn.microsoft {
    border-color: #00a1f1;
}

.auth-btn.orcid {
    border-color: #a6ce39;
}

/* Page Templates */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .header-right {
        margin-top: 15px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links a {
        padding: 12px 20px;
    }
    
                .hero {
                justify-content: center;
                text-align: center;
            }
            
            .hero-content {
                margin-right: 0;
            }
            
            .hero-quote {
                font-size: 1.4rem;
            }
    
    .search-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-form {
        padding: 20px;
        margin-bottom: 15px;
    }

    .search-container {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-content {
        padding: 25px;
    }
}

/* Utility Classes */
.margin-top-30 {
    margin-top: 30px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* FAQ Styles */
.faq-section {
    margin-top: 40px;
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

/* Remove any unwanted blue focus boxes or outlines */
*:focus {
    outline: none !important;
}

/* Hide any default browser elements that might appear as blue boxes */
*::-moz-focus-inner {
    border: 0;
}

/* Remove blue highlight on mobile Safari */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ===== MULTI-JOURNAL SPECIFIC STYLING ===== */

/* Journal Cards Specific Styling */
.journal-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.journal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--primary-color);
}

.journal-stats {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.journal-stats .stat {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.primary-link {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.primary-link:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journals-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f0f8ff 100%);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.journals-cta h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.journals-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

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

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

/* Enhanced responsive for multi-journal layout */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .journals-cta {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .journal-stats {
        justify-content: center;
    }
    
    .cards-grid {
        gap: 20px;
    }
}

/* ==== source: wiseleaf-theme-fix.css ==== */
/* WiseLeaf Theme Consistency Fix - Main Import File */

/* Import all split CSS files for better maintainability */
/* == @import expanded: wiseleaf-variables.css == */
/* WiseLeaf CSS Variables - Core Theme Configuration */

/* Ensure all pages have consistent WiseLeaf color variables */
:root {
    /* WiseLeaf Primary Colors - CONSISTENT ACROSS ALL PAGES */
    --primary-color: #0c4a60 !important;
    --secondary-color: #1a5c75 !important;
    --accent-color: #005a8b !important;
    --light-accent: #3498db !important;
    --orange-accent: #e67e22 !important;
    
    /* Text Colors */
    --text-primary: #2c3e50 !important;
    --text-secondary: #5d6d7e !important;
    --text-light: #85929e !important;
    
    /* Background Colors */
    --bg-primary: #f8f9fa !important;
    --bg-secondary: #ffffff !important;
    --border-light: #e9ecef !important;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%) !important;
    --gradient-accent: linear-gradient(45deg, #3498db 0%, #005a8b 100%) !important;
    
    /* Status Colors for Registration Pages */
    --success: #28a745 !important;
    --success-bg: #d4edda !important;
    --success-text: #155724 !important;
    --success-border: #c3e6cb !important;
    --warning: #ffc107 !important;
    --error: #dc3545 !important;
    --error-bg: #f8d7da !important;
    --error-text: #721c24 !important;
    --error-border: #f5c6cb !important;
    
    /* Shadows */
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    --shadow-normal: 0 4px 8px rgba(0, 0, 0, 0.12) !important;
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    
    /* Border Radius */
    --border-radius: 12px !important;
    --border-radius-sm: 8px !important;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    --transition-fast: all 0.15s ease !important;
}
/* == @import expanded: wiseleaf-core-components.css == */
/* WiseLeaf Core Components - Base styling for all pages */

/* Fix any remaining hardcoded colors */
body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--text-primary) !important;
    background-color: var(--bg-primary) !important;
}

/* Header consistency */
.header, header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.logo, .logo-text {
    color: var(--primary-color) !important;
}

/* Enhanced logo styling for world-class look */
.logo {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.logo i {
    font-size: 2.5rem !important; /* Much bigger than text */
    margin-right: 15px !important; /* More spacing */
    filter: drop-shadow(0 2px 4px rgba(12, 74, 96, 0.2)) !important;
    color: var(--accent-color) !important;
}

.logo-text {
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

/* Header links - keep them readable */
.header-links a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
}

.header-links a:hover {
    color: var(--primary-color) !important;
}

/* Button consistency */
.btn-primary, .btn.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover, .btn.btn-primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary, .btn.btn-secondary {
    background: var(--light-accent) !important;
    border-color: var(--light-accent) !important;
    color: white !important;
}

.btn-secondary:hover, .btn.btn-secondary:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Navigation consistency - PRESERVE ORIGINAL READABLE COLORS */
.nav-menu {
    background: var(--gradient-main) !important;
    border-bottom: none !important; /* Remove white line */
    margin-top: 0 !important; /* Remove gap */
    box-shadow: 0 2px 8px rgba(12, 74, 96, 0.1) !important;
}

.nav-links a {
    color: white !important; /* Keep original readable white text */
    font-weight: 500 !important;
    font-size: 14px !important; /* Slightly increased */
    padding: 15px 22px !important; /* Better padding */
    border-radius: 6px !important; /* Rounded corners */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15) !important; /* Slightly more visible */
    color: white !important; /* Keep white text on hover */
    transform: translateY(-1px) !important; /* Subtle lift */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; /* Hover shadow */
}

/* Card consistency */
.card, .journal-card, .book-card, .article-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-subtle) !important;
}

.card:hover, .journal-card:hover, .book-card:hover, .article-card:hover {
    box-shadow: var(--shadow-normal) !important;
}

/* Form consistency */
input, select, textarea {
    border: 1px solid var(--border-light) !important;
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Fix input focus states for better readability */
input:focus, select:focus, textarea:focus,
.filter-input:focus, .filter-select:focus {
    border-color: var(--accent-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 90, 139, 0.1) !important;
}

/* Fix filter checkboxes */
.filter-checkbox input[type="checkbox"] {
    accent-color: var(--accent-color) !important;
}

.filter-checkbox label {
    color: var(--text-primary) !important;
}

/* Section headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
    font-family: 'Merriweather', serif !important;
}

/* Links */
a {
    color: var(--accent-color) !important;
}

a:hover {
    color: var(--primary-color) !important;
}

/* Footer consistency */
.footer, footer {
    background: var(--text-primary) !important;
    color: var(--bg-secondary) !important;
}

.footer a, footer a {
    color: var(--light-accent) !important;
}

.footer a:hover, footer a:hover {
    color: white !important;
}
/* == @import expanded: wiseleaf-page-fixes.css == */
/* WiseLeaf Page-Specific Fixes - Journals, Books, Webinars, Registration */

/* Fix text readability on Books, Journals, and Webinars pages */
.books-banner-content h2,
.filters-title,
.journal-title,
.book-title {
    color: var(--text-primary) !important; /* Dark readable text instead of theme colors */
}

.book-author,
.journal-meta-item i,
.book-meta-item i {
    color: var(--text-secondary) !important; /* Readable secondary text */
}

/* 1. JOURNALS PAGE - Fix "View Journal" buttons */
.journal-btn {
    background: var(--bg-secondary) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.journal-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.journal-btn.primary {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.journal-btn.primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* 2. BOOKS PAGE - Fix "Publish Book" button */
.publish-book-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.publish-book-btn:hover {
    background: var(--secondary-color) !important;
    color: white !important;
}

/* 3. BOOKS PAGE - Fix other book buttons */
.book-btn:not(.primary) {
    background: var(--bg-secondary) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.book-btn:not(.primary):hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.book-btn.primary {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.book-btn.primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* 4. WEBINARS PAGE - Fix all theme issues */

/* Fix event cards to match WiseLeaf theme */
.event-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-subtle) !important;
    border-radius: var(--border-radius) !important;
}

.event-card:hover {
    box-shadow: var(--shadow-elevated) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-5px) !important;
}

.event-card.featured {
    border-left: 5px solid var(--primary-color) !important;
}

/* Fix event headers - replace blue with WiseLeaf gradient */
.event-header {
    background: var(--gradient-main) !important;
    color: white !important;
    padding: 20px !important;
}

/* Fix event badges */
.event-badge {
    background: var(--orange-accent) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: var(--border-radius-sm) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Fix event titles and text */
.event-title {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 15px 0 !important;
}

.event-date {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.event-meta {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
}

/* Fix event descriptions and content */
.event-description {
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin: 15px 0 !important;
}

/* Fix register buttons */
.register-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--transition) !important;
}

.register-btn:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-normal) !important;
}

.register-btn.full {
    background: var(--text-light) !important;
    color: white !important;
    cursor: not-allowed !important;
}

/* Fix event tags */
.tag {
    background: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-light) !important;
    padding: 4px 10px !important;
    border-radius: var(--border-radius-sm) !important;
    font-size: 12px !important;
    margin: 2px !important;
    display: inline-block !important;
}

/* Fix event details sidebar/box */
.event-details, .event-info-box, .event-sidebar {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-subtle) !important;
    padding: 20px !important;
}

.event-details h4, .event-info-box h4 {
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.event-details p, .event-info-box p, .event-details div {
    color: var(--text-secondary) !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
}

.event-details strong, .event-info-box strong {
    color: var(--text-primary) !important;
}

/* Fix newsletter signup section */
.newsletter-signup {
    background: var(--gradient-main) !important;
    color: white !important;
    padding: 40px !important;
    border-radius: var(--border-radius) !important;
    text-align: center !important;
}

.newsletter-signup h3 {
    color: white !important;
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
}

.newsletter-signup p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem !important;
}

.newsletter-signup input {
    background: white !important;
    border: none !important;
    color: var(--text-primary) !important;
    padding: 12px !important;
    border-radius: var(--border-radius-sm) !important;
}

.newsletter-signup button {
    background: white !important;
    color: var(--primary-color) !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.newsletter-signup button:hover {
    background: var(--bg-primary) !important;
    transform: translateY(-1px) !important;
}

/* Fix webinar tabs */
.tabs {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    border-bottom: 2px solid var(--border-light) !important;
}

.tab {
    padding: 15px 25px !important;
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-light) !important;
    border-bottom: none !important;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    font-weight: 500 !important;
}

.tab:hover {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.tab.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Fix loading placeholders */
.loading-placeholder {
    text-align: center !important;
    padding: 60px 20px !important;
    color: var(--text-secondary) !important;
}

.loading-placeholder i {
    color: var(--accent-color) !important;
    margin-bottom: 15px !important;
}

.loading-placeholder p {
    color: var(--text-secondary) !important;
    font-size: 1.1rem !important;
}

/* 5. REGISTRATION PAGES - Fix all non-WiseLeaf blue colors */

/* Fix event summary headers */
.event-summary {
    background: var(--gradient-main) !important; /* Replace #2c5282 to #3182ce gradient */
    color: white !important;
}

/* Fix form section headers */
.form-section h3 {
    color: var(--primary-color) !important; /* Replace #2c5282 */
    border-bottom: 2px solid var(--border-light) !important; /* Replace #e2e8f0 */
}

/* Fix form labels */
.form-group label {
    color: var(--text-primary) !important; /* Replace #2d3748 */
}

/* Journal/Books page fixes */
.journals-header, .books-header {
    background: var(--gradient-main) !important;
    color: white !important;
}


/* == @import expanded: wiseleaf-responsive.css == */
/* WiseLeaf Responsive Design - Mobile and tablet optimizations */

/* Mobile-first responsive design */
@media (max-width: 768px) {
    .books-header h1 {
        font-size: 2.5rem !important;
    }
    
    .book-card {
        flex-direction: column !important;
        margin-bottom: 20px !important;
    }
    
    .book-image {
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        justify-content: center !important;
    }
    
    .book-cover {
        width: 80px !important;
        height: 105px !important;
    }
    
    .book-content {
        padding: 20px !important;
    }
    
    .book-title {
        font-size: 1.2rem !important;
    }
    
    .book-description {
        -webkit-line-clamp: 2 !important;
    }
    
    .book-meta {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .book-actions {
        justify-content: center !important;
    }
    
    .book-btn.primary {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .results-header {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    
    .header-actions {
        justify-content: center !important;
    }
    
    .container, .main-container {
        padding: 0 1rem !important;
    }
    
    .card, .journal-card, .book-card {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .book-content {
        padding: 15px !important;
    }
    
    .book-title {
        font-size: 1.1rem !important;
    }
    
    .book-author {
        font-size: 0.9rem !important;
    }
    
    .book-description {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* Print styles */
@media print {
    * {
        background: white !important;
        color: black !important;
    }
    
    .header, .footer, .nav-menu {
        display: none !important;
    }
}
/* == @import expanded: wiseleaf-utilities.css == */
/* WiseLeaf Utilities - Search, dashboard, notifications, common UI elements */

/* Search specific fixes */
.search-header, .search-results, .advanced-search-panel {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-normal) !important;
}

.search-title {
    color: var(--primary-color) !important;
}

.search-subtitle {
    color: var(--text-secondary) !important;
}

/* Dashboard specific fixes */
.dashboard-main, .welcome-section {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
}

.dashboard-title {
    color: var(--primary-color) !important;
}

.dashboard-subtitle {
    color: var(--text-secondary) !important;
}

/* Status badges */
.status-badge, .role-badge {
    border-radius: var(--border-radius-sm) !important;
}

.status-badge.published, .role-badge.author {
    background: var(--bg-primary) !important;
    color: var(--secondary-color) !important;
}

.status-badge.review, .role-badge.reviewer {
    background: var(--bg-primary) !important;
    color: var(--accent-color) !important;
}

.status-badge.draft, .role-badge.editor {
    background: var(--bg-primary) !important;
    color: var(--orange-accent) !important;
}

/* Notification fixes */
.notification, .alert {
    border-radius: var(--border-radius-sm) !important;
    border: 1px solid var(--border-light) !important;
}

.notification.success, .alert-success {
    background: var(--bg-primary) !important;
    color: var(--secondary-color) !important;
    border-left: 4px solid var(--secondary-color) !important;
}

.notification.error, .alert-error, .alert-danger {
    background: var(--bg-primary) !important;
    color: var(--orange-accent) !important;
    border-left: 4px solid var(--orange-accent) !important;
}

.notification.warning, .alert-warning {
    background: var(--bg-primary) !important;
    color: var(--orange-accent) !important;
    border-left: 4px solid var(--orange-accent) !important;
}

.notification.info, .alert-info {
    background: var(--bg-primary) !important;
    color: var(--accent-color) !important;
    border-left: 4px solid var(--accent-color) !important;
}

/* Loading states */
.spinner, .loading {
    border-color: var(--border-light) !important;
    border-top-color: var(--primary-color) !important;
}

/* Pagination */
.pagination a {
    color: var(--accent-color) !important;
    border: 1px solid var(--border-light) !important;
}

.pagination a:hover, .pagination .active {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Tables */
table {
    border: 1px solid var(--border-light) !important;
}

th {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--border-light) !important;
}

td {
    border-bottom: 1px solid var(--border-light) !important;
}

tr:hover {
    background: var(--bg-primary) !important;
}

/* Modal/Dialog consistency */
.modal, .dialog {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-elevated) !important;
}

.modal-header, .dialog-header {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.modal-title, .dialog-title {
    color: var(--text-primary) !important;
}

/* Dropdown menus */
.dropdown-menu {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-normal) !important;
}

.dropdown-item:hover {
    background: var(--bg-primary) !important;
    color: var(--primary-color) !important;
}

/* Progress bars */
.progress {
    background: var(--bg-primary) !important;
}

.progress-bar {
    background: var(--gradient-accent) !important;
}

/* Tags */
.tag, .badge {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: var(--border-radius-sm) !important;
}

.tag.secondary, .badge-secondary {
    background: var(--text-light) !important;
}
/* ==== source: help.css ==== */
/* Help Center Page Styles */

/* Hero Section with Background Image */
.help-hero {
    position: relative !important;
    padding: 80px 20px !important;
    text-align: center !important;
    overflow: hidden !important;
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Direct background image like webinars page */
    background-image: url('../images/pages/help-hero-bg.jpg') !important;
    background-image: url('../images/pages/help-hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #0c4a60 !important;
}

/* Remove ::before since we're using direct background */

.help-hero * {
    position: relative;
    z-index: 2;
}

.help-hero > * {
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.help-hero h1 {
    color: #0c4a60 !important;
    font-size: 2.8rem !important;
    margin: 0 !important;
    font-family: 'Merriweather', serif !important;
    font-weight: 700 !important;
}

.help-hero p {
    color: #005a8b !important;
    font-size: 1.1rem !important;
    max-width: 700px !important;
    margin: 20px auto 0 auto !important;
    line-height: 1.6 !important;
}

/* Need Help Section with Background Image */
#contact-support > div {
    background: none !important;
    position: relative !important;
}

#contact-support > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pages/help-needhelp-bg.jpg');
    background-image: url('../images/pages/help-needhelp-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
    border-radius: 12px;
}

#contact-support > div * {
    position: relative;
    z-index: 2;
}

#contact-support h2 {
    color: #0c4a60 !important;
}

#contact-support p {
    color: #005a8b !important;
}

#contact-support h4 {
    color: #0c4a60 !important;
}

/* Fix text colors in Need Help cards */
#contact-support .fas {
    color: white !important;
}

#contact-support div[style*="color: white"] h4 {
    color: #0c4a60 !important;
}

#contact-support div[style*="color: rgba(255,255,255,0.9)"] p {
    color: #005a8b !important;
}

/* Page Header */
.help-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 500;
}

.stat-item i {
    color: #3182ce;
    font-size: 1.2rem;
}

/* Help Cards Section */
.help-cards-section {
    margin: 40px 0;
}

.help-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.help-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e2e8f0;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.help-card.featured {
    border-color: #3182ce;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon.author {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.card-icon.support {
    background: linear-gradient(135deg, #ed8936 0%, #c05621 100%);
}

.card-icon i {
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3182ce;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background: #2c5282;
    color: white;
}

/* Help Sections */
.help-section {
    margin: 60px 0;
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #2c5282;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
}

.section-header p {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Tabs */
.help-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: #3182ce;
    background: white;
    border-bottom-color: #3182ce;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Step Guide */
.step-guide {
    space-y: 30px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

.step-content ul {
    padding-left: 20px;
    color: #4a5568;
}

.step-content li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Navigation Guide */
.nav-section {
    margin: 30px 0;
}

.nav-section h4 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Search Examples */
.search-examples {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.example {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.example code {
    background: #2d3748;
    color: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    min-width: 120px;
}

.example span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Access Types */
.access-guide {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.access-type {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.access-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.access-icon.open {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.access-icon.subscription {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}

.access-icon.trial {
    background: linear-gradient(135deg, #ed8936 0%, #c05621 100%);
}

.access-icon i {
    color: white;
    font-size: 1.2rem;
}

.access-info h4 {
    color: #2d3748;
    margin-bottom: 8px;
}

.access-info p {
    color: #4a5568;
    line-height: 1.5;
}

.oa-badge {
    background: #38a169;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.access-troubleshooting {
    margin-top: 30px;
}

.access-troubleshooting h4 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Content Sidebar */
.content-sidebar {
    space-y: 20px;
}

.help-tip, .help-resources {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.help-tip {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7af 20%);
    border-color: #ed8936;
}

.help-tip h4 {
    color: #c05621;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-tip p {
    color: #744210;
    line-height: 1.5;
}

.help-resources h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

.help-resources ul {
    list-style: none;
    padding: 0;
}

.help-resources li {
    margin: 8px 0;
}

.help-resources a {
    color: #3182ce;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.help-resources a:hover {
    background: #f7fafc;
    color: #2c5282;
}

kbd {
    background: #e2e8f0;
    color: #2d3748;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-family: monospace;
}

/* Author Workflow */
.author-workflow {
    margin: 40px 0;
}

.workflow-step {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    color: white;
    font-size: 2rem;
}

.step-content h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.step-details h4 {
    color: #2d3748;
    margin: 20px 0 12px 0;
    font-size: 1.1rem;
}

.step-details ul {
    padding-left: 20px;
    color: #4a5568;
}

.step-details li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Checklist */
.checklist {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: #4a5568;
    cursor: pointer;
}

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3182ce;
}

/* Timeline */
.timeline {
    margin: 20px 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
    margin: 12px 0;
    background: #f7fafc;
    border-left: 4px solid #3182ce;
    border-radius: 0 8px 8px 0;
}

.timeline-item strong {
    color: #2d3748;
    font-weight: 600;
}

.timeline-item span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Outcomes */
.outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.outcome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
}

.outcome.accept {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
}

.outcome.revise {
    background: #fef5e7;
    border: 1px solid #fed7af;
}

.outcome.reject {
    background: #fed7d7;
    border: 1px solid #feb2b2;
}

.outcome i {
    font-size: 1.5rem;
}

.outcome.accept i {
    color: #38a169;
}

.outcome.revise i {
    color: #ed8936;
}

.outcome.reject i {
    color: #e53e3e;
}

.outcome div strong {
    display: block;
    color: #2d3748;
    margin-bottom: 4px;
}

.outcome div span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Author Resources */
.author-resources {
    margin: 50px 0;
}

.author-resources h3 {
    color: #2d3748;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.resource-card i {
    font-size: 2.5rem;
    color: #3182ce;
    margin-bottom: 15px;
}

.resource-card h4 {
    color: #2d3748;
    margin-bottom: 12px;
}

.resource-card p {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
}

.resource-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #3182ce;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #3182ce;
    color: white;
}

/* Support Categories */
.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.support-category {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-header i {
    font-size: 1.5rem;
}

.category-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.category-content {
    padding: 25px;
}

.troubleshooting-item {
    margin: 25px 0;
}

.troubleshooting-item h4 {
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.troubleshooting-item ul {
    padding-left: 20px;
    color: #4a5568;
}

.troubleshooting-item li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Support Contact */
.support-contact {
    margin: 50px 0;
}

.contact-options h3 {
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.contact-method {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #3182ce;
    transform: translateY(-3px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-info h4 {
    color: #2d3748;
    margin-bottom: 8px;
}

.contact-info p {
    color: #4a5568;
    margin-bottom: 10px;
}

.availability,
.response-time {
    display: block;
    color: #38a169;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-btn {
    display: inline-block;
    background: #3182ce;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background: #2c5282;
    color: white;
}

/* System Requirements */
.system-requirements {
    margin: 50px 0;
}

.system-requirements h3 {
    color: #2d3748;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.req-category {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
}

.req-category h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.req-category ul {
    list-style: none;
    padding: 0;
}

.req-category li {
    color: #4a5568;
    padding: 6px 0;
    border-bottom: 1px solid #f7fafc;
}

.req-category li:last-child {
    border-bottom: none;
}

/* Global FAQ */
.global-faq {
    margin: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.faq-question:hover {
    background-color: #f7fafc;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #4a5568;
    line-height: 1.6;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #3182ce;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: #3182ce;
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .help-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .outcomes {
        grid-template-columns: 1fr;
    }
    
    .resources-grid,
    .support-categories,
    .contact-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero responsive design to match webinars page */
    .help-hero {
        padding: 30px 15px !important;
        min-height: 250px !important;
    }
    
    .help-hero h1 {
        font-size: 2rem !important;
    }
    
    .help-hero p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .help-hero {
        padding: 20px 10px !important;
        min-height: 200px !important;
    }
    
    .help-hero h1 {
        font-size: 1.8rem !important;
    }
}