/* ============================================
   EXPERTISE SECTION - CLEAN CIRCULAR LAYOUT
   ============================================ */

/* .services-section-new {
    position: relative;
    padding: 100px 0 90px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f5ff 18%, #e8f0ff 35%, #dce8ff 50%, #2563eb 75%, #1e40af 100%);
    overflow: hidden;
}

.services-section-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 16%, rgba(255, 255, 255, 0.2) 35%, transparent 52%),
        radial-gradient(circle at 85% 10%, rgba(255,255,255,0.7) 0%, transparent 18%),
        radial-gradient(circle at 100% 100%, rgba(29, 71, 201, 0.18) 0%, transparent 35%);
    pointer-events: none;
}

.services-section-new::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 95% 20%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 92% 30%, rgba(255, 255, 255, 0.7) 0 1.7px, transparent 2.3px),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 65% 8%, rgba(255, 255, 255, 0.7) 0 1.5px, transparent 2.2px),
        radial-gradient(circle at 25% 90%, rgba(255,255,255,0.55) 0 1.5px, transparent 2.2px),
        linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.15) 100%);
    background-size: 140px 140px, 180px 180px, 160px 160px, 200px 200px, 240px 240px, 100% 100%;
    opacity: 0.8;
    pointer-events: none;
}

.services-section-new .container {
    position: relative;
    z-index: 1;
}

.services-section-new .expertise-container {
    position: relative;
}

.services-section-new .expertise-container::before {
    content: "";
    position: absolute;
    right: -8%;
    top: 8%;
    width: 38%;
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 72%);
    filter: blur(8px);
    opacity: 0.8;
}

.services-section-new .expertise-container::after {
    content: "";
    position: absolute;
    left: -8%;
    bottom: -15%;
    width: 72%;
    height: 38%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 68%);
    filter: blur(10px);
}

.expertise-header {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.expertise-title {
    font-size: clamp(2.3rem, 3vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: #0b1e4a;
    margin-bottom: 10px;
}

.expertise-title .text-primary {
    color: #1a5fe8;
    font-weight: 800;
}

.expertise-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #586c8f;
}

.expertise-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1.8fr 1.1fr;
    gap: 32px;
    align-items: start;
    max-width: 1420px;
    margin: 0 auto 48px;
}

.expertise-left,
.expertise-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: flex-start;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(59, 130, 246, 0.35);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    min-height: 160px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(8px);
}

.expertise-card.service-card-link {
    cursor: pointer;
}

.expertise-card.service-card-link:hover {
    text-decoration: none;
}

.expertise-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.65);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.16);
    background: rgba(255, 255, 255, 0.92);
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.08));
    color: #2563eb;
    font-size: 24px;
    border: 1.5px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    flex-shrink: 0;
}

.expertise-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(59, 130, 246, 0.12));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.service-number {
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0;
    text-transform: uppercase;
}

.service-subtitle {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: #0f1729;
}

.service-mini-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    flex-grow: 1;
}

.expertise-center {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.expertise-center::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0.6), rgba(37, 99, 235, 0.4));
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
    z-index: 1;
}

.engine-circle {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    padding: 18px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), 0 18px 40px rgba(18, 68, 180, 0.18);
    transition: transform 0.25s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.engine-circle:hover {
    transform: translateY(-50%) scale(1.03);
}

.acquisition-engine {
    left: 10px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0f55d9 0%, #2563eb 50%, #2580ff 100%);
    border: 2.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 20px 50px rgba(15, 85, 217, 0.25), 0 0 60px rgba(37, 99, 235, 0.15);
}

.conversion-engine {
    right: 10px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #e8f2ff 100%);
    border: 2.5px solid rgba(59, 130, 246, 0.3);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8), 0 20px 50px rgba(37, 99, 235, 0.12), 0 0 50px rgba(59, 130, 246, 0.08);
}

.engine-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.conversion-engine .engine-icon {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
    color: #2563eb;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.08);
}

.engine-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.conversion-engine .engine-title {
    color: #0f1729;
    font-size: 20px;
}

.engine-desc {
    max-width: 180px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.conversion-engine .engine-desc {
    color: #64748b;
    font-size: 13px;
}

.connection-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.connection-line {
    stroke: rgba(37, 99, 235, 0.5);
    stroke-width: 1.5;
    stroke-dasharray: 5 7;
    fill: none;
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.3));
    animation: flowData 8s linear infinite;
}

@keyframes flowData {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -20;
    }
}

.connection-dot {
    fill: #2563eb;
    opacity: 0.8;
    filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.4));
}



.trust-stats-mini {
    position: relative;
    z-index: 1;
    margin-top: 25px;
    padding-top: 32px;
    border-top: 1px solid rgba(191, 206, 235, 0.8);
}

.trust-stat-item {
    height: 100%;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.trust-stat-item:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.trust-icon-mini {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.18));
    color: #2563eb;
    font-size: 22px;
    border: 1.5px solid rgba(59, 130, 246, 0.2);
}

.trust-stat-item h5 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f1729;
}

.trust-stat-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
}

@media (max-width: 1200px) {
    .expertise-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .expertise-left,
    .expertise-right {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .expertise-center {
        height: 420px;
        max-width: 520px;
        order: -1;
    }

    .acquisition-engine,
    .conversion-engine {
        width: 240px;
        height: 240px;
    }

    .engine-icon {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .engine-title {
        font-size: 17px;
    }

    .engine-desc {
        font-size: 12px;
        max-width: 160px;
    }

    .connection-lines {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-section-new {
        padding: 80px 0 60px;
    }

    .expertise-title {
        font-size: 2.1rem;
    }

    .expertise-subtitle {
        font-size: 15px;
    }

    .expertise-container {
        gap: 28px;
    }

    .expertise-left,
    .expertise-right {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        min-height: 140px;
        padding: 20px;
    }

    .service-meta {
        gap: 12px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .service-number {
        font-size: 12px;
    }

    .service-subtitle {
        font-size: 17px;
    }

    .service-mini-desc {
        font-size: 13px;
    }

    .expertise-center {
        height: 320px;
        max-width: 100%;
    }

    .acquisition-engine,
    .conversion-engine {
        width: 180px;
        height: 180px;
    }

    .engine-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .engine-title {
        font-size: 15px;
    }

    .engine-desc {
        font-size: 11px;
        max-width: 140px;
    }

    .trust-stat-item {
        padding: 20px 16px;
    }

    .trust-icon-mini {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .trust-stat-item h5 {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .services-section-new {
        padding: 60px 0 50px;
    }

    .expertise-title {
        font-size: 1.8rem;
    }

    .expertise-card {
        min-height: 130px;
        padding: 18px;
    }

    .expertise-container {
        gap: 20px;
    }

    .expertise-center {
        height: 280px;
        max-width: 100%;
    }

    .acquisition-engine,
    .conversion-engine {
        width: 140px;
        height: 140px;
    }

    .engine-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .engine-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .engine-desc {
        font-size: 10px;
        max-width: 120px;
    }

    .trust-stat-item {
        padding: 16px 12px;
    }

    .trust-icon-mini {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .trust-stat-item h5 {
        font-size: 13px;
    }

    .trust-stat-item p {
        font-size: 12px;
    }
} */

