/* =========================================
   POOJA INDUSTRIES — BLOG 3
   Tools & Dies Manufacturing
   Independent page stylesheet
========================================= */

.pi-blog3-page {
    --pi-b3-blue: #0878c9;
    --pi-b3-blue-dark: #045a99;
    --pi-b3-navy: #0b2638;
    --pi-b3-green: #00a878;
    --pi-b3-green-dark: #00865f;
    --pi-b3-text: #5c6a72;
    --pi-b3-heading: #122733;
    --pi-b3-border: #dce6eb;
    --pi-b3-bg: #f5f8fa;
    color: var(--pi-b3-text);
    font-family: "DM Sans", sans-serif;
    overflow: hidden;
}

.pi-blog3-page *,
.pi-blog3-page *::before,
.pi-blog3-page *::after {
    box-sizing: border-box;
}

.pi-blog3-page img {
    max-width: 100%;
}

.pi-blog3-page a {
    text-decoration: none;
}

.pi-blog3-page h1,
.pi-blog3-page h2,
.pi-blog3-page h3,
.pi-blog3-page h4 {
    font-family: "Space Grotesk", sans-serif;
    color: var(--pi-b3-heading);
}

/* Hero */
.pi-blog3-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 76px 0 72px;
    background: radial-gradient(ellipse at 82% 18%, rgba(0, 168, 120, 0.19), transparent 35%),
        radial-gradient(ellipse at 95% 100%, rgba(8, 120, 201, 0.28), transparent 42%),
        linear-gradient(120deg, #071c2b 0%, #0b2638 54%, #103c50 100%);
}

.pi-blog3-hero::before,
.pi-blog3-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.pi-blog3-hero::before {
    width: 440px;
    height: 440px;
    right: -100px;
    top: -170px;
}

.pi-blog3-hero::after {
    width: 320px;
    height: 320px;
    right: -40px;
    top: -110px;
}

.pi-blog3-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.18;
    background-image: linear-gradient(135deg, transparent 49.5%, rgba(255, 255, 255, 0.1) 50%, transparent 50.5%);
    background-size: 44px 44px;
}

.pi-blog3-hero-content {
    position: relative;
    z-index: 1;
}

.pi-blog3-eyebrow,
.pi-blog3-section-kicker,
.pi-blog3-sidebar-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pi-blog3-eyebrow {
    color: #b8f3dc;
    margin-bottom: 18px;
}

.pi-blog3-eyebrow span {
    width: 26px;
    height: 2px;
    background: var(--pi-b3-green);
}

.pi-blog3-hero h1 {
    max-width: 850px;
    color: #fff;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.08;
    margin: 0 0 18px;
}

.pi-blog3-hero h1 span {
    color: #66dfb5;
}

.pi-blog3-hero-content > p {
    max-width: 650px;
    color: #d0dce4;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 26px;
}

.pi-blog3-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #b9c9d3;
}

.pi-blog3-breadcrumb a {
    color: #e3edf2;
    transition: color 0.2s ease;
}

.pi-blog3-breadcrumb a:hover {
    color: #66dfb5;
}

.pi-blog3-breadcrumb i {
    font-size: 9px;
    color: var(--pi-b3-green);
}

.pi-blog3-breadcrumb span {
    color: #9fe7cb;
}

.pi-blog3-hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, var(--pi-b3-blue), var(--pi-b3-green), transparent);
}

/* Main layout */
.pi-blog3-main-section {
    padding: 76px 0 86px;
    background: #f5f8fa;
}

.pi-blog3-article {
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--pi-b3-border);
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(11, 38, 56, 0.045);
}

.pi-blog3-article-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background: #e8eef2;
    border-radius: 13px;
}

.pi-blog3-article-image img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pi-blog3-article-image:hover img {
    transform: scale(1.025);
}

.pi-blog3-image-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 7px;
    color: #fff;
    background: rgba(11, 38, 56, 0.88);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.pi-blog3-image-label i {
    color: #6fe0b7;
}

.pi-blog3-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 23px;
    border-bottom: 1px solid #edf1f3;
}

.pi-blog3-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #71818b;
    font-size: 12px;
    font-weight: 600;
}

.pi-blog3-article-meta i {
    color: var(--pi-b3-green);
}

