.ai-driven-page {
    background: #f8f9fa;
    padding-bottom: 20px;
}

.rejig-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    background: #ffff;
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

/* Card */
.rejig-box {
    position: relative;
    background: #f4f4f4;
    padding: 40px 25px 25px;
    width: 33.33%;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 10px;

    animation: slideFadeUp 0.8s ease forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Arrow band */
.rejig-box .arrow {
    position: absolute;
    top: 0;
    left: 0;
    height: 35px;
    width: 93%;
}

/* Arrow head */
.rejig-box .arrow::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -13px;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 45px solid;
    z-index: 2;
}

.rejig-info-text {
    padding-top: 20px;
}

/* Colors */
.rejig-box.blue .arrow {
    background: #8fa4f7;
}

.rejig-box.blue .arrow::after {
    border-left-color: #8fa4f7;
}

.rejig-box.teal .arrow {
    background: #1fc6bd;
}

.rejig-box.teal .arrow::after {
    border-left-color: #1fc6bd;
}

.rejig-box.yellow .arrow {
    background: #ffc32c;
}

.rejig-box.yellow .arrow::after {
    border-left-color: #ffc32c;
}

@keyframes slideFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animate cards */
.rejig-box:hover .arrow::after {
    transform: translateX(6px);
    transition: transform 0.3s ease;
}

.rejig-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Stagger effect */
.rejig-box:nth-child(1) {
    animation-delay: 0.2s;
}

.rejig-box:nth-child(2) {
    animation-delay: 0.4s;
}

.rejig-box:nth-child(3) {
    animation-delay: 0.6s;
}

/* Tablet */
@media (max-width: 991px) {
    .rejig-info {
        flex-direction: column;
    }

    .rejig-box {
        width: 100%;
    }

    .rejig-box .arrow {
        width: 96%;
    }

}

/* Mobile */
@media (max-width: 576px) {
    .rejig-card {
        padding: 20px;
        font-size: 14px;
    }

    .rejig-box .arrow {
        width: 90%;
    }
}

/* refinery-image START HERE  */

.refinery-image {
    width: 100%;
    border-radius: 10px;

}

.shadow-box {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.glance-value-image {
    border-radius: 10px 10px 0px 0px;
}

.glance-value-refireny {
    border-radius: 0px 0px 10px 10px;
}

/* Refinery-image end here */

/* USE CASE start here */

.usecase-section {
    /* background: #ffffff; */
    /* padding: 60px 20px; */
    border-radius: 10px;
}

.usecase-container {
    /* max-width: 70%; */
    margin: 0 auto;
}

/* Title */
.usecase-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0f2a5c;
    margin-bottom: 10px;
}

/* Subtitle */
.usecase-subtitle,
.usecase-subtitle-chain {
    font-weight: 700;
    color: #0f2a5c;
    margin-bottom: 20px;
}

.usecase-subtitle span {
    font-style: italic;
    font-weight: 500;
}

/* Intro text */
.usecase-intro {
    color: #333;
    line-height: 1.7;
    margin-bottom: 30px;
}

.usecase-divider {
    width: 100%;
    height: 4px;
    margin: 30px 0;
    background: linear-gradient(to right,
            transparent,
            #f8b82f 20%,
            #f8b82f 80%,
            transparent);
}

