/* =========================================================
   ARPIVA TECHNOLOGIES
   LEADERSHIP PAGE — PREMIUM UI
   ========================================================= */

.leadership-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #081b4b;
}

/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.leadership-page .container {
    width: min(1180px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   HERO
   ========================================================= */

.leadership-hero {
    position: relative;
    min-height: 470px;

    display: flex;
    align-items: center;

    margin-top: 0;
    padding: 90px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(38, 119, 255, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(255, 159, 10, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #06153d 0%,
            #09275f 48%,
            #123c8d 100%
        );
}

.leadership-hero::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    top: -250px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.10);
    box-shadow:
        0 0 0 80px rgba(255,255,255,.025),
        0 0 0 160px rgba(255,255,255,.018);
}

.leadership-hero::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: rgba(255,255,255,.12);
}

.leadership-hero-content {
    position: relative;
    z-index: 3;

    max-width: 850px;

    padding-top: 30px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;

    padding: 9px 18px;

    border-radius: 100px;

    border: 1px solid rgba(255,255,255,.18);

    background: rgba(255,255,255,.07);

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.7px;

    backdrop-filter: blur(10px);

    margin-bottom: 25px;
}

.leadership-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 5vw, 68px);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2.5px;
}

.leadership-hero h1 span {
    color: #ff9f0a;
}

.leadership-hero p {
    max-width: 680px;

    margin: 28px 0 0;

    color: #d7e5ff;

    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.leadership-intro {
    padding: 105px 0 80px;

    background: #ffffff;
}

.leadership-intro-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: start;
}

.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #1769ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.7px;
}

.leadership-intro h2 {
    margin: 0;

    color: #081b4b;

    font-size: 46px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.leadership-intro p {
    margin: 0 0 20px;

    color: #5b6f8f;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   TEAM SECTION
   ========================================================= */

.leadership-team {
    padding: 35px 0 115px;

    background:
        linear-gradient(
            180deg,
            #f7faff 0%,
            #f2f6fc 100%
        );
}

.leadership-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   LEADER CARD
   ========================================================= */

.leader-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border-radius: 24px;

    background: #ffffff;

    border: 1px solid #e3eaf4;

    box-shadow:
        0 10px 35px rgba(8, 27, 75, .07);

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        box-shadow .4s ease;
}

.leader-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 28px 70px rgba(8, 27, 75, .15);
}

.leader-card-featured {
    border-color: rgba(255,159,10,.35);

    box-shadow:
        0 12px 45px rgba(8,27,75,.09);
}


/* =========================================================
   IMAGE
   ========================================================= */

.leader-image {
    position: relative;

    width: 100%;
    height: 390px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #081b4b,
            #123c8d
        );
}

.leader-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);
}

.leader-card:hover .leader-image img {
    transform: scale(1.045);
}

.leader-image-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(4, 16, 43, .40) 100%
        );
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.leader-content {
    padding: 28px 30px 30px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.leader-role {
    display: block;

    margin-bottom: 10px;

    color: #1769ff;

    font-size: 10px;

    font-weight: 800;

    line-height: 1.5;

    letter-spacing: 1.2px;
}

.leader-content h3 {
    margin: 0 0 14px;

    color: #081b4b;

    font-size: 27px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.5px;
}

.leader-content p {
    margin: 0 0 22px;

    color: #657894;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   TAGS
   ========================================================= */

.leader-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: auto;
}

.leader-tags span {
    display: inline-flex;

    padding: 7px 11px;

    border-radius: 50px;

    background: #eef4ff;

    color: #174b9b;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .2px;
}


/* =========================================================
   CLOSING CTA
   ========================================================= */

.leadership-closing {
    padding: 100px 0;

    background: #ffffff;
}

.leadership-closing-box {
    position: relative;

    overflow: hidden;

    padding: 75px 60px;

    border-radius: 30px;

    text-align: center;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(39,120,255,.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071947,
            #123c8d
        );

    box-shadow:
        0 25px 70px rgba(8,27,75,.15);
}

.leadership-closing-box::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(255,159,10,.07);
}

.leadership-closing-box .section-eyebrow {
    position: relative;
    z-index: 2;
}

.leadership-closing-box h2 {
    position: relative;
    z-index: 2;

    margin: 0 0 20px;

    color: #ffffff;

    font-size: 44px;

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1px;
}

.leadership-closing-box p {
    position: relative;
    z-index: 2;

    max-width: 720px;

    margin: auto;

    color: #d9e6ff;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .leadership-page .container {
        width: min(720px, calc(100% - 50px));
    }

    .leadership-hero {
        min-height: 420px;
    }

    .leadership-intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .leadership-page .container {
        width: calc(100% - 36px);
    }

    .leadership-hero {
        min-height: auto;

        padding: 75px 0;
    }

    .leadership-hero-content {
        padding-top: 20px;
    }

    .leadership-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .leadership-hero p {
        font-size: 16px;
    }

    .leadership-intro {
        padding: 70px 0 55px;
    }

    .leadership-intro h2 {
        font-size: 37px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leader-image {
        height: 430px;
    }

    .leadership-closing {
        padding: 65px 0;
    }

    .leadership-closing-box {
        padding: 55px 25px;
    }

    .leadership-closing-box h2 {
        font-size: 34px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .leadership-hero h1 {
        font-size: 36px;
    }

    .leader-image {
        height: 400px;
    }

}
/* =========================================================
   PREMIUM LEADERSHIP ANIMATIONS
   ========================================================= */

/* ---------- HERO BACKGROUND ---------- */

.leadership-hero {
    background-size: 180% 180%;
    animation: leadershipGradient 14s ease infinite;
}

@keyframes leadershipGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* ---------- HERO DECORATION ---------- */

.leadership-hero::before {
    animation: leadershipOrb 12s ease-in-out infinite alternate;
}

@keyframes leadershipOrb {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(-30px, 25px, 0) scale(1.08);
    }
}


