/* The Gun Dock Help Center Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #183247;
    background-color: #f3f5f7;
}

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

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    padding: 20px 0 30px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: #183247;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #2753d7;
    background: #f8f9fa;
}

.phone-link {
    background: #02b875;
    color: white !important;
    font-weight: 600;
}

.phone-link:hover {
    background: #028a60;
    color: white !important;
}

.hero-section {
    text-align: center;
    margin-bottom: 25px;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #183247;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* Search */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-container form {
    position: relative;
    margin-bottom: 0;
}

.search-input {
    width: 100%;
    padding: 15px 80px 15px 20px;
    font-size: 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #02b875;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #02b875;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #028a60;
}

/* Popular Questions */
.popular-questions {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.popular-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
    margin-right: 5px;
}

.popular-question {
    background: #f8f9fa;
    color: #183247;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.popular-question:hover {
    background: #02b875;
    color: white;
    border-color: #02b875;
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

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

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.category-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card h3 a {
    color: #183247;
    text-decoration: none;
}

.category-card h3 a:hover {
    color: #2753d7;
}

.category-card p {
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 300;
}

.category-articles {
    border-top: 1px solid #e1e8ed;
    padding-top: 20px;
}

.category-article {
    margin-bottom: 12px;
}

.category-article a {
    color: #183247;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.category-article a:hover {
    color: #2753d7;
    text-decoration: underline;
}

/* Articles Grid/List */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.articles-list .article-card {
    margin-bottom: 30px;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.article-card h2,
.article-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-card h2 {
    font-size: 22px;
}

.article-card h3 {
    font-size: 18px;
}

.article-card h2 a,
.article-card h3 a {
    color: #183247;
    text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover {
    color: #2753d7;
}

.article-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.read-more {
    color: #02b875;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    color: #028a60;
}

/* Breadcrumb */
.breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    padding: 15px 0;
}

.breadcrumb a {
    color: #2753d7;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #6c757d;
}

/* Article Page */
.article-page .container {
    max-width: 800px;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.article-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e8ed;
}

.article-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #183247;
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-body {
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    font-family: 'Poppins', sans-serif;
    color: #183247;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.article-body h2 {
    font-size: 24px;
}

.article-body h3 {
    font-size: 20px;
}

.article-body h4 {
    font-size: 18px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body strong {
    color: #183247;
    font-weight: 600;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body a {
    color: #2753d7;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e1e8ed;
    text-align: center;
}

.help-contact {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #02b875;
}

.help-contact h3 {
    font-family: 'Poppins', sans-serif;
    color: #183247;
    margin-bottom: 10px;
}

/* Related Articles */
.related-articles {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.related-articles h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #183247;
}

.related-grid {
    display: grid;
    gap: 20px;
}

.related-article {
    padding: 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.related-article:hover {
    border-color: #02b875;
}

.related-article h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.related-article h4 a {
    color: #183247;
    text-decoration: none;
}

.related-article h4 a:hover {
    color: #2753d7;
}

.related-article p {
    font-size: 14px;
    color: #6c757d;
}

/* Category Page */
.category-header {
    text-align: center;
    margin-bottom: 30px;
}

.category-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #183247;
    margin-bottom: 10px;
}

.category-header p {
    color: #6c757d;
    font-size: 16px;
}

/* Search Results */
.search-results h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #183247;
    margin-bottom: 30px;
}

.no-results,
.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.no-results h3,
.no-articles h3 {
    font-family: 'Poppins', sans-serif;
    color: #183247;
    margin-bottom: 15px;
}

.no-results p,
.no-articles p {
    color: #6c757d;
}

/* Footer */
.footer {
    background: #183247;
    color: #ffffff;
    padding: 50px 0 0 0;
    margin-top: 60px;
}

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

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
}

.footer-section h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 16px;
}

.company-info {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.company-description {
    color: #a8b3c1;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.contact-details {
    margin-top: 25px;
}

.contact-item {
    margin-bottom: 10px;
    color: #a8b3c1;
    font-size: 14px;
}

.contact-item strong {
    color: #ffffff;
    margin-right: 5px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #a8b3c1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.category-links {
    margin-top: 20px;
}

.category-links li {
    margin-bottom: 6px;
}

.category-links a {
    color: #94a3b8;
    font-size: 13px;
}

/* SEO Rich Content Bar */
.footer-seo-bar {
    background: #0f1419;
    padding: 25px 20px;
    margin-bottom: 0;
    border-top: 1px solid #34495e;
}

.seo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-content h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #02b875;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.4;
}

.seo-content p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 13px;
    margin: 0;
    text-align: justify;
}

/* Footer Bottom */
.footer-bottom {
    background: #0a0e13;
    padding: 25px 20px;
    border-top: 1px solid #1e293b;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.copyright p {
    margin: 0;
    color: #a8b3c1;
    font-size: 14px;
}

.ffl-info {
    font-size: 12px !important;
    color: #6c757d !important;
    margin-top: 5px !important;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
}

.legal-links a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #1e293b;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-disclaimer p {
    color: #6c757d;
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* Footer Contact Links */
.footer a[href^="tel:"],
.footer a[href^="mailto:"] {
    color: #02b875;
    font-weight: 500;
}

.footer a[href^="tel:"]:hover,
.footer a[href^="mailto:"]:hover {
    color: #66d9a6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 28px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .popular-questions {
        margin-top: 15px;
        gap: 10px;
    }
    
    .popular-question {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .categories-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 26px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-seo-bar {
        padding: 20px 15px;
    }
    
    .seo-content h5 {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .seo-content p {
        font-size: 12px;
        line-height: 1.6;
        text-align: left;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .header-nav {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 5px 8px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-legal {
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}