﻿/* ==========================================================================
   Leadership page
   File: assets/user/css/leadership.css
   ========================================================================== */

.ld-wrap {
    padding-bottom: 40px;
}

.ld-svg-defs {
    display: none;
}

.sub_banner + .ld-wrap {
    margin-top: -50px;
}

/* --------------------------- Section headings ---------------------------- */

.ld-block {
    padding: 20px 0;
}


.ld-block-head {
    margin-bottom: 28px;
}

.ld-block-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0078bf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
    line-height: 1;
    text-transform: uppercase;
}


.ld-block-head h2 {
    margin: 16px 0 0;
    color: #0b2f57;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 3.1vw, 38px);
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1.15;
    text-transform: uppercase;
}

/* ------------------------------- Slider ---------------------------------- */

.ld-slider-block {
    width: 100%;
    margin: 0;
    padding: 0 !important;
    background-image:
        linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.92) 40%, rgba(247, 249, 251, 0.64) 100%),
        url('../images/leadership-building-bg.jpg'),
        radial-gradient(ellipse at 82% 48%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(115deg, #f1f5f8 0%, #f8fafc 58%, #edf3f8 100%);
    background-position: center, right center, center, center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%, cover, cover;
}

.ld-slider-block > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: clamp(22px, 4.4vw, 84px);
    padding-left: clamp(22px, 4.4vw, 84px);
}

.ld-slider-heading {
    position: relative;
    z-index: 2;
    margin: 0 clamp(20px, 4.4vw, 84px);
    padding-top: 30px;
}

.ld-slider-heading > span {
    display: block;
    margin-bottom: 8px;
    color: #1d6cb3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.2px;
    line-height: 1.2;
    text-transform: uppercase;
}

.ld-slider-heading h2 {
    margin: 0;
    color: #0b2f57;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.08;
    text-transform: uppercase;
}

.ld-slider-heading h2 strong {
    color: #1978b9;
    font-weight: 600;
}

.leadership_carousel {
    position: relative;
    margin-bottom: 0 !important;
}

.leadership_carousel .item {
    padding: 0;
}

.ld-ref {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px clamp(20px, 4.4vw, 84px) 34px;
    background: transparent;
    overflow: hidden;
}

/* Faint brand watermark */

.ld-ref-watermark {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    padding-right: 1%;
    color: #022033;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(42px, 8.5vw, 128px);
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    opacity: 0.035;
    white-space: nowrap;
    text-align: right;
    pointer-events: none;
    user-select: none;
}

.ld-ref-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.06fr);
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.ld-ref-photo {
    position: relative;
}

.ld-ref-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ld-ref-content h3 {
    margin: 0 0 18px;
    color: #0078bf;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.1;
    text-transform: uppercase;
}

.ld-ref-role {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    color: #1d6cb3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.ld-ref-content .ld-desc-content {
    color: #3e4a57;
    font-size: 16.5px;
    line-height: 1.75;
    text-align: justify;
    -webkit-line-clamp: 6;
}

.ld-ref-content .ld-desc-content p {
    margin-bottom: 12px;
}

.ld-ref-content .ld-desc-content p:last-child {
    margin-bottom: 0;
}

.ld-ref-content .ld-desc-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 28px;
    border-radius: 12px;
    background: #0078bf;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.ld-ref-content .ld-desc.is-long .ld-desc-toggle {
    display: inline-flex;
}

.ld-ref-content .ld-desc-toggle:hover,
.ld-ref-content .ld-desc-toggle:focus-visible {
    background: #08355f;
    color: #fff;
    transform: translateX(2px);
}

.ld-ref-content .ld-desc-toggle i {
    font-size: 11px;
}

/* Navy corner + gold dots */

/* Slide entrance */

.leadership_carousel .owl-item.active .ld-ref-photo,
.leadership_carousel .owl-item.active .ld-ref-content {
    animation-duration: 0.72s;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    animation-fill-mode: both;
}

.leadership_carousel .owl-item.active .ld-ref-photo {
    animation-name: ldPhotoIn;
}

