/* ==========================================================================
   CARE-HOSPITAL - ENTERPRISE FOCUS AREAS SECTION STYLES (enterprize.css)
   ========================================================================== */
body {
    background: #ffffff;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--common-gredient);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px 8px 0 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 1px) calc(100% - 13px), calc(100% - 4px) calc(100% - 10px), calc(100% - 10px) calc(100% - 4px), calc(100% - 13px) calc(100% - 1px), calc(100% - 16px) 100%, 0 100%);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brands-section {
    background: #ffffff;
}

.focusarea-section {
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 0px;
}

.focusarea-title {
    font-weight: 500;
    color: #1e1e1e;
    margin-bottom: 30px;
    line-height: 1.25;
}

.focusarea-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;

    /* Hide scrollbar by default */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.focusarea-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

/* In case scrollbar is visible, style it thin and matching the theme */
.focusarea-grid.show-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #8570B1 #e2e8f0;
}

.focusarea-grid.show-scrollbar::-webkit-scrollbar {
    display: block;
    height: 6px;
}

.focusarea-grid.show-scrollbar::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.focusarea-grid.show-scrollbar::-webkit-scrollbar-thumb {
    background: var(--common-gredient);
    border-radius: 10px;
}

/* Fallback thin scrollbar styling for webkit browser defaults if forced */
@media (hover: hover) {
    .focusarea-grid:hover {
        scrollbar-width: thin;
        scrollbar-color: #8570B1 rgba(133, 112, 177, 0.1);
    }

    /* Show thin scrollbar on hover for a subtle premium detail */
    .focusarea-grid:hover::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .focusarea-grid::-webkit-scrollbar-track {
        background: rgba(133, 112, 177, 0.05);
        border-radius: 3px;
    }

    .focusarea-grid::-webkit-scrollbar-thumb {
        background: var(--common-gredient);
        border-radius: 3px;
    }
}

/* Individual Focus Card styling */
.focus-card {
    flex: 0 0 calc((100% - 5 * 11px) / 6);
    min-width: 0;
    background: var(--common-gredient);

    border-radius: 20px;
    padding: 30px 17px;
    color: #ffffff;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 19px;
}

.focus-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.focus-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.focus-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.focus-card-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    /* SAME font size as requested, similar to announcements heading */
    font-weight: 500;
    line-height: 20px;
    color: #ffffff;
    margin: 0;
}

.focus-card-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    /* Same clean size */
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Laptop screens: 5 cards per screen, show scroll for the 6th */
@media (max-width: 1439px) {
    .focus-card {
        flex: 0 0 calc((100% - 4 * 24px) / 5);
        min-width: 220px;
    }
}

/* Medium desktops/large tablets: 4 cards per screen */
@media (max-width: 1199px) {
    .focus-card {
        flex: 0 0 calc((100% - 3 * 24px) / 4);
        min-width: 200px;
    }
}

/* Tablets: 3 cards per screen */
@media (max-width: 991px) {
    .focusarea-title {
        font-size: 36px;
    }

    .focus-card {
        flex: 0 0 calc((100% - 2 * 24px) / 3);
        padding: 24px 20px;
        min-width: 180px;
    }
}

/* Small tablets / landscape mobile: 2 cards per screen */
@media (max-width: 768px) {
    .focusarea-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .focus-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 180px;
    }
}

