/*
==========================================================
KnowYourPC
Main Stylesheet
==========================================================
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#F5F7FA;

    color:#222;

    line-height:1.7;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    max-width:100%;

    display:block;

}

ul{

    list-style:none;

}

.container{
    width:92%;
    max-width:1400px;
    margin:auto;
    padding-left:10px;
    padding-right:10px;
}

/* ==========================================================
   Header
========================================================== */

.site-header{

    background:#ffffff;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:0 4px 15px rgba(0,0,0,.08);

}

.header-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:90px;

}

/* ==========================================================
   Logo
========================================================== */

.logo-link{

    display:flex;

    align-items:center;

    gap:15px;

}

.site-logo{

    width:65px;

    height:65px;

    object-fit:contain;

}

.logo-area h1{

    font-family:'Poppins',sans-serif;

    font-size:30px;

    color:#1565C0;

    font-weight:700;

}

.logo-area p{

    color:#666;

    font-size:14px;

    margin-top:4px;

}

/* ==========================================================
   Navigation
========================================================== */

.main-nav ul{

    display:flex;

    align-items:center;

    gap:35px;

}

.main-nav a{

    font-size:16px;

    font-weight:600;

    transition:.25s;

    position:relative;

}

.main-nav a:hover{

    color:#1565C0;

}

.main-nav a::after{

    content:'';

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:#1565C0;

    border-radius:20px;

    transition:.3s;

}

.main-nav a:hover::after{

    width:100%;

}

/* ==========================================================
   Search
========================================================== */

.header-search form{

    display:flex;

    align-items:center;

    background:#F3F5F7;

    border-radius:40px;

    overflow:hidden;

}

.header-search input{

    border:none;

    background:none;

    padding:12px 18px;

    width:250px;

    font-size:15px;

}

.header-search input:focus{

    outline:none;

}

.header-search button{

    border:none;

    background:#1565C0;

    color:#fff;

    width:48px;

    height:48px;

    cursor:pointer;

    transition:.3s;

}

.header-search button:hover{

    background:#0D47A1;

}

/* ==========================================================
   Hero Section
========================================================== */

.hero{

    padding:50px 0;

    background:transparent;

}

.hero-container{

    display:grid;
    grid-template-columns:1.2fr .8fr;
    align-items:center;
    gap:60px;

    background:#1565C0;

    color:#fff;

    border-radius:24px;

    padding:50px;

    max-width:1200px;

    margin:auto;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

}

.hero h2{

    font-family:'Poppins',sans-serif;

    font-size:54px;

    line-height:1.2;

    margin-bottom:25px;
    
    color:#fff;

}

.hero p{

    font-size:18px;

    color:#eef4ff;

    margin-bottom:35px;
    

}

.hero-search{

    display:flex;

    background:#fff;

    border-radius:50px;

    overflow:hidden;

    max-width:600px;

}

.hero-search input{

    flex:1;

    border:none;

    padding:18px 22px;

    font-size:17px;

}

.hero-search input:focus{

    outline:none;

}

.hero-search button{

    width:70px;

    border:none;

    background:#FFD54F;

    color:#111;

    cursor:pointer;

    font-size:20px;

    font-weight:600;

    transition:.3s;

}

.hero-search button:hover{

    background:#FFC107;

    color:#000;

}

.hero-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:25px;

}

.hero-tags a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:#ffffff;

    color:#1565C0;

    padding:10px 18px;

    border-radius:50px;

    font-size:14px;

    font-weight:600;

    box-shadow:0 4px 10px rgba(0,0,0,.12);

    transition:.3s;

}

.hero-tags a:hover{

    background:#FFD54F;

    color:#111;

    transform:translateY(-3px);

}

/* ==========================================================
   Section
========================================================== */

.section{

    padding:80px 0;

}

.section-title{

    font-family:'Poppins',sans-serif;

    font-size:34px;

    margin-bottom:40px;

    color:#222;

}

/* ==========================================================
   Cards
========================================================== */

.card-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.blog-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.blog-card:hover{

    transform:translateY(-10px);

}