.use-case-subheader {
    background: #ffff;
    padding: 20px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Section heading */
.usecase-heading {
    font-size: 22px;
    font-weight: 700;
    color: #0f2a5c;
    margin-bottom: 15px;
}

/* Body text */
.usecase-text {
    font-size: 1.3rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    /* text-align: center; */
}

/* Responsive */
@media (max-width: 768px) {
    .usecase-title {
        font-size: 36px;
    }

    .usecase-subtitle {
        font-size: 22px;
    }

    .usecase-heading {
        font-size: 20px;
    }

    .usecase-container {
        max-width: 90%;
    }
}

/* USE CASE END HARE */
.use-case-image {
    /* height: 600px; */
    object-fit: inherit;
}

/* business-solution  start here*/
.challenge-section {
    padding: 25px 20px;
    /* background: #fff; */
}

.business-challenge {
    background: #ffff;
    border-radius: 10px;
    padding: 10px 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.challenge-wrapper {
    display: flex;
    gap: 27px;
    justify-content: center;
    /* flex-wrap: wrap; */
    /* max-width: 1200px; */
    margin: auto;
    justify-content: space-between;
}

/* Card */
.challenge-card {
    position: relative;
    width: 260px;
    padding: 50px 20px 30px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    border: 7px solid;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Icon Circle */
.icon-circle {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    border: 7px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-text {
    letter-spacing: normal;
}

/* Color Variants */
.challenge-card.green,
.challenge-card.green .icon-circle {
    border-color: #9ccf5a;
    color: #9ccf5a;
}

.challenge-card.blue,
.challenge-card.blue .icon-circle {
    border-color: #2f7ec7;
    color: #2f7ec7;
}

.challenge-card.cyan,
.challenge-card.cyan .icon-circle {
    border-color: #27c7e0;
    color: #27c7e0;
}

.challenge-card.gray,
.challenge-card.gray .icon-circle {
    border-color: #5f6f7a;
    color: #5f6f7a;
}

/* Reset text color */
.challenge-card p {
    color: #333;
}

/* Hover (subtle) */
.challenge-card:hover {
    transform: translateY(-6px);
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .challenge-card {
        width: 100%;
        max-width: 320px;
    }

    .challenge-wrapper {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.challenge-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.challenge-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* business-solution end here */


/* outcome-horizan start here */
.kpi-section {
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
}

.kpi-wrapper {
    display: flex;
    justify-content: center;
    gap: 0px;
    /* flex-wrap: wrap; */
    max-width: 1200px;
    margin: auto;
}

/* Item */
.kpi-item {
    position: relative;
    text-align: center;
}

.critical-kpi {
    top: -22px;
    left: 30px;
}

.emerging-kpi {
    top: 54px;
}

.wrench-kpi {
    top: -25px;
    right: 30px;
}

.run-kpi {
    top: 50px;
    right: 60px;
}

/* Circle */
.kpi-circle,
.kpi-circle-down {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 30px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #0f2a5c;
    position: relative;
}

/* Partial color ring */
.kpi-circle::before {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 30px solid transparent;
    transform: rotate(-45deg);
}

.kpi-circle-down::before {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 30px solid transparent;
    transform: rotate(44deg);
}

/* Text inside */
.kpi-value {
    position: relative;
    z-index: 1;
}

/* Labels */
.kpi-label,
.kpi-label-down {
    display: block;
    font-size: 17px;
    color: #333;
    max-width: 200px;
    margin: auto;
}

.kpi-label.top {
    margin-bottom: 14px;
}

.kpi-label-down.bottom {
    margin-top: 14px;
}

/* Connector dot */
.kpi-label::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    margin: 6px auto 0;
}

.kpi-label-down::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    margin: -6px auto 0;
    margin-left: 90px;
}

/* Color variants */
.red::before {
    border-top-color: #e74c3c;
    border-right-color: #e74c3c;
    z-index: 9;
    position: absolute;
}

.red {
    color: #e74c3c;
}

.yellow::before {
    border-bottom-color: #f1c40f;
    border-right-color: #f1c40f;
    z-index: 9;
    position: absolute;
}

.yellow {
    color: #f1c40f;
}

.green::before {
    border-top-color: #4caf50;
    border-right-color: #4caf50;
    z-index: 9;
    position: absolute;
}

.green {
    color: #4caf50;
}

.blue::before {
    border-right-color: #3498db;
    border-bottom-color: #3498db;
    z-index: 9;
    position: absolute;
}

.blue {
    color: #3498db;
}

.kpi-circle::after,
.kpi-circle-down::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: currentColor;
    z-index: 10;
}


/* ===== TOP ARC END POSITION ===== */
.kpi-circle.red::after,
.kpi-circle.green::after {
    right: 190px;
}

/* ===== BOTTOM ARC END POSITION ===== */
.kpi-circle-down.yellow::after,
.kpi-circle-down.blue::after {

    right: 190px;
}


.kpi-circle .kpi-value,
.kpi-circle-down.blue .kpi-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Circle behind arrow (shared) */
.kpi-circle .kpi-value::before,
.kpi-circle-down.blue .kpi-value::before {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

/* ↓ arrow circle */
.kpi-circle.red .kpi-value::before,
.kpi-circle.green .kpi-value::before {
    content: "↓";
}

/* ↑ arrow circle */
.kpi-circle-down.blue .kpi-value::before {
    content: "↑";
}

/* Replace original text so it doesn't duplicate */
.kpi-circle.red .kpi-value,
.kpi-circle.green .kpi-value {
    font-size: 20px;
}


/* Responsive */
@media (max-width: 768px) {
    .kpi-wrapper {
        gap: 0px;
        flex-wrap: wrap;

    }

    /* .kpi-circle {
        width: 140px;
        height: 140px;
    } */
}


@media (max-width: 1024px) {
  .kpi-wrapper {
    justify-content: space-between;
  }

  .kpi-circle,
  .kpi-circle-down {
    width: 200px;
    height: 200px;
    border-width: 20px;
  }

  .kpi-circle::before,
  .kpi-circle-down::before {
    inset: -24px;
    border-width: 24px;
  }

  .kpi-value {
    font-size: 20px;
  }
  .critical-kpi {
    left: 48px;
  }
  .wrench-kpi{
    right: 48px;
  }
  .run-kpi{
    right: 95px;
  }

  .kpi-circle.red::after, .kpi-circle.green::after{
    right: 159px;
  }
  .kpi-circle-down.yellow::after, .kpi-circle-down.blue::after {
    right: 160px;
  }
  .kpi-circle::after, .kpi-circle-down::after {
    width: 25px;
    height: 25px;
  }
  

  /* Arrow circle */
  .kpi-circle .kpi-value::before,
  .kpi-circle-down.blue .kpi-value::before {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }
}

/* ===============================
   Tablet (≤768px)
   Inline layout, smaller text
================================ */
@media (max-width: 768px) {
  .kpi-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
  }

  .kpi-item {
    position: relative;
  }

  .kpi-circle,
  .kpi-circle-down {
    width: 150px;
    height: 150px;
    border-width: 20px;
  }

  .kpi-circle::before,
  .kpi-circle-down::before {
    inset: -20px;
    border-width: 20px;
  }

  .kpi-value {
    font-size: 15px;
  }

  .kpi-circle .kpi-value::before,
  .kpi-circle-down.blue .kpi-value::before {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .kpi-label,
  .kpi-label-down {
    font-size: 14px;
    max-width: 160px;
  }
  .critical-kpi{
    left: 30px;
  }
  .emerging-kpi{
    margin-top: -10px;
  }
  .wrench-kpi{
    right: 30px;
  }
  .run-kpi{
    right: 49px;
    margin-top: -6px;
  }
  .kpi-circle.red::after, .kpi-circle.green::after {
    right: 108px;
  }
  .kpi-circle-down.yellow::after, .kpi-circle-down.blue::after {
        right: 108px;
    }
    .kpi-circle.red .kpi-value, .kpi-circle.green .kpi-value {
        font-size: 16px;
    }
}

/* outcome horizone end here */


/* Data Integration Start here */
.data-integration-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    /* flex-wrap: wrap; */
    background: #ffff;
    padding: 20px 20px;
    border-radius: 10px;
}

.data-box {
    border: 2px solid #3498db;
    padding: 18px 30px;
    border-radius: 30px;
    position: relative;
    max-width: 380px;
    width: 100%;
    background: #fff;
}

/* Arrow */
.data-box::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid #3498db;
}

/* Text */
.data-box-text {
    font-size: 16px;
    line-height: 1.6;
}


@media (max-width: 991px) {
    .data-integration-cards {
        gap: 30px;
    }

    .data-box {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .data-integration-cards {
        flex-direction: column;
        gap: 20px;
    }

    .data-box {
        padding: 16px 22px;
    }

    /* Move arrow to top for mobile */
    .data-box::after {
        top: -18px;
        left: 40px;
        transform: none;
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-bottom: 18px solid #3498db;
        border-top: 0;
    }

    .data-box-text {
        font-size: 15px;
    }
}

/* Data Integration End Here */

/* use-case-solution */
/* Container */
.info-flow {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    background: #ffff;
    border-radius: 10px;
}

/* Base card */
.flow-card {
    position: relative;
    max-width: 320px;
    padding: 30px 22px;
    border-radius: 18px;
    background: #fff;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

/* Step notch */
.flow-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 45%;
    width: 40px;
    height: 20px;
    background: #fff;
}

/* Colors */
.business-green {
    border: 6px solid #6fbf73;
}

.business-green::after {
    border-left: 6px solid #6fbf73;
    border-right: 6px solid #6fbf73;
    border-bottom: 6px solid #6fbf73;
}

.green-blue {
    border: 6px solid #6fbf73;
}

.green-blue::after {
    border-left: 6px solid #6fbf73;
    border-right: 6px solid #6fbf73;
    border-bottom: 6px solid #6fbf73;
}

.business-blue {
    border: 6px solid #1e88e5;
}

.business-blue::after {
    border-left: 6px solid #1e88e5;
    border-right: 6px solid #1e88e5;
    border-bottom: 6px solid #1e88e5;
}

/* Text */
.flow-card p {
    margin: 0;
    color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .info-flow {
        gap: 24px;
    }

    .flow-card {
        max-width: 100%;
    }

    .flow-card::after {
        display: none;
    }
}


/*  */
/* Container */
.integration-flow {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 25px;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #ffff;
    border-radius: 10px;
}

/* Card */
.integration-card {
    position: relative;
    background: #9fd6f7;
    border-radius: 22px;
    padding: 28px 26px;
    max-width: 320px;
    min-height: 160px;
    font-size: 15px;
    line-height: 1.6;
    color: #0f2a5c;
}

/* Text */
.integration-card p {
    margin: 0;
}

/* Top circle */
.integration-card .dot {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

/* Connector bar */
.integration-card .connector {
    position: absolute;
    top: 6px;
    left: 18px;
    width: 28px;
    height: 6px;
    border-radius: 4px;
}

.integrate-text {
    font-size: 16px;
}

/* Colors */
.integration-card.orange .dot,
.integration-card.orange .connector {
    background: #ff6a3d;
}

.integration-card.teal .dot,
.integration-card.teal .connector {
    background: #5aa9b0;
}

.integration-card.yellow .dot,
.integration-card.yellow .connector {
    background: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .integration-flow {
        gap: 24px;
    }

    .integration-card {
        max-width: 100%;
    }
}




/* USE-CASE-3 */
/* Wrapper */
.timeline-wrapper {
    padding: 10px 70px;
}

/* Timeline container */
.timeline {
    display: flex;
    width: 100%;
}

/* Line segment */
.segment {
    position: relative;
    flex: 1;
    height: 6px;
    background: currentColor;
    border-radius: 3px;
}

/* Dot sits on top of line */
.challeng-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: currentColor;
    z-index: 2;
}

/* Colors */
.challeng-orange {
    color: #ff6a3d;
}

.challeng-teal {
    color: #5aa9b0;
}

.challeng-dark {
    color: #4b4f52;
}

.challeng-yellow {
    color: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .segment {
        height: 5px;
    }

    .dot {
        width: 18px;
        height: 18px;
    }
}


/* Business Challenge & Context */
.business-subheader {
    background: #ffff;
    border-radius: 10px;

}

.solution-diagram {
    padding: 40px;
    margin: auto;
    background: #ffff;
    border-radius: 10px;
}

.plateform-safety {
    background: #ffff;
    border-radius: 10px;
}

/* ===== TOP ROW ===== */
.top-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* flex-wrap: wrap; */
    justify-content: space-between;
}

.top-card {
    position: relative;
    width: 260px;
    min-height: 180px;
    padding: 30px 20px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 10px;
}

.diagram-text {
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
}

/* Top arrow */
.top-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 22px solid;
}

/* Top arrow */
.bottom-arrow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 32px solid;
}

