/* Resource Center Styles */

/* Search Bar */
.search-bar-area {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.search-form-wrapper {
    background: #fff;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.search-form .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 50px 0 0 50px;
    box-shadow: none;
}

.search-form .form-control:focus {
    border-color: transparent;
    box-shadow: none;
}

.search-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    background: #0098b2;
    border: none;
    font-weight: 600;
}

.search-form .btn:hover {
    background: #007a8a;
}

/* Category Cards */
.category-cards-area {
    padding: 80px 0;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0098b2, #007a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 35px;
    color: #fff;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Featured Resources */
.featured-resources-area {
    padding: 80px 0;
}

.single-resource {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.single-resource:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.resource-img {
    display: block;
    overflow: hidden;
}

.resource-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.single-resource:hover .resource-img img {
    transform: scale(1.05);
}

.resource-content {
    padding: 30px;
}

.resource-content .tag {
    background: #0098b2;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.resource-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.resource-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-content h3 a:hover {
    color: #0098b2;
}

.resource-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.resource-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.resource-content ul li {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.resource-content ul li i {
    color: #0098b2;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0098b2, #007a8a);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .default-btn {
    background: #fff;
    color: #0098b2;
    border: 2px solid #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-buttons .default-btn:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* Resource Detail Styles */
.resource-detail-area {
    padding: 80px 0;
}

.resource-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.resource-meta span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.resource-meta .category {
    background: #0098b2;
    color: #fff;
}

.resource-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
}

.resource-body h2,
.resource-body h3,
.resource-body h4 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.resource-body p {
    margin-bottom: 20px;
}

.resource-body ul,
.resource-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.resource-body li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.faq-section h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.accordion-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    padding: 20px;
    font-weight: 600;
    color: #333;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background: #e9ecef;
}

.accordion-button:not(.collapsed) {
    background: #0098b2;
    color: #fff;
}

.accordion-body {
    padding: 20px;
    background: #fff;
    color: #666;
    line-height: 1.6;
}

/* Resource Tags */
.resource-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.resource-tags h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.tag-link {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #0098b2;
    color: #fff;
}

/* Sidebar Styles */
.resource-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.cta-widget .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-widget .default-btn {
    background: #0098b2;
    color: #fff;
    border: 2px solid #0098b2;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-widget .default-btn:hover {
    background: transparent;
    color: #0098b2;
}

.related-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.related-item a:hover {
    color: #0098b2;
}

.related-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.related-item .reading-time {
    color: #999;
    font-size: 12px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: #0098b2;
}

/* Enhanced Typography and Layout for Resource Center */

/* Category Pages - Clean Content Display */
.resource-content-only {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0098b2;
}

.resource-content-only h2 {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.3;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
}

.resource-body {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: #444;
    font-size: 16px;
}

.resource-body h2 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    font-weight: 600;
    color: #0098b2;
    margin: 35px 0 20px 0;
    line-height: 1.3;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 4px solid #0098b2;
}

.resource-body h3 {
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: 600;
    color: #0098b2;
    margin: 30px 0 15px 0;
    line-height: 1.3;
    background: #f8f9fa;
    padding: 12px 18px;
    border-radius: 6px;
    border-left: 4px solid #0098b2;
}

.resource-body h4 {
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: 600;
    color: #0098b2;
    margin: 25px 0 12px 0;
    line-height: 1.3;
    background: #f8f9fa;
    padding: 10px 16px;
    border-radius: 6px;
    border-left: 4px solid #0098b2;
}

.resource-body p {
    margin-bottom: 18px;
    color: #555;
    line-height: 1.7;
}

.resource-body ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.resource-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

.resource-body ul li:before {
    content: "•";
    color: #0098b2;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.resource-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.resource-body ol li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

/* Enhanced Page Headers */
.category-resources-area .section-title h1 {
    font-family: 'Georgia', serif;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.category-resources-area .section-title p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Page Banner Enhancements */
.page-banner-content h2 {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-banner-content p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* FAQ Section Styling */
.faq-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f8f9fa;
}

.faq-section h3 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    background-color: #f8f9fa;
    border: none;
    padding: 20px;
    font-size: 16px;
}

.accordion-button:not(.collapsed) {
    background-color: #0098b2;
    color: #ffffff;
}

.accordion-body {
    font-family: 'Arial', sans-serif;
    color: #555;
    line-height: 1.6;
    padding: 20px;
    background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resource-content-only {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .resource-content-only h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .resource-body h2 {
        font-size: 20px;
        margin: 25px 0 15px 0;
    }
    
    .resource-body h3 {
        font-size: 18px;
        margin: 20px 0 12px 0;
    }
    
    .category-resources-area .section-title h1 {
        font-size: 28px;
    }
    
    .page-banner-content h2 {
        font-size: 32px;
    }
}

/* Content Spacing Improvements */
.category-resources-area {
    padding: 60px 0;
}

.resource-detail-area {
    padding: 60px 0;
}

/* Enhanced Category Titles with Icons */
.resource-content-only h2:before {
    content: "📋";
    margin-right: 12px;
    font-size: 20px;
}

/* Category-specific icons */
.resource-content-only[data-category="Tax Preparation"] h2:before {
    content: "📊";
}

.resource-content-only[data-category="Bookkeeping"] h2:before {
    content: "📋";
}

.resource-content-only[data-category="Business Owners"] h2:before {
    content: "💼";
}

.resource-content-only[data-category="IRS & Refunds"] h2:before {
    content: "🏛️";
}

.resource-content-only[data-category="Security & Compliance"] h2:before {
    content: "🔒";
}

.resource-content-only[data-category="Checklists & Forms"] h2:before {
    content: "✅";
}

/* Enhanced Content Sections */
.resource-body {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Soft Gray Background for Lists */
.resource-body ul {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 3px solid #0098b2;
}

.resource-body ol {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 3px solid #0098b2;
}

/* Enhanced Paragraph Styling */
.resource-body p {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 3px solid #e9ecef;
    transition: border-left-color 0.3s ease;
}

.resource-body p:hover {
    border-left-color: #0098b2;
}

/* Enhanced Main Content Card */
.resource-content-only {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0098b2;
    transition: box-shadow 0.3s ease;
}

.resource-content-only:hover {
    box-shadow: 0 4px 20px rgba(0, 152, 178, 0.15);
}

/* Resource Detail Content Styling */
.resource-detail-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0098b2;
}

/* Clean Container Styling */
.container {
    max-width: 1200px;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0098b2 0%, #007a8a 100%);
    color: #ffffff;
    padding: 60px 0;
}

.cta-content h2 {
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-content p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .default-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .resource-detail-content {
        padding: 30px 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 25px;
    }
    
    .category-card h3 {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .default-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .resource-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .resource-sidebar {
        position: static;
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .resource-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}