.blog-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.blog-content{

    padding:25px;

}

.blog-category{

    display:inline-block;

    background:#1565C0;

    color:#fff;

    padding:6px 15px;

    border-radius:30px;

    font-size:13px;

    margin-bottom:15px;

}

.blog-content h3{

    font-family:'Poppins',sans-serif;

    font-size:24px;

    margin-bottom:15px;

}

.blog-content p{

    color:#666;

    margin-bottom:20px;

}

.read-more{

    color:#1565C0;

    font-weight:600;

}

.read-more:hover{

    color:#0D47A1;

}

/* ==========================================================
   Buttons
========================================================== */

.btn{

    display:inline-block;

    padding:14px 28px;

    border-radius:10px;

    background:#1565C0;

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    background:#0D47A1;

}

/* ==========================================================
   Your PC Score Banner
========================================================== */

.pc-score-banner{

    padding:80px 0;

}

.pc-score-box{

    background:linear-gradient(135deg,#1565C0,#0D47A1);

    color:#fff;

    border-radius:25px;

    padding:60px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    overflow:hidden;

}

.score-content{

    flex:1;

}

.score-content h2{

    font-family:'Poppins',sans-serif;

    font-size:42px;

    margin-bottom:20px;

}

.score-content p{

    font-size:18px;

    opacity:.95;

    margin-bottom:30px;

    line-height:1.8;

}

.score-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-bottom:35px;

}

.score-features div{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:16px;

}

.score-features i{

    color:#8BC34A;

    font-size:18px;

}

.score-button{

    display:inline-block;

    background:#fff;

    color:#1565C0;

    padding:15px 35px;

    border-radius:12px;

    font-weight:700;

    transition:.3s;

}

.score-button:hover{

    background:#f2f2f2;

}

.score-image{

    flex:0 0 350px;

    text-align:center;

}

.score-image i{

    font-size:180px;

    opacity:.12;

}

/* ==========================================================
   Categories
========================================================== */

