/* Clients */
/* logos 2 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slider {
    padding-block: 12px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    mask-image: linear-gradient(to right, transparent 20% 80%, #000, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000, transparent);
}

.list {
    display: flex;
    width: calc(var(--width) * var(--imageQuantity) * 2);
    /* Double the width for seamless looping */
    gap: calc(var(--width) / 4);
    animation: autoScroll 20s linear infinite;
}

.list:hover {
    animation-play-state: paused !important;
}

.item_clients {
    width: var(--width);
    height: var(--height);
    flex-shrink: 0;
}

.item_clients img {
    width: 100%;
    height: 100%;
    transition: filter 0.5s ease-in-out;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--width) * var(--imageQuantity)));
    }
}

.slider[reverse="true"] .list {
    animation: reverseScroll 20s linear infinite;
}

@keyframes reverseScroll {
    0% {
        transform: translateX(calc(-1 * var(--width) * var(--imageQuantity)));
    }

    100% {
        transform: translateX(0);
    }
}

.slider:hover .item_clients img {
    filter: grayscale(1);
}

.slider .item_clients:hover img {
    filter: grayscale(0);
}


















/* Stats About */

*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0D1F4E;
    --navy-mid: #1A3370;
    --blue: #2554CC;
    --blue-light: #4A78E8;
    --teal: #0FA876;
    --teal-light: #1ECFA0;
    --cream: #F5F3EE;
    --gold: #D4A847;
    --text-dark: #0D1F4E;
    --text-body: #3A4A6B;
    --text-muted: #6B7A9B;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --border: rgba(13, 31, 78, 0.10);
    --section-bg: #F0EEE9;
}


/* ── OUTER WRAPPER ── */



.bship-section {
    width: 100%;
    max-width: 1750px;
    margin: 0 auto;
    /* Center horizontally */
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(13, 31, 78, 0.13),
        0 4px 16px rgba(13, 31, 78, 0.07);
    animation: fadeUp 0.7s ease both;
    padding: 0 15px;
    box-sizing: border-box;
    /* background: #0d1f4e; */
}

/* Large Desktop */
@media (max-width: 1400px) {
    .bship-section {
        max-width: 1200px;
    }
}

/* Laptop */
@media (max-width: 992px) {
    .bship-section {
        grid-template-columns: 1fr;
        max-width: 95%;
        border-radius: 20px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .bship-section {
        grid-template-columns: 1fr;
        max-width: 100%;
        border-radius: 16px;
        padding: 0 10px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .bship-section {
        grid-template-columns: 1fr;
        border-radius: 12px;
        padding: 0 8px;
    }
}





@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── LEFT PANEL ── */
.left-panel {
    background: var(--navy);
    padding: 0px 30px 50px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 84, 204, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.left-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(15, 168, 118, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Tag pill */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    padding: 6px 14px 6px 10px;
    width: fit-content;
    animation: fadeUp 0.7s 0.1s ease both;
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(30, 207, 160, 0.25);
    flex-shrink: 0;
}

.tag-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Headline */
.headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.18;
    color: var(--white);
    animation: fadeUp 0.7s 0.15s ease both;
}

.headline .hl-brand {
    color: #6B9BF4;
}

.headline .hl-accent {
    color: var(--teal-light);
    font-style: italic;
    font-weight: 700;
}

/* About block */
.about-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeUp 0.7s 0.2s ease both;
}

.about-label {
    font-family: 'Syne', sans-serif;
    font-size: 35px;
    font-weight: 700;
    color: rgb(240 175 10);
    letter-spacing: 0px;
    text-transform: uppercase;
}

.about-text {
    font-size: 19px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    line-height: 1.75;
}

.about-text strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Reach chips */
.reach-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.25s ease both;
}

.reach-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 16px;
    transition: background 0.2s, border-color 0.2s;
}

.reach-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(106, 155, 244, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chip-icon svg {
    width: 16px;
    height: 16px;
}

.chip-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.chip-val {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.chip-lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

/* Revenue banner */
.revenue-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, rgba(212, 168, 71, 0.18) 0%, rgba(212, 168, 71, 0.06) 100%);
    border: 1px solid rgba(212, 168, 71, 0.30);
    border-radius: 16px;
    padding: 16px 18px;
    animation: fadeUp 0.7s 0.3s ease both;
    position: relative;
    overflow: hidden;
}

.revenue-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), transparent);
    border-radius: 3px 0 0 3px;
}