.leadership_carousel .owl-item.active .ld-ref-content {
    animation-name: ldContentIn;
}

.leadership_carousel .owl-item.active .ld-ref-content {
    animation-delay: 0.12s;
}

@keyframes ldPhotoIn {
    from {
        opacity: 0;
        transform: translateX(-42px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ldContentIn {
    from {
        opacity: 0;
        transform: translateX(42px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------- People ---------------------------------- */

.ld-page-people {
    background:
        radial-gradient(ellipse at 8% 0%, rgba(0, 120, 191, 0.08) 0%, rgba(0, 120, 191, 0) 50%),
        radial-gradient(ellipse at 95% 92%, rgba(0, 169, 224, 0.1) 0%, rgba(0, 169, 224, 0) 55%),
        linear-gradient(180deg, #fbfdff 0%, #f2f8fc 100%);
}

.ld-cards {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ld-tcard {
    display: grid;
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.45fr);
    align-items: stretch;
    width: 90%;
    margin-right: auto;
    overflow: hidden;
    border: 1px solid rgba(11, 47, 87, 0.07);
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 26px 60px -46px rgba(2, 32, 51, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ld-tcard:nth-child(even) {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.78fr);
    margin-right: 0;
    margin-left: auto;
}

.ld-tcard:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 47, 87, 0.16);
    box-shadow:
        0 34px 70px -42px rgba(2, 32, 51, 0.6),
        0 0 0 1px rgba(0, 120, 191, 0.1);
}

.ld-tcard-title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 38px 34px;
    background:
        radial-gradient(circle at 90% 10%, rgba(0, 169, 224, 0.12) 0%, rgba(0, 169, 224, 0) 60%),
        linear-gradient(160deg, #f8fcff 0%, #eaf3fa 100%);
    overflow: hidden;
}

.ld-tcard-title::before {
    content: attr(data-initial);
    position: absolute;
    right: -12px;
    bottom: -58px;
    color: #0b2f57;
    font-family: 'Oswald', sans-serif;
    font-size: 210px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
}

.ld-tcard:nth-child(even) .ld-tcard-title {
    order: 2;
}

.ld-tcard-description {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 34px clamp(26px, 3.5vw, 50px);
    background: linear-gradient(120deg, #ffffff 0%, #f6fafd 100%);
}

.ld-tcard-title h3 {
    position: relative;
    z-index: 1;
    margin: 10px 0 0;
    color: #0b2f57;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(22px, 2.3vw, 32px);
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1.15;
    text-transform: uppercase;
}

.ld-tcard-role {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 0;
    color: #0879b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
}

.ld-tcard .ld-desc-content {
    position: relative;
    z-index: 1;
    margin-top: 0;
    color: #52657a;
    font-size: 15.5px;
    line-height: 1.85;
    text-align: justify;
    -webkit-line-clamp: 6;
}

.ld-tcard .ld-desc-content p {
    margin-bottom: 12px;
}

.ld-tcard .ld-desc-content p:last-child {
    margin-bottom: 0;
}

.ld-tcard .ld-desc-toggle {
    margin-top: 16px;
    color: #0879b8;
}

.ld-tcard .ld-desc-toggle:hover,
.ld-tcard .ld-desc-toggle:focus-visible {
    color: #0b2f57;
}

/* ------------------------------- Read more -------------------------------- */

.ld-desc {
    position: relative;
}

.ld-desc-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.ld-desc-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: #0078bf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ld-desc-toggle:hover,
.ld-desc-toggle:focus-visible {
    color: #022033;
}

.ld-desc-toggle i {
    font-size: 10px;
}

.ld-desc.is-long .ld-desc-toggle {
    display: inline-flex;
}

.ld-desc.is-measuring .ld-desc-content {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* -------------------------------- Modal ---------------------------------- */

.ld-modal {
    position: fixed;
    inset: 0;
    z-index: 20000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ld-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.ld-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 32, 51, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ld-modal-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: 84vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 46px 48px 42px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 90px rgba(2, 32, 51, 0.35);
    opacity: 0;
    transform: translateY(26px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
}

.ld-modal-dialog::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.ld-modal.is-open .ld-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ld-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #022033;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ld-modal-close:hover,
.ld-modal-close:focus-visible {
    background: #0078bf;
    color: #fff;
    transform: rotate(90deg);
}

.ld-modal-name {
    margin: 0 44px 10px 0;
    color: #022033;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.2;
    text-transform: uppercase;
}

.ld-modal-role {
    display: block;
    margin-bottom: 22px;
    color: #0078bf;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.ld-modal-body {
    color: #4b5c6e;
    font-size: 15.5px;
    line-height: 1.9;
    text-align: justify;
}

.ld-modal-body p {
    margin-bottom: 14px;
}

.ld-modal-body p:last-child {
    margin-bottom: 0;
}

body.ld-modal-open {
    overflow: hidden;
}

/* --------------------------- Owl controls -------------------------------- */

.leadership_carousel .owl-nav {
    display: none !important;
}

.leadership_carousel.owl-theme .owl-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin: 6px 0 0 !important;
}

.leadership_carousel.owl-theme .owl-dots .owl-dot {
    padding: 0;
    background: transparent !important;
}

.leadership_carousel.owl-theme .owl-dots .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 100px;
    background: #c3d4e2;
    transition: width 0.3s ease, background 0.3s ease;
}

.leadership_carousel.owl-theme .owl-dots .owl-dot:hover span {
    background: #7fa9c6;
}

.leadership_carousel.owl-theme .owl-dots .owl-dot.active span {
    width: 30px;
    background: #0b2f57;
}

.ld-slider-block {
    padding-bottom: 26px !important;
}

/* ------------------------------- Responsive ------------------------------ */

@media (max-width: 1199px) {
    .sub_banner + .ld-wrap {
        margin-top: -30px;
    }

    .ld-cards {
        gap: 22px;
    }

    .ld-tcard {
        width: 97%;
        grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    }

    .ld-tcard:nth-child(even) {
        grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.72fr);
    }
}

@media (max-width: 991px) {
    .ld-block {
        padding: 56px 0;
    }

    .ld-block-head {
        margin-bottom: 36px;
    }

    .ld-ref-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }
}

@media (max-width: 767px) {
    .ld-block {
        padding: 44px 0;
    }

    .ld-slider-heading {
        margin: 0 22px;
        padding-top: 24px;
    }

    .ld-slider-heading > span {
        font-size: 10px;
        letter-spacing: 2.6px;
    }

    .ld-slider-heading h2 {
        font-size: clamp(30px, 8vw, 40px);
    }

    .ld-ref-content h3 {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .ld-ref-role {
        font-size: 11.5px;
        margin-bottom: 18px;
    }

    .ld-ref-content .ld-desc-content {
        font-size: 14.5px;
    }

    .ld-tcard,
    .ld-tcard:nth-child(even) {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        margin-right: 0;
        margin-left: 0;
        border-radius: 18px;
    }

    .ld-tcard:nth-child(even) .ld-tcard-title {
        order: 0;
    }

    .ld-tcard-title {
        padding: 26px 22px;
    }

    .ld-tcard-title h3 {
        font-size: 22px;
    }

    .ld-tcard-title::before {
        font-size: 150px;
        bottom: -46px;
    }

    .ld-tcard-description {
        padding: 22px;
    }

    .ld-tcard .ld-desc-content {
        font-size: 14.5px;
        -webkit-line-clamp: 5;
    }

    .ld-modal {
        padding: 14px;
    }

    .ld-modal-dialog {
        padding: 34px 22px 28px;
        border-radius: 18px;
        max-height: 88vh;
    }

    .ld-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .ld-modal-name {
        font-size: 21px;
    }

    .ld-modal-body {
        font-size: 14.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .leadership_carousel .owl-item.active .ld-ref-photo,
    .leadership_carousel .owl-item.active .ld-ref-content {
        animation: none;
    }

    .ld-desc-toggle i {
        transition-duration: 0.01ms !important;
    }

    .ld-modal,
    .ld-modal-dialog,
    .ld-modal-close {
        transition-duration: 0.01ms !important;
    }
}
