/* ================= CASE STUDIES DETAILS HEADER ================= */

.casestudies-header {
    position: relative;
    padding: 120px 0;
    background: #d5e7f9; /* match your hero */
    overflow: hidden;
}

/* SOFT GLOW */
.casestudies-header::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -20%;
    right: -20%;
    background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 60%);
    filter: blur(80px);
}

/* ================= BREADCRUMB ================= */
.casestudies-header-breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
}

.casestudies-header-breadcrumb a {
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
}

.casestudies-header-breadcrumb .active {
    color: #0f172a;
}

/* ================= LOGO ================= */
.casestudies-header-logo img {
    max-width: 200px;
    margin-bottom: 20px;
}

/* ================= TAGS ================= */
.casestudies-header-tags {
    margin-bottom: 20px;
}

.casestudies-header-tags span {
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 14px;
    margin-right: 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ================= TITLE ================= */
.casestudies-header-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0f172a;
}

.casestudies-header-title span {
    display: block;
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= DESCRIPTION ================= */
.casestudies-header-text {
    color: #475569;
    margin-bottom: 30px;
}

/* ================= BUTTON GROUP ================= */
.casestudies-header-btns {
    display: flex;
    gap: 15px;
}

/* OPTIONAL BUTTON STYLE (if used) */
.casestudies-header-btns a {
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

/* PRIMARY */
.casestudies-header-btns .btn-primary {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    color: #fff;
}

/* SECONDARY */
.casestudies-header-btns .btn-secondary {
    border: 2px solid #2563eb;
    color: #2563eb;
}

/* ================= STATS GRID ================= */
.casestudies-header-stats {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

/* ================= STAT CARD ================= */
.case-stat-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;

    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);

    transition: 0.3s;
}

/* NUMBER */
.case-stat-box h3 {
    font-size: 32px;

    color: #14B8A6;
}

/* LABEL */
.case-stat-box p {
    font-size: 14px;
    color: #475569;
}

/* HOVER */
.case-stat-box:hover {
    transform: translateY(-6px);
    border-color: #2563eb;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ================= RESPONSIVE ================= */
@media(max-width:991px){

    .casestudies-header-title {
        font-size: 34px;
    }

    .casestudies-header-stats {
        margin-top: 40px;
    }
}
/* ================= WEBSITE OVERVIEW ================= */

.casestudies-overview-section {
    padding: 100px 0;
    background: #f8fafc; /* match site */
}

/* HEADER */
.casestudies-overview-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
}

.casestudies-overview-header h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.casestudies-overview-header p {
    color: #64748b;
}

/* BADGE */
.casestudies-overview-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* CARD */
.casestudies-overview-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    text-align: center;

    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);

    transition: 0.3s ease;
    height: 100%;
}

/* ICON */
.overview-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    font-size: 22px;

    background: linear-gradient(135deg, #2563eb, #14B8A6);
    color: white;

    box-shadow: 0 10px 20px rgba(37,99,235,0.15);
}

/* TITLE */
.casestudies-overview-card h4 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 8px;
}

/* TEXT */
.casestudies-overview-card p {
    font-size: 14px;
    color: #475569;
}

/* LINK */
.casestudies-overview-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

/* HOVER EFFECT */
.casestudies-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

/* RESPONSIVE */
@media(max-width:991px){
    .casestudies-overview-header h2{
        font-size:30px;
    }
}

@media(max-width:576px){
    .casestudies-overview-header h2{
        font-size:24px;
    }
}
/* ================= PROJECT BACKGROUND SECTION ================= */

.casestudies-project-bg {
    background: #f8fafc; /* match site */
    padding: 110px 0;
    color: #0f172a;
}

/* BADGE */
.project-bg-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* TITLE */
.project-bg-content h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #0f172a;
}