.rev-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(212, 168, 71, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rev-icon svg {
    width: 18px;
    height: 18px;
}

.rev-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rev-amount {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.rev-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

/* ── RIGHT PANEL (stats — unchanged in number values) ── */
.right-panel {
    /* background: var(--cream); */
    padding: 60px 25px 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}

.stats-eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeUp 0.7s 0.1s ease both;
}

.stats-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.year-chip {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    background: var(--navy);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-card {
    background: var(--white);
    border-radius: 18px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--border);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: fadeUp 0.7s ease both;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    opacity: 0;
    transition: opacity 0.22s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 31, 78, 0.10);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:nth-child(1) {
    animation-delay: 0.15s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.20s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.25s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.30s;
}

.stat-icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.stat-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrap.blue {
    background: rgba(37, 84, 204, 0.10);
}

.stat-icon-wrap.teal {
    background: rgba(15, 168, 118, 0.10);
}

.stat-icon-wrap svg {
    width: 17px;
    height: 17px;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-lbl {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.stat-trend {
    font-size: 11px;
    font-weight: 500;
    color: var(--teal);
    margin-top: 2px;
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeUp 0.7s 0.35s ease both;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.18s;
    text-decoration: none;
}

.cta-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-1px);
}

.cta-btn svg {
    width: 16px;
    height: 16px;
}

.trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.trust-note svg {
    width: 14px;
    height: 14px;
    color: var(--teal);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .bship-section {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .left-panel {
        padding: 40px 36px 36px;
    }

    .right-panel {
        padding: 36px 36px 40px;
    }
}

@media (max-width: 560px) {
    body {
        padding: 1rem 0.75rem;
    }

    .bship-section {
        border-radius: 16px;
    }

    .left-panel {
        padding: 32px 24px 28px;
        gap: 24px;
    }

    .right-panel {
        padding: 28px 24px 32px;
        gap: 22px;
    }

    .headline {
        font-size: 26px;
    }

    .reach-row {
        gap: 8px;
    }

    .reach-chip {
        padding: 9px 12px;
    }

    .stat-num {
        font-size: 26px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 18px 14px 14px;
        border-radius: 14px;
    }
}

@media (max-width: 380px) {
    .left-panel {
        padding: 26px 18px 22px;
    }

    .right-panel {
        padding: 22px 18px 26px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}














/* New TEAMs */
.box {
    border-radius: 150px;
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.box:before {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 0px;
    height: 100%;
    border-radius: 150px;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.30);
    transition: all 0.3s ease;
    background-image: linear-gradient(to right, #f6f7ff 0%, #e4e7ff 100%);
}

.box:hover:before {
    width: 100%;
}

.box:hover .image-wrapper {
    padding: 0;
}

.box:hover .box-desc {
    color: #fff;
}

.box:hover .social li a {
    background: #fff;
    background-image: none;
    color: #000;
}

.box:hover .social li a:hover {
    background: #1d1d1d;
    color: #fff;
}

.image-wrapper {
    position: relative;
    max-width: 300px;
    max-height: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    padding: 15px;
    transition: all 0.5s ease;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.20);
}

.image-wrapper img {
    border-radius: 50%;
    transition: all 500ms ease;
}

.box-desc {
    position: relative;
}










/* EC TEAM */
/* 
.team {
    text-align: center;
    padding: 0px 0px
}

.team h2 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 2rem
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 60px;
}

.nav_ec {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5a623;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0
}

.nav_ec:hover {
    background: #d98e10
}

.info {
    margin-top: -40px;
    min-height: 90px;
    margin-right: 60px;

}

.ec-name {
    font-size: 30px;
    font-weight: 600;
    color: #5b4fcf;
    margin-bottom: 6px
}

.role-primary {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 2px 0
}

.role-secondary {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin: 2px 0
}

.role-tertiary {
    font-size: 18px;
    color: var(--color-text-tertiary);
    margin: 2px 0
}

.dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    max-width: 320px;
    margin: 1rem auto 0
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.2s
}

.dot.on {
    background: #5b4fcf;
    transform: scale(1.3)
}

.member-data {
    display: none
}
 */









/* Gallery */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.gallery-wrap {
    width: 100%;
    max-width: 1300px;
}

.gallery-title {
    font-size: 13px;
    color: #888;
    text-align: right;
    padding-bottom: 8px;
    letter-spacing: 0.05em;
}

.collage {
    display: grid;
    gap: 10px;
    width: 100%;
    grid-template-columns: repeat(12, 1fr);
}

.item {
    overflow: hidden;
    border-radius: 8px;
    background: #ddd;
    position: relative;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.item:hover img {
    transform: scale(1.05);
}

.item:hover .overlay {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

/* ── Desktop layout ── */
/* Row 1–2: large left + two right stacked */
.i1 {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    height: 320px;
}

.i2 {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
    height: 157px;
}

.i3 {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
    height: 157px;
}

.i4 {
    grid-column: 6 / 10;
    grid-row: 2 / 3;
    height: 157px;
}

.i5 {
    grid-column: 10 / 13;
    grid-row: 2 / 3;
    height: 157px;
}

/* Row 3: four unequal columns */
.i6 {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
    height: 200px;
}

.i7 {
    grid-column: 5 / 8;
    grid-row: 3 / 4;
    height: 200px;
}

.i8 {
    grid-column: 8 / 11;
    grid-row: 3 / 4;
    height: 200px;
}

.i9 {
    grid-column: 11 / 13;
    grid-row: 3 / 4;
    height: 200px;
}

/* ── Tablet ── */
@media (max-width: 700px) {
    .collage {
        grid-template-columns: repeat(6, 1fr);
    }

    .i1 {
        grid-column: 1 / 5;
        grid-row: 1 / 2;
        height: 200px;
    }

    .i2 {
        grid-column: 5 / 7;
        grid-row: 1 / 2;
        height: 100px;
    }

    .i3 {
        grid-column: 5 / 7;
        grid-row: 2 / 3;
        height: 97px;
    }

    .i4 {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
        height: 120px;
    }

    .i5 {
        grid-column: 4 / 7;
        grid-row: 2 / 3;
        height: 120px;
    }

    .i6 {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
        height: 130px;
    }

    .i7 {
        grid-column: 3 / 5;
        grid-row: 3 / 4;
        height: 130px;
    }

    .i8 {
        grid-column: 5 / 7;
        grid-row: 3 / 4;
        height: 130px;
    }

    .i9 {
        grid-column: 1 / 7;
        grid-row: 4 / 5;
        height: 130px;
    }
}

/* ── Mobile ── */
@media (max-width: 420px) {
    .collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .i1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        height: 170px;
    }

    .i2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        height: 170px;
    }

    .i3 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: 140px;
    }

    .i4 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        height: 140px;
    }

    .i5 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        height: 140px;
    }

    .i6 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        height: 140px;
    }

    .i7 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
        height: 140px;
    }

    .i8 {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
        height: 140px;
    }

    .i9 {
        grid-column: 1 / 3;
        grid-row: 5 / 6;
        height: 150px;
    }
}
















