﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: #111827;
}

.chem-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

section {
    padding: 90px 0;
}

.chem-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 60px;
}

    .chem-title.light {
        color: #ffffff;
    }

/* ================= OVERVIEW ================= */
.chem-overview {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.overview-flex {
    display: flex;
    gap: 40px;
}

.formula-box {
    background: #0f172a;
    color: #ffffff;
    padding: 32px;
    border-radius: 20px;
}

    .formula-box span {
        display: block;
        margin-top: 12px;
        padding: 8px 12px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
    }

/* ================= CHEM CHALLENGES ================= */

.chem-challenges {
    /*    background: linear-gradient(180deg, #fff7ed 0%, #fffbf5 100%);*/
    padding: 10px 0;
}

.chem-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 60px;
}

/* GRID (same pattern) */
.chem-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* CARD – NEW STYLE */
.chem-challenge-card {
    position: relative;
    background: #ffffff;
    padding: 26px 24px 28px;
    border-radius: 14px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: inset 0 0 0 1px #fde68a, 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* TOP CHEMICAL TAB */
    .chem-challenge-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 45px;
        width: 60px;
        height: 6px;
        background: linear-gradient(90deg, #f97316, #fb923c);
        border-radius: 0 0 6px 6px;
    }

    /* CORNER CUT EFFECT */
    .chem-challenge-card::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-top: 18px solid #ffedd5;
        border-left: 18px solid transparent;
    }

    /* HOVER */
    .chem-challenge-card:hover {
        transform: translateY(-6px);
        box-shadow: inset 0 0 0 1px #fdba74, 0 18px 40px rgba(0,0,0,0.14);
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .chem-challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .chem-challenge-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= CHEM BENEFITS ================= */

.chem-benefits {
    background: linear-gradient(180deg, #ecf6ff, #daeaff);
    padding: 110px 0;
}

.chem-title.light {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 90px;
}

/* FLOW GRID */
.chem-benefit-flow {
    margin-left: 100px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

    /* CONNECTING LINES */
    .chem-benefit-flow::before {
        content: "";
        position: absolute;
        top: 14px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient( to right, transparent, rgba(255,255,255,0.35), transparent );
    }

/* ITEM */
.chem-benefit-item {
    position: relative;
    padding-left: 36px;
}

/* DOT */
.chem-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background: #017ee9;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgb(34 122 197 / 25%);
}
/* ================= CHEM BENEFITS – MOBILE FIX ================= */
@media (max-width: 600px) {

    .chem-benefits {
        padding: 70px 16px;
        background: linear-gradient(180deg, #eef6ff, #e2efff);
    }

    /* Title */
    .chem-title.light {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    /* Reset flow grid */
    .chem-benefit-flow {
        margin-left: 0; /* 🔥 remove desktop offset */
        grid-template-columns: 1fr; /* stack items */
        gap: 20px;
    }

        /* Remove connecting line */
        .chem-benefit-flow::before {
            display: none;
        }

    /* Item as soft card */
    .chem-benefit-item {
        position: relative;
        padding: 16px 16px 16px 52px;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 10px 26px rgba(0,0,0,0.08);
        font-size: 15px;
        line-height: 1.5;
        color: #020617;
    }

    /* Dot repositioned */
    .chem-dot {
        left: 18px;
        top: 18px;
        width: 12px;
        height: 12px;
        box-shadow: 0 0 0 5px rgb(34 122 197 / 22%);
    }
}



/* ================= ROI ================= */
/* ================= CHEM ROI ================= */

.chem-roi {
    background: radial-gradient(circle at top, #f8fafc, #eef2f7);
    padding: 120px 0;
}

.chem-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 90px;
}

/* METRIC GRID */
.chem-roi-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

/* METRIC ITEM */
.chem-roi-metric {
    position: relative;
}

/* RING */
.roi-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: conic-gradient( #22c55e 0deg, #22c55e 260deg, #e5e7eb 260deg, #e5e7eb 360deg );
    position: relative;
}

    /* INNER CUT */
    .roi-ring::after {
        content: "";
        position: absolute;
        inset: 14px;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: inset 0 0 0 1px #e5e7eb;
        z-index: 1;
    }

.roi-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .roi-center i {
        font-size: 28px;
        color: #22c55e;
    }

/* GLOW */
.roi-ring::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.35), transparent 70%);
}

/* TEXT */
.chem-roi-metric h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

/* HOVER INTERACTION */
.chem-roi-metric:hover .roi-ring {
    transform: rotate(8deg) scale(1.05);
    transition: transform 0.4s ease;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .chem-roi-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 70px;
    }
}

