/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1f2d4d 0%, #2c3e50 100%);
    color: white;
    padding: 100px 0;
    text-align: left;
}

.blog-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
   
}

.blog-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;   
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.filter-section .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px;
    font-size: 1rem;
}

.filter-section .form-select:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

/* Articles Section */
.articles-section {
    background: #fff;
}

.article-item .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.article-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-item .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.article-item .card-body {
    padding: 1.5rem;
}

.article-item .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2d4d;
    margin-bottom: 0.75rem;
}

.article-item .card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-item .card-footer {
    background: transparent;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.article-item .btn-primary {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-item .btn-primary:hover {
    background: linear-gradient(135deg, #e55b00 0%, #e67e00 100%);
    transform: translateY(-2px);
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%) !important;
    color: white !important;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }

    .blog-hero-content p {
        font-size: 1rem;
    }

    .filter-section .row>div {
        margin-bottom: 1rem;
    }

    .article-item .card {
        margin-bottom: 1.5rem;
    }
}

/* Loading Animation */
.article-item .card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* No Articles Message */
.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: none;
    border-radius: 12px;
    padding: 2rem;
    font-size: 1.1rem;
    color: #1f2d4d;
}

.alert-info:before {
    content: "📚";
    font-size: 2rem;
    margin-right: 1rem;
    vertical-align: middle;
}

/* Blog Detail Page Styles */
.article-detail-section {
    background: #fff;
}

.article-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2d4d;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 1rem;
    color: #6c757d;
}

.article-image img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2c3e50;
}

.article-content .content-body {
    margin-bottom: 2rem;
}

.article-content .content-body h2 {
    color: #1f2d4d;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.article-content .content-body h3 {
    color: #2c3e50;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 500;
}

.article-content .content-body p {
    margin-bottom: 1.5rem;
}

.article-content .content-body ul,
.article-content .content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content .content-body li {
    margin-bottom: 0.5rem;
}

.article-content .content-body blockquote {
    border-left: 4px solid #ff6600;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

.article-content .content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-download .btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-download .btn:hover {
    background: linear-gradient(135deg, #e55b00 0%, #e67e00 100%);
    transform: translateY(-2px);
}

.related-articles {
    background: #f8f9fa;
}

.related-articles h2 {
    color: #1f2d4d;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #ff6600;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #e55b00;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Responsive Design for Blog Detail */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-header {
        padding-bottom: 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content .content-body h2 {
        font-size: 1.5rem;
    }

    .article-content .content-body h3 {
        font-size: 1.25rem;
    }

    .article-download .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}