﻿/*==================================================
        BLOG DETAILS
        KINGKROWN DIGITAL
==================================================*/

/* Only page content styles */
/* Header & Footer are handled by common.css */

.seo-content {
    background: #f7f9fc;
}


/*==================================================
                HERO SECTION
==================================================*/

.seo-hero {
    position: relative;
    background: linear-gradient(135deg,#0d47a1,#1565c0);
    padding: 120px 0 90px;
    overflow: hidden;
}

    .seo-hero::before {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        background: rgba(255,255,255,.08);
        border-radius: 50%;
        top: -180px;
        right: -120px;
    }

    .seo-hero::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        background: rgba(255,255,255,.05);
        border-radius: 50%;
        bottom: -120px;
        left: -100px;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.12);
}

.seo-hero .container {
    position: relative;
    z-index: 2;
}

.category {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

    .category i {
        margin-right: 8px;
    }

.seo-hero h1 {
    color: #fff;
    font-size: 58px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 25px;
    max-width: 820px;
}

.seo-hero p {
    color: #eef3ff;
    font-size: 20px;
    max-width: 760px;
    margin-bottom: 35px;
}

.hero-info {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

    .hero-info span {
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

    .hero-info i {
        color: #ff9800;
        margin-right: 8px;
    }



/*==================================================
            ARTICLE SECTION
==================================================*/

.seo-content {
    padding: 90px 0;
}

.article {
    background: #fff;
    border-radius: 25px;
    padding: 55px;
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
}

.article-intro h2 {
    color: #0d47a1;
    font-size: 42px;
    margin-bottom: 25px;
}

.article-intro p {
    color: #555;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}



/*==================================================
            CONTENT SECTIONS
==================================================*/

.content-section {
    margin-top: 70px;
}

    .content-section h2 {
        color: #0d47a1;
        font-size: 34px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

        .content-section h2 i {
            color: #ff9800;
        }

    .content-section p {
        color: #555;
        font-size: 17px;
        margin-bottom: 20px;
        text-align: justify;
    }



/*==================================================
            HIGHLIGHT BOX
==================================================*/

.highlight-box {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-top: 45px;
    background: #f4f8ff;
    padding: 35px;
    border-left: 6px solid #ff9800;
    border-radius: 18px;
}

    .highlight-box i {
        font-size: 50px;
        color: #ff9800;
    }

    .highlight-box h3 {
        color: #0d47a1;
        margin-bottom: 10px;
        font-size: 26px;
    }

    .highlight-box p {
        color: #555;
        margin: 0;
    }
/*==================================================
                FEATURE GRID
==================================================*/

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: .35s;
}

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: #0d47a1;
        box-shadow: 0 18px 35px rgba(13,71,161,.18);
    }

    .feature-card i {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #eef4ff;
        color: #0d47a1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 34px;
        margin: 0 auto 20px;
        transition: .35s;
    }

    .feature-card:hover i {
        background: #0d47a1;
        color: #fff;
    }

    .feature-card h4 {
        font-size: 24px;
        color: #0d47a1;
        margin-bottom: 15px;
    }

    .feature-card p {
        color: #666;
        font-size: 16px;
        line-height: 1.8;
    }



/*==================================================
                TIP BOX
==================================================*/

.tip-box {
    margin-top: 45px;
    padding: 35px;
    background: linear-gradient(135deg,#0d47a1,#1565c0);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

    .tip-box h3 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .tip-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .tip-box li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,.15);
        font-size: 17px;
    }

        .tip-box li:last-child {
            border-bottom: none;
        }

        .tip-box li::before {
            content: "✔";
            color: #ffcc33;
            margin-right: 12px;
            font-weight: 700;
        }



/*==================================================
                CHECKLIST
==================================================*/

.checklist {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 35px;
}

.check-item {
    background: #f8fbff;
    border-left: 5px solid #0d47a1;
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 500;
    color: #333;
    transition: .3s;
}

    .check-item:hover {
        background: #0d47a1;
        color: #fff;
        transform: translateX(8px);
    }

    .check-item i {
        color: #ff9800;
        margin-right: 10px;
    }



/*==================================================
            SEO CHECKLIST
==================================================*/

.seo-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 18px;
    margin-top: 35px;
}

    .seo-checklist div {
        background: #fff;
        padding: 18px 20px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,.06);
        border-left: 5px solid #ff9800;
        transition: .3s;
        font-size: 16px;
    }

        .seo-checklist div:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 30px rgba(13,71,161,.15);
        }

    .seo-checklist i {
        color: #0d47a1;
        margin-right: 10px;
    }



    /*==================================================
                ANIMATIONS
==================================================*/

    .feature-card,
    .check-item,
    .seo-checklist div,
    .tip-box,
    .highlight-box {
        animation: fadeUp .8s ease;
    }

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*==================================================
                CTA SECTION
==================================================*/

