/* Blog Section Styles */
/* Updated to use cyan blue (#00d4ff) matching Z3U5 logo color */

.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.blog h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    /* CHANGED: Using cyan blue instead of white */
    color: #00d4ff;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.blog-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.blog-grid::after {
    content: '';
    -webkit-box-flex: 999;
    -ms-flex: 999;
    flex: 999;
}

.blog-card {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 300px;
    flex: 1 1 300px;
    min-width: 300px;
    max-width: calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.blog-card:hover {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    /* CHANGED: Using cyan blue shadow instead of purple */
    -webkit-box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    /* CHANGED: Using cyan blue border on hover */
    border-color: rgba(0, 212, 255, 0.5);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.blog-date,
.blog-category {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-date i,
.blog-category i {
    /* CHANGED: Using cyan blue for icons */
    color: #00d4ff;
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* CHANGED: Using cyan blue instead of purple */
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more:hover {
    /* CHANGED: Using lighter cyan blue on hover */
    color: #00bfea;
    gap: 12px;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    -webkit-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}

.no-posts {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    padding: 40px;
    width: 100%;
}

.blog-view-all {
    text-align: center;
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    /* CHANGED: Using solid cyan blue instead of purple gradient */
    background: #00d4ff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    /* CHANGED: Using cyan blue shadow */
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    /* CHANGED: Using cyan blue shadow on hover */
    -webkit-box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
    /* Slightly lighter cyan on hover */
    background: #00bfea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog {
        padding: 60px 0;
    }
    
    .blog h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .blog-grid {
        gap: 20px;
    }
    
    .blog-card {
        min-width: 100%;
        max-width: 100%;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog h2 {
        font-size: 1.8rem;
    }
    
    .blog-meta {
        font-size: 0.8rem;
        gap: 10px;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
    
    .blog-excerpt {
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}