@media (max-width: 640px) {
    .chem-roi-metrics {
        grid-template-columns: 1fr;
    }
}


/* ================= IMPLEMENTATION ================= */

.chem-implementation {
    background: #ffffff;
    padding: 120px 0;
}

.chem-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 90px;
}

/* TIMELINE WRAPPER */
.chem-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: flex-start;
}

    /* MAIN TIMELINE LINE (DESKTOP) */
    .chem-timeline::before {
        content: "";
        position: absolute;
        top: 26px;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #076ce9, #0ebcff, #c7efff);
        border-radius: 4px;
        box-shadow: 0 4px 14px rgba(34,197,94,0.35);
    }

/* STEP */
.chem-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

/* NODE */
.chem-node {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    background: #ffffff;
    color: #0ebcf3;
    font-weight: 700;
    border-radius: 50%;
    border: 3px solid #10b6e5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgb(0 107 225 / 47%), inset 0 0 0 4px rgba(34, 197, 94, 0.08);
}

/* STEP CARD */
.chem-step-card {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-top: 10px;
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
    .chem-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 80px;
    }
}

/* ================= MOBILE – VERTICAL LINE (FIXED & WORKING) ================= */
@media (max-width: 640px) {

    .chem-timeline {
        grid-template-columns: 1fr;
        row-gap: 48px;
        position: relative;
        padding: 40px 0; /* 🔑 gives height context */
    }

        /* ✅ FORCE VERTICAL LINE TO SHOW */
        .chem-timeline::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            background: #38bdf8;
            transform: translateX(-50%);
            z-index: 0;
        }

    /* Ensure circles sit ABOVE the line */
    .chem-node {
        position: relative;
        z-index: 2;
        margin: 0 auto;
    }
}


/*.chem-implementation {
    background: #ffffff;
    padding: 120px 0;
}

.chem-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 90px;
}*/

/* TIMELINE WRAPPER */
/*.chem-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: flex-start;
}*/

    /* MAIN TIMELINE LINE */
    /*.chem-timeline::before {
        content: "";
        position: absolute;
        top: 26px;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #076ce9, #0ebcff, #c7efff);
        border-radius: 4px;
        box-shadow: 0 4px 14px rgba(34,197,94,0.35);
    }*/

/* STEP */
/*.chem-step {
    position: relative;
    text-align: center;
    z-index: 1;
}*/

/* NODE (NUMBER CIRCLE) */
/*.chem-node {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    background: #ffffff;
    color: #0ebcf3;
    font-weight: 700;
    border-radius: 50%;
    border: 3px solid #10b6e5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgb(0 107 225 / 47%), inset 0 0 0 4px rgba(34, 197, 94, 0.08);
    transition: transform 0.3s ease;
}*/

/* CONNECTOR DOWN */
/*.chem-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(90deg, #076ce9, #0ebcff, #c7efff);
    margin: 8px auto;
}*/

/* STEP CARD */
/*.chem-step-card {*/
    /*    background: #f8fafc;
    padding: 22px 18px;
    border-radius: 16px;*/
    /*font-size: 15px;
    font-weight: 600;
    color: #1f2937;*/
    /*    box-shadow: 0 16px 36px rgba(0,0,0,0.1);*/
    /*transition: transform 0.35s ease, box-shadow 0.35s ease;
}*/

/* HOVER EFFECT */
/*.chem-step:hover .chem-node {
    transform: scale(1.1);
}

.chem-step:hover .chem-step-card {
    transform: translateY(-10px);*/
/*    box-shadow: 0 28px 60px rgba(0,0,0,0.18);*/
/*}*/

/* RESPONSIVE */
/*@media (max-width: 1024px) {
    .chem-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 80px;
    }*/

/*        .chem-timeline::before {
            display: none;
        }*/
/*}*/




