.hero-section {
    background-color: #f8f9fa;
    padding: 2rem 0
}

.blog-filter-section,
.blog-posts-section {
    margin: 2rem 0
}

.gray-bg-padding {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px
}

.filter-btn,
.toggle-categories-btn {
    padding: 8px 15px;
    font-size: 14px;
    transition: .3s;
    cursor: pointer
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px
}

.filter-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px)
}

.toggle-categories-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px
}

.blog-card,
.no-results {
    background: #fff;
    border-radius: 8px
}

.toggle-categories-btn:hover {
    background-color: #e9ecef
}

.blog-card {
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
    height: 100%
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .15)
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05)
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.blog-card-title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333;
    flex: 1
}

.blog-card-arrow {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: transform .3s
}

.blog-card:hover .blog-card-arrow {
    transform: translateX(5px)
}

.hidden {
    display: none !important
}

.no-results {
    text-align: center;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1)
}

.no-results h3 {
    color: #6c757d;
    margin-bottom: 1rem
}

.no-results p {
    color: #6c757d
}

.active-filter {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #e9f5ff;
    border-radius: 20px;
    font-size: 14px;
    animation: .5s fadeIn
}

.active-filter span {
    margin-right: 10px
}

.active-filter button {
    background: 0 0;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 14px
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform .3s
}

.social-icon:hover {
    transform: scale(1.2)
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.blog-card.animate__animated {
    animation-duration: .6s
}

@media (max-width:768px) {
    .hero-section {
        padding: 1.5rem 0
    }

    .blog-card-content {
        padding: 1rem
    }

    .blog-card-title {
        font-size: 1rem
    }
}