html {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

html.lp-modal-open,
body.lp-modal-open,
body.ios-device.lp-modal-open {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
}

.right-border {
    position: relative;
    padding: 15px;
    margin-left: 30px;
    padding-top: 12px;
}


@supports (-webkit-touch-callout: none) {

    html.lp-modal-open,
    body.lp-modal-open {
        overflow: hidden !important;
        touch-action: none;
        overscroll-behavior: none;
    }

    .lp-modal {
        position: fixed;
        inset: 0;
        overflow: hidden;
    }

    .lp-modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}


.right-border::after {
    content: '';
    position: absolute;
    height: 0;
    width: 1px;
    border-left: 3px solid #ECB24F;
    border-bottom: 3px solid #ECB24F;
    border-radius: 0 0 0 32px;
    border-right: none;
    border-top: none;
    top: 16px;
    left: -16px;
    pointer-events: none;
    transition: none;
}

.right-border.animate-border::after {
    animation: drawLine 3s linear forwards;
}

@keyframes drawLine {
    0% {
        width: 1px;
        height: 0;
    }

    50% {
        width: 1px;
        height: 100%;
    }

    100% {
        width: 100%;
        height: 100%;
    }
}

.leadership-positions-section {
    background-color: #fff;
    position: relative;
    z-index: 100 !important;
    display: block !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.lp-title {
    color: #173c5f;
    font-weight: 400;
    margin-bottom: 10%;
    text-align: center;
    font-size: clamp(28px, 2.5vw, 48px);
    line-height: 1.2;
}

.lp-container {
    margin: 0 auto;
    position: relative;
}

.lp-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.lp-row:last-child {
    margin-bottom: 0;
}

.lp-row-reverse {
    flex-direction: row-reverse;
}

.lp-image-box {
    width: 65%;
    position: relative;
    z-index: 1;
}

.lp-image-box img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lp-card {
    width: 45%;
    height: 250px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border: none;
}

.lp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lp-card-blue {
    background-color: #00416b;
    color: #fff;
    right: 0;
}

.lp-card-yellow {
    background-color: #ecb250;
    color: #173c5f;
    left: 0;
}

.lp-card h3 {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    color: inherit;
}

.svg-section-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.svg-section-big embed {
    display: block;
}

.lp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.lp-modal.is-open {
    display: flex;
}

.lp-modal-content {
    background-color: #fff;
    padding: 34px 34px 42px;
    max-width: 760px;
    width: min(760px, 100%);
    position: relative;
    text-align: left;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    max-height: calc(60vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lp-modal-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 14px;
    background: #ecb250;
    border-radius: 0 0 22px 22px;
}

.lp-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
    border: none;
    background: #ecb250;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-modal-title {
    display: none;
}

.lp-modal-body {
    color: #173c5f;
    font-size: 15px;
    line-height: 1.6;
    font-family: 'Merriweather', serif;
    margin-top: 20px;
    padding-right: 10px;
    padding-bottom: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: calc(100vh - 150px);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

@supports (height: 100dvh) {
    body.ios-device .lp-modal-body {
        max-height: calc(100dvh - 150px);
    }
}

.lp-modal-body::-webkit-scrollbar {
    width: 6px;
}

.lp-modal-body::-webkit-scrollbar-thumb {
    background: rgba(23, 60, 95, 0.35);
    border-radius: 999px;
}

.lp-modal-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
}

.lp-modal-media {
    margin-top: 32px;
}

.lp-modal-image {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.lp-modal-copy {
    padding-right: 18px;
}

.lp-modal-heading {
    margin: 18px 0 12px;
    color: #ecb250;
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
}

.lp-modal-paragraph {
    margin: 0 0 20px;
    font-size: 19px;
    color: #173c5f;
    font-family: 'Merriweather', serif;
    line-height: 1.45;
}

.lp-modal-paragraph:last-child {
    margin-bottom: 0;
}

.lp-modal-paragraph strong {
    font-weight: 700;
}

.lp-border-rtob {
    position: relative;
}

.lp-border-rtob::after {
    content: '';
    position: absolute;
    height: 0;
    width: 1px;
    border-right: 3px solid #ECB24F;
    border-bottom: 3px solid #ECB24F;
    border-left: none;
    border-top: none;
    border-radius: 0 0 28px 0;
    top: 2%;
    right: -4%;
    left: auto;
    pointer-events: none;
    transition: none;
}

.lp-border-rtob.lp-border-animate::after {
    animation: drawLineRtoB 3s linear forwards;
}

.contain-hover {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    flex: 15%;
    height: calc(100vh - 100px);
    margin: 15px 0;
    cursor: pointer;
    transition: all 1.5s;
    border: none;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #134168db 20%, transparent 39%);
}

.txt-con {
    position: absolute;
    bottom: 50px;
    left: 33px;
    right: 10px;
}

.card p {
    font-family: 'Lato', sans-serif;
    color: #FFF !important;
    font-size: 30px;
    font-weight: 400;
    line-height: 100% !important;
}

.card:hover {
    flex: 95vw;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (min-width: 1200px) {
    .card p {
        display: inline-block;
        white-space: nowrap;
    }

    .contain-hover:hover .card:not(:hover) .txt-con a {
        opacity: 0;
        display: none;
    }

    .card:hover .txt-con {
        transform: none;
    }

    .contain-hover:hover .card:not(:hover) .txt-con {
        transform: rotate(270deg);
        bottom: 100px;
    }
}

@keyframes drawLineRtoB {
    0% {
        width: 1px;
        height: 0;
    }

    50% {
        width: 1px;
        height: 105%;
    }

    100% {
        width: 102%;
        height: 105%;
    }
}

@media (max-width: 991px) {
    .lp-row {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .lp-image-box {
        width: 90%;
    }

    .lp-card {
        position: relative;
        width: 80%;
        margin-top: -50px;
        right: auto;
        left: auto;
        height: auto;
        min-height: 180px;
    }

    .lp-title {
        font-size: 28px;
    }

    .lp-modal-layout {
        grid-template-columns: 1fr;
    }

    .lp-modal-media {
        margin-top: 10px;
        max-width: 240px;
    }

    .lp-modal-copy {
        padding-right: 0;
    }

    .contain-hover {
        flex-wrap: wrap;
        height: auto;
    }

    .card {
        flex: 98% !important;
        height: 420px;
    }
    .right-border::after {
        width: 0;
        height: 1px;
        border-left: none;
        border-bottom: none;
        border-top: 3px solid #ECB24F;
        border-right: 3px solid #ECB24F;
        border-radius: 0 32px 0 0;
        top: -12px !important;
        left: 10px !important;
    }
    .lp-border-rtob::after {
        width: 0;
        height: 1px;
        border-right: none;
        border-bottom: none;
        border-top: 3px solid #ECB24F;
        border-left: 3px solid #ECB24F;
        border-radius: 32px 0 0 0;
        top: -12px;
        right: 6px;
        left: auto;
    }
    .right-border {
        margin-left: 0;
        padding-top: 15px;
    }
    .lp-image-box {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .right-border {
        margin-left: 0;
        padding-top: 15px;
    }

    .right-border::after {
        width: 0;
        height: 1px;
        border-left: none;
        border-bottom: none;
        border-top: 3px solid #ECB24F;
        border-right: 3px solid #ECB24F;
        border-radius: 0 32px 0 0;
        top: -12px !important;
        left: 10px !important;
    }

    @keyframes drawLine {
        0% {
            width: 0;
            height: 1px;
        }

        50% {
            width: 100%;
            height: 1px;
        }

        100% {
            width: 100%;
            height: 100%;
        }
    }

    .lp-border-rtob {
        padding: 20px;
    }

    .lp-border-rtob::after {
        width: 0;
        height: 1px;
        border-right: none;
        border-bottom: none;
        border-top: 3px solid #ECB24F;
        border-left: 3px solid #ECB24F;
        border-radius: 32px 0 0 0;
        top: -12px;
        right: 6px;
        left: auto;
    }

    @keyframes drawLineRtoB {
        0% {
            width: 0;
            height: 1px;
        }

        50% {
            width: 100%;
            height: 1px;
        }

        100% {
            width: 100%;
            height: 100%;
        }
    }

    .lp-image-box {
        width: 100%;
    }

    .lp-card {
        margin-top: -7%;
        min-height: 150px;
        padding: 28px 20px;
        width: 80%;
    }

    .lp-card h3 {
        font-size: 26px;
    }

    .lp-modal-content {
        padding: 22px 18px 34px;
    }

    .lp-modal-close {
        top: 14px;
        right: 14px;
    }

    .lp-modal-heading {
        margin-top: 8px;
        padding-right: 44px;
        font-size: 24px;
    }

    .lp-modal-paragraph {
        font-size: 16px;
        line-height: 1.55;
    }

    body.ios-device .lp-modal-content {
        max-height: calc(80vh - 40px);
    }

    @supports (height: 100dvh) {
        body.ios-device .lp-modal-content {
            max-height: calc(80dvh - 40px);
        }
    }

    .card {
        flex: 100% !important;
        height: 340px;
    }

    .txt-con {
        left: 20px;
        bottom: 24px;
    }

    .card p {
        font-size: 24px;
    }
}

.px-xl-6 {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
}

@media (max-width: 1024px) {
    .px-xl-6 {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
    .contain-hover{
        height: 50vh;
    }
    .card{
        height: 40vh;
    }
}

@media (max-width: 420px) {
    .right-border::after {
        top: -6px !important;
        left: 4px !important;
    }

    .lp-border-rtob::after {
        top: -6px;
        right: 0;
    }

    .lp-card {
        margin-top: -11%;
    }
}
