/* Styling for individual profile detail pages */

.profile_detail_section {
    padding: 60px 0;
    background: #fdfdfd;
    position: relative;
}

.profile_detail_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1050px;
    margin: 0 auto;
    gap: 50px;
}

.profile_detail_img_col {
    flex: 0 0 35%;
    min-width: 290px;
    position: relative;
}

.profile_detail_img_col .ltm_img {
    border: 1px solid var(--theme-blue-color);
    border-radius: 34px;
    position: relative;
    width: 100%;
    overflow: visible;
    background: #fff;
}

.profile_detail_img_col .bofd_slBox {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.profile_detail_img_col .bofd_slBox .st8 {
    fill: none;
    stroke: var(--theme-blue-color);
    stroke-width: 1px;
}

.profile_detail_img_col .bofd_slBox .ballbox {
    fill: var(--theme-blue-color);
}

.profile_detail_img_col .bofd_slBox .ballbox2 {
    fill: var(--theme-orange-color);
}

.profile_detail_img_col img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    top: -20px;
    left: -20px;
    border-radius: 34px;
    z-index: 2;
}

.profile_detail_desc_col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.profile_detail_desc_col h2 {
    font-family: var(--barlow-family);
    font-size: 42px;
    color: var(--theme-blue-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile_detail_desc_col h4 {
    font-family: var(--roboto-family);
    font-size: 18px;
    color: var(--theme-orange-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.profile_bio_text {
    font-family: var(--roboto-family);
    font-size: 16px;
    line-height: 26px;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

.profile_bio_text p {
    margin-bottom: 20px;
}

.profile_social_links {
    margin-top: 10px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background-color: #0077b5;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-family: var(--roboto-family);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 44px; /* Only fits the icon and padding initially */
    transition: max-width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s;
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.15);
    border: 1px solid #0077b5;
}

.linkedin-btn:hover {
    max-width: 220px; /* Slide open to reveal the text */
    padding: 10px 22px;
    background-color: #005582;
    border-color: #005582;
    box-shadow: 0 8px 16px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:active {
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.2);
}

.linkedin-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.linkedin-btn span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.linkedin-btn:hover span {
    opacity: 1;
    transition-delay: 0.15s;
}

.back_directors_btn_container {
    text-align: center;
    margin-top: 30px;
}

.back_directors_btn_container a {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 34px;
    background-color: var(--theme-blue-color);
    color: #fff;
    font-family: var(--roboto-family);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s;
    border: 1px solid var(--theme-blue-color);
}

.back_directors_btn_container a:hover {
    background-color: #1f226b;
}