.business-solution-ai {
    background-color: #ffff;
    border-radius: 10px;
}

/* ===== BOTTOM ROW ===== */
.bottom-row {
    display: flex;
    gap: 24px;
    /* justify-content: center; */
    justify-content: space-between;
    /* flex-wrap: wrap; */
    padding: 25px;
}


.bottom-card {
    position: relative;
    width: 260px;
    height: 250px;
    padding: 30px 20px 70px;
    color: #fff;
    text-align: center;
    border-radius: 18px 18px 6px 6px;
    clip-path: polygon(0 0,
            100% 0,
            100% 70%,
            50% 100%,
            0 70%);
}

/* Bottom arrow */
.bottom-card::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 30px solid;
}

/* ===== TITLE ===== */
.solution-title {
    margin: 50px 0 20px;
    font-size: 22px;
    font-style: italic;
    color: #0f2a5c;
}


/* ===== COLORS ===== */
.diagram-govern-control {
    background: #35acc8;
}

.diagram-govern-control .bottom-arrow {
    border-top-color: #35acc8;
}

.diagram-orange {
    background: #f5613d;
}

.diagram-orange .top-arrow {
    border-bottom-color: #f5613d;
}

.diagram-orange::after {
    border-top-color: #f5613d;
}

.diagram-teal {
    background: #5aa9b0;
}

