﻿body {
    font-family: Poppins;
    margin: 0;
}

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 60px 24px;
}

/*.hospital-hero {
    background: #0f766e;
    color: #fff;
    text-align: center;
    padding: 100px 24px;
}*/

.hospital-overview {
    background: #ecfeff;
}

.split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.highlight-box {
    background: #134e4a;
    color: #fff;
    padding: 30px;
    border-radius: 14px;
}

.hospital-challenges {
    background: #fff7ed;
}

.alert-list li {
    margin: 12px 0;
}

.hospital-benefits {
    background: #f0fdfa;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

    .hospital-benefits div {
        background: #fff;
        padding: 24px;
        border-radius: 14px;
    }


/* ================= ROI ================= */
.pharma-roi {
    background: #f8fafc;
}

.roi-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
/*    margin-left:220px;*/
}

.roi-tile {
    background: #ffffff;
    padding: 26px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}
/* ================= ROI – MOBILE FINAL FIX ================= */
/* ================= ROI – CLEAN MOBILE LAYOUT ================= */
@media (max-width: 600px) {

    .pharma-roi {
        padding: 48px 16px 56px;
        background: linear-gradient(180deg, #f1f5f9, #ffffff);
    }

        /* Heading fix */
        .pharma-roi .section-heading {
            margin-left: 0 !important;
            font-size: 22px !important;
            text-align: center;
            margin-bottom: 32px;
            line-height: 1.3;
        }

    /* Dashboard becomes vertical stack */
    .roi-dashboard {
        margin-left: 0 !important;
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    /* Card */
    .roi-tile {
        width: 100%;
        padding: 18px 16px;
        border-radius: 16px;
        text-align: left;
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        background: #ffffff;
    }

        /* Title */
        .roi-tile h3 {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 6px;
            line-height: 1.35;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Description */
        .roi-tile p {
            font-size: 13.5px;
            line-height: 1.5;
            color: #475569;
            margin: 0;
        }
}
@media (max-width: 1024px) {
    .pharma-roi .section-heading {
        margin-left: 0 !important;
        text-align: center;
        font-size: 26px;
        line-height: 1.25;
        max-width: 100%;
    }

    .roi-dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 24px;
    }
}




/* IMPLEMENTATION SECTION */
.plastic-implementation {
    background: #ffffff;
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 100px;
    color: #020617;
}

/* TIMELINE */
.wave-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
}

    /* CENTER LINE */
    .wave-timeline::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(to right, #01d8fb, #0a55fd);
        border-radius: 4px;
    }

/* STEP */
.wave-step {
    position: relative;
    text-align: center;
}

/* SMALLER NODE */
.wave-node {
    width: 27px; /* reduced */
    height: 27px; /* reduced */
    margin: auto;
    background: #ffffff;
    color: #0064ff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid #0081eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgb(11 113 171 / 60%);
    z-index: 3;
}

/* CARD */
.wave-card {
    width: 190px;
    /*    background: #f8fafc;*/
    padding: 18px 16px;
    /*    border-radius: 14px;*/
    font-size: 14.5px;
    font-weight: 600;
    color: #1f2937;
    /*    box-shadow: 0 16px 34px rgba(0,0,0,0.12);*/
    margin: auto;
}

/* POSITIONING FIX */

/* Odd steps: card up, circle DOWN */
.wave-step.odd .wave-card {
    transform: translateY(-56px);
}

.wave-step.odd .wave-node {
    transform: translateY(-38px); /* pushed down */
}

/* Even steps: card down, circle UP */
.wave-step.even .wave-card {
    transform: translateY(50px);
}

.wave-step.even .wave-node {
    transform: translateY(41px); /* pushed up */
}

/* HOVER */
/*.wave-step:hover .wave-card {
    transform: translateY(calc(var(--hover-shift, 0px)));
}*/

/* RESPONSIVE */
@media (max-width: 1024px) {
    .wave-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 120px;
    }

        .wave-timeline::before {
            display: none;
        }

    .wave-card,
    .wave-node {
        transform: none !important;
    }
}

/* ================= MOBILE – PROPER VERTICAL TIMELINE ================= */
@media (max-width: 640px) {

    .plastic-implementation {
        margin-right: 10px;
        padding: 70px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 50px;
    }

    /* Timeline container */
    .wave-timeline {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

        /* Vertical spine */
        .wave-timeline::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 3px;
            background: linear-gradient(to bottom, #01d8fb, #0a55fd);
            transform: translateX(-50%);
            border-radius: 3px;
        }

    .wave-step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Always place card first */
    .wave-card {
        order: 1;
        margin-bottom: 10px;
    }

    /* Node always after card */
    .wave-node {
        order: 2;
    }

    /* Extra spacing so line is visible */
    .wave-step {
        padding-bottom: 20px;
    }
}

/* ===== FINAL FIX: VISIBLE VERTICAL TIMELINE ===== */
@media (max-width: 640px) {

    /* Timeline spine visible behind nodes */
    .wave-timeline::before {
        z-index: 0; /* behind nodes */
        top: 20px;
        bottom: 20px;
    }

    /* Ensure steps sit above the line */
    .wave-step {
        position: relative;
        z-index: 1;
    }

    /* Node sits ON the line */
    .wave-node {
        position: relative;
        background: #ffffff;
        z-index: 2;
    }

    /* Create spacing so line is clearly visible */
    .wave-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(100% - 10px);
        left: 50%;
        width: 3px;
        height: 40px;
        background: linear-gradient(to bottom, #01d8fb, #0a55fd);
        transform: translateX(-50%);
        z-index: 0;
    }
}
.timeline span {
    display: block;
    padding: 16px;
    border-left: 4px solid #22c55e;
    margin-bottom: 12px;
}

/* ================= PHARMA MODULES ================= */

.pharma-modules {
    background: #ffffff;
    padding: 25px 0;
}

.pharma-section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 80px;
}

/* MODULE FLOW WRAPPER */
.pharma-module-flow {
    margin-left: 160px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
}

    /* CONNECTING RAIL */
    .pharma-module-flow::before {
        content: "";
        position: absolute;
        top: -87px;
        left: 246px;
        right: 341px;
        height: 1px;
        background: linear-gradient(to right, #00000000, #8da4ff, #839bfb, transparent);
    }

/* MODULE ITEM */
.pharma-module-item {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding-left: 32px;
    line-height: 1.4;
}

    /* DOT INDICATOR */
    .pharma-module-item span {
        position: absolute;
        left: 0;
        top: 4px;
        width: 12px;
        height: 12px;
        background: #2563eb;
        border-radius: 50%;
        box-shadow: 0 0 0 6px rgba(37,99,235,0.15);
    }

    /* UNDERLINE ACCENT */
    .pharma-module-item::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #2563eb, #22c55e);
        margin-top: 10px;
        border-radius: 2px;
    }

    /* HOVER EFFECT */
    .pharma-module-item:hover span {
        box-shadow: 0 0 0 10px rgba(37,99,235,0.18);
        transition: box-shadow 0.3s ease;
    }

    .pharma-module-item:hover::after {
        width: 70px;
        transition: width 0.3s ease;
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .pharma-module-flow {
        grid-template-columns: repeat(2, 1fr);
    }

        .pharma-module-flow::before {
            display: none;
        }
}

@media (max-width: 640px) {
    .pharma-module-flow {
        margin-left:65px;
        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;
        }
}
