/* ==================================================
   SWITCHWISER PRO THEME
   Main Stylesheet
================================================== */

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f6f8fb;
    color:#222;
    line-height:1.7;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* =========================
   HEADER
========================= */

.sw-header{
    position:sticky;
    top:0;
    background:#fff;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.header-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo img{
    max-height:60px;
}

.menu{
    display:flex;
    gap:30px;
}

.menu li{
    list-style:none;
}

.menu a{
    font-weight:600;
    color:#0F57C7;
    transition:.3s;
}

.menu a:hover{
    color:#68C31A;
}

.mobile-toggle{
    display:none;
    background:none;
    border:none;
    font-size:30px;
    cursor:pointer;
}

/* =========================
   HERO
========================= */

.hero{
    padding:70px 0;
    background:linear-gradient(135deg,#0F57C7,#68C31A);
    color:#fff;
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.hero-content{
    min-width:0;
}

.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:0;
}

.hero-image img{
    width:100%;
    max-width:600px;
    height:auto;
    display:block;
}
/* =========================
   SECTION TITLES
========================= */

.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h2{
    font-size:42px;
    color:#13294B;
    margin-bottom:10px;
}

.section-header p{
    color:#666;
    font-size:18px;
}

/* =========================
   CATEGORY SECTION
========================= */

.categories-section{
    padding:90px 0;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.category-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.category-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.category-card .icon{
    font-size:56px;
    margin-bottom:20px;
}

.category-card h3{
    color:#0F57C7;
    margin-bottom:15px;
}

.category-card p{
    color:#666;
}

/* ==================================================
   FEATURED REVIEW
================================================== */

.featured-review{
    padding:90px 0;
    background:#fff;
}

.featured-card{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:40px;
    align-items:center;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.featured-image{
    overflow:hidden;
}

.featured-image img{
    width:100%;
    height:100%;
    min-height:450px;
    object-fit:cover;
    transition:.4s;
}

.featured-card:hover .featured-image img{
    transform:scale(1.05);
}

.featured-content{
    padding:45px;
}

.featured-category{
    display:inline-block;
    background:#68C31A;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;
    margin-bottom:20px;
}

.featured-content h2{
    font-size:40px;
    line-height:1.2;
    margin-bottom:20px;
    color:#13294B;
}

.featured-content h2 a{
    color:#13294B;
}

.featured-content p{
    color:#666;
    font-size:18px;
    margin-bottom:30px;
}

.featured-btn{
    display:inline-block;
    background:#0F57C7;
    color:#fff;
    padding:15px 30px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.featured-btn:hover{
    background:#0c43a3;
}

/* ==================================================
   LATEST REVIEWS
================================================== */

.latest-reviews{
    padding:90px 0;
}

.posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.post-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.post-card:hover{
    transform:translateY(-8px);
}

.post-image{
    overflow:hidden;
}

.post-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
}

.post-card:hover .post-image img{
    transform:scale(1.05);
}

.post-content{
    padding:24px;
}

.post-category{
    display:inline-block;
    background:#0F57C7;
    color:#fff;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    margin-bottom:15px;
}

.post-content h3{
    font-size:22px;
    margin-bottom:15px;
    color:#13294B;
}

.post-content p{
    color:#666;
    margin-bottom:20px;
}

.read-more{
    color:#0F57C7;
    font-weight:700;
}

/* ==================================================
   FOOTER
================================================== */

.footer{
    margin-top:90px;
    background:#111827;
    color:#fff;
    padding:70px 0;
}

.footer a{
    color:#fff;
}

.footer p{
    opacity:.85;
}

/* ==================================================
   RESPONSIVE
================================================== */

/* Laptop */

@media (max-width:1200px){

.hero h1{
    font-size:48px;
}

.posts-grid{
    grid-template-columns:repeat(2,1fr);
}

}

/* Tablet */

@media (max-width:992px){

.container{
    width:94%;
}

.hero-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:45px;
}

.hero-image img{
    max-width:500px;
    margin:auto;
}

.featured-card{
    grid-template-columns:1fr;
}

.featured-image img{
    min-height:320px;
}

.featured-content{
    text-align:center;
    padding:35px;
}

.posts-grid{
    grid-template-columns:repeat(2,1fr);
}

.category-grid{
    grid-template-columns:repeat(2,1fr);
}

.header-wrap{
    flex-wrap:wrap;
    gap:20px;
}

}

/* Mobile */

@media (max-width:768px){

.hero{
    padding:60px 0;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:18px;
}

.hero-btn,
.featured-btn{
    width:100%;
    text-align:center;
}

.section-header h2{
    font-size:32px;
}

.featured-content h2{
    font-size:30px;
}

.posts-grid,
.category-grid{
    grid-template-columns:1fr;
}

.post-image img{
    height:220px;
}

.menu{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.header-wrap{
    flex-direction:column;
    text-align:center;
}

}

/* Small Phones */

@media (max-width:480px){

.hero{
    padding:45px 0;
}

.hero h1{
    font-size:30px;
}

.hero p{
    font-size:16px;
}

.hero-tag{
    font-size:13px;
}

.featured-content{
    padding:25px;
}

.featured-content h2{
    font-size:24px;
}

.featured-content p{
    font-size:16px;
}

.section-header h2{
    font-size:26px;
}

.section-header p{
    font-size:15px;
}

.category-card{
    padding:25px;
}

.post-content{
    padding:20px;
}

.post-content h3{
    font-size:20px;
}

.post-image img{
    height:200px;
}

.footer{
    text-align:center;
    padding:50px 0;
}

}

html,
body{
    width:100%;
    overflow-x:hidden;
}

*{
    max-width:100%;
}

img{
    max-width:100%;
    height:auto;
}