/* Mobile Portrait Mode */
@media (max-width: 576px) {
    .focusarea-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .focusarea-grid {
        gap: 15px;
        margin-right: -24px;
    }

    .focus-card {
        /* 1 full card + second card is 70% visible */
        flex: 0 0 calc((100% - 16px) / 1.7);
        min-width: 0;
        /* Override minimum width to allow responsive flex sizing */
        padding: 24px 18px;
        gap: 20px;
    }

    .focus-card-header {
        gap: 12px;
    }

    .focus-card-icon {
        width: 36px;
        height: 36px;
    }

    .focus-card-heading {
        font-size: 16px;
    }

    .focus-card-desc {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .focus-card {
        flex: 0 0 calc((100% - -60px) / 1.7);
    }
}

/* ==========================================================================
   CARE-HOSPITAL - ENTERPRISE LEADERSHIP SECTION STYLES
   ========================================================================== */

.enterprise-leader-section {
    background-color: var(--bg-main);
    padding-top: 60px;
    padding-bottom: 60px;
}

.enterprise-leader-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.enterprise-leader-breadcrumb .breadcrumb-item,
.enterprise-leader-breadcrumb .breadcrumb-item a {
    color: #666667;
    text-decoration: none;
}

.enterprise-leader-breadcrumb .breadcrumb-item a:hover {
    color: #164D92;
}

.enterprise-leader-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.enterprise-leader-header--centered {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.enterprise-leader-header--centered .enterprise-leader-title {
    justify-self: start;
}

.enterprise-leader-header--centered .enterprise-leader-tabs {
    justify-self: center;
    justify-content: center;
}

.enterprise-leader-header--centered .view-all-btn.desktop-only {
    justify-self: end;
}

.enterprise-leader-header--standalone .enterprise-leader-tabs {
    justify-content: flex-end;
}

.enterprise-leader-title {
    font-size: 40px;
    font-weight: 400;
    color: #1e1e1e;
    margin: 0;
    line-height: 1.25;
    justify-self: start;
}

.enterprise-leader-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid #E4E4E4;
    width: 500px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.enterprise-leader-tabs .leader-tab-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1e1e1e;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 0px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-left: 0;
    flex: 1;
    text-align: left;
}

.enterprise-leader-tabs .leader-tab-btn:last-child {
    text-align: right;
}

.enterprise-leader-tabs .leader-tab-btn:hover {
    color: #164D92;
}

.enterprise-leader-tabs .leader-tab-btn.active {
    color: #164D92;
    font-weight: 500;
    border-bottom: 2px solid #164D92;
}

.tab-divider {
    width: 1px;
    height: 16px;
    background-color: #DDDDDD;
    margin: 0 8px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
   background: var(--common-gredient);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px 8px 0 8px;
    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - 16px),
            calc(100% - 1px) calc(100% - 13px),
            calc(100% - 4px) calc(100% - 10px),
            calc(100% - 10px) calc(100% - 4px),
            calc(100% - 13px) calc(100% - 1px),
            calc(100% - 16px) 100%,
            0 100%);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-all-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.view-all-btn.desktop-only {
    display: inline-flex;
    justify-self: end;
}

.view-all-btn.mobile-only-btn {
    display: none;
}

/* Tab Panels */
.enterprise-leader-panel {
    display: none;
}

.enterprise-leader-panel.active {
    display: block;
    animation: fadeInPanel 0.4s ease forwards;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leader-grid {
    display: grid;
    grid-template-columns: repeat(4, 314px);
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Individual Leader Card */
.leader-card {
    position: relative;
    overflow: hidden;
    width: 315px;
    height: 417px;
    background: #ffffff;
    border: 1px solid #EDEDED;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 17px 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

/* Card Normal State Content */
.leader-card-normal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.leader-circle-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
}

.leader-image-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    opacity: 0;
}

.leader-info {
    text-align: center;
    margin-bottom: 20px;
}

.leader-name {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.leader-designation {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    margin: 0;
    line-height: 1.4;
}

.leader-card-divider {
    width: calc(100% + 34px);
    margin-left: -17px;
    margin-right: -17px;
    border: none;
    border-top: 1px solid #EAEAEA;
    margin-top: auto;
    margin-bottom: 20px;
}

.leader-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}

.view-profile-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #323F67;
    position: relative;
    padding-bottom: 2px;
}

.linkedin-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #164D92;
    border: 1px solid #EAEAEA;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.02);
}

/* Card Hover Animations & State */

