/* Global Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
}

/* Header */
.blog-header {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Blog Posts */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.blog-card .card-text {
    color: #666;
    line-height: 1.6;
}

.blog-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.btn-read-more {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.list-group-item {
    border: none;
    padding: 10px 0;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.list-group-item:hover {
    color: #667eea;
}

/* Footer */
.blog-footer {
    background: #333;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .blog-card {
        margin-bottom: 20px;
    }

    .sidebar-card {
        margin-bottom: 15px;
    }
}
/* Blog banner */
.blog-banner {
    position: relative;
    padding: 120px 0;
    color: #fff;
    background: linear-gradient(120deg, rgba(17, 24, 39, 0.9), rgba(59, 130, 246, 0.2));
    overflow: hidden;
}

.banner-overlay {
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
}

/* Blog details hero */
.custom-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.custom-hero .hero-overlay {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.custom-hero .overlay-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
}

.content-section {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
