/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section .hero-bg {
    content: '';
    position: absolute;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-title {
    color: #fff;
    font-size: 48px;
    font-family: 'Poppins-Bold', sans-serif;
    margin-bottom: 40px;
    font-weight: 700;
}

.category-label {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-btn:hover,
.category-btn.active {
    background: #00D1CD;
    border-color: #00D1CD;
    color: #fff;
    transform: translateY(-2px);
}

.category-btn img {
    width: 18px;
    height: 18px;
}

.category-btn span {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* Blogs Section */
.blogs-section {
    padding: 60px 0;
}

.blogs-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-blogs {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100%/3 - 10px);
    margin-left: auto;
    margin-bottom: 40px;
    padding: 12px 20px;
    background: transparent;
    border: 1.5px solid #BEBEBE;
    border-radius: 25px;
}

.search-blogs label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-blogs svg {
    width: 20px;
    height: 20px;
}

.search-blogs input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    font-family: inherit !important;
    color: #1F1F1F;
}

.search-blogs input::placeholder {
    color: rgba(108, 108, 108, 0.75);
}

.blog-grid,
.blog-results {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-results.active,
.blog-grid.active {
    display: grid;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.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: 20px;
}

.blog-meta {
    color: #6C6C6C;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-card-title {
    color: #1F1F1F;
    font-size: 22px;
    font-family: 'Poppins-Bold', sans-serif;
    font-weight: 700;
    margin-bottom: 30px !important;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: #1F1F1F;
    font-size: 14px;
    font-weight: 500;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.page-info {
    color: #1F1F1F;
    font-size: 16px;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

.page-nav {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #BEBEBE;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-nav:not([disabled]):hover {
    background: #00D1CD;
    border-color: #00D1CD;
}

.page-nav:not([disabled]):hover svg path {
    stroke: #fff;
}

.page-nav[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.blog.no-results {
    background: none;
    color: #000;
    border-radius: 0;
    box-shadow: none;
    padding: 40px 20px;
    text-align: center;
    grid-column: 1 / -1;
}

.blog.no-results p {
    font-size: 18px;
    color: #6C6C6C;
}

/* Responsive Styles */
@media screen and (max-width: 989px) {
    .hero-title {
        font-size: 36px;
    }

    .categories-wrapper {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .blog-grid,
    .blog-results {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 640px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .categories-wrapper {
        gap: 8px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .category-btn svg {
        width: 16px;
        height: 16px;
    }

    .blog-grid,
    .blog-results {
        grid-template-columns: 1fr;
    }

    .search-blogs {
        max-width: 100%;
    }
}