/* Blogs Page Base Styles */
.blogs-page {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8fbff 50%, #ffffff 100%);
    min-height: 100vh;
}

/* Blogs Hero Section */
.blogs-hero {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.3);
}

.blogs-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.blogs-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

/* Blogs Section */
.blogs-section {
    padding: 80px 0;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e1f5fe;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(25, 118, 210, 0.2);
    border-color: #42a5f5;
}

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

.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-content {
    padding: 25px;
    background: white;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1976d2;
    line-height: 1.4;
}

.blog-content p {
    color: #546e7a;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blogs-hero {
        padding: 80px 0 60px;
    }
    
    .blogs-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .blogs-hero .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blogs-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .blogs-hero .hero-content p {
        font-size: 1rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 180px;
    }
}

/* Ensure proper body background */
body {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8fbff 50%, #ffffff 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}