/*==================================================
BLOG HOME
WebToolRush
==================================================*/

:root{

--primary:#2563eb;
--primary-dark:#1d4ed8;
--secondary:#7c3aed;
--text:#0f172a;
--text-light:#64748b;
--bg:#f8fafc;
--white:#ffffff;
--border:#e2e8f0;

}



/*==================================================
COMMON SECTION
==================================================*/

.blog-home section{

padding:90px 0;

position:relative;

}

.section-heading{

display:flex;

justify-content:space-between;

align-items:flex-end;

gap:30px;

margin-bottom:45px;

}

.section-heading h2{

font-size:42px;

line-height:1.25;

color:var(--text);

margin-top:15px;

}

.section-heading p{

max-width:650px;

color:var(--text-light);

margin-top:15px;

font-size:17px;

line-height:1.8;

}

.section-badge{

display:inline-flex;

align-items:center;

gap:8px;

padding:10px 18px;

border-radius:50px;

background:#dbeafe;

color:var(--primary);

font-size:14px;

font-weight:600;

}



/*==================================================
HERO
==================================================*/

.hero{

padding:140px 0 90px;

background:linear-gradient(180deg,#ffffff,#f8fbff);

overflow:hidden;

}

.hero-grid{

display:grid;

grid-template-columns:1.05fr .95fr;

gap:70px;

align-items:center;

}

.hero-content h1{

font-size:62px;

line-height:1.15;

font-weight:700;

color:var(--text);

margin:25px 0;

}

.hero-content h1 span{

background:linear-gradient(135deg,#2563eb,#7c3aed);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.hero-content p{

font-size:18px;

line-height:1.9;

color:var(--text-light);

margin-bottom:35px;

max-width:680px;

}



/*==================================================
SEARCH
==================================================*/

.hero-search{

display:flex;

align-items:center;

background:#fff;

border-radius:18px;

border:1px solid var(--border);

overflow:hidden;

box-shadow:0 15px 45px rgba(15,23,42,.08);

margin-bottom:30px;

position:relative;

}

.hero-search i{



left:22px;

color:#94a3b8;

font-size:18px;

}
.sidebar-search{
    display:flex;
    align-items:center;
}

.sidebar-search input{
    flex:1;
    padding:18px 20px;
}

.sidebar-search button{
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-search input{

flex:1;

border:none;

outline:none;

padding:20px 20px 20px 60px;

font-size:16px;

}

.hero-search button{

border:none;

padding:20px 30px;

background:linear-gradient(135deg,#2563eb,#3b82f6);

color:#fff;

font-weight:600;

cursor:pointer;

transition:.3s;

}

.hero-search button:hover{

background:linear-gradient(135deg,#1d4ed8,#2563eb);

}



/*==================================================
HERO TAGS
==================================================*/

.hero-tags{

display:flex;

flex-wrap:wrap;

gap:12px;

}

.hero-tags a{

padding:10px 18px;

border-radius:40px;

background:#fff;

border:1px solid var(--border);

color:var(--text);

font-size:14px;

font-weight:500;

transition:.3s;

}

.hero-tags a:hover{

background:var(--primary);

color:#fff;

border-color:var(--primary);

}



/*==================================================
RIGHT HERO
==================================================*/

.hero-visual{

position:relative;

display:flex;

justify-content:center;

align-items:center;

}

.hero-card{

width:100%;

max-width:470px;

background:#fff;

border-radius:24px;

overflow:hidden;

box-shadow:0 30px 70px rgba(15,23,42,.12);

}

.window-bar{

display:flex;

gap:8px;

padding:18px;

background:#f8fafc;

}

.window-bar span{

width:12px;

height:12px;

border-radius:50%;

background:#d1d5db;

}

.window-content{

padding:35px;

}

.image-box{

height:220px;

border-radius:18px;

background:linear-gradient(135deg,#dbeafe,#eff6ff);

display:flex;

justify-content:center;

align-items:center;

font-size:70px;

color:var(--primary);

margin-bottom:25px;

}

.lines span{

display:block;

height:12px;

border-radius:50px;

background:#e5e7eb;

margin-bottom:14px;

}

.lines span:nth-child(1){

width:90%;

}

.lines span:nth-child(2){

width:75%;

}

.lines span:nth-child(3){

width:82%;

}

.lines span:nth-child(4){

width:60%;

}



/*==================================================
FLOATING BOXES
==================================================*/

.floating{

position:absolute;

background:#fff;

padding:12px 18px;

border-radius:14px;

box-shadow:0 15px 35px rgba(15,23,42,.12);

display:flex;

align-items:center;

gap:10px;

font-weight:600;

animation:float 4s ease-in-out infinite;

}

.floating i{

color:var(--primary);

}

.floating-seo{

top:20px;

left:-20px;

}

.floating-ai{

top:30px;

right:-20px;

}

.floating-image{

bottom:30px;

left:0;

}

.floating-pdf{

bottom:20px;

right:10px;

}

@keyframes float{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

}


/*==================================================
TRENDING TUTORIALS
==================================================*/

.trending-section{

    background:#ffffff;

}

.trending-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.trending-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:0 12px 35px rgba(15,23,42,.06);

    transition:.35s;

}

.trending-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(37,99,235,.16);

    border-color:#2563eb;

}

.trending-thumb{

    position:relative;

    height:190px;

    padding:25px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    color:#fff;

}

.trending-thumb.purple{

    background:linear-gradient(135deg,#6d28d9,#8b5cf6);

}

.trending-thumb.blue{

    background:linear-gradient(135deg,#2563eb,#3b82f6);

}

.trending-thumb.green{

    background:linear-gradient(135deg,#059669,#10b981);

}

.trending-thumb.orange{

    background:linear-gradient(135deg,#ea580c,#fb923c);

}

.blog-category{

    display:inline-flex;

    align-self:flex-start;

    padding:7px 14px;

    border-radius:30px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(10px);

    font-size:13px;

    font-weight:600;

}

.trending-thumb h3{

    font-size:28px;

    line-height:1.25;

    font-weight:700;

}

.trending-content{

    padding:20px 25px 25px;

}

.trending-content h4{

    color:var(--text);

    font-size:22px;

    line-height:1.45;

    margin-bottom:18px;

    transition:.3s;

}

.trending-card:hover h4{

    color:var(--primary);

}

.post-meta{

    display:flex;

    justify-content:space-between;

    gap:12px;

    color:var(--text-light);

    font-size:14px;

}

.post-meta span{

    display:flex;

    align-items:center;

    gap:8px;

}

.post-meta i{

    color:#2563eb;

}



/*==================================================
VIEW ALL BUTTON
==================================================*/

.view-all-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:14px 24px;

    border-radius:50px;

    background:#2563eb;

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.view-all-btn:hover{

    background:#1d4ed8;

    transform:translateY(-3px);

}

.view-all-btn i{

    transition:.3s;

}

.view-all-btn:hover i{

    transform:translateX(5px);

}



/*==================================================
SECTION TITLE
==================================================*/

.section-heading{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:30px;

    margin-bottom:50px;

}

.section-heading>div{

    flex:1;

}



/*==================================================
CARD ANIMATION
==================================================*/

.trending-card{

    position:relative;

}

.trending-card::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:4px;

    background:linear-gradient(90deg,#2563eb,#7c3aed);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.trending-card:hover::after{

    transform:scaleX(1);

}

/*==================================================
LATEST ARTICLES + SIDEBAR
==================================================*/

.latest-section{

    background:#f8fafc;

}

.content-layout{

    display:grid;

    grid-template-columns:minmax(0,2fr) 360px;

    gap:45px;

    align-items:start;

}

.content-area{

    min-width:0;

}



/*==================================================
POST CARD
==================================================*/

.post-card{

    display:grid;

    grid-template-columns:320px 1fr;

    gap:30px;

    background:#fff;

    border:1px solid var(--border);

    border-radius:22px;

    overflow:hidden;

    margin-bottom:30px;

    box-shadow:0 15px 35px rgba(15,23,42,.06);

    transition:.35s;

}

.post-card:hover{

    transform:translateY(-8px);

    border-color:#2563eb;

    box-shadow:0 25px 55px rgba(37,99,235,.15);

}

.post-image{

    overflow:hidden;

    height:100%;

}

.post-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s;

}

.post-card:hover img{

    transform:scale(1.08);

}



/*==================================================
POST CONTENT
==================================================*/

.post-content{

    padding:30px 30px 30px 0;

}

.post-category{

    display:inline-flex;

    padding:7px 16px;

    background:#dbeafe;

    color:#2563eb;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;

}

.post-content h3{

    margin-bottom:18px;

    font-size:30px;

    line-height:1.35;

}

.post-content h3 a{

    color:var(--text);

    transition:.3s;

}

.post-content h3 a:hover{

    color:var(--primary);

}

.post-content p{

    color:var(--text-light);

    line-height:1.9;

    margin-bottom:22px;

    font-size:16px;

}

.read-more{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    font-weight:600;

    transition:.3s;

}

.read-more:hover{

    gap:15px;

}



/*==================================================
SIDEBAR
==================================================*/

.sidebar{

    position:sticky;

    top:110px;

}

.sidebar-widget{

    background:#fff;

    border-radius:20px;

    padding:28px;

    border:1px solid var(--border);

    box-shadow:0 12px 30px rgba(15,23,42,.05);

    margin-bottom:25px;

}

.sidebar-widget h4{

    font-size:22px;

    color:var(--text);

    margin-bottom:20px;

}



/*==================================================
SIDEBAR SEARCH
==================================================*/

.sidebar-search{

     display:flex;
    align-items:center;
    width:100%;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    overflow:hidden;
    transition:.3s;

}

.sidebar-search:focus-within{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

.sidebar-search input{
    flex:1;
    border:none;
    outline:none;
    padding:16px 18px;
    font-size:15px;
    background:transparent;
}

.sidebar-search button{
    width:58px;
    height:56px;
    border:none;
    background:#2563eb;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.sidebar-search button:hover{
    background:#1d4ed8;
}

.hero-search .sidebar-search{
    max-width:100%;
    box-shadow:0 15px 45px rgba(15,23,42,.08);
    border-radius:18px;
}

.hero-search .sidebar-search input{
    padding:20px 24px;
    font-size:16px;
}

.hero-search .sidebar-search button{
    width:70px;
    height:60px;
}



/*==================================================
CATEGORY LIST
==================================================*/

.sidebar-list{

    list-style:none;

}

.sidebar-list li{

    border-bottom:1px solid #edf2f7;

}

.sidebar-list li:last-child{

    border:none;

}

.sidebar-list a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    color:var(--text);

    transition:.3s;

}

.sidebar-list a:hover{

    color:#2563eb;

    padding-left:6px;

}

.sidebar-list span{

    background:#eff6ff;

    color:#2563eb;

    padding:4px 10px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

}



/*==================================================
RECENT POSTS
==================================================*/

.recent-posts{

    list-style:none;

}

.recent-posts li{

    padding:14px 0;

    border-bottom:1px solid #edf2f7;

}

.recent-posts li:last-child{

    border:none;

}

.recent-posts a{

    color:var(--text);

    line-height:1.7;

    transition:.3s;

}

.recent-posts a:hover{

    color:#2563eb;

}



/*==================================================
NEWSLETTER WIDGET
==================================================*/

.newsletter-widget p{

    color:var(--text-light);

    margin-bottom:20px;

    line-height:1.8;

}

.newsletter-widget input{

    width:100%;

    height:50px;

    border:1px solid var(--border);

    border-radius:12px;

    padding:0 15px;

    margin-bottom:15px;

    outline:none;

}

.newsletter-widget .primary-btn{

    width:100%;

    justify-content:center;

}



/*==================================================
LOAD MORE
==================================================*/

.posts-pagination{

    text-align:center;

    margin-top:40px;

}

.posts-pagination .primary-btn{

    padding:16px 34px;

}

/*==================================================
FEATURED ARTICLE
==================================================*/

.featured-post-section{

    padding:100px 0;

    background:#ffffff;

}

.featured-post{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:60px;

    align-items:center;

    background:linear-gradient(135deg,#0f172a,#1e3a8a);

    border-radius:32px;

    padding:70px;

    overflow:hidden;

    position:relative;

    box-shadow:0 30px 70px rgba(15,23,42,.18);

}

.featured-post::before{

    content:"";

    position:absolute;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    top:-180px;

    right:-120px;

}

.featured-post::after{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

    bottom:-120px;

    left:-80px;

}



/*==================================================
LEFT CONTENT
==================================================*/

.featured-content{

    position:relative;

    z-index:2;

}

.featured-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    background:rgba(255,255,255,.12);

    border-radius:40px;

    color:#fff;

    font-size:14px;

    font-weight:600;

    margin-bottom:22px;

}

.featured-content h2{

    color:#fff;

    font-size:46px;

    line-height:1.25;

    margin-bottom:22px;

}

.featured-content p{

    color:rgba(255,255,255,.82);

    font-size:17px;

    line-height:1.9;

    margin-bottom:28px;

}



/*==================================================
FEATURED META
==================================================*/

.featured-meta{

    display:flex;

    flex-wrap:wrap;

    gap:22px;

    margin-bottom:35px;

}

.featured-meta span{

    display:flex;

    align-items:center;

    gap:8px;

    color:rgba(255,255,255,.9);

    font-size:15px;

}

.featured-meta i{

    color:#60a5fa;

}



/*==================================================
BUTTONS
==================================================*/

.featured-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.featured-buttons .primary-btn{

    background:#fff;

    color:#2563eb;

}

.featured-buttons .primary-btn:hover{

    background:#eff6ff;

}

.featured-buttons .secondary-btn{

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.18);

}



/*==================================================
RIGHT SIDE
==================================================*/

.featured-image{

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:2;

}

.featured-image-box{

    width:100%;

    max-width:360px;

    background:#ffffff;

    border-radius:28px;

    padding:50px 40px;

    text-align:center;

    box-shadow:0 25px 60px rgba(0,0,0,.25);

}

.featured-image-box i{

    width:110px;

    height:110px;

    border-radius:24px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 30px;

    color:#fff;

    font-size:52px;

}

.featured-image-box h3{

    color:#0f172a;

    font-size:34px;

    line-height:1.3;

    margin-bottom:15px;

}

.featured-image-box p{

    color:#64748b;

    line-height:1.8;

}



/*==================================================
HOVER EFFECT
==================================================*/

.featured-post{

    transition:.35s;

}

.featured-post:hover{

    transform:translateY(-8px);

    box-shadow:0 40px 90px rgba(37,99,235,.22);

}

.featured-image-box{

    transition:.35s;

}

.featured-post:hover .featured-image-box{

    transform:rotate(-2deg) scale(1.03);

}

/*==================================================
BROWSE CATEGORIES
==================================================*/

.categories-section{

    padding:90px 0;

    background:#f8fafc;

}

.categories-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.category-card{

    display:flex;

    align-items:flex-start;

    gap:20px;

    background:#fff;

    border:1px solid var(--border);

    border-radius:22px;

    padding:30px;

    transition:.35s;

    box-shadow:0 15px 35px rgba(15,23,42,.05);

}

.category-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 25px 55px rgba(37,99,235,.15);

}

.category-icon{

    width:72px;

    height:72px;

    border-radius:18px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    flex-shrink:0;

}

.category-content{

    flex:1;

}

.category-content h3{

    font-size:24px;

    color:var(--text);

    margin-bottom:10px;

}

.category-content p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:16px;

}

.category-count{

    display:inline-block;

    padding:6px 14px;

    border-radius:30px;

    background:#eff6ff;

    color:var(--primary);

    font-size:13px;

    font-weight:600;

}



/*==================================================
FEATURED TOOLS
==================================================*/

.featured-tools-section{

    padding:100px 0;

    background:#ffffff;

}

.tools-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.tool-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:24px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 15px 35px rgba(15,23,42,.06);

}

.tool-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 30px 60px rgba(37,99,235,.18);

}

.tool-icon{

    width:85px;

    height:85px;

    margin:0 auto 25px;

    border-radius:22px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

}

.tool-card h3{

    font-size:25px;

    color:var(--text);

    margin-bottom:15px;

}

.tool-card p{

    color:var(--text-light);

    line-height:1.9;

    min-height:85px;

    margin-bottom:25px;

}

.tool-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:14px 24px;

    border-radius:50px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.tool-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.tool-btn i{

    transition:.3s;

}

.tool-btn:hover i{

    transform:translateX(5px);

}



/*==================================================
BOTTOM CTA
==================================================*/

.tools-bottom-cta{

    margin-top:70px;

    text-align:center;

    background:linear-gradient(135deg,#0f172a,#1e3a8a);

    color:#fff;

    padding:60px;

    border-radius:28px;

}

.tools-bottom-cta h3{

    font-size:40px;

    margin-bottom:18px;

}

.tools-bottom-cta p{

    max-width:760px;

    margin:0 auto 35px;

    line-height:1.9;

    color:rgba(255,255,255,.85);

}

.tools-bottom-cta .primary-btn{

    background:#fff;

    color:#2563eb;

}

.tools-bottom-cta .primary-btn:hover{

    background:#eff6ff;

}



/*==================================================
COMMON HOVER
==================================================*/

.category-card,
.tool-card{

    transition:all .35s ease;

}

.category-card:hover .category-icon{

    transform:rotate(-8deg) scale(1.08);

}

.tool-card:hover .tool-icon{

    transform:scale(1.08);

}

.category-icon,
.tool-icon{

    transition:.35s;

}

/*==================================================
NEWSLETTER SECTION
==================================================*/

.newsletter-section{

    padding:100px 0;

    background:#f8fafc;

}

.newsletter-wrapper{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:60px;

    align-items:center;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    border-radius:30px;

    padding:70px;

    overflow:hidden;

    position:relative;

}

.newsletter-wrapper::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-180px;

    right:-120px;

}

.newsletter-left{

    position:relative;

    z-index:2;

}

.newsletter-left h2{

    color:#fff;

    font-size:46px;

    line-height:1.25;

    margin:20px 0;

}

.newsletter-left p{

    color:rgba(255,255,255,.92);

    line-height:1.9;

    font-size:17px;

    margin-bottom:30px;

}



/*==================================================
NEWSLETTER FORM
==================================================*/

.newsletter-form{

    display:flex;

    background:#fff;

    border-radius:60px;

    overflow:hidden;

    margin-bottom:18px;

}

.newsletter-form input{

    flex:1;

    border:none;

    outline:none;

    padding:20px 24px;

    font-size:16px;

}

.newsletter-form button{

    border:none;

    background:#0f172a;

    color:#fff;

    padding:20px 34px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.newsletter-form button:hover{

    background:#020617;

}

.newsletter-note{

    color:rgba(255,255,255,.9);

    display:flex;

    align-items:center;

    gap:10px;

}



/*==================================================
STATS
==================================================*/

.stats-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

    position:relative;

    z-index:2;

}

.stat-box{

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    border-radius:20px;

    padding:30px;

    text-align:center;

    transition:.35s;

}

.stat-box:hover{

    background:#fff;

    color:#2563eb;

    transform:translateY(-5px);

}

.stat-box h3{

    font-size:38px;

    margin-bottom:10px;

}

.stat-box p{

    font-size:15px;

}



/*==================================================
WHY READ
==================================================*/

.why-section{

    padding:100px 0;

    background:#ffffff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:50px;

}

.why-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    box-shadow:0 15px 35px rgba(15,23,42,.05);

    transition:.35s;

}

.why-card:hover{

    transform:translateY(-10px);

    border-color:#2563eb;

    box-shadow:0 30px 60px rgba(37,99,235,.15);

}

.why-icon{

    width:85px;

    height:85px;

    margin:0 auto 25px;

    border-radius:22px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:34px;

    transition:.35s;

}

.why-card:hover .why-icon{

    transform:rotate(-8deg) scale(1.08);

}

.why-card h3{

    font-size:24px;

    color:var(--text);

    margin-bottom:16px;

}

.why-card p{

    color:var(--text-light);

    line-height:1.9;

}



/*==================================================
BOTTOM CTA
==================================================*/

.why-bottom{

    margin-top:70px;

    text-align:center;

    background:linear-gradient(135deg,#0f172a,#1e3a8a);

    color:#fff;

    padding:65px;

    border-radius:30px;

}

.why-bottom h3{

    font-size:40px;

    margin-bottom:18px;

}

.why-bottom p{

    max-width:760px;

    margin:0 auto 35px;

    color:rgba(255,255,255,.88);

    line-height:1.9;

}

.why-buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.why-buttons .primary-btn{

    background:#fff;

    color:#2563eb;

}

.why-buttons .primary-btn:hover{

    background:#eff6ff;

}

.why-buttons .secondary-btn{

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.15);

    color:#fff;

}

/*==================================================
RESPONSIVE DESIGN
==================================================*/


/********************************
Large Laptop
********************************/

@media(max-width:1200px){

.hero-grid{

grid-template-columns:1fr;

gap:60px;

text-align:center;

}

.hero-content p{

margin:auto;

margin-bottom:35px;

}

.hero-tags{

justify-content:center;

}

.hero-search{

max-width:700px;

margin:0 auto 30px;

}

.hero-visual{

margin-top:20px;

}

.content-layout{

grid-template-columns:1fr;

}

.sidebar{

position:relative;

top:0;

}

.newsletter-wrapper{

grid-template-columns:1fr;

}

.featured-post{

grid-template-columns:1fr;

text-align:center;

}

.featured-buttons{

justify-content:center;

}

}



/********************************
Tablet
********************************/

@media(max-width:992px){

.section-heading{

flex-direction:column;

align-items:flex-start;

}

.section-heading h2{

font-size:34px;

}

.hero-content h1{

font-size:48px;

}

.trending-grid{

grid-template-columns:repeat(2,1fr);

}

.categories-grid{

grid-template-columns:repeat(2,1fr);

}

.tools-grid{

grid-template-columns:repeat(2,1fr);

}

.why-grid{

grid-template-columns:repeat(2,1fr);

}

.post-card{

grid-template-columns:1fr;

}

.post-image{

height:260px;

}

.post-content{

padding:28px;

}

.featured-content h2{

font-size:38px;

}

.newsletter-left h2{

font-size:38px;

}

}



/********************************
Mobile
********************************/

@media(max-width:768px){

.blog-home section{

padding:70px 0;

}

.hero{

padding:110px 0 70px;

}

.hero-grid{

gap:40px;

}

.hero-content h1{

font-size:38px;

line-height:1.3;

}

.hero-content p{

font-size:16px;

}

.hero-search{

flex-direction:column;

border-radius:18px;

overflow:hidden;

}

.hero-search i{

display:none;

}

.hero-search input{

padding:18px;

}

.hero-search button{

width:100%;

}

.hero-tags{

justify-content:center;

}

.trending-grid{

grid-template-columns:1fr;

}

.categories-grid{

grid-template-columns:1fr;

}

.tools-grid{

grid-template-columns:1fr;

}

.why-grid{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:1fr;

}

.newsletter-wrapper{

padding:35px;

}

.newsletter-form{

flex-direction:column;

border-radius:18px;

}

.newsletter-form input{

padding:18px;

}

.newsletter-form button{

width:100%;

}

.featured-post{

padding:35px;

}

.featured-content h2{

font-size:30px;

}

.featured-image-box{

padding:35px;

}

.featured-image-box h3{

font-size:28px;

}

.tools-bottom-cta,

.why-bottom{

padding:40px 25px;

}

.tools-bottom-cta h3,

.why-bottom h3{

font-size:30px;

}

.section-heading{

margin-bottom:35px;

}

.view-all-btn{

margin-top:10px;

}

}



/********************************
Small Mobile
********************************/

@media(max-width:576px){

.container{

padding-left:18px;

padding-right:18px;

}

.hero-content h1{

font-size:32px;

}

.section-heading h2{

font-size:28px;

}

.section-heading p{

font-size:15px;

}

.hero-tags{

gap:10px;

}

.hero-tags a{

padding:8px 14px;

font-size:13px;

}

.post-content h3{

font-size:24px;

}

.post-content{

padding:22px;

}

.post-meta{

flex-direction:column;

align-items:flex-start;

gap:10px;

}

.category-card{

padding:24px;

}

.category-icon{

width:60px;

height:60px;

font-size:24px;

}

.tool-card{

padding:28px;

}

.tool-icon{

width:70px;

height:70px;

font-size:30px;

}

.newsletter-left h2{

font-size:28px;

}

.newsletter-left p{

font-size:15px;

}

.stat-box{

padding:25px;

}

.stat-box h3{

font-size:30px;

}

.why-card{

padding:30px 22px;

}

.why-icon{

width:70px;

height:70px;

font-size:28px;

}

.why-buttons{

flex-direction:column;

}

.why-buttons a{

width:100%;

justify-content:center;

}

}



/********************************
Smooth Animation
********************************/

@media(prefers-reduced-motion:no-preference){

.post-card,
.trending-card,
.category-card,
.tool-card,
.why-card,
.featured-post{

transition:all .35s ease;

}

}

/* ===== Trending Card Fix ===== */

.trending-card{

    display:flex !important;

    flex-direction:column !important;

    overflow:hidden;
    cursor:pointer;

}

.trending-thumb{

    width:100% !important;

    height:200px !important;

    display:flex !important;

    flex-direction:column;

    justify-content:flex-end;

    padding:22px;

}

.trending-content{

    width:100% !important;

    padding:25px !important;

}

.trending-content h4{

    display:block;

    font-size:22px;

    line-height:1.45;

    margin-bottom:15px;

    word-break:normal;
    min-height:70px;


}
.trending-thumb h3{

    margin-top:auto;

    line-height:1.2;

}
.trending-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(37,99,235,.18);

}
.category{

    margin-bottom:18px;

}

.post-meta{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

}