/* EC MEMBER */
/* ── Section ── */
.team-section {
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: #eef0f8;
}

/* ── Heading pill ── */

.section-heading h2 {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: wrap;
}

/* ── Hidden data ── */
.member-data {
    display: none;
}

/* ── Team wrapper ── */
.team {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: -60px;
}

/* ── Carousel row ── */
.carousel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    min-height: 320px;
}

/* ── Nav buttons ── */
.nav_ec {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f5a623;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(245, 166, 35, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.nav_ec:hover {
    background: #e0900a;
    transform: scale(1.1);
    box-shadow: 0 5px 18px rgba(245, 166, 35, 0.5);
}

.nav_ec:active {
    transform: scale(0.96);
}

/* ── Cards track ── */
.cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: visible;
    flex: 1;
    height: 340px;
    position: relative;
}

/* ── Individual card ── */
.card {
    position: absolute;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.55s cubic-bezier(0.34, 1.36, 0.64, 1),
        opacity 0.45s ease,
        filter 0.45s ease,
        z-index 0s,
        box-shadow 0.45s ease;
    will-change: transform, opacity, filter;
}

.card img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    transition: filter 0.45s ease;
}

/* ── Info block ── */
.info {
    text-align: center;
    min-height: 100px;
}

.info .ec-name {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 4px;
    transition: opacity 0.3s ease;
}

.info .role-primary {
    font-size: clamp(0.78rem, 1.6vw, 0.95rem);
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
    transition: opacity 0.3s ease;
}

.info .role-secondary {
    font-size: clamp(0.82rem, 1.6vw, 1rem);
    color: #333;
    font-weight: 500;
    margin-bottom: 2px;
    transition: opacity 0.3s ease;
}