.pi-blog3-heading {
    position: relative;
    padding-left: 16px;
    margin: 34px 0 17px;
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.3;
}

.pi-blog3-heading::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(var(--pi-b3-blue), var(--pi-b3-green));
}

.pi-blog3-article > .pi-blog3-heading:first-of-type {
    margin-top: 0;
}

.pi-blog3-article > p {
    margin: 0 0 17px;
    color: var(--pi-b3-text);
    font-size: 14px;
    line-height: 1.95;
}

/* Highlight */
.pi-blog3-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 23px;
    margin: 28px 0;
    border: 1px solid #d9eee6;
    border-left: 4px solid var(--pi-b3-green);
    border-radius: 12px;
    background: linear-gradient(110deg, #effaf5, #f6fbfe);
}

.pi-blog3-highlight-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 11px;
    background: #d9f4e9;
    color: var(--pi-b3-green-dark);
    font-size: 20px;
}

.pi-blog3-highlight h3 {
    margin: 2px 0 7px;
    font-size: 18px;
    font-weight: 700;
}

.pi-blog3-highlight p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

/* Capability list */
.pi-blog3-capability-list {
    margin: 24px 0 32px;
    border-top: 1px solid var(--pi-b3-border);
}

.pi-blog3-capability {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 15px;
    padding: 20px 6px;
    border-bottom: 1px solid var(--pi-b3-border);
    transition: background 0.2s ease, padding 0.2s ease;
}

.pi-blog3-capability:hover {
    padding-right: 12px;
    padding-left: 12px;
    background: #f6fbfd;
}

.pi-blog3-capability-number {
    color: var(--pi-b3-green-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.pi-blog3-capability h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
}

.pi-blog3-capability p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
}

.pi-blog3-capability > i {
    color: var(--pi-b3-blue);
    font-size: 13px;
}

/* Process cards */
.pi-blog3-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0 30px;
}

.pi-blog3-process-card {
    padding: 21px;
    border: 1px solid var(--pi-b3-border);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pi-blog3-process-card:hover {
    transform: translateY(-4px);
    border-color: #9bdcc7;
    box-shadow: 0 12px 28px rgba(11, 38, 56, 0.07);
}

.pi-blog3-process-card > span {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: 17px;
    place-items: center;
    color: var(--pi-b3-blue);
    background: #eaf5fc;
    border-radius: 10px;
    font-size: 18px;
}

.pi-blog3-process-card:nth-child(even) > span {
    color: var(--pi-b3-green-dark);
    background: #eaf8f3;
}

.pi-blog3-process-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.pi-blog3-process-card p {
    margin: 0;
    color: var(--pi-b3-text);
    font-size: 12px;
    line-height: 1.8;
}

/* Article footer */
.pi-blog3-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 22px;
    margin-top: 32px;
    border-top: 1px solid var(--pi-b3-border);
}

.pi-blog3-article-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #71818b;
    font-size: 11px;
    line-height: 1.7;
}

.pi-blog3-article-footer > span i {
    color: var(--pi-b3-green);
}

.pi-blog3-article-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pi-b3-blue-dark);
    font-size: 12px;
    font-weight: 800;
}

.pi-blog3-article-footer > a i {
    transition: transform 0.2s ease;
}

.pi-blog3-article-footer > a:hover i {
    transform: translateX(4px);
}

/* Sidebar */
.pi-blog3-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pi-blog3-sidebar-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--pi-b3-border);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(11, 38, 56, 0.035);
}

.pi-blog3-sidebar-intro {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, rgba(0, 168, 120, 0.18), transparent 40%),
        linear-gradient(145deg, #0b2638, #103b50);
    border-color: #103b50;
}

.pi-blog3-sidebar-intro::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -42px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.pi-blog3-sidebar-intro .pi-blog3-sidebar-kicker,
.pi-blog3-contact-card .pi-blog3-sidebar-kicker {
    color: #7be2bd;
}

.pi-blog3-sidebar-intro h3 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.pi-blog3-sidebar-intro p {
    color: #c5d5de;
    font-size: 13px;
    line-height: 1.85;
    margin: 0 0 21px;
}

.pi-blog3-sidebar-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #7be2bd;
    font-size: 12px;
    font-weight: 800;
}

.pi-blog3-sidebar-link:hover {
    color: #fff;
}