/* ================= MOBILE ZIG-ZAG TIMELINE (EXACT PATTERN) ================= */
/*@media (max-width: 640px) {

    .chem-timeline {
        position: relative;
        grid-template-columns: 1fr;
        row-gap: 42px;
        padding: 0;
    }*/

        /* ✅ SINGLE VERTICAL LINE THROUGH CIRCLE CENTER */
        /*.chem-timeline::before {
            display: block;*/ /* 🔑 override earlier display:none */
            /*content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;*/ /* center of circles */
            /*width: 2px;
            background: #076ce9;
            transform: translateX(-50%);
            z-index: 0;
        }*/

    /* Each step */
    /*.chem-step {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 56px;
    }*/

    /* Circle EXACTLY on line */
    /*.chem-node {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 38px;
        height: 38px;
        font-size: 12px;
        background: #ffffff;
        border: 2px solid #38bdf8;
        box-shadow: 0 6px 16px rgba(56,189,248,0.35);
        z-index: 2;
    }*/

    /* Step text card */
    /*.chem-step-card {*/
/*        background: #f8fafc;*/
        /*padding: 12px 16px;*/
/*        border-radius: 12px;*/
        /*font-size: 14px;*/
/*        box-shadow: 0 8px 22px rgba(0,0,0,0.08);*/
        /*max-width: 200px;
    }*/

    /* ODD → RIGHT ( ┌─ Step ) */
    /*.chem-step:nth-child(odd) {*/
/*        justify-content: flex-end;*/
        /*padding-right: calc(50% - 20px);
    }

        .chem-step:nth-child(odd) .chem-step-card {
            margin-left: 18px;
            text-align: left;
        }*/

    /* EVEN → LEFT ( Step ─┐ ) */
    /*.chem-step:nth-child(even) {
        justify-content: flex-start;
        padding-left: calc(50% - 20px);
    }

        .chem-step:nth-child(even) .chem-step-card {
            margin-right: 10px;
            text-align: right;
        }*/

    /* Remove old connectors */
    /*.chem-connector {
        display: none;
    }*/

    /* Remove tap / click effects */
    /*.chem-step,
    .chem-step * {
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

        .chem-step:active,
        .chem-step-card:active {
            transform: none;
            box-shadow: inherit;
        }
}*/



/* ================= CHEM MODULES ================= */

.chem-modules {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    padding: 10px 0;
}

.chem-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 80px;
}

/* GRID */
.chem-module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* MODULE NODE */
.chem-module-node {
    position: relative;
    background: #ffffff;
    padding: 30px 28px 30px 36px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 16px 36px rgba(0,0,0,0.08), inset 0 0 0 1px #e5e7eb;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

    /*     LEFT ACCENT BAR */
    .chem-module-node::before {
        content: "";
        position: absolute;
        left: 0;
        top: 18px;
        bottom: 18px;
        width: 5px;
        background: linear-gradient( 180deg, #22c55e, #16a34a );
        border-radius: 8px;
    }

    /*     CORNER TECH CUT */
    .chem-module-node::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 28px;
        height: 28px;
        background: linear-gradient(135deg, #dcfce7, #ffffff);
        clip-path: polygon(100% 0, 0 0, 100% 100%);
    }

    /*     HOVER EFFECT */
    .chem-module-node:hover {
        transform: translateY(-10px);
        box-shadow: 0 28px 60px rgba(0,0,0,0.16), inset 0 0 0 1px #22c55e;
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .chem-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .chem-module-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================== FAQ STYLE 2 (ISOLATED) ==================== */

.faq2-wrapper {
    background: linear-gradient(180deg, #eef9fb 0%, #f7feff 100%);
    padding: 80px 20px;
    font-family: "Poppins", sans-serif;
    color: #222;
}

.faq2-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.faq2-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

    .faq2-item:hover {
        background: #fafafa;
    }

.faq2-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 0;
}

    .faq2-title::before {
        content: "›";
        font-size: 26px;
        font-weight: 600;
        color: #806666;
        transition: transform 0.3s ease;
    }

    .faq2-title h3 {
        font-size: 18px;
        font-weight: 500;
        margin: 0;
    }

/* Expand arrow */
.faq2-item.faq2-expanded .faq2-title::before {
    transform: rotate(90deg);
}

.faq2-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 38px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq2-content p {
        margin: 15px 0;
        color: #555;
    }

/* Expanded state */
.faq2-item.faq2-expanded .faq2-content {
    padding-top: 8px;
    padding-bottom: 16px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1118px) {
    .faq2-list {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .faq2-list {
        margin: 0 20px;
    }
}

@media (max-width: 300px) {
    .faq2-list {
        margin: 0 10px;
    }

    .faq2-title {
        flex-direction: column;
        align-items: flex-start;
    }

        .faq2-title h3 {
            font-size: 15px;
        }
}