.diagram-teal .top-arrow {
    border-bottom-color: #5aa9b0;
}

.diagram-teal::after {
    border-top-color: #5aa9b0;
}

.diagram-dark {
    background: #4b4f52;
}

.diagram-dark .top-arrow {
    border-bottom-color: #4b4f52;
}

.diagram-dark::after {
    border-top-color: #4b4f52;
}

.diagram-yellow {
    background: #ffc107;
    color: #111;
}

.diagram-yellow .top-arrow {
    border-bottom-color: #ffc107;
}

.diagram-yellow::after {
    border-top-color: #ffc107;
}



@media (max-width: 768px) {
    .top-row {
        gap: 45px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .timeline-wrapper {
        display: none;
    }

    .dot-left-control {
        left: 22% !important;
        background: #35acc8;
    }

    .dot-center-control {
        left: 50%;
        background: #35acc8;
    }

    .dot-right-control {
        left: 77% !important;
        background: #35acc8;
    }

    .bottom-row {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}


/* AI-Solution */

.ai-solution-wrap {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 25px;

}

.ai-title {
    font-size: 48px;
    color: #1f2d5c;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 80px;
}

/* Grid */
.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(2, 260px);
    grid-template-rows: repeat(2, 260px);
    gap: 14px;
}

/* Puzzle Base */
.puzzle {
    color: #fff;
    padding: 30px;
    font-size: 20px;
    line-height: 1.5;
    /* border-radius: 26px; */
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Knobs */
.puzzle::before,
.puzzle::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

/* Right knob */
.puzzle:nth-child(odd)::after {
    width: 26px;
    height: 26px;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
}

/* Bottom knob */
.puzzle:nth-child(-n+2)::before {
    width: 26px;
    height: 26px;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
}

/* Colors */
.ai-blue {
    background: #3aaac3;
    border-radius: 0px 100px 0px 100px;
}

.ai-yellow {
    background: #ffc31a;
    color: #fff;
    border-radius: 100px 0px 100px 0px;
}

.ai-orange {
    background: #f5623c;
    /* border-radius: 0px 100px 0px 100px; */
    border-radius: 100px 0px 100px 0px;
}

.ai-teal {
    background: #18b7a5;
    /* border-radius: 100px 0px 100px 0px; */
    border-radius: 0px 100px 0px 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-solution-wrap {
        flex-direction: column;
        text-align: center;
    }

    .ai-title {
        margin-left: 0px;
    }

    .puzzle-grid {
        grid-template-columns: -1fr;
        grid-template-rows: auto;
    }

    .puzzle::before,
    .puzzle::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .puzzle-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}



/* RejigDigital section*/
.rejig-text {
    background-color: #3aaac3;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
}

/* Use case 6 */
.health-monitoring {
    display: flex;
    justify-content: space-between;
}

/* ---------- OUTCOME HORIZON ---------- */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 30px;
    background: #ffff;
    border-radius: 10px;
    padding: 40px;
}

.outcome-card {
    background: linear-gradient(#ffffff, #f1f1f1);
    border-radius: 8px;
    text-align: center;
    padding: 60px 18px 25px;
    position: relative;
    height: 210px;
}

.outcome-card p {
    font-size: 20px;
    line-height: 1.4;
    color: #24325c;
}

/* Pills */
.pill {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 20px;
    border: 3px solid currentColor;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #eeeeee 50%, #cacaca 100%);

    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
    justify-content: center;
}

/* Circle with arrow */
.pill::before {
    content: "↓";
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    background: #ffffff;
}

/* Colored caps */
.cap {
    height: 55px;
    border-radius: 8px 8px 50px 50px;
    margin: -60px -18px 20px;
}

/* Colors */
.teal {
    color: #1bb6b2;
}

.teal .cap {
    background: linear-gradient(to right, #14b3a7, #30d5c8);
}

.magenta {
    color: #b2007a;
}

.magenta .cap {
    background: linear-gradient(to right, #8f0060, #e0009a);
}

.orange {
    color: #f4a000;
}

.orange .cap {
    background: linear-gradient(to right, #f25c54, #ffc02a);
}

.navy {
    color: #1f4e79;
}

.navy .cap {
    background: linear-gradient(to right, #0e3a66, #2a6fb2);
}



/* ---------- DATA INTEGRATION ---------- */
.get-arrow-row {
    background: #ffff;
    padding: 25px;
    border-radius: 10px;
}

.arrow-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.arrow-box {
    color: #fff;
    padding: 30px 80px;
    font-size: 20px;
    line-height: 1.5;
    position: relative;
    clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%, 15% 50%);
    text-align: center;
}

/* Arrow colors */
.arrow-box.teal {
    background: #5aa6ad;
}

.arrow-box.red {
    background: #f25c54;
}

.arrow-box.yellow {
    background: #f6b431;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .outcome-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .arrow-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .outcome-card {
        margin-bottom: 35px;
    }

    .arrow-box {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .outcome-grid {
        grid-template-columns: 1fr;
    }

    .arrow-box {
        font-size: 12px;
    }
}

/* What you get */
.soft-blue {
    background-color: #6EC1F3;
}

.bright-blue {
    background-color: #1E88E5;
}

/* Wrapper */
.timeline-wrapper {
    width: 100%;
    padding: 20px 20px;
}

/* Line */
.timeline-line {
    position: relative;
    width: 100%;
    height: 4px;
    background: #cfe1f6;
}

.timeline-governce-control {
    background: #082983;
    border-radius: 10px;
    height: 10px;
}

/* Dots */
.timeline-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

/* Dot positions */
.dot-left {
    left: 15%;
    background: #6ec1f3;
}

.dot-left-control {
    left: 9%;
    background: #35acc8;
}

.dot-center {
    left: 50%;
    background: #1fb7b5;
}

.dot-center-control {
    left: 50%;
    background: #35acc8;
}

.dot-right {
    left: 85%;
    background: #1e88e5;
}

.dot-right-control {
    left: 91%;
    background: #35acc8;
}

/* Responsive tweak (optional) */
@media (max-width: 600px) {
    .dot-left {
        left: 20%;
    }

    .dot-right {
        left: 80%;
    }
}

@media (max-width: 576px) {
    .dot {
        width: 12px;
        height: 12px;
    }

}

/* Core Capabilities thermal */
/* Container */
.arrow-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    overflow-x: auto;
    padding: 25px;
    background: #ffff;
    border-radius: 10px;
}

/* Main arrow card */
.arrow-card {
    position: relative;
    padding: 18px 22px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    background: #0b5fa5;
    clip-path: polygon(0 0,
            90% 0,
            100% 50%,
            90% 100%,
            0 100%,
            6% 50%);
}

/* Color */
.arrow-card.dark {
    background: #0b5fa5;
}

/* Connector arrow */
.arrow-gap {
    width: 150px;
    height: 100px;
    background: #14c7de;
    clip-path: polygon(0 0, 40% 50%, 0 100%, 40% 100%, 90% 50%, 40% 0);
}

/* Responsive */
@media (max-width: 768px) {
    .arrow-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .arrow-gap {
        width: 100%;
        height: 26px;
        clip-path: polygon(0 0,
                50% 70%,
                100% 0,
                100% 30%,
                50% 100%,
                0 30%);
    }

    .arrow-card {
        max-width: 100%;
        padding: 30px 70px;
    }
}

/* Dashboard & ChartS */
/* Layout */
.insight-cards {
    display: flex;
    gap: 40px;
    padding: 40px 40px;
    justify-content: center;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    border-radius: 10px;
    background: #ffff;
}

/* Card base */
.insight-card {
    width: 370px;
    position: relative;
}

/* Top tab */
.insight-card .tab {
    height: 30px;
    border-radius: 30px 30px 0px 0px;
    position: relative;
}

/* Circle cap */
.insight-card .tab::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: inherit;
}

/* Card body */
.insight-card .content {
    background: #f3f3f3;
    padding: 20px 50px;
    border-radius: 0px 0px 0px 112px;
    font-size: 20px;
    line-height: 1.55;
    color: #111;
    height: 200px;
}

/* Colors */
.insight-card.blue .tab {
    background: #1e73be;
}

.insight-card.cyan .tab {
    background: #1fd3ea;
}

.insight-card.yellow .tab {
    background: #ffb933;
}

/* Responsive */
@media (max-width: 768px) {
    .insight-cards {
        gap: 28px;
        justify-content: center;
        padding-left: 15px;
        flex-wrap: wrap;
    }

    .insight-card {
        width: 100%;
        max-width: 360px;
    }

    .content {
        height: 240px !important;
    }
}

@media (max-width: 576px) {
    .content {
        height: 340px !important;
    }
}


/* Data & IntegrationS (Thermal) */

/* Wrapper */
.flow-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: #ffff;
    border-radius: 10px;
    justify-content: center;
}

/* Each unit */
.flow-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* Card */
.flow-card-indicative {
    background: #0b5fa5;
    color: #fff;
    padding: 20px 26px;
    border-radius: 14px;
    font-size: 20px;
    line-height: 1.5;
    max-width: 420px;
    height: 160px;
    position: relative;
    z-index: 1;
}

/* Arrow */
.flow-arrow {
    width: 0;
    height: 0;
    border-top: 34px solid transparent;
    border-bottom: 34px solid transparent;
    margin-right: -22px;
    z-index: 2;
}


.flow-arrow.left {
    border-left: 60px solid #19cbe2;
    margin-right: -22px;
    z-index: 2;
    border-radius: 15px;
}

.flow-arrow.middle {
    position: absolute;
    left: 0%;
    /* center between cards */
    transform: translateX(-60%);
    border-left: 60px solid #19cbe2;
    z-index: 3;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .flow-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-item {
        width: 100%;
    }

    .flow-card-indicative {
        max-width: 100%;
    }

    .flow-arrow {
        display: none;
    }
}

/* Core Capabilities (TLP CP) */
.smart-flow {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 50px;
    background: #ffff;
    border-radius: 10px;
}

.smart-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* Card */
.smart-card {
    position: relative;
    color: #fff;
    padding: 18px 42px 18px 22px;
    font-size: 20px;
    line-height: 1.45;
    border-radius: 40px;
    max-width: 420px;
    min-height: 100px;
    display: flex;
    align-items: center;
    z-index: 1;
}


/* Colors */
.card-orange {
    background: #f36a3d;
}

.card-teal {
    background: #5fb1b8;
}

.card-peach {
    background: #fa985b;
}

/* Arrow connector */
.smart-arrow {
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 34px solid #edc5a4;
    margin-left: -8px;
    margin-right: -8px;
    z-index: 2;
}


/* Responsive */
@media (max-width: 768px) {
    .smart-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .smart-item {
        flex-direction: column;
        margin: 10px;
    }

    .smart-arrow {
        display: none;
    }

    .smart-card {
        max-width: 100%;
    }
}


/* Data & Integrations (TLP CP) */
/* container */
/* Layout wrapper */
.cards-wrap {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 10px;
    background: #ffff;
    padding: 40px 25px;
}

/* Sticky note card */
.note-card {
    position: relative;
    background: #ffd88a;
    border-radius: 6px;
    padding: 1.5rem 1.75rem;
    width: 100%;
    max-width: 460px;
    min-height: 120px;

    box-shadow: 6px 6px 0 #ff5c33;
}

/* Text */
.note-card p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: #2b2b2b;
    font-weight: 500;
}

/* Folded corner */
.note-card .fold {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    background: #ff5c33;
    border-bottom-right-radius: 6px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Responsive behavior */
@media (max-width: 768px) {
    .cards-wrap {
        gap: 1.25rem;
    }

    .note-card {
        max-width: 100%;
    }
}


/* Core Capabilities (Power Cables) Dashboard & Charts (Power Cables) */
/* Two-column layout */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 0 auto;
    padding: 25px;
    background: #ffff;
    border-radius: 10px;
}

/* Column */
.capability-col h3 {
    font-weight: 700;
    color: #1f3b73;
    margin-bottom: 1.75rem;
}

/* Item */
.capability-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.capability-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #1d2b3a;
}