/* ---------- HERO CONTENT ---------- */

.leadership-hero-content {
    animation: leadershipHeroIn .9s cubic-bezier(.22,1,.36,1) both;
}

@keyframes leadershipHeroIn {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- EYEBROW ---------- */

.leadership-hero .section-eyebrow {
    animation:
        leadershipHeroIn .8s .05s cubic-bezier(.22,1,.36,1) both;
}


/* ---------- HERO TITLE ---------- */

.leadership-hero h1 {
    animation:
        leadershipHeroIn .9s .15s cubic-bezier(.22,1,.36,1) both;
}


/* ---------- HERO DESCRIPTION ---------- */

.leadership-hero p {
    animation:
        leadershipHeroIn .9s .28s cubic-bezier(.22,1,.36,1) both;
}


/* =========================================================
   SECTION REVEAL
   ========================================================= */

.leadership-intro,
.leadership-team,
.leadership-closing {
    animation: sectionReveal .9s ease both;
}

@keyframes sectionReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LEADERSHIP CARDS
   ========================================================= */

.leader-card {
    opacity: 0;
    animation: leaderCardReveal .8s cubic-bezier(.22,1,.36,1) forwards;
}

.leader-card:nth-child(1) {
    animation-delay: .10s;
}

.leader-card:nth-child(2) {
    animation-delay: .22s;
}

.leader-card:nth-child(3) {
    animation-delay: .34s;
}

@keyframes leaderCardReveal {
    from {
        opacity: 0;
        transform: translateY(45px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   PREMIUM CARD HOVER
   ========================================================= */

.leader-card {
    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        box-shadow .45s ease,
        border-color .45s ease;
}

.leader-card:hover {
    transform: translateY(-12px);
    border-color: rgba(23,105,255,.25);

    box-shadow:
        0 25px 65px rgba(8,27,75,.14);
}


/* =========================================================
   IMAGE ZOOM
   ========================================================= */

.leader-image {
    overflow: hidden;
}

.leader-image img {
    transition:
        transform .8s cubic-bezier(.22,1,.36,1),
        filter .5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.055);
}


/* =========================================================
   IMAGE LIGHT SWEEP
   ========================================================= */

.leader-image::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.13),
            transparent
        );

    transform: skewX(-18deg);

    pointer-events: none;

    transition: left .8s ease;
}

.leader-card:hover .leader-image::after {
    left: 140%;
}


/* =========================================================
   FEATURED CEO CARD
   ========================================================= */

.leader-card-featured {
    transform: translateY(-10px);
    position: relative;
}

.leader-card-featured::before {
    content: "";

    position: absolute;

    top: 0;
    left: 20px;
    right: 20px;

    height: 3px;

    border-radius: 0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            #1769ff,
            #ff9f0a
        );

    transform: scaleX(.25);
    transform-origin: center;

    transition: transform .5s ease;

    z-index: 5;
}

.leader-card-featured:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   ROLE ANIMATION
   ========================================================= */

.leader-role {
    position: relative;
    width: fit-content;
}

.leader-role::after {
    content: "";

    display: block;

    width: 0;
    height: 2px;

    margin-top: 5px;

    border-radius: 5px;

    background: #ff9f0a;

    transition: width .4s ease;
}

.leader-card:hover .leader-role::after {
    width: 100%;
}


/* =========================================================
   TAG HOVER
   ========================================================= */

.leader-tags span {
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.leader-tags span:hover {
    background: #1769ff;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   CLOSING CTA
   ========================================================= */

.leadership-closing-box {
    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.leadership-closing-box:hover {
    transform: translateY(-5px);

    box-shadow:
        0 35px 90px rgba(8,27,75,.20);
}


/* =========================================================
   CTA BACKGROUND LIGHT
   ========================================================= */

.leadership-closing-box::before {
    animation: closingOrb 9s ease-in-out infinite alternate;
}

@keyframes closingOrb {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(45px, -25px);
    }
}


/* =========================================================
   SCROLL-LIKE FLOATING EFFECT
   ========================================================= */

.leadership-team .section-label {
    position: relative;
}

.leadership-team .section-label::before {
    content: "";

    display: inline-block;

    width: 28px;
    height: 2px;

    margin-right: 10px;

    vertical-align: middle;

    background: #ff9f0a;

    animation: labelLine 2s ease-in-out infinite alternate;
}

@keyframes labelLine {
    from {
        width: 20px;
    }

    to {
        width: 38px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .leadership-hero,
    .leadership-hero::before,
    .leadership-hero-content,
    .leadership-hero .section-eyebrow,
    .leadership-hero h1,
    .leadership-hero p,
    .leadership-intro,
    .leadership-team,
    .leadership-closing,
    .leader-card,
    .leadership-closing-box::before,
    .leadership-team .section-label::before {
        animation: none !important;
    }

    .leader-card,
    .leadership-closing-box {
        opacity: 1;
        transform: none;
    }
}