.seo-cta {
    padding: 90px 0;
    background: linear-gradient(135deg,#0d47a1,#1565c0);
}

.cta-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

    .cta-card h2 {
        color: #0d47a1;
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta-card p {
        max-width: 850px;
        margin: 0 auto 35px;
        color: #555;
        font-size: 18px;
        line-height: 1.9;
    }



/*==================================================
                CTA BUTTONS
==================================================*/

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #ff9800;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: .35s;
    text-decoration: none;
}

    .primary-btn:hover {
        background: #e68900;
        transform: translateY(-5px);
    }

.secondary-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #0d47a1;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: .35s;
    text-decoration: none;
}

    .secondary-btn:hover {
        background: #08306d;
        transform: translateY(-5px);
    }



/*==================================================
            RELATED ARTICLES
==================================================*/

.related-articles {
    padding: 90px 0;
    background: #f8f9fc;
}

    .related-articles h2 {
        text-align: center;
        color: #0d47a1;
        font-size: 40px;
        margin-bottom: 50px;
    }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.related-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
    border: 1px solid #e8e8e8;
}

    .related-card:hover {
        transform: translateY(-10px);
        background: #0d47a1;
        border-color: #0d47a1;
    }

    .related-card i {
        font-size: 48px;
        color: #ff9800;
        margin-bottom: 20px;
    }

    .related-card:hover i {
        color: #fff;
    }

    .related-card h3 {
        color: #0d47a1;
        font-size: 24px;
        line-height: 1.5;
        transition: .35s;
    }

    .related-card:hover h3 {
        color: #fff;
    }



/*==================================================
            BACK TO BLOG
==================================================*/

.back-section {
    padding: 70px 0 100px;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0d47a1;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    transition: .35s;
    text-decoration: none;
}

    .back-btn:hover {
        background: #ff9800;
        transform: translateY(-5px);
    }

    .back-btn i {
        font-size: 16px;
    }



/*==================================================
                GENERAL HOVER
==================================================*/

.cta-card,
.related-card,
.back-btn {
    transition: .35s;
}



/*==================================================
            NICE SECTION SPACING
==================================================*/

.content-section:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 20px;
}
/*==================================================
                RESPONSIVE DESIGN
==================================================*/

@media (max-width:1200px) {

    .seo-hero h1 {
        font-size: 50px;
    }

    .related-grid {
        grid-template-columns: repeat(2,1fr);
    }
}



@media (max-width:992px) {

    .seo-hero {
        padding: 100px 0 80px;
    }

        .seo-hero h1 {
            font-size: 42px;
        }

        .seo-hero p {
            font-size: 18px;
        }

    .article {
        padding: 40px;
    }

    .article-intro h2 {
        font-size: 36px;
    }

    .content-section h2 {
        font-size: 30px;
    }

    .feature-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 45px;
    }
}



@media (max-width:768px) {

    .seo-hero {
        padding: 90px 0 70px;
        text-align: center;
    }

        .seo-hero h1 {
            font-size: 34px;
        }

        .seo-hero p {
            font-size: 17px;
        }

    .hero-info {
        justify-content: center;
        gap: 15px;
    }

    .article {
        padding: 30px;
    }

    .article-intro h2 {
        font-size: 30px;
    }

    .content-section h2 {
        font-size: 26px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        flex-direction: column;
        text-align: center;
    }

        .highlight-box i {
            margin: auto;
        }

    .cta-card h2 {
        font-size: 30px;
    }

    .cta-card p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 240px;
        text-align: center;
    }
}



@media (max-width:576px) {

    .seo-hero {
        padding: 80px 0 60px;
    }

    .category {
        font-size: 12px;
        padding: 8px 18px;
    }

    .seo-hero h1 {
        font-size: 28px;
    }

    .seo-hero p {
        font-size: 15px;
    }

    .article {
        padding: 22px;
    }

    .content-section {
        margin-top: 50px;
    }

        .content-section h2 {
            font-size: 22px;
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }

    .feature-card {
        padding: 25px;
    }

        .feature-card h4 {
            font-size: 22px;
        }

    .tip-box {
        padding: 25px;
    }

        .tip-box h3 {
            font-size: 24px;
        }

    .check-item {
        font-size: 15px;
    }

    .cta-card {
        padding: 30px 20px;
    }
}



/*==================================================
                SMOOTH SCROLL
==================================================*/

html {
    scroll-behavior: smooth;
}



/*==================================================
                SELECTION
==================================================*/

::selection {
    background: #0d47a1;
    color: #fff;
}



/*==================================================
                SCROLLBAR
==================================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
    background: #0d47a1;
    border-radius: 30px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #ff9800;
    }



/*==================================================
                FADE ANIMATION
==================================================*/

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.article,
.feature-card,
.highlight-box,
.tip-box,
.check-item,
.related-card,
.cta-card {
    animation: fadeInUp .8s ease;
}



/*==================================================
                FINAL POLISH
==================================================*/

.feature-card,
.related-card,
.article,
.tip-box,
.highlight-box,
.cta-card {
    border: 1px solid rgba(13,71,161,.08);
}

    .feature-card:hover,
    .related-card:hover {
        border-color: #0d47a1;
    }

.seo-hero {
    border-bottom: 5px solid #ff9800;
}

/*==============================
    INFO BOX
==============================*/

.info-box {
    background: #eef6ff;
    border-left: 6px solid #0b4ea2;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

    .info-box h3 {
        color: #0b4ea2;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .info-box ul {
        margin-left: 20px;
    }

    .info-box li {
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 1.8;
    }