/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.blog-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4ecdc4;
    margin: 20px auto 0;
    border-radius: 4px;
}

.blog-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

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

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

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2c3e50;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background: #2c3e50;
    color: #fff;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coming-soon {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.coming-soon h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.coming-soon p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .blog-posts {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 80px 0 50px;
    }
    
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-header p {
        font-size: 1rem;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h2 {
        font-size: 1.3rem;
    }
}