.category-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.category-card{

    background:#fff;

    border-radius:18px;

    padding:35px;

    text-align:center;

    transition:.3s;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.category-card:hover{

    transform:translateY(-8px);

}

.category-card i{

    font-size:48px;

    color:#1565C0;

    margin-bottom:20px;

}

.category-card h3{

    font-family:'Poppins',sans-serif;

    margin-bottom:12px;

}

.category-card p{

    color:#666;

    font-size:15px;

}

/* ==========================================================
   Newsletter
========================================================== */

.newsletter{

    padding:80px 0;

}

.newsletter-box{

    background:#fff;

    border-radius:20px;

    padding:60px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.newsletter-box h2{

    font-family:'Poppins',sans-serif;

    font-size:36px;

    margin-bottom:15px;

}

.newsletter-box p{

    color:#666;

    margin-bottom:30px;

}

.newsletter-form{

    display:flex;

    justify-content:center;

    max-width:650px;

    margin:auto;

}

.newsletter-form input{

    flex:1;

    padding:18px;

    border:1px solid #ddd;

    border-radius:12px 0 0 12px;

    font-size:16px;

}

.newsletter-form button{

    background:#1565C0;

    color:#fff;

    border:none;

    padding:0 35px;

    border-radius:0 12px 12px 0;

    cursor:pointer;

    transition:.3s;

}

.newsletter-form button:hover{

    background:#0D47A1;

}

/* ==========================================================
   Footer
========================================================== */

.site-footer{

    background:#111827;

    color:#d1d5db;

    padding:70px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

}

.footer-title{

    font-family:'Poppins',sans-serif;

    color:#fff;

    margin-bottom:20px;

}

.footer-grid ul li{

    margin-bottom:12px;

}

.footer-grid a{

    transition:.3s;

}

.footer-grid a:hover{

    color:#fff;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.1);

    margin-top:40px;

    padding-top:25px;

    text-align:center;

    font-size:14px;

}

/* ==========================================================
   Featured Blog
========================================================== */

.featured-blog{

display:grid;

grid-template-columns:1fr 1fr;

gap:40px;

background:#fff;

padding:30px;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

align-items:center;

}

.featured-image img{

width:100%;

height:420px;

object-fit:cover;

border-radius:16px;

}

.featured-content h2{

font-family:'Poppins',sans-serif;

font-size:38px;

margin:20px 0;

line-height:1.3;

}

.featured-content p{

font-size:17px;

color:#666;

margin-bottom:30px;

line-height:1.8;

}

/* ==========================================================
   About Section
========================================================== */

.about-home{

display:grid;

grid-template-columns:1fr 350px;

gap:50px;

align-items:center;

background:#fff;

padding:50px;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.about-home h2{

font-family:'Poppins',sans-serif;

font-size:40px;

margin-bottom:25px;

}

.about-home p{

color:#666;

font-size:17px;

margin-bottom:20px;

line-height:1.9;

}

.about-right{

display:flex;

justify-content:center;

align-items:center;

}

.about-right i{

font-size:220px;

color:#1565C0;

opacity:.15;

}

/* ==========================================================
   Blog Search
========================================================== */

.blog-search{

display:flex;

margin:40px 0;

max-width:700px;

}

.blog-search input{

flex:1;

padding:16px 20px;

border:1px solid #ddd;

border-right:none;

border-radius:12px 0 0 12px;

font-size:16px;

}

.blog-search input:focus{

outline:none;

border-color:#1565C0;

}

.blog-search button{

padding:0 30px;

border:none;

background:#1565C0;

color:#fff;

font-size:16px;

border-radius:0 12px 12px 0;

cursor:pointer;

transition:.3s;

}

.blog-search button:hover{

background:#0D47A1;

}

/* ==========================================================
   Pagination
========================================================== */

.pagination{

display:flex;

justify-content:center;

align-items:center;

gap:10px;

margin:70px 0 20px;

flex-wrap:wrap;

}

.pagination a{

padding:12px 18px;

background:#fff;

border-radius:10px;

color:#1565C0;

font-weight:600;

box-shadow:0 5px 15px rgba(0,0,0,.08);

transition:.3s;

}

.pagination a:hover{

background:#1565C0;

color:#fff;

}

.pagination .active{

background:#1565C0;

color:#fff;

}

/*==========================================================
SINGLE BLOG
==========================================================*/

.blog-single{

display:grid;

grid-template-columns:2fr 360px;

gap:40px;

align-items:flex-start;

}

.blog-main{

background:#fff;

padding:35px;

border-radius:18px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.single-image{

width:100%;

border-radius:15px;

margin-bottom:30px;

}

.single-category{

display:inline-block;

background:#1565C0;

color:#fff;

padding:8px 18px;

border-radius:30px;

margin-bottom:20px;

font-size:14px;

}

.single-title{

font-family:'Poppins',sans-serif;

font-size:42px;

line-height:1.3;

margin-bottom:20px;

}

.single-meta{

display:flex;

gap:25px;

color:#777;

margin-bottom:25px;

font-size:15px;

}

.single-description{

font-size:20px;

color:#555;

margin-bottom:35px;

padding-bottom:25px;

border-bottom:1px solid #eee;

line-height:1.8;

}

.single-content{

font-size:17px;

line-height:1.9;

}

.single-content img{

max-width:100%;

height:auto;

border-radius:12px;

margin:25px 0;

}

.single-content h2,
.single-content h3,
.single-content h4{

font-family:'Poppins',sans-serif;

margin:35px 0 20px;

}

.single-content p{

margin-bottom:18px;

}

.single-content ul,
.single-content ol{

margin-left:25px;

margin-bottom:20px;

}

.blog-sidebar{

position:sticky;

top:110px;

}

.sidebar-card{

background:#fff;

padding:25px;

border-radius:18px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.sidebar-card h3{

margin-bottom:20px;

font-family:'Poppins',sans-serif;

}

.related-item{

display:flex;

gap:15px;

margin-bottom:20px;

align-items:center;

}

.related-item img{

width:90px;

height:70px;

object-fit:cover;

border-radius:10px;

}

.related-item a{

font-weight:600;

transition:.3s;

}

.related-item a:hover{

color:#1565C0;

}

/*==========================================================
CATEGORY PAGE
==========================================================*/

.category-page-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.category-page-card{

background:#fff;

padding:35px;

border-radius:18px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

color:#222;

}

.category-page-card:hover{

transform:translateY(-8px);

}

.category-icon{

width:75px;

height:75px;

background:#1565C0;

color:#fff;

border-radius:18px;

display:flex;

align-items:center;

justify-content:center;

font-size:32px;

margin-bottom:25px;

}

.category-page-card h2{

font-family:'Poppins',sans-serif;

font-size:26px;

margin-bottom:15px;

}

.category-page-card p{

color:#666;

line-height:1.8;

margin-bottom:25px;

}

.category-count{

display:inline-block;

background:#eef5ff;

color:#1565C0;

padding:10px 18px;

border-radius:30px;

font-weight:600;

}

/*==========================================================
PORTFOLIO
==========================================================*/

.portfolio-hero{

display:grid;

grid-template-columns:320px 1fr;

gap:50px;

align-items:center;

}

.portfolio-image img{

width:100%;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.15);

}

.no-photo{

width:320px;

height:320px;

background:#1565C0;

color:#fff;

display:flex;

justify-content:center;

align-items:center;

font-size:120px;

border-radius:20px;

}

.portfolio-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:30px;

}

.portfolio-card{

background:#fff;

padding:30px;

border-radius:18px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.portfolio-card h2{

margin-bottom:20px;

color:#1565C0;

}

.portfolio-list{

list-style:none;

padding:0;

margin:0;

}

.portfolio-list li{

padding:12px 0;

border-bottom:1px solid #eee;

}

.portfolio-list li i{

color:#1565C0;

margin-right:10px;

}

.contact-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

margin-top:20px;

}

.contact-grid strong{

display:block;

margin-bottom:8px;

color:#1565C0;

}

@media(max-width:992px){
    

.portfolio-hero{

grid-template-columns:1fr;

text-align:center;

}

.portfolio-grid{

grid-template-columns:1fr;

}

.no-photo{

margin:auto;

}

}

/*==========================================================
PORTFOLIO SOCIAL
==========================================================*/

.social-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

gap:20px;

margin-top:25px;

}

.social-card{

display:flex;

align-items:center;

justify-content:center;

gap:12px;

padding:18px;

border-radius:14px;

background:#f5f7fa;

font-size:17px;

font-weight:600;

transition:.3s;

text-decoration:none;

}

.social-card i{

font-size:26px;

}

.social-card:hover{

transform:translateY(-5px);

box-shadow:0 10px 25px rgba(0,0,0,.12);

}

.linkedin{

color:#0A66C2;

}

.github{

color:#222;

}

.facebook{

color:#1877F2;

}

.instagram{

color:#E1306C;

}

.twitter{

color:#111;

}

/*==========================================================
YOUR PC SCORE
==========================================================*/

.score-intro{

text-align:center;

font-size:18px;

margin-bottom:40px;

color:#666;

}

.score-box{

max-width:900px;

margin:auto;

background:#fff;

padding:40px;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.score-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:25px;

}

.form-group label{

display:block;

font-weight:600;

margin-bottom:10px;

}

.form-group select{

width:100%;

padding:14px;

border:1px solid #ddd;

border-radius:10px;

font-size:15px;

}

.score-btn{

grid-column:1/-1;

padding:18px;

background:#1565C0;

color:#fff;

border:none;

border-radius:12px;

font-size:18px;

cursor:pointer;

transition:.3s;

}

.score-btn:hover{

background:#0D47A1;

}

@media(max-width:768px){

.score-grid{

grid-template-columns:1fr;

}

}

/*==========================================================
PC RESULT
==========================================================*/

.result-card{
    color:#fff;
    padding:40px;
    border-radius:18px;
    text-align:center;
    margin-bottom:30px;
}

.overall-score{
    font-size:72px;
    font-weight:bold;
    margin-bottom:10px;
}

.rating-stars{
    font-size:28px;
    margin-top:10px;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin:30px 0;
}

.info-card{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.info-card h3{
    color:#1565C0;
    margin-bottom:10px;
}

.performance-card{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.score-table{
    width:100%;
    border-collapse:collapse;
}

.score-table td{
    padding:14px;
    border-bottom:1px solid #eee;
}

.upgrade-card{
    background:#fff;
    padding:25px;
    border-left:6px solid #1565C0;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    margin-bottom:30px;
}

@media(max-width:768px){

    .result-grid{
        grid-template-columns:1fr;
    }

    .overall-score{
        font-size:55px;
    }

}

/*==========================================================
MOBILE MENU
==========================================================*/

.menu-toggle{

display:none;

background:#1565C0;

color:#fff;

border:none;

width:48px;

height:48px;

border-radius:10px;

cursor:pointer;

font-size:20px;

}

/*==========================================================
FEATURED ARTICLE
==========================================================*/

.featured-card{

display:flex;

align-items:center;

gap:40px;

background:#fff;

padding:30px;

border-radius:18px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.35s;

margin:60px 0;

}

.featured-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.featured-image{

flex:0 0 40%;

}

.featured-image img{

width:100%;

border-radius:18px;

display:block;

}

.featured-content{

flex:1;

}

.featured-badge{

display:inline-block;

background:#E3F2FD;

color:#1565C0;

padding:8px 16px;

border-radius:30px;

font-size:14px;

font-weight:600;

margin-bottom:20px;

}

.featured-content h2{

font-size:34px;

margin-bottom:15px;

}

.featured-content p{

color:#666;

line-height:1.8;

margin-bottom:20px;

}

.featured-meta{

color:#777;

margin-bottom:25px;

}

.primary-btn{

display:inline-flex;

align-items:center;

gap:10px;

padding:14px 28px;

background:#1565C0;

color:#fff;

border-radius:12px;

font-weight:600;

transition:.3s;

}

.primary-btn:hover{

background:#0D47A1;

}

/*==========================================================
YOUR PC SCORE
==========================================================*/

.pcscore-card{

display:flex;

align-items:center;

justify-content:space-between;

padding:35px;

border-radius:18px;

background:linear-gradient(135deg,#1565C0,#0D47A1);

color:#fff;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.35s;

margin:60px 0;

}

.pcscore-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.pcscore-left{

width:60%;

}

.pcscore-left h2{

font-size:34px;

margin-bottom:15px;

}

.pcscore-left p{

margin-bottom:20px;

opacity:.95;

line-height:1.7;

}

.pcscore-left ul{

list-style:none;

padding:0;

margin:0 0 25px;

}

.pcscore-left li{

margin-bottom:12px;

font-size:16px;

}

.pcscore-left i{

margin-right:10px;

}

.secondary-btn{

display:inline-block;

padding:14px 30px;

background:#fff;

color:#1565C0;

border-radius:12px;

font-weight:600;

}

.pcscore-left{
    width:55%;
}

.pcscore-right{
    width:45%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.pcscore-right img{
    width:100%;
    max-width:500px;
    height:auto;
    object-fit:contain;
}


/*==========================================================
DISCOVER KNOWYOURPC
==========================================================*/

.discover-box{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

background:#fff;

padding:35px;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.discover-item{

text-align:center;

padding:15px;

}

.discover-item img{

width:100%;

height:220px;

object-fit:cover;

border-radius:16px;

margin-bottom:20px;

}

.discover-item h3{

font-family:'Poppins',sans-serif;

font-size:28px;

margin-bottom:15px;

color:#222;

}

.discover-item p{

color:#666;

line-height:1.8;

margin-bottom:25px;

min-height:95px;

}

.discover-item .btn{

display:inline-block;

padding:12px 24px;

background:#1565C0;

color:#fff;

border-radius:12px;

font-weight:600;

transition:.3s;

}

.discover-item .btn:hover{

background:#0D47A1;

}

@media(max-width:992px){

.discover-box{

grid-template-columns:1fr;

}

}