/*=========================================
BLOG PAGE
DeepCleanerz
=========================================*/

:root {

    --primary: #4dbc71;
    --primary-dark: #3ba55e;
    --secondary: #f7faf8;
    --text: #222;
    --text-light: #666;
    --border: #e9ecef;
    --white: #fff;

}



/*=========================================
COMMON
=========================================*/

body {

    font-family: "Poppins", sans-serif;
    color: var(--text);

}

.section-title {

    margin-bottom: 60px;

}

.section-title h2 {

    font-size: 54px;
    font-weight: 700;
    color: var(--text);

}

.section-title p {

    color: #666;
    font-size: 18px;
    margin-top: 12px;

}



/*=========================================
BLOG HERO
=========================================*/

.blog-hero {

    padding: 50px 0 20px;

    background:
        linear-gradient(rgba(77, 188, 113, .93),
            rgba(77, 188, 113, .93)),
        url("../images/blog/blog-banner.webp");

    background-size: cover;
    background-position: center;

}

.blog-subtitle {

    display: inline-block;

    background: #fff;

    color: var(--primary);

    padding: 8px 20px;

    border-radius: 50px;

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 25px;

}

.blog-hero h1 {

    color: #fff;

    font-size: 52px;

    font-weight: 700;

    line-height: 1.15;

}

.blog-hero p {

    color: #fff;

    font-size: 21px;

    line-height: 1.8;

    margin-top: 30px;

}



/*=========================================
SEARCH
=========================================*/

.blog-search {

    padding: 60px 0;

    background: #fff;

}

.blog-search .form-control {

    height: 62px;

    border-radius: 12px 0 0 12px;

    border: 2px solid var(--primary);

    font-size: 16px;

}

.blog-search .form-control:focus {

    box-shadow: none;

    border-color: var(--primary);

}

.blog-search .btn {

    padding: 0 35px;

    border-radius: 0 12px 12px 0;

    background: var(--primary);

    border: none;

    font-weight: 600;

}



/*=========================================
CATEGORIES
=========================================*/

.blog-categories {

    padding-bottom: 70px;

}

.category-wrapper {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

}

.category-wrapper a {

    padding: 12px 22px;

    border-radius: 40px;

    border: 1px solid #ddd;

    text-decoration: none;

    color: #555;

    transition: .3s;

    font-weight: 500;

}

.category-wrapper a:hover,
.category-wrapper .active {

    background: var(--primary);

    border-color: var(--primary);

    color: #fff;

}



/*=========================================
FEATURED BLOG
=========================================*/

.featured-blog {

    padding: 40px 0 100px;

}

.featured-blog img {

    border-radius: 25px;

    width: 100%;

    transition: .4s;

}

.featured-blog img:hover {

    transform: scale(1.03);

}

.featured-tag {

    display: inline-block;

    padding: 8px 18px;

    background: #eaf7ef;

    color: var(--primary);

    border-radius: 40px;

    font-weight: 600;

    margin-bottom: 25px;

}

.featured-blog h2 {

    font-size: 48px;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 20px;

}

.featured-blog p {

    font-size: 18px;

    color: #666;

    line-height: 1.8;

}

.blog-meta {

    display: flex;

    gap: 25px;

    margin-top: 30px;

    color: #666;

}

.blog-meta span {

    display: flex;

    align-items: center;

    gap: 8px;

}

.featured-blog .btn {

    background: var(--primary);

    border: none;

    padding: 14px 35px;

    border-radius: 10px;

}

.featured-blog .btn:hover {

    background: var(--primary-dark);

}



/*=========================================
LATEST BLOGS
=========================================*/

.latest-blogs {

    padding: 20px 0 100px;

    background: #f9fbfa;

}

.blog-card {

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);

    transition: .35s;

    height: 100%;

}

.blog-card:hover {

    transform: translateY(-10px);

}

.blog-card img {

    width: 100%;

    height: 250px;

    object-fit: cover;

}

.blog-content {

    padding: 28px;

}

.category {

    display: inline-block;

    color: var(--primary);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 15px;

}

.blog-content h4 {

    font-size: 26px;

    font-weight: 700;

    line-height: 1.4;

    margin-bottom: 15px;

}

.blog-content p {

    color: #666;

    line-height: 1.8;

}

.blog-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 25px;

}

.blog-footer span {

    color: #777;

    font-size: 14px;

}

.blog-footer a {

    color: var(--primary);

    text-decoration: none;

    font-weight: 600;

}

.blog-footer a i {

    margin-left: 6px;

    transition: .3s;

}

.blog-footer a:hover i {

    transform: translateX(5px);

}


