
:root {
    --primary-color: #0066b3;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?w=1920&h=600&fit=crop') top/cover no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--bg-light);
    padding: 15px 0;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* Article Meta */
.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.article-category {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Main Article */
.article-section {
    padding: 40px 0;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-content {
    font-size: 16px;
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px;
    color: var(--text-dark);
}

.article-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 18px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

/* Table of Contents */
.toc-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.toc-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 6px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.toc-list a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 15px;
}

/* Data Tables */
.data-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background-color: rgba(232, 93, 4, 0.05);
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

.data-table tbody tr:nth-child(even):hover {
    background-color: rgba(232, 93, 4, 0.08);
}

/* FAQ Section */
.faq-section {
    margin-top: 40px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--bg-light);
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-answer {
    padding: 15px 20px;
    display: none;
    background-color: #fff;
}

.faq-answer.show {
    display: block;
}

/* About Company */
.about-company {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid var(--primary-color);
}

.about-company h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-nav a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    flex: 00 48%;
    transition: all 0.3s;
}

.article-nav a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.article-nav .prev-article {
    text-align: left;
}

.article-nav .next-article {
    text-align: right;
    margin-left: auto;
}

.article-nav small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.related-articles h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.related-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.related-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.related-card h5 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-card h5 a {
    color: var(--text-dark);
    text-decoration: none;
}

.related-card h5 a:hover {
    color: var(--primary-color);
}

.related-card small {
    color: var(--text-muted);
    font-size: 12px;
}

/* Contact Form Sidebar */
.contact-form-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

.contact-form-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.contact-form-card input,
.contact-form-card textarea {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    font-size: 14px;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* Responsive */
@media (max-width: 991px) {
    .main-header {
        position: relative;
    }

    .sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 767px) {
    .article-nav {
        flex-direction: column;
    }

    .article-nav a {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .article-nav .next-article {
        margin-left: 0;
    }

    .article-title {
        font-size: 1.5rem;
    }
}

/* Image placeholders */
.img-placeholder {
    background: linear-gradient(135deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.1) 0%, rgba(232, 93, 4, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

/* Info cards */
.info-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Nav Tabs Custom */
.nav-tabs-custom {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs-custom .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 12px 20px;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--primary-color);
    border: none;
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary-color);
    border: none;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: -2px;
}

/* Tabs content */
.tab-content-custom {
    padding: 20px 0;
}
