/* ---------- Committees Circular Diagram ---------- */
:root {
    --c-bfsi: #0b2265;
    --c-consult: #4c9a2a;
    --c-edu: #5b3a99;
    --c-esg: #e8623c;
    --c-legal: #0f8a8a;
    --c-media: #d81b6a;
    --c-mfg: #1f6fd6;
    --c-pharma: #22a651;
    --c-ship: #4a2e8a;
    --c-startup: #f2a900;
    --c-tourism: #128a8a;
    --c-trade: #d81b3f;
}

.diagram-stage {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0;
    /* breathing room — prevents overlap with adjacent sections */
    overflow: visible;
}

.diagram-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 900px;
    margin: 0 auto;
}

.connector-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.connector-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.connector-line.drawn {
    animation: drawLine 1s ease forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.connector-dot {
    opacity: 0;
    transform-origin: center;
}

.connector-dot.show {
    animation: popDot .3s ease forwards;
}

@keyframes popDot {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.ring-dashed {
    width: 60%;
    padding-bottom: 60%;
    height: 0;
    border: 2px dashed rgba(11, 34, 101, 0.25);
    opacity: 0;
    animation: fadeIn .8s ease forwards .1s, spin 120s linear infinite 1s;
}

.ring-blue {
    width: 47%;
    padding-bottom: 47%;
    height: 0;
    border: 4px solid rgba(11, 34, 101, 0.85);
    opacity: 0;
    animation: fadeIn .6s ease forwards .3s;
}

.ring-white {
    width: 44%;
    padding-bottom: 44%;
    height: 0;
    background: #fbfcff;
    box-shadow: 0 15px 35px -10px rgba(11, 34, 101, 0.15);
    opacity: 0;
    animation: fadeIn .6s ease forwards .35s;
}

/* Small colored dots sitting on the inner ring, one per sector */
.ring-dot {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    z-index: 3;
    box-shadow: 0 0 0 3px #fff;
}

.ring-dot.show {
    animation: popDot .3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.center-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 32%;
    /* scales with the wrap container */
    padding-bottom: 32%;
    height: 0;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    z-index: 4;
    background: #fff;
    box-shadow: 0 10px 30px -5px rgba(11, 34, 101, 0.3), 0 0 0 6px #ffffff;
    animation: coreIn .7s cubic-bezier(.34, 1.56, .64, 1) forwards .45s;
}

.center-core img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes coreIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.center-core-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
}

.center-core-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--eu-blue);
    margin: 0 0 5px;
    line-height: 1.2;
}

.center-core-text {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
    line-height: 1.3;
}

.node {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 5;
    width: 148px;
    text-align: center;
}

.node.reveal {
    animation: nodeIn .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes nodeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Circular icon "bubble" for each sector */
.node-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    /*width: 74px;
    height: 74px;
    min-width: 74px;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #fff;
    box-shadow: 0 10px 22px -6px rgba(11, 34, 101, 0.35), 0 0 0 6px #ffffff;
    flex-shrink: 0;
    z-index: 2;
    transition: transform .25s ease;
}

.node-icon img.node-icon-img {
    width: 50px;
    height: 50px;
    /*width: 30px;
    height: 30px;*/
    display: block;
    object-fit: contain;
}

.node:hover .node-icon {
    transform: scale(1.08) rotate(-3deg);
}

/* Numbered badge overlapping the top of the icon bubble */
.node-badge {
    position: absolute;
    /*top: -16px;*/
    top:-25px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 10px -2px rgba(11, 34, 101, 0.45), 0 0 0 4px #fbfcff;
    z-index: 3;
}

/* Small downward caret linking the badge into the icon bubble */
.node-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    color: inherit;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.08));
}

/* Label rendered above the icon instead of below — used for nodes whose
   connector line runs too close to/through the label when it sits below */
.node.label-top {
    flex-direction: column-reverse;
}

.node.label-top .node-label {
    margin-top: 0;
    /*margin-bottom: 14px;*/
    margin-bottom:25px;
}

.node-label {
    margin-top: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark, #0b2265);
    line-height: 1.3;
}

/* Mobile adjustments */
/* Laptop / small desktop */
@media (max-width: 1399.98px) {
    .diagram-wrap {
        max-width: 760px;
    }
}

/* iPad landscape / small laptop */
@media (max-width: 1199.98px) {
    .diagram-wrap {
        max-width: 640px;
    }

    .diagram-stage {
        padding: 40px 0;
    }

    .node {
        width: 122px;
    }

    .node-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
        box-shadow: 0 8px 18px -5px rgba(11, 34, 101, 0.35), 0 0 0 4px #ffffff;
    }

    .node-icon img.node-icon-img {
        width: 24px;
        height: 24px;
    }

    .node-badge {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        top: -12px;
    }

    .node-label {
        font-size: 0.75rem;
        margin-top: 10px;
    }
}

/* iPad portrait */
@media (max-width: 991.98px) {
    .diagram-wrap {
        max-width: 560px;
    }

    .diagram-stage {
        min-height: auto;
        padding: 30px 0;
    }

    .node {
        width: 104px;
    }

    .node-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .node-icon img.node-icon-img {
        width: 21px;
        height: 21px;
    }

    .node-badge {
        width: 24px;
        height: 24px;
        font-size: 0.62rem;
        top: -10px;
    }

    .node-label {
        font-size: 0.68rem;
        margin-top: 8px;
    }
}