/* Divider line */
.divider {
    height: 2px;
    background: #9fd0f6;
    margin: 0px 0px 35px 0px;
}

/* House icon */
.icon.house {
    width: 45px;
    height: 48px;
    flex-shrink: 0;
    background: #8fd0f5;
    clip-path: polygon(50% 0%,
            100% 40%,
            100% 100%,
            0% 100%,
            0% 40%);
}

/* Color variants */
.icon.house.light {
    background: #9fd6fb;
}

.icon.house.teal {
    background: #4fd0d6;
}

/* Responsive */
@media (max-width: 900px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .capabilities-grid {
        padding: 0px;
    }
}



/* Data & Integrations (Power Cable) */


/* Layout */
.pill-wrap {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    margin: 0 auto;
    padding: 40px;
    background: #ffff;
    border-radius: 10px 10px 0px 0px;
    gap: 40px;
}

/* Pill card */
.pill-card {
    position: relative;
    background: #9dd4f4;
    padding: 1.1rem 2rem 1.1rem 3.2rem;
    max-width: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 6px 6px 0 #4f95be;
}

/* Text */
.pill-card p {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    color: #0f2a3f;
    font-weight: 500;
}

/* Left dot */
.pill-dot {
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #14d3e6;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .pill-wrap {
        gap: 1.25rem;
        flex-wrap: wrap;

    }

    .pill-card {
        border-radius: 24px;
        padding-left: 3rem;
        height: 150px;
    }

    .pill-card p {
        font-size: 14px;
        line-height: 1.4;
    }
}



/* small laptop */
@media (max-width: 1024px) {

    .integration-flow,
    .ai-solution-wrap {
        justify-content: center;
    }
    .outcome-card p{
        font-size: 17px;
    }
    .insight-card .content {
        font-size: 15px;
    }
    .arrow-box{
        font-size: 16px;
    }

}
/* For Scroll Bottom  - Up */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #142b63;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 9999;
}

#scrollTopBtn:hover {
  background: #f8b82f;
}