/* Blog Page Styles */

/* Page Header */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-icon-large {
    font-size: 4rem;
    opacity: 0.8;
}

/* Featured Post */
.featured-post .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.featured-post .card-img-top {
    height: 300px;
    object-fit: cover;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Buttons */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.newsletter-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Author Info */
.author-info img {
    border: 2px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .featured-post .card-img-top {
        height: 250px;
    }
    
    .blog-icon-large {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .featured-post .card-body {
        padding: 2rem !important;
    }
    
    .blog-card .card-body {
        padding: 1.25rem;
    }
    
    .blog-card .card-title {
        font-size: 1rem;
    }
    
    .newsletter-form .row {
        flex-direction: column;
    }
    
    .newsletter-form .col-md-8,
    .newsletter-form .col-md-4 {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.blog-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}