/* Mobile — keep the full circular diagram, scaled down */
@media (max-width: 767.98px) {
    .diagram-wrap {
        max-width: 460px;
    }

    .diagram-stage {
        padding: 20px 0;
    }

    .node {
        width: 76px;
    }

    .node-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        box-shadow: 0 6px 14px -4px rgba(11, 34, 101, 0.35), 0 0 0 3px #ffffff;
    }

    .node-icon img.node-icon-img {
        width: 16px;
        height: 16px;
    }

    .node-badge {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
        top: -6px;
        box-shadow: 0 3px 6px -2px rgba(11, 34, 101, 0.45), 0 0 0 2px #fbfcff;
    }

    .node-badge::after {
        border-left-width: 3px;
        border-right-width: 3px;
        border-top-width: 4px;
        bottom: -4px;
    }

    .node-label {
        font-size: 0.56rem;
        margin-top: 4px;
        line-height: 1.1;
    }

    .center-core-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480.98px) {
    .diagram-wrap {
        max-width: 400px;
    }

    .node {
        width: 60px;
    }

    .node-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .node-icon img.node-icon-img {
        width: 14px;
        height: 14px;
    }

    .node-badge {
        width: 15px;
        height: 15px;
        font-size: 0.4rem;
        top: -5px;
    }

    .node-label {
        font-size: 0.44rem;
        margin-top: 3px;
        line-height: 1.05;
    }
}

.mobile-list {
    display: none;
    padding: 10px 0;
}

.mobile-node {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(14px);
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px -4px rgba(11, 34, 101, 0.1);
}

.mobile-node.reveal {
    animation: mobileIn .5s ease forwards;
}

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

.mobile-node .node-icon-wrap {
    margin-right: 15px;
}

.mobile-node .node-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.3), 0 0 0 3px #fff;
}

.mobile-node .node-icon img.node-icon-img {
    width: 22px;
    height: 22px;
}

.mobile-node .node-badge {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
    top: -8px;
}

.mobile-node .node-label {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 700;
}

.mobile-node {
    align-items: center;
}

/* Stats bar below */
/* ---------- Stats Bar (White box with 4 icon items) ---------- */
/* ---------- Committees Trust Bar (Yellow box with 4 icon items) ---------- */
.committees-trust-bar-section {
    padding: 0 0 60px;
}



.committees-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    background: #fcca00;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(252, 202, 0, 0.25);
    margin-top: 40px;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp .7s ease forwards 2.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.committees-trust-bar .trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    position: relative;
}

.committees-trust-bar .trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(15, 39, 147, 0.2);
}

.committees-trust-bar .trust-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
    background: var(--eu-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 39, 147, 0.2);
    color: #fff;
}

.committees-trust-bar .trust-icon svg,
.committees-trust-bar .trust-icon i {
    width: 26px;
    height: 26px;
    font-size: 20px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.committees-trust-bar .trust-item span {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--eu-navy, #0a1a4a);
    line-height: 1.4;
}

@media (max-width: 1199px) {
    .committees-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .committees-trust-bar .trust-item:not(:last-child)::after {
        display: none;
    }

    .committees-trust-bar .trust-item:nth-child(odd) {
        border-right: 1px solid rgba(15, 39, 147, 0.15);
    }

    .committees-trust-bar .trust-item:nth-last-child(-n+2) {
        border-top: 1px solid rgba(15, 39, 147, 0.15);
    }

    .committees-trust-bar .trust-item:nth-child(1),
    .committees-trust-bar .trust-item:nth-child(2) {
        border-top: none;
    }
}

@media (max-width: 767px) {
    .committees-trust-bar {
        grid-template-columns: 1fr;
    }

    .committees-trust-bar .trust-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(15, 39, 147, 0.15);
        padding: 22px 20px;
    }

    .committees-trust-bar .trust-item:last-child {
        border-bottom: none;
    }

    .committees-trust-bar .trust-item:nth-last-child(-n+2) {
        border-top: none;
    }
}

/* ---------- Light Halftone Dot Background (behind Services Intro, Diagram & Stats Bar) ---------- */
.committees-decor-wrap {
    position: relative;
    isolation: isolate;
    background-color: #fbfcff;
    background-image: radial-gradient(rgba(11, 34, 101, 0.09) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
}

.committees-decor-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, #fbfcff 0%, rgba(251, 252, 255, 0.55) 45%, rgba(251, 252, 255, 0) 75%),
        radial-gradient(ellipse 70% 60% at 50% 100%, #fbfcff 0%, rgba(251, 252, 255, 0.55) 45%, rgba(251, 252, 255, 0) 75%);
}

.committees-decor-wrap > section {
    position: relative;
    z-index: 1;
}

@media (max-width: 575.98px) {
    .committees-decor-wrap {
        background-size: 16px 16px;
    }
}

/* Left side card */
.committee-left-card {
    background: linear-gradient(135deg, var(--eu-blue) 0%, #0d2a75 100%);
    border-radius: 30px;
    padding: 60px 45px;
    color: #fff;
    box-shadow: 0 25px 50px rgba(11, 34, 101, 0.25);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 6px solid var(--eu-yellow);
}

.committee-left-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.committee-left-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.left-card-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
    z-index: 2;
    position: relative;
}

.committee-left-card .title-underline {
    background: var(--eu-yellow);
    width: 100px;
    height: 6px;
    margin-bottom: 35px;
    border-radius: 4px;
    z-index: 2;
    position: relative;
}

.left-card-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    z-index: 2;
    position: relative;
}