.new-leadership-design {
    padding: 120px 0;
}
.new-leadership-design .leadership-list-header h2{
    margin-bottom: 32px;
}
.new-leadership-design .leadership-list-header .section-divider{
    content: "";
    background: linear-gradient(90deg, #544FF8 0%, #2EB6AE 100%);
    display: block;
    height: 2px;
    margin: 0 auto;
    margin-bottom: 42px;
    color: none;
    border: none;
    opacity: 1;
}
.new-leadership-design .leader-list .row{
    gap: 20px 0;
}

.new-leadership-design .category-headering{
    color: #000;
    text-align: center;
    font-size: 33px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    margin-top: 110px;
    margin-bottom: 32px;
}
.new-leadership-design .l-category .hr-color{
    background: linear-gradient(90deg, #544FF8 0%, #2EB6AE 100%);
    border: none !important;
    content: "";
    display: block;
    height: 2px;
    margin: 0;
    margin-bottom: 42px;
}

.new-leadership-design .leader-card-new {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-leadership-design .leader-image-wrap {
    position: relative;
    width: 100%;
    height: 460px;
    max-height: 460px;
    overflow: hidden;
}

.new-leadership-design .leader-image-wrap img.default-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    transform-origin: top center;
}

.new-leadership-design .leader-card-new:hover .leader-image-wrap img.default-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.new-leadership-design .overlay-gradient {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, #D8D6FF -1.96%, #F5F5F5 52.74%);
    z-index: -1;
    transition: background 0.3s ease;
}

.new-leadership-design .leader-card-new:hover .overlay-gradient {
    background: linear-gradient(145deg, rgba(84, 79, 248, 0.70) -1.96%, rgba(46, 182, 174, 0.10) 101.26%);
}

.new-leadership-design .overlay-gradient-blur {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 63.8%, #000 100%);
    backdrop-filter: blur(12px);
    pointer-events: none;
    z-index: 3;
    -webkit-mask-image: linear-gradient(180deg, transparent 63.8%, black 100%);
    mask-image: linear-gradient(180deg, transparent 0%, black 100%);
}

.new-leadership-design .leader-info {
    position: absolute;
    bottom: 0px;
    z-index: 4;
    border-radius: 0 0 12px 12px;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(12px);
    width: 100%;
    padding: 20px 20px 32px 32px;
}

.new-leadership-design .leader-info h3.title {
    color: #FFF;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 9px;
}

.new-leadership-design .leader-info p.designation {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    margin: 0;
    padding-right: 22px;
}

.new-leadership-design .linkedin-btn {
    position: absolute;
    bottom: 80px;
    right: 20px;
    width: 34px;
    height: 34px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.new-leadership-design .linkedin-btn img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: none !important;
    transform: none !important;
    display: block;
}

.new-leadership-design .leader-card-new:hover .linkedin-btn {
    opacity: 1;
    visibility: visible;
}

.leader-modal-new .modal-content {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(15px);
    position: relative;
}
.leader-modal-new .modal-content .modal-body{
    padding: 90px;
}

.leader-modal-new .custom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.leader-modal-new .custom-close img {
    display: block;
    filter: none;
}

.leader-modal-new .custom-close:hover {
    opacity: 0.8;
}

.leader-modal-new .leader-modal-image-wrap {
    position: relative;
    height: 100%;
    max-height: 460px;
    min-width: 388px;
}

.leader-modal-new .leader-modal-image-wrap img.grayscale-img {
    filter: grayscale(100%);
    border-radius: 12px;
}

.leader-modal-new .modal-content .model-row {
    gap: 32px;
    display: flex;
}

.leader-modal-image-wrap {
    border-radius: 12px;
    background: linear-gradient(145deg, #D8D6FF -1.96%, #F5F5F5 52.74%);
    overflow: hidden;
}

.leader-modal-image-wrap .overlay-gradient-blur {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 63.8%, #000 100%);
    backdrop-filter: blur(12px);
    pointer-events: none;
    z-index: 3;
    -webkit-mask-image: linear-gradient(180deg, transparent 63.8%, black 100%);
    mask-image: linear-gradient(180deg, transparent 0%, black 100%);
}

.leader-modal-new .leader-modal-image-wrap .leader-modal-info {
    position: absolute;
    bottom: 0px;
    z-index: 5;
    border-radius: 0 0 12px 12px;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(12px);
    width: 100%;
    padding: 20px 20px 32px 32px;
}

.leader-modal-new .leader-modal-info h3 {
    color: #FFF;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 9px;
}

.leader-modal-new .leader-modal-info p {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    margin: 0;
}

/* Custom scrollbar wrapper */
.leader-modal-new .leader-modal-bio-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-height: 460px;
    gap: 8px;
}

.leader-modal-new .leader-modal-bio {
    flex: 1;
    max-height: 460px;
    overflow-y: scroll;
    overflow-x: hidden;
    /* hide native scrollbar on all browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
}

.leader-modal-new .leader-modal-bio::-webkit-scrollbar {
    display: none;
    width: 0;
}

.custom-scrollbar-track {
    position: relative;
    width: 6px;
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 10px;
    align-self: stretch;
    display: none; /* hidden until JS confirms content overflows */
}

/* custom scrollbar thumb */
.custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 30px;
    background: #544FF8;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.custom-scrollbar-thumb:hover {
    background: #3d38e0;
}

.leader-modal-bio p {
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin-bottom: 25px;
}

@media (max-width: 1199.98px) {
    .leader-modal-new .leader-modal-image-wrap {
        min-width: 310px;
    }
    .new-leadership-design{
        padding: 80px 0;
    }
    .new-leadership-design .leader-info h3.title{
        font-size: 26px;
    }
    .new-leadership-design .category-headering{
        margin-top: 80px;
        font-size: 32px;
    }
    .leader-modal-new .modal-content .modal-body {
        padding: 78px 18px 54px 35px;
    }
    .modal.show .modal-dialog {
        min-width: 90% !important;
    }
    .leader-modal-new .modal-content .model-row {
        gap: 16px;
    }
    .leader-modal-new .leader-modal-content-content-col{
        overflow-y: visible;
    }
    .leader-modal-new .leader-modal-bio-wrap {
        max-height: 400px !important;
    }
    .leader-modal-new .leader-modal-bio {
        max-height: 400px !important;
        padding: 0 !important;
        margin-right: 17px;
    }
}

@media (max-width: 991.98px) {
    .leader-modal-new .leader-modal-bio-wrap {
        width: 84% !important;
    }
}

@media (max-width: 767.98px) {
    .new-leadership-design{
        padding: 60px 0;
    }
    .new-leadership-design .leadership-list-header .section-divider{
        margin-bottom: 32px;
    }
    .new-leadership-design .leader-info h3.title{
        font-size: 24px;
    }
    .new-leadership-design .leader-info p.designation{
        font-size: 16px;
    }
    .new-leadership-design .category-headering{
        margin-top: 60px;
        font-size: 28px;
    }
    .new-leadership-design .l-category .hr-color{
        margin-bottom: 32px;
    }
    .leader-modal-new .modal-content .model-row {
        display: block;
    }
    .leader-modal-img-col{
        padding: 0px;
    }
    .leader-modal-new .leader-modal-bio-wrap {
        max-height: 250px !important;
        width: 96% !important;
        margin: 24px auto 0;
    }
    .leader-modal-new .leader-modal-bio {
        padding: 0px !important;
        max-height: 250px !important;
        overflow-y: scroll !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        margin: 0;
    }
    .leader-modal-new .leader-modal-bio::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
    }
    .leader-modal-bio p{
        padding: 0px 20px 10px 20px;
        text-align: center;
    }
    .leader-modal-new .modal-content .modal-body{
        padding: 40px 10px 15px;
    }
    .leader-modal-new .custom-close img{
        width: 24px;
        height: 24px;
    }
    .leader-modal-new .custom-close {
        top: 10px;
        right: 10px;
    }
}