/* Hover Gradient Circle background expanding */
.leader-hover-bg {
    position: absolute;
    z-index: 1;
    background: var(--common-gredient);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    pointer-events: none;
    clip-path: circle(100px at 50% 140px);
    will-change: clip-path;
    transition: clip-path 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Full Height Image Hover Zoom */
/* Full Height Image Hover Zoom */
.leader-image-hover {
    position: absolute;
    z-index: 2;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 40px;
    left: calc((100% - 200px) / 2);
    object-fit: cover;
    object-position: top center;
    opacity: 1;
    pointer-events: none;
    transform: scale(1);
    transform-origin: top center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    image-rendering: -webkit-optimize-contrast;
    will-change: width, height, top, left, border-radius, transform;
    transition: width 0.85s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.85s cubic-bezier(0.25, 1, 0.5, 1),
        top 0.85s cubic-bezier(0.25, 1, 0.5, 1),
        left 0.85s cubic-bezier(0.25, 1, 0.5, 1),
        border-radius 0.85s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Overlay Bottom Text */
.leader-hover-overlay {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 24px 24px;
    box-sizing: border-box;
    /* background: var(--common-gredient); */
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: opacity 0.4s ease 0.1s, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

.leader-hover-text {
    flex: 1;
    padding-right: 15px;
}

.leader-hover-name {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.leader-hover-designation {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.leader-hover-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover State Activations - Desktop Only */
@media (min-width: 1441px) {
    .leader-grid{    grid-template-columns: repeat(4, 1fr);}
    .leader-card{width: 100%; height: 100%;}
}
@media (min-width: 1025px) {
    /* .leader-card:hover .view-profile-text::after {
        width: 100%;
    }

    .leader-card:hover .leader-card-normal {
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .leader-card:hover .leader-hover-bg {
        clip-path: circle(400px at 50% 140px);
    }

    .leader-card:hover .leader-image-hover {
        width: calc(100% - 34px);
        height: calc(100% - 40px);
        top: 40px;
        left: 17px;
        border-radius: 16px;
        transform: scale(1.12);
    }

    .leader-card:hover .leader-hover-overlay {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    } */
}


/* ==========================================================================
   LEADERSHIP SECTION RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1439px) {
    .leader-grid {
        grid-template-columns: repeat(3, 314px);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .leader-grid {
        grid-template-columns: repeat(2, 314px);
        gap: 24px;
    }

    .enterprise-leader-title {
        font-size: 36px;
    }
}
@media (max-width: 991px) {
.enterprise-leader-header--centered{display: flex;}
}

@media (max-width: 768px) {
    .enterprise-leader-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .enterprise-leader-header,
    .enterprise-leader-header--centered {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    /* .enterprise-leader-header--centered .enterprise-leader-tabs {
        align-self: center;
    } */

    .enterprise-leader-tabs {
        margin: 0;
        width: 100%;
        max-width: 500px;
    }

    .enterprise-leader-header--centered .enterprise-leader-tabs{gap: 14px;}
    .enterprise-leader-tabs .leader-tab-btn{white-space: nowrap;}
    

    .view-all-btn.desktop-only {
        display: none;
    }

    .view-all-btn.mobile-only-btn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }

    .leader-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 650px;
        margin: 0 auto;
    }

    .leader-card {
        width: 100%;
        max-width: 314px;
        height: auto;
        margin: 0 auto;
        padding: 30px 12px 15px;
    }

    .leader-circle-wrapper {
        width: 160px;
        height: 160px;
        top: 30px;
        left: calc((100% - 160px) / 2);
    }

    .leader-hover-bg {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        clip-path: circle(80px at 50% 110px);
    }

    .leader-image-hover {
        width: 160px;
        height: 160px;
        top: 30px;
        left: calc((100% - 160px) / 2);
    }



    .leader-name {
        font-size: 16px;
    }

    .leader-designation {
        font-size: 12px;
    }

    .view-profile-text {
        font-size: 14px;
    }

    .leader-info {
        margin-bottom: 10px;
    }

    .leader-card-divider {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .enterprise-leader-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .leader-grid {
        gap: 12px;
    }

    .leader-card {
        padding: 24px 10px 15px;
    }

    .leader-circle-wrapper {
        width: 130px;
        height: 130px;
        top: 24px;
        left: calc((100% - 130px) / 2);
    }

    .leader-hover-bg {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        clip-path: circle(65px at 50% 89px);
    }

    .leader-image-hover {
        width: 130px;
        height: 130px;
        top: 24px;
        left: calc((100% - 130px) / 2);
    }

    .leader-name {
        font-size: 14px;
    }

    .leader-designation {
        font-size: 12px;
    }

    .linkedin-circle {
        width: 28px;
        height: 28px;
    }

    .linkedin-circle svg{width: 12px; height: 12px;}

    .leader-hover-overlay {
        padding: 30px 12px 15px;
    }

    .leader-hover-name {
        font-size: 14px;
    }

    .leader-hover-designation {
        font-size: 11px;
    }

    .leader-links{height: auto;}

}

@media (max-width: 479px) {
    .leader-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    .leader-card {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}