.project-bg-content h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEXT */
.project-bg-text {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

/* HIGHLIGHTS GRID */
.project-bg-highlights {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 30px;
}

/* HIGHLIGHT ITEM */
.highlight-item {
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;

    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.highlight-item i {
    color: #14B8A6;
    margin-right: 8px;
}

/* RIGHT CARD */
.project-bg-card {
    background: #ffffff;
    color: #0f172a;
    padding: 40px;
    border-radius: 14px;

    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.project-bg-card h4 {
    font-weight: 700;
    margin-bottom: 25px;
}

/* LIST */
.project-bg-card ul {
    list-style: none;
    padding: 0;
}

.project-bg-card li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 22px;
    color: #475569;
}

/* CHECK ICON */
.project-bg-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}


/* ================= CHALLENGES SECTION ================= */

.casestudies-challenges-section {
    background: #f8fafc;
    padding: 110px 0;
}

/* BADGE */
.casestudies-challenges-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* TITLE */
.casestudies-challenges-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.casestudies-challenges-header h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.casestudies-challenges-header p {
    max-width: 680px;
    margin: auto;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

/* CARD */
.challenge-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* GRADIENT HOVER */
.challenge-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.challenge-card:hover::before {
    opacity: 1;
}

/* HOVER */
.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* ICON BOX */
.challenge-icon {
    width: 60px;
    height: 60px;
    background: rgba(37,99,235,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.challenge-card:hover .challenge-icon {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
}

/* ICON */
.challenge-icon i {
    font-size: 22px;
    color: #2563eb;
    transition: 0.3s;
}

.challenge-card:hover .challenge-icon i {
    color: #fff;
}

/* TITLE */
.challenge-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

/* LIST */
.challenge-card ul {
    padding-left: 18px;
    color: #475569;
}

.challenge-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .casestudies-challenges-header h2 {
        font-size: 30px;
    }

    .challenge-card {
        padding: 25px;
    }
}
/* ================= SEO AUDIT SECTION ================= */
.seo-audit-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 110px 0;
}

/* BADGE */
.seo-audit-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* TITLE */
.seo-audit-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.seo-audit-content h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* DESC */
.seo-audit-desc {
    font-size: 16.5px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* GRID */
.seo-audit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* ITEM */
.audit-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #0f172a;
    position: relative;
    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* ICON */
.audit-item i {
    width: 42px;
    height: 42px;
    background: rgba(37,99,235,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #2563eb;
    font-size: 16px;
    transition: 0.3s;
}

/* HOVER */
.audit-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.07);
    border-color: #2563eb;
}

.audit-item:hover i {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    color: #fff;
}

/* OVERLAY */
.audit-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.audit-item:hover::before {
    opacity: 1;
}


/* ================= SEO ACTIONS SECTION ================= */
.seo-actions-section {
    background: #f8fafc; /* converted from dark */
    padding: 110px 0;
}

/* HEADER */
.seo-actions-header h2 {
    color: #0f172a;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.seo-actions-header h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-actions-header p {
    color: #64748b;
    max-width: 700px;
    margin: auto;
    font-size: 16.5px;
    line-height: 1.7;
}

/* BADGE */
.seo-actions-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* CARD */
.seo-action-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* HOVER GLOW */
.seo-action-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.seo-action-card:hover::before {
    opacity: 1;
}

/* HOVER */
.seo-action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

/* TOP */
.seo-action-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* NUMBER */
.seo-action-number {
    font-size: 26px;
    font-weight: 700;
    color: #2563eb;
    background: #e0ecff;
    padding: 8px 14px;
    border-radius: 10px;
}

/* TITLE */
.seo-action-card h4 {
    color: #0f172a;
    font-weight: 600;
}

/* LIST */
.seo-action-card ul {
    padding-left: 18px;
    color: #475569;
}

.seo-action-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .seo-audit-content h2 {
        font-size: 32px;
    }

    .seo-audit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .seo-actions-header h2 {
        font-size: 30px;
    }

    .seo-action-card {
        padding: 22px;
    }
}

/* ================= SEO RESULTS SECTION ================= */

.seo-results-section {
    background: #f8fafc;
    padding: 110px 0;
}

/* HEADER */
.seo-results-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.seo-results-header h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-results-header p {
    max-width: 700px;
    margin: auto;
    color: #64748b;
    font-size: 16.5px;
    line-height: 1.7;
}

/* BADGE */
.seo-results-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* CARD */
.seo-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* HOVER OVERLAY */
.seo-result-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.seo-result-card:hover::before {
    opacity: 1;
}

/* HOVER */
.seo-result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

/* TEXT */
.seo-result-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.seo-result-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* NOTE */
.seo-results-note {
    margin-top: 50px;
    font-size: 16px;
    color: #475569;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


/* ================= SEO LEARNINGS SECTION ================= */

.seo-learnings-section {
    background: #ffffff;
    padding: 110px 0;
}

/* HEADER */
.seo-learnings-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.seo-learnings-header h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-learnings-header p {
    max-width: 650px;
    margin: auto;
    color: #64748b;
    font-size: 16.5px;
    line-height: 1.7;
}

/* BADGE */
.seo-learnings-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* CARD (FIXED - LIGHT THEME) */
.learning-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;

    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* HOVER EFFECT */
.learning-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.learning-card:hover::before {
    opacity: 1;
}

.learning-card:hover {
    transform: translateY(-8px);
    border-color: #2563eb;
}

/* ICON */
.learning-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 18px;

    box-shadow: 0 10px 20px rgba(37,99,235,0.15);
}

.learning-icon i {
    color: #ffffff;
    font-size: 20px;
}

/* TITLE */
.learning-card h4 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

/* TEXT */
.learning-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* SUMMARY */
.seo-learnings-summary {
    margin-top: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.seo-learnings-summary p {
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .seo-results-header h2,
    .seo-learnings-header h2 {
        font-size: 30px;
    }

    .seo-result-card,
    .learning-card {
        padding: 22px;
    }
}
/* ================= SEO STATUS SECTION ================= */

.seo-status-section {
    background: #f8fafc;
    padding: 110px 0;
}

/* HEADER */
.seo-status-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.seo-status-header h2 span {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-status-header p {
    max-width: 680px;
    margin: auto;
    color: #64748b;
    font-size: 16.5px;
    line-height: 1.7;
}

/* BADGE */
.seo-status-badge {
    display: inline-block;
    background: #e0ecff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* MAIN BOX */
.seo-status-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.seo-status-box h4 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

/* STATUS ITEM */
.status-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #334155;
    transition: 0.3s;

    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* ICON */
.status-item i {
    width: 38px;
    height: 38px;
    background: rgba(37,99,235,0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s;
}

/* HOVER */
.status-item:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.status-item:hover i {
    background: linear-gradient(135deg, #2563eb, #14B8A6);
    color: #fff;
}

/* NOTE */
.seo-status-note {
    margin-top: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.seo-status-note p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}


/* ================= DISCLAIMER SECTION ================= */

.seo-disclaimer-section {
    background: #f8fafc;
    padding: 60px 0 110px;
}

/* BOX */
.seo-disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    background: #e0ecff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 20px 22px;

    max-width: 850px;
    margin: auto;
}

/* ICON */
.seo-disclaimer-icon {
    width: 42px;
    height: 42px;

    background: rgba(37,99,235,0.15);
    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

/* CONTENT */
.seo-disclaimer-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 6px;
}

.seo-disclaimer-content p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .seo-status-header h2 {
        font-size: 30px;
    }

    .seo-status-box {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .seo-disclaimer-box {
        flex-direction: column;
    }
}