.info .role-tertiary {
    font-size: clamp(0.78rem, 1.5vw, 0.92rem);
    color: #555;
    transition: opacity 0.3s ease;
}

.info.fading .ec-name,
.info.fading .role-primary,
.info.fading .role-secondary,
.info.fading .role-tertiary {
    opacity: 0;
}

/* ══════════════════════════════
     DESKTOP layout positions
  ══════════════════════════════ */
@media (min-width: 769px) {
    .cards {
        height: 340px;
    }

    /* pos -2 far left ghost */
    .card[data-pos="-2"] {
        width: 140px;
        height: 200px;
        transform: translateX(-340px) scale(0.72);
        opacity: 0.45;
        filter: grayscale(1);
        z-index: 1;
    }

    /* pos -1 left */
    .card[data-pos="-1"] {
        width: 180px;
        height: 250px;
        transform: translateX(-210px) scale(0.85);
        opacity: 0.75;
        filter: grayscale(1);
        z-index: 2;
    }

    /* pos 0 center ACTIVE */
    .card[data-pos="0"] {
        width: 300px;
        height: 340px;
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: grayscale(0);
        z-index: 5;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    }

    /* pos +1 right */
    .card[data-pos="1"] {
        width: 180px;
        height: 250px;
        transform: translateX(210px) scale(0.85);
        opacity: 0.75;
        filter: grayscale(1);
        z-index: 2;
    }

    /* pos +2 far right ghost */
    .card[data-pos="2"] {
        width: 140px;
        height: 200px;
        transform: translateX(340px) scale(0.72);
        opacity: 0.45;
        filter: grayscale(1);
        z-index: 1;
    }

    /* anything else hidden */
    .card[data-pos="hidden"] {
        transform: translateX(0) scale(0.5);
        opacity: 0;
        pointer-events: none;
        z-index: 0;
    }
}

/* ══════════════════════════════
     MOBILE layout
  ══════════════════════════════ */
@media (max-width: 768px) {
    .team-section {
        padding: 30px 12px 50px;
        gap: 28px;
    }

    .section-heading {
        padding: 0px 0px;
    }

    /* On mobile: arrows sit OVER the carousel section */
    .carousel {
        position: relative;
        min-height: 280px;
    }

    .nav_ec {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .nav_ec:hover {
        transform: translateY(-50%) scale(1.1);
    }

    .nav_ec:active {
        transform: translateY(-50%) scale(0.96);
    }

    #prev {
        left: 2px;
    }

    #next {
        right: 2px;
    }

    .cards {
        height: 280px;
        flex: 1;
    }

    /* Mobile positions — show 3 cards */
    .card[data-pos="-2"] {
        width: 65px;
        height: 85px;
        transform: translateX(-140px) scale(0.7);
        opacity: 0.35;
        filter: grayscale(1);
        z-index: 1;
    }

    .card[data-pos="-1"] {
        width: 90px;
        height: 120px;
        transform: translateX(-90px) scale(0.8);
        opacity: 0.6;
        filter: grayscale(1);
        z-index: 2;
    }

    .card[data-pos="0"] {
        width: 190px;
        height: 240px;
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: grayscale(0);
        z-index: 5;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
    }

    .card[data-pos="1"] {
        width: 90px;
        height: 120px;
        transform: translateX(90px) scale(0.8);
        opacity: 0.6;
        filter: grayscale(1);
        z-index: 2;
    }

    .card[data-pos="2"] {
        width: 65px;
        height: 85px;
        transform: translateX(140px) scale(0.7);
        opacity: 0.35;
        filter: grayscale(1);
        z-index: 1;
    }

    .card[data-pos="hidden"] {
        transform: translateX(0) scale(0.4);
        opacity: 0;
        pointer-events: none;
        z-index: 0;
    }
}

@media (max-width: 400px) {
    .card[data-pos="0"] {
        width: 160px;
        height: 210px;
    }

    .card[data-pos="-1"] {
        width: 75px;
        height: 100px;
        transform: translateX(-78px) scale(0.78);
    }

    .card[data-pos="1"] {
        width: 75px;
        height: 100px;
        transform: translateX(78px) scale(0.78);
    }

    .card[data-pos="-2"] {
        opacity: 0;
    }

    .card[data-pos="2"] {
        opacity: 0;
    }
}