/* =========================================================
   SERVICES / OUR EXPERTISE
   Complete CSS replacement
   Designed for the existing services.php HTML
========================================================= */


/* =========================================================
   SERVICES EXPERTISE - COMPACT PRESENTABLE LAYOUT
   Phase 1: Size + spacing + positioning
   HTML DOES NOT NEED TO CHANGE
   ========================================================= */

.services-section-new {
    position: relative;
    width: 100%;
    overflow: hidden;

    /* Make the complete section more compact */
    padding: 65px 0 55px !important;

    background:
        radial-gradient(ellipse at 27% 28%, rgba(255, 255, 255, 0.99) 0 18%, rgba(255, 255, 255, 0.75) 39%, transparent 62%),
        radial-gradient(ellipse at 49% 54%, rgba(235, 246, 255, 0.92) 0 14%, rgba(182, 215, 255, 0.46) 42%, transparent 67%),
        linear-gradient(112deg, #ffffff 0%, #f8fbff 25%, #d9e9ff 52%, #7eaeff 73%, #0a62ed 100%) !important;
}

/* Soft technology-network pattern from the reference design. */
.services-section-new::before,
.services-section-new::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.services-section-new::before {
    top: 0;
    right: 0;
    width: 56%;
    height: 78%;
    opacity: 0.42;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 680'%3E%3Cg fill='none' stroke='%23d8ebff' stroke-width='1.4' stroke-opacity='.45'%3E%3Cpath d='M180 20L320 100 470 36 620 138 820 80M320 100L390 260 620 138 750 310 900 260M180 20L130 200 390 260 540 390 750 310M130 200L40 360 260 480 540 390 690 540 900 470M260 480L120 650M540 390L430 640M750 310L900 470'/%3E%3C/g%3E%3Cg fill='%23eaf5ff' fill-opacity='.72'%3E%3Ccircle cx='180' cy='20' r='5'/%3E%3Ccircle cx='320' cy='100' r='6'/%3E%3Ccircle cx='470' cy='36' r='5'/%3E%3Ccircle cx='620' cy='138' r='7'/%3E%3Ccircle cx='820' cy='80' r='5'/%3E%3Ccircle cx='130' cy='200' r='5'/%3E%3Ccircle cx='390' cy='260' r='6'/%3E%3Ccircle cx='750' cy='310' r='6'/%3E%3Ccircle cx='40' cy='360' r='5'/%3E%3Ccircle cx='540' cy='390' r='6'/%3E%3Ccircle cx='900' cy='470' r='6'/%3E%3Ccircle cx='690' cy='540' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

.services-section-new::after {
    left: -7%;
    bottom: -18%;
    width: 46%;
    height: 42%;
    opacity: 0.42;
    background:
        repeating-radial-gradient(ellipse at 28% 65%, transparent 0 10px, rgba(255, 255, 255, 0.86) 11px 13px, transparent 14px 23px),
        radial-gradient(ellipse at 30% 65%, rgba(255, 255, 255, 0.72), transparent 67%);
    transform: rotate(-13deg);
}

.services-section-new > .container {
    position: relative;
    z-index: 1;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.services-section-new > .container {
    max-width: 1400px !important;
    width: 92% !important;
    margin: 0 auto !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.services-section-new .expertise-header {
    margin-bottom: 42px !important;
}

.services-section-new .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 22px !important;

    border-radius: 40px;

    font-size: 13px !important;
    font-weight: 700;

    letter-spacing: 1.5px;

    color: #1768ed;

    background: rgba(220, 235, 255, 0.65);

    border: 1px solid rgba(60, 125, 235, 0.18);
}


.services-section-new .expertise-title {
    margin: 18px auto 12px !important;

    max-width: 1100px;

    font-size: 44px !important;
    line-height: 1.12 !important;

    font-weight: 700 !important;

    color: #102957;
}


.services-section-new .expertise-title .text-primary {
    color: #1268ed !important;
}


.services-section-new .expertise-subtitle {
    max-width: 820px !important;

    margin: 0 auto !important;

    font-size: 16px !important;
    line-height: 1.55 !important;

    color: #61789f !important;
}


/* =========================================================
   MAIN 3-COLUMN LAYOUT
   LEFT CARDS | CENTER CIRCLES | RIGHT CARDS
   ========================================================= */

.services-section-new .expertise-container {
    position: relative;

    display: grid !important;

    grid-template-columns:
        minmax(300px, 1fr)
        390px
        minmax(300px, 1fr) !important;

    column-gap: 28px !important;

    align-items: center;

    width: 100%;

    margin-top: 10px !important;
}


/* =========================================================
   LEFT + RIGHT CARD STACKS
   ========================================================= */

.services-section-new .expertise-left,
.services-section-new .expertise-right {
    display: flex !important;

    flex-direction: column !important;

    justify-content: center;

    gap: 18px !important;

    position: relative;

    z-index: 5;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.services-section-new .expertise-card {
    position: relative;

    display: grid !important;

    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    align-content: center;

    width: 100% !important;

    /* Keep the complete title and description inside every card. */
    min-height: 164px !important;
    height: 164px !important;

    padding: 22px 26px !important;

    box-sizing: border-box;

    border-radius: 20px !important;

    background: rgba(255, 255, 255, 0.88) !important;

    border: 1px solid rgba(82, 139, 239, 0.25) !important;

    box-shadow:
        0 12px 30px rgba(44, 96, 170, 0.08) !important;

    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.services-section-new .expertise-card:hover {
    transform: translateY(-4px);

    border-color: rgba(34, 109, 235, 0.45) !important;

    box-shadow:
        0 18px 35px rgba(44, 96, 170, 0.15) !important;
}

/* =========================================================
   MIDDLE CARD ADJUSTMENTS (Cards 02 & 05)
   Reduces size and adds spacing to show connection nodes clearly
========================================================= */

.services-section-new .expertise-card-middle {
    width: 92% !important;

    min-height: 154px !important;
    height: 154px !important;

    padding: 18px 22px !important;
}

.services-section-new .expertise-left .expertise-card-middle {
    margin-right: 8px !important;
}

.services-section-new .expertise-right .expertise-card-middle {
    margin-left: 33px !important;
}

.services-section-new .expertise-card-middle .service-icon {
    width: 48px !important;
    height: 48px !important;

    min-width: 48px !important;

    font-size: 20px !important;
}

.services-section-new .expertise-card-middle .service-number {
    font-size: 18px !important;
}

.services-section-new .expertise-card-middle .service-subtitle {
    font-size: 18px !important;
}

.services-section-new .expertise-card-middle .service-mini-desc {
    font-size: 13px !important;

    line-height: 1.4 !important;
}


/* =========================================================
   ICON + NUMBER
   ========================================================= */

.services-section-new .service-meta {
    display: contents !important;
}


.services-section-new .service-icon {
    display: flex !important;

    align-items: center;
    justify-content: center;

    grid-column: 1;
    grid-row: 1 / 4;

    align-self: center;

    width: 54px !important;
    height: 54px !important;

    min-width: 54px !important;

    border-radius: 50%;

    color: #075df0 !important;

    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #edf4ff 48%, #e2efff 100%) !important;

    border: 1px solid rgba(48, 117, 235, 0.16);

    font-size: 24px !important;

    box-shadow: 0 8px 18px rgba(41, 98, 202, 0.08);
}


.services-section-new .service-number {
    grid-column: 2;
    grid-row: 1;

    font-size: 20px !important;

    line-height: 1 !important;

    font-weight: 700 !important;

    color: #1768ed !important;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.services-section-new .service-subtitle {
    grid-column: 2;
    grid-row: 2;

    margin: 0 0 7px !important;
    align-self: end;

    font-size: 20px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;

    color: #102957 !important;
}


/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.services-section-new .service-mini-desc {
    grid-column: 2;
    grid-row: 3;

    margin: 0 !important;
    max-width: 430px;

    font-size: 14px !important;

    line-height: 1.45 !important;

    color: #6b82a4 !important;
}


/* =========================================================
   CENTER AREA
   ========================================================= */

.services-section-new .expertise-center {
    position: relative;

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    width: 390px !important;

    min-width: 390px !important;

    /* Match the height of the three-card stacks for precise connectors. */
    height: 570px !important;

    margin: 0 auto !important;

    z-index: 10;
}


/* Hide the old SVG connectors.
   We will create cleaner CSS connectors instead. */

.services-section-new .connection-lines {
    display: none !important;
}


/* =========================================================
   CARD-TO-ENGINE CONNECTION MAP
   ========================================================= */

.services-section-new .expertise-connection-map {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;

    overflow: visible;
    pointer-events: none;
    z-index: 6;
}

.services-section-new .expertise-connection-map path {
    fill: none;
    stroke: #1268ed;
    stroke-width: 2;
    stroke-linecap: round;
}

.services-section-new .expertise-connection-map .engine-to-engine {
    stroke-dasharray: 7 7;
    stroke: #6d9df2;
}

.services-section-new .expertise-connection-map .card-map-node,
.services-section-new .engine-node {
    fill: #1768ed;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.services-section-new .expertise-connection-map .card-map-node {
    display: none;
}

.services-section-new .card-edge-node {
    position: absolute;
    top: 50%;

    display: block;

    width: 14px;
    height: 14px;

    border: 2.5px solid #ffffff;
    border-radius: 50%;

    box-sizing: border-box;

    background: #1768ed;
    box-shadow: 0 0 0 2px rgba(23, 104, 237, 0.22), 0 0 10px rgba(23, 104, 237, 0.6);
    transform: translateY(-50%);
    z-index: 8;
    animation: expertise-node-pulse 2.4s ease-in-out infinite;
}

.services-section-new .expertise-left .card-edge-node {
    right: -7px;
}

.services-section-new .expertise-right .card-edge-node {
    left: -7px;
}

.services-section-new .engine-node {
    position: absolute;

    display: block;

    width: 14px;
    height: 14px;

    border: 2.5px solid #ffffff;
    border-radius: 50%;

    box-sizing: border-box;

    background: #1768ed;
    box-shadow: 0 0 0 2px rgba(23, 104, 237, 0.22), 0 0 10px rgba(23, 104, 237, 0.6);
    z-index: 3;
    animation: expertise-node-pulse 2.4s ease-in-out infinite;
}

.services-section-new .engine-node-middle,
.services-section-new .expertise-card-middle .card-edge-node {
    animation-delay: 0.45s;
}

.services-section-new .engine-node-bottom,
.services-section-new .expertise-card-bottom .card-edge-node {
    animation-delay: 0.9s;
}

@keyframes expertise-node-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(23, 104, 237, 0.22), 0 0 7px rgba(23, 104, 237, 0.45); }
    50% { box-shadow: 0 0 0 4px rgba(23, 104, 237, 0.12), 0 0 16px rgba(23, 104, 237, 0.9); }
}

.services-section-new .expertise-connection-map .connector-spark {
    fill: #ffffff;
    stroke: #1768ed;
    stroke-width: 1.4;
    filter: drop-shadow(0 0 4px rgba(23, 104, 237, 0.95));
}

.services-section-new .expertise-connection-map .connector-spark-reverse {
    fill: #a9d2ff;
    opacity: 0.88;
}

/* Nodes on the left edge of the Acquisition Engine. */
.services-section-new .acquisition-engine .engine-node-top {
    top: 5%;
    left: 19%;
}

.services-section-new .acquisition-engine .engine-node-middle {
    top: calc(50% - 7px);
    left: -7px;
}

.services-section-new .acquisition-engine .engine-node-bottom {
    right: auto;
    bottom: 5%;
    left: 19%;
}

/* Nodes on the right edge of the Conversion Engine. */
.services-section-new .conversion-engine .engine-node-top {
    top: 5%;
    right: 19%;
}

.services-section-new .conversion-engine .engine-node-middle {
    top: calc(50% - 7px);
    right: -7px;
}

.services-section-new .conversion-engine .engine-node-bottom {
    right: 19%;
    bottom: 5%;
}


/* =========================================================
   CENTER CIRCLES
   ========================================================= */

.services-section-new .engine-circle {
    position: relative;

    width: 165px !important;
    height: 165px !important;

    min-width: 165px !important;

    border-radius: 50% !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    text-align: center;

    padding: 25px !important;

    box-sizing: border-box;

    z-index: 20;

    border: 3px solid rgba(116, 158, 240, 0.55) !important;

    box-shadow:
        0 12px 30px rgba(32, 91, 190, 0.15);
}


/* Decorative orbital system around both engines. */
.services-section-new .engine-orbit {
    position: absolute;
    top: -17%;
    left: -17%;

    width: 134%;
    height: 134%;

    overflow: visible;
    pointer-events: none;
    z-index: 1;
    transform-box: fill-box;
    transform-origin: center;
    animation: expertise-orbit-spin 18s linear infinite;
}

.services-section-new .conversion-engine .engine-orbit {
    animation-direction: reverse;
}

@keyframes expertise-orbit-spin {
    to { transform: rotate(360deg); }
}

.services-section-new .engine-orbit .orbit-ring,
.services-section-new .engine-orbit .orbit-arc {
    fill: none;
    stroke: #5b8dff;
    vector-effect: non-scaling-stroke;
}

.services-section-new .engine-orbit .orbit-ring-outer {
    stroke-width: 1.25;
    opacity: 0.62;
}

.services-section-new .engine-orbit .orbit-ring-inner {
    stroke-width: 1.35;
    stroke-dasharray: 8 6;
    opacity: 0.7;
}

.services-section-new .engine-orbit .orbit-arc {
    stroke-width: 1.65;
    opacity: 0.92;
}

.services-section-new .engine-orbit .orbit-points circle {
    fill: #2c6ef2;
    stroke: #ffffff;
    stroke-width: 1.25;
    filter: drop-shadow(0 0 3px rgba(34, 104, 237, 0.65));
}

.services-section-new .engine-orbit .orbit-spark {
    fill: #ffffff;
    stroke: #2d70f4;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 5px rgba(54, 126, 255, 1));
}

.services-section-new .engine-orbit .orbit-spark-outer {
    fill: #a8d4ff;
    stroke: #ffffff;
    stroke-width: 1.2;
    opacity: 0.95;
}

.services-section-new .engine-orbit marker path {
    fill: #5b8dff;
}

.services-section-new .engine-icon,
.services-section-new .engine-title,
.services-section-new .engine-desc {
    position: relative;
    z-index: 2;
}

.services-section-new .conversion-engine .engine-orbit .orbit-ring,
.services-section-new .conversion-engine .engine-orbit .orbit-arc {
    stroke: #77a4ff;
}


/* Acquisition */

.services-section-new .acquisition-engine {
    background: #2561df !important;

    color: #ffffff !important;
}


/* Conversion */

.services-section-new .conversion-engine {
    background: rgba(255, 255, 255, 0.94) !important;

    color: #102957 !important;

    border-color: rgba(86, 133, 230, 0.38) !important;
}


/* =========================================================
   CIRCLE ICON
   ========================================================= */

.services-section-new .engine-icon {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 39px !important;
    height: 39px !important;

    margin-bottom: 10px !important;

    border-radius: 50%;

    font-size: 15px !important;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.30);
}


.services-section-new .conversion-engine .engine-icon {
    color: #1768ed;

    background: #edf4ff;

    border-color: rgba(48, 117, 235, 0.20);
}

/* The conversion copy is longer, so use a compact internal composition. */
.services-section-new .conversion-engine {
    padding: 16px !important;
}

.services-section-new .conversion-engine .engine-icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

.services-section-new .conversion-engine .engine-title {
    margin-bottom: 4px !important;
    max-width: 138px;
    font-size: 15px !important;
    line-height: 1.12 !important;
}

.services-section-new .conversion-engine .engine-desc {
    max-width: 138px;
    font-size: 10px !important;
    line-height: 1.25 !important;
}


/* =========================================================
   CIRCLE TITLE
   ========================================================= */

.services-section-new .engine-title {
    margin: 0 0 3px !important;

    font-size: 13px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;

    max-width: 135px;
}


.services-section-new .acquisition-engine .engine-title {
    color: #ffffff !important;
}


.services-section-new .conversion-engine .engine-title {
    color: #102957 !important;
}


/* =========================================================
   CIRCLE DESCRIPTION
   ========================================================= */

.services-section-new .engine-desc {
    margin: 0 !important;

    max-width: 140px;

    font-size: 9px !important;

    line-height: 1.2 !important;
}


.services-section-new .acquisition-engine .engine-desc {
    color: rgba(255, 255, 255, 0.88) !important;
}


.services-section-new .conversion-engine .engine-desc {
    color: #7186a5 !important;
}


/* =========================================================
   CIRCLE-TO-CIRCLE CONNECTOR
   ========================================================= */

.services-section-new .acquisition-engine::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -30px;

    width: 30px;

    border-top: 2px dashed #6d9df2;

    transform: translateY(-50%);

    z-index: -1;
}


/* =========================================================
   CARD CONNECTORS
   Thin blue dashed nodes
   ========================================================= */

.services-section-new .expertise-left .expertise-card::after,
.services-section-new .expertise-right .expertise-card::before {
    display: none !important;
}


/* LEFT → CENTER */

.services-section-new .expertise-left .expertise-card::after {
    right: -28px;

    transform-origin: left center;
}


/* RIGHT ← CENTER */

.services-section-new .expertise-right .expertise-card::before {
    left: -28px;

    transform-origin: right center;
}


/* Diagonal connectors */

.services-section-new .expertise-left .expertise-card-top::after,
.services-section-new .expertise-right .expertise-card-bottom::before {
    transform: rotate(65deg);
}


.services-section-new .expertise-left .expertise-card-bottom::after,
.services-section-new .expertise-right .expertise-card-top::before {
    transform: rotate(-65deg);
}


/* Middle connectors stay horizontal */

.services-section-new .expertise-left .expertise-card-middle::after,
.services-section-new .expertise-right .expertise-card-middle::before {
    transform: none;
}


/* =========================================================
   SMALL BLUE NODE AT CARD END
   ========================================================= */

.services-section-new .expertise-left .expertise-card::marker,
.services-section-new .expertise-right .expertise-card::marker {
    display: none;
}


/* =========================================================
   TRUST STATS
   Keep them compact as well
   ========================================================= */

.services-section-new .trust-stats-mini {
    max-width: 960px;
    margin: 58px auto 0 !important;
    padding: 30px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 16px 36px rgba(28, 74, 147, 0.10);
    backdrop-filter: blur(12px);
}

.services-section-new .trust-stats-mini .row { align-items: stretch; }

.services-section-new .trust-stat-item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    min-height: 88px !important;
    padding: 0 14px !important;
    text-align: left;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none;
    backdrop-filter: none;
}

