.leadership-profile-page * {
    font-family: "Roboto" !important;
    hyphens: none !important;
    word-break: normal !important;
}

/* Main container for the leadership profile section */
.leadership-profile-section {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Tag/category styling (e.g., "Team Leadership") */
.leadership-profile-tag {
    display: inline-block;
    background-color: #004c97;
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 30px; /* Space between tag and the new card */
}

/* New card styling */
.leadership-profile-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* More pronounced, modern shadow */
    padding: 40px; /* Internal padding for the card content */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* Container for the profile content (text and image) */
.leadership-profile-content {
    display: flex;
    flex-direction: column; /* Stack content vertically by default (image on top) */
    align-items: center; /* Center items horizontally when stacked */
    gap: 40px; /* Space between image and text */
    width: 100%; /* Ensure content takes full width of the card */
}

/* Profile image container */
.leadership-profile-image-container {
    order: 1; /* Ensure image is first (on top) */
    max-width: 200px; /* Max width for the image container */
    min-width: 200px; /* Min width for the image container */
    width: 100%; /* Ensure it takes full width up to max-width */
    display: flex; /* Use flex to center image */
    justify-content: center; /* Center image horizontally */
    align-items: flex-start; /* Align image to the top */
}

/* Profile image styling */
.leadership-profile-image {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Circular image */
    object-fit: cover; /* Cover the area, cropping if necessary */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for the image */
}

/* Text content area */
.leadership-profile-text {
    order: 2; /* Ensure text is second (below image) */
    width: 100%; /* Take full width */
    min-width: 300px; /* Minimum width before wrapping */
    text-align: center; /* Center text content */
}

/* Profile name */
.leadership-profile-name {
    font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
    font-weight: 900;
    color: #343741;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* Profile title/position */
.leadership-profile-title {
    font-size: clamp(20px, 3vw, 28px); /* Responsive font size */
    font-weight: 700;
    color: #343741;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Paragraph styling for profile description */
.leadership-profile-text p {
    font-size: clamp(16px, 2.5vw, 18px); /* Responsive font size */
    line-height: 1.6;
    color: #343741;
    margin-bottom: 15px;
    text-align: left; /* Keep paragraphs left-aligned for readability */
    max-width: 800px; /* Optional: limit paragraph width for better readability */
    margin-left: auto;
    margin-right: auto;
}

/* Social media icon (LinkedIn) */
.linkedin-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 24px;
    color: #0077B5; /* LinkedIn blue */
    text-decoration: none;
    transition: transform 0.3s ease; /* Added transition for hover effect */
}

.linkedin-link:hover {
    transform: translateY(-3px); /* Subtle lift effect on hover */
}

/* Responsive adjustments */
@media (min-width: 769px) { /* Apply for tablets and desktops */
    .leadership-profile-content {
        flex-direction: row; /* Horizontal layout for image and text */
        text-align: left; /* Align text to the left for horizontal layout */
        align-items: flex-start; /* Align items to the top for horizontal layout */
    }

    .leadership-profile-image-container {
        order: 0; /* Image first on the left */
        flex-shrink: 0; /* Prevent image from shrinking */
        margin-right: 40px; /* Space between image and text */
        max-width: 250px;
        min-width: 200px;
    }

    .leadership-profile-text {
        order: 1; /* Text next to the image */
        text-align: left; /* Align text left */
    }

    .leadership-profile-text p {
        text-align: left;
        margin-left: 0; /* Remove auto margins when aligned left */
        margin-right: 0;
    }
}


@media (max-width: 992px) {
    /* On smaller screens, the layout is already column-based, so minor adjustments */
    .leadership-profile-content {
        gap: 30px; /* Adjust gap */
    }

    .leadership-profile-image-container {
        max-width: 250px; /* Adjust max width for image */
        min-width: 180px; /* Adjust min width for image */
    }

    .leadership-profile-text p {
        text-align: left; /* Ensure text remains left-aligned */
    }

    .leadership-profile-card {
        padding: 30px; /* Reduce padding for smaller screens */
    }
}

@media (max-width: 768px) {
    .leadership-profile-section {
        margin: 30px auto;
        padding: 0 15px;
    }

    .leadership-profile-tag {
        margin-bottom: 20px;
        font-size: 13px;
        padding: 6px 12px;
    }

    .leadership-profile-name {
        font-size: clamp(28px, 6vw, 40px);
    }

    .leadership-profile-title {
        font-size: clamp(18px, 4vw, 24px);
        margin-bottom: 20px;
    }

    .leadership-profile-text p {
        font-size: clamp(15px, 2.8vw, 17px);
    }

    .leadership-profile-image-container {
        max-width: 200px;
        min-width: 150px;
    }

    .leadership-profile-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .leadership-profile-section {
        margin: 20px auto;
        padding: 0 10px;
    }

    .leadership-profile-tag {
        margin-bottom: 15px;
        font-size: 12px;
        padding: 5px 10px;
    }

    .leadership-profile-name {
        font-size: clamp(24px, 7vw, 36px);
    }

    .leadership-profile-title {
        font-size: clamp(16px, 5vw, 20px);
        margin-bottom: 15px;
    }

    .leadership-profile-text p {
        font-size: clamp(14px, 3vw, 16px);
        text-align: left; /* Ensure text remains left-aligned */
    }
    .leadership-profile-image-container {
        max-width: 150px;
        min-width: 120px;
    }
    .leadership-profile-card {
        padding: 20px;
    }
}