/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23d4af37" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: #c0c0c0;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
    border-radius: 50px 0 0 50px;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: linear-gradient(135deg, #d4af37, #fbbf24);
    border: none;
    color: #0a0a0a;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #fbbf24, #d4af37);
    transform: translateY(-2px);
}

.blog-content {
    padding: 80px 0;
    background: #0a0a0a;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.category-widget {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.category-widget h5 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.category-list li {
    margin-bottom: 0.75rem;
}

.category-link {
    color: #c0c0c0;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:hover,
.category-link.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(251, 191, 36, 0.1));
    color: #d4af37;
    transform: translateX(5px);
}

.popular-articles {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.popular-articles h5 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.popular-article {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-article h6 {
    margin-bottom: 0.5rem;
}

.popular-article h6 a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.popular-article h6 a:hover {
    color: #d4af37;
}

.popular-article small {
    color: #c0c0c0;
    font-size: 0.8rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.blog-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-card.featured .blog-image {
    height: 400px;
}

.blog-card:not(.featured) .blog-image {
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #d4af37, #fbbf24);
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content-card {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta .category {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(251, 191, 36, 0.1));
    color: #d4af37;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta .date,
.blog-meta .read-time {
    color: #c0c0c0;
    font-size: 0.9rem;
}

.blog-card h2,
.blog-card h3 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card.featured h2 {
    font-size: 2rem;
}

.blog-card:not(.featured) h3 {
    font-size: 1.5rem;
}

.blog-card p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: #c0c0c0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-metrics,
.success-highlights {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.case-study-metrics .metric {
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 1rem;
    flex: 1;
    min-width: 100px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #c0c0c0;
    font-weight: 600;
}

.success-highlights .highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.success-highlights .highlight i {
    color: #d4af37;
}

.read-more-btn {
    background: linear-gradient(135deg, #d4af37, #fbbf24);
    color: #0a0a0a;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #fbbf24, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.blog-pagination {
    margin-top: 4rem;
}

.pagination .page-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c0c0c0;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(251, 191, 36, 0.1));
    border-color: rgba(212, 175, 55, 0.3);
    color: #d4af37;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #d4af37, #fbbf24);
    border-color: #d4af37;
    color: #0a0a0a;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-newsletter {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(16, 16, 16, 0.95));
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-newsletter h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.blog-newsletter p {
    color: #c0c0c0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d4af37;
    color: #ffffff;
    box-shadow: none;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-wrapper {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 25px;
        margin-bottom: 1rem;
    }
    
    .search-btn {
        border-radius: 25px;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured .blog-image {
        height: 250px;
    }
    
    .blog-content-card {
        padding: 1.5rem;
    }
    
    .blog-card.featured h2 {
        font-size: 1.75rem;
    }
    
    .blog-card:not(.featured) h3 {
        font-size: 1.25rem;
    }
    
    .case-study-metrics,
    .success-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blog-newsletter h3 {
        font-size: 2rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 25px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form .btn {
        border-radius: 25px;
    }
}

@media (max-width: 576px) {
    .blog-content {
        padding: 40px 0;
    }
    
    .blog-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .category-widget,
    .popular-articles {
        padding: 1.5rem;
    }
    
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-newsletter {
        padding: 60px 0;
    }
}