.services-section-new .trust-stats-mini .col-lg-3 + .col-lg-3 .trust-stat-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 68px;
    background: rgba(95, 132, 193, 0.24);
    transform: translateY(-50%);
}

.services-section-new .trust-icon-mini {
    display: flex;

    align-items: center;
    justify-content: center;

    grid-column: 1;
    grid-row: 1 / 3;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;

    border-radius: 50%;

    color: #1768ed;

    background: #eaf2ff;
}


.services-section-new .trust-stat-item h5 {
    grid-column: 2;
    grid-row: 1;

    margin: 0 0 4px !important;

    font-size: 16px !important;
    line-height: 1.2 !important;

    color: #102957;
}


.services-section-new .trust-stat-item p {
    grid-column: 2;
    grid-row: 2;

    margin: 0 !important;

    max-width: 170px;

    font-size: 10px !important;

    line-height: 1.4 !important;

    color: #6c82a1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .services-section-new {
        padding: 55px 0 45px !important;
    }

    .services-section-new .expertise-title {
        font-size: 38px !important;
    }

    .services-section-new .expertise-container {
        grid-template-columns:
            minmax(250px, 1fr)
            330px
            minmax(250px, 1fr) !important;

        column-gap: 18px !important;
    }

    .services-section-new .expertise-center {
        width: 330px !important;
        min-width: 330px !important;
    }

    .services-section-new .engine-circle {
        width: 140px !important;
        height: 140px !important;
        min-width: 140px !important;
    }

    .services-section-new .service-subtitle {
        font-size: 18px !important;
    }

    .services-section-new .conversion-engine {
        padding: 12px !important;
    }

    .services-section-new .conversion-engine .engine-icon {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 4px !important;
        font-size: 12px !important;
    }

    .services-section-new .conversion-engine .engine-title {
        margin-bottom: 3px !important;
        font-size: 13px !important;
    }

    .services-section-new .conversion-engine .engine-desc {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-section-new {
        padding: 50px 0 40px !important;
    }

    .services-section-new > .container {
        width: 92% !important;
    }

    .services-section-new .expertise-title {
        font-size: 30px !important;

        line-height: 1.2 !important;
    }

    .services-section-new .expertise-subtitle {
        font-size: 14px !important;
    }

    .services-section-new .expertise-container {
        display: flex !important;

        flex-direction: column !important;

        gap: 25px !important;
    }

    .services-section-new .expertise-left,
    .services-section-new .expertise-right {
        width: 100% !important;

        gap: 14px !important;
    }

    .services-section-new .expertise-center {
        order: 2;

        width: 100% !important;

        min-width: 0 !important;

        height: 180px !important;

        justify-content: center !important;

        gap: 15px !important;
    }

    .services-section-new .expertise-left {
        order: 1;
    }

    .services-section-new .expertise-right {
        order: 3;
    }

    .services-section-new .engine-circle {
        width: 135px !important;
        height: 135px !important;

        min-width: 135px !important;

        padding: 18px !important;
    }

    .services-section-new .expertise-card {
        height: auto !important;

        min-height: 125px !important;
    }

    /* No side connectors on mobile */
    .services-section-new .expertise-left .expertise-card::after,
    .services-section-new .expertise-right .expertise-card::before {
        display: none !important;
    }

    .services-section-new .expertise-connection-map,
    .services-section-new .engine-node,
    .services-section-new .card-edge-node {
        display: none !important;
    }

    .services-section-new .acquisition-engine::after {
        display: block;
    }

    .services-section-new .trust-stats-mini {
        margin-top: 35px !important;
    }
}

