/* Apply style only inside .edu-post container */
.edu-post * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.edu-post {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.8;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Search Bar */
.edu-post .search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.edu-post .search-bar input {
    background: transparent;
    border: none;
    color: #333333;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.edu-post .search-bar button {
    background: transparent;
    border: none;
    color: #3B82F6;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.edu-post .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1521587760476-6c30a4ab6e7e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 5rem 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.edu-post .hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.edu-post .hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.edu-post .btn {
    display: inline-block;
    background: #3B82F6;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.edu-post .btn:hover {
    background: #1E40AF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Title */
.edu-post .section-title {
    font-family: 'Poppins', sans-serif;
    color: #1E40AF;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.edu-post .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3B82F6;
    border-radius: 2px;
}

/* Books Grid */
.edu-post .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.edu-post .book-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-post .book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.edu-post .book-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.edu-post .book-info {
    padding: 1.5rem;
    text-align: center;
}

.edu-post .book-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #1E40AF;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.edu-post .book-author {
    color: #333333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.edu-post .book-description {
    color: #333333;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.edu-post .book-info .btn {
    display: block;
    margin: 0 auto;
}

/* Note Box */
.edu-post .note-box {
    background-color: #E0F2FE;
    border-left: 4px solid #3B82F6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.edu-post .note-box h4 {
    font-family: 'Poppins', sans-serif;
    color: #1E40AF;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.edu-post .note-box h4 i {
    margin-right: 8px;
    color: #3B82F6;
}

.edu-post .note-box p {
    color: #333333;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .edu-post .hero h1 {
        font-size: 2rem;
    }

    .edu-post .hero p {
        font-size: 1rem;
    }

    .edu-post .section-title {
        font-size: 1.8rem;
    }

    .edu-post .book-info {
        padding: 1rem;
    }
}