.pi-blog3-sidebar-title {
    padding-bottom: 16px;
    margin: 0 0 6px;
    border-bottom: 1px solid var(--pi-b3-border);
    font-size: 19px;
    font-weight: 700;
}

.pi-blog3-product-link {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f3;
    color: var(--pi-b3-heading);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.pi-blog3-product-link:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pi-blog3-product-link > span:first-child {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 9px;
    background: #eaf5fc;
    color: var(--pi-b3-blue);
    font-size: 16px;
}

.pi-blog3-product-link > i {
    color: #9aabb4;
    font-size: 13px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pi-blog3-product-link:hover {
    color: var(--pi-b3-blue-dark);
}

.pi-blog3-product-link:hover > i {
    color: var(--pi-b3-green);
    transform: translateX(3px);
}

/* Contact card */
.pi-blog3-contact-card {
    background: #edf8f4;
    border-color: #d6eee4;
}

.pi-blog3-contact-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 12px;
    background: #d5f2e6;
    color: var(--pi-b3-green-dark);
    font-size: 21px;
}

.pi-blog3-contact-card h3 {
    margin: 12px 0 10px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.pi-blog3-contact-card p {
    color: var(--pi-b3-text);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pi-blog3-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--pi-b3-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.pi-blog3-contact-button:hover {
    background: var(--pi-b3-blue-dark);
    color: #fff;
}

.pi-blog3-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    color: #087b57;
    font-size: 12px;
    font-weight: 800;
}

.pi-blog3-whatsapp-link i {
    font-size: 17px;
}

.pi-blog3-whatsapp-link:hover {
    color: #045a99;
}

/* Related articles */
.pi-blog3-related-link {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f3;
}

.pi-blog3-related-link:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pi-blog3-related-link img {
    width: 82px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background: #edf2f5;
}

.pi-blog3-related-link span {
    min-width: 0;
}

.pi-blog3-related-link small {
    display: block;
    margin-bottom: 5px;
    color: var(--pi-b3-green-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pi-blog3-related-link strong {
    display: block;
    color: var(--pi-b3-heading);
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    line-height: 1.55;
    transition: color 0.2s ease;
}

.pi-blog3-related-link:hover strong {
    color: var(--pi-b3-blue);
}

/* Full-width section below article + sidebar */
.pi-blog3-wide-section {
    width: 100%;
    max-width: 100%;
    margin-top: 44px;
    padding: 36px;
    border: 1px solid var(--pi-b3-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(11, 38, 56, 0.04);
    clear: both;
}

.pi-blog3-wide-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 35px;
    margin-bottom: 28px;
}

.pi-blog3-section-kicker {
    color: var(--pi-b3-green-dark);
    margin-bottom: 12px;
}

.pi-blog3-wide-heading h2 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.22;
}

.pi-blog3-wide-heading > p {
    margin: 0;
    color: var(--pi-b3-text);
    font-size: 13px;
    line-height: 1.9;
}

.pi-blog3-wide-item {
    position: relative;
    display: flex;
    gap: 15px;
    height: 100%;
    min-height: 175px;
    padding: 23px 19px;
    overflow: hidden;
    border: 1px solid var(--pi-b3-border);
    border-radius: 12px;
    background: #fff;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pi-blog3-wide-item:hover {
    transform: translateY(-4px);
    border-color: #a8dfce;
    box-shadow: 0 12px 25px rgba(11, 38, 56, 0.06);
}

.pi-blog3-wide-item > span {
    flex: 0 0 auto;
    color: #9aabb4;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.pi-blog3-wide-item > div {
    min-width: 0;
}

.pi-blog3-wide-item > div > i {
    display: block;
    margin-bottom: 15px;
    color: var(--pi-b3-green-dark);
    font-size: 23px;
}

.pi-blog3-wide-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.pi-blog3-wide-item p {
    margin: 0;
    color: var(--pi-b3-text);
    font-size: 12px;
    line-height: 1.8;
}

/* Bottom CTA */
.pi-blog3-bottom-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 35px;
    margin-top: 28px;
    border-radius: 18px;
    background: radial-gradient(circle at 100% 0%, rgba(0, 168, 120, 0.2), transparent 36%),
        linear-gradient(115deg, #0b2638, #103b50);
}

.pi-blog3-cta-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: #7be2bd;
    font-size: 24px;
}

.pi-blog3-cta-copy {
    flex: 1;
    min-width: 0;
}

.pi-blog3-cta-copy > span {
    color: #7be2bd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.pi-blog3-cta-copy h2 {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(21px, 2.6vw, 29px);
    font-weight: 700;
    line-height: 1.3;
}

.pi-blog3-cta-copy p {
    margin: 0;
    color: #c6d5de;
    font-size: 12px;
    line-height: 1.8;
}

.pi-blog3-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 19px;
    border-radius: 8px;
    background: var(--pi-b3-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pi-blog3-cta-button:hover {
    background: var(--pi-b3-green-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1199px) {
    .pi-blog3-article {
        padding: 23px;
    }

    .pi-blog3-sidebar-card {
        padding: 21px;
    }

    .pi-blog3-wide-section {
        padding: 28px;
    }
}

@media (max-width: 991px) {
    .pi-blog3-hero {
        min-height: 350px;
        padding: 65px 0;
    }

    .pi-blog3-main-section {
        padding: 55px 0 65px;
    }

    .pi-blog3-article-image img {
        height: 360px;
    }

    .pi-blog3-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .pi-blog3-wide-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pi-blog3-bottom-cta {
        flex-wrap: wrap;
    }

    .pi-blog3-cta-button {
        margin-left: 82px;
    }
}

@media (max-width: 767px) {
    .pi-blog3-hero {
        min-height: 320px;
        padding: 52px 0;
    }

    .pi-blog3-hero h1 {
        letter-spacing: -1px;
    }

    .pi-blog3-hero-content > p {
        font-size: 14px;
    }

    .pi-blog3-main-section {
        padding: 35px 0 45px;
    }

    .pi-blog3-article {
        padding: 17px;
        border-radius: 13px;
    }

    .pi-blog3-article-image img {
        height: 270px;
    }

    .pi-blog3-image-label {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: fit-content;
        max-width: calc(100% - 20px);
        font-size: 10px;
    }

    .pi-blog3-article-meta {
        gap: 10px 16px;
    }

    .pi-blog3-article > p {
        font-size: 13px;
    }

    .pi-blog3-highlight {
        padding: 17px;
        gap: 13px;
    }

    .pi-blog3-process-grid {
        gap: 10px;
    }

    .pi-blog3-process-card {
        padding: 16px;
    }

    .pi-blog3-process-card h3 {
        font-size: 14px;
    }

    .pi-blog3-sidebar {
        grid-template-columns: 1fr;
    }

    .pi-blog3-wide-section {
        margin-top: 28px;
        padding: 20px;
        border-radius: 13px;
    }

    .pi-blog3-wide-heading h2 {
        letter-spacing: -0.5px;
    }

    .pi-blog3-wide-item {
        min-height: auto;
    }

    .pi-blog3-bottom-cta {
        align-items: flex-start;
        gap: 16px;
        padding: 23px;
        border-radius: 13px;
    }

    .pi-blog3-cta-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 19px;
    }

    .pi-blog3-cta-copy {
        flex-basis: calc(100% - 62px);
    }

    .pi-blog3-cta-button {
        margin-left: 62px;
    }
}

@media (max-width: 480px) {
    .pi-blog3-hero {
        padding: 44px 0;
    }

    .pi-blog3-hero h1 {
        font-size: 35px;
    }

    .pi-blog3-breadcrumb {
        gap: 8px;
        font-size: 11px;
    }

    .pi-blog3-article-image img {
        height: 225px;
    }

    .pi-blog3-heading {
        font-size: 22px;
    }

    .pi-blog3-capability {
        grid-template-columns: 30px minmax(0, 1fr) 15px;
        gap: 10px;
    }

    .pi-blog3-capability h3 {
        font-size: 15px;
    }

    .pi-blog3-capability p {
        font-size: 12px;
    }

    .pi-blog3-process-grid {
        grid-template-columns: 1fr;
    }

    .pi-blog3-article-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .pi-blog3-wide-section {
        padding: 16px;
    }

    .pi-blog3-bottom-cta {
        padding: 18px;
    }

    .pi-blog3-cta-button {
        width: calc(100% - 62px);
    }
}
