/* Our Team Page Styles */

/* Hero Section Styles Removed to inherit from utilities.css */

/* Team Grid Card Styles */
.team-member-card {
    transition: all 0.4s ease;
    border: 1px solid #b0d4f1;
    /* Light Blue Border */
    box-shadow: none;
    /* Removed Shadow */
}

.check-list li {
    margin-bottom: 5px !important;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(11, 99, 172, 0.1);
    border-color: var(--primary-blue);
    /* Darker blue on hover */
}

/* Image Box Settings */
.member-img-box {
    height: 350px;
    /* Fixed height (assuming 350px from request '35px') */
    width: 100%;
    overflow: hidden;
    border-radius: 40px 40px 0 0;
}

.member-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* CSS requested */
    object-position: top center;
    transition: transform 0.5s ease;
    border-radius: 40px 40px 0 0;
}

/* Hover Effects */
.team-member-card:hover .member-img-box img {
    transform: none;
    /* Removed scale effect */
}

.role-text {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Magnific Popup Animation - Fade */
.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: all 0.3s ease-out;
    transform: translateY(20px);
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    transform: translateY(0);
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
    transform: translateY(20px);
}

.team-modal-content {
    width: 100%;
    /* Max-width handled inline or by container */
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 0;
    display: flex;
    /* Flex container for body */
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    margin: 20px auto;
    /* Centering helper for MP */
}

.modal-body {
    display: flex;
    padding: 50px;
    gap: 50px;
    overflow-y: auto;
    /* Scroll ONLY the content, not the modal container */
}

/* Left Sidebar (Image + Name + Socials) */
.modal-sidebar {
    flex: 0 0 280px;
    /* Fixed width sidebar */
    width: 280px;
}

.modal-profile-img {
    width: 100%;
    height: 280px;
    /* Square profile image */
}

.modal-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.modal-socials {
    margin-top: 10px;
}

.modal-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modal-socials a:hover {
    transform: translateY(-3px);
    background: #09518d;
    /* Darker blue manually for now */
    box-shadow: 0 5px 15px rgba(11, 99, 172, 0.3);
}

/* Right Content (Bio) */
.modal-main-content {
    flex: 1;
    /* Take remaining space */
}

.mfp-close {
    position: absolute;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    background: transparent !important;
    border: none !important;
    font-size: 24px !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    transition: color 0.2s ease;
    z-index: 1046 !important;
    /* Higher than content */
    opacity: 1 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    /* Ensure clickability */
}

.mfp-close:hover {
    color: var(--primary-blue) !important;
}

/* Animations */
@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Team Grid Layout */
.team-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Mobile Adjustments */
@media (max-width: 1240px) {
    .team-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .modal-body {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .modal-sidebar {
        flex: none;
        width: 100%;
        text-align: left;
    }

    .modal-profile-img {
        width: 200px;
        height: 200px;
    }

    .modal-socials {
        justify-content: left;
    }
}

@media (max-width: 600px) {
    .member-img-box img {
        height: 550px;
        object-fit: contain;
        /* Fixed height (assuming 350px from request '35px') */
        border-radius: 20px 20px 0 0;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
    }

    .mt-20 {
        margin-top: 10px;
    }

    .member-img-box {
        border-radius: 20px 20px 0 0;
    }
}/* Cache Buster: 20260105105038 */
