h4 {
    font-weight: inherit;
    margin: 0;
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 0vh;
}

.section-badge {
    display: inline-block;
    background: rgba(179, 206, 58, 0.1);
    border: 0.1vw solid rgba(179, 206, 58, 0.3);
    border-radius: 6.25vw;
    padding: 0.625vw 1.875vw;
    margin-bottom: 1.875vw;
    font-size: 1.4vh;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.078vw;
    color: #b3ce3a;
}

.section-title {
    font-size: 3.8vh;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.563vw;
    color: #000000;
}

.section-subtitle-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.83vw;
    margin-bottom: 2.22vh;
    font-size: 1.3vh;
    font-weight: 600;
    letter-spacing: 0.16vh;
    text-transform: uppercase;
    color: #000000;
    text-align: center;
    position: relative;
    width: 100%;
}

.section-subtitle-with-lines::before,
.section-subtitle-with-lines::after {
    content: '';
    width: 2.08vw;
    height: 0.05vh;
    background: linear-gradient(90deg, transparent, #000000, transparent);
    border-top: 0.05vh solid #000000;
}

.section-description {
    font-size: 1.8vh;
    line-height: 1.6;
    color: #545454;
    max-width: 46.875vw;
    margin: 0 auto 3.125vw auto;
}

.title-highlight {
    color: #b3ce3a;
}

.our-team-section {
    padding: 3.125vw 0 2.5vw;
    background: #ffffff;
    position: relative;
    max-width: 65vw;
    margin: 0 auto;
}

.our-team-section .container {
    position: relative;
    z-index: 1;
}

.our-team-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 50vw;
    height: 0.04vw;
    background: linear-gradient(90deg, transparent 0%, #b3ce3a 20%, #b3ce3a 80%, transparent 100%);
    box-shadow: 0 0 0.781vw rgba(179, 206, 58, 0.3);
}

.departments-layout {
    display: flex;
    gap: 0;
    margin-top: 1.563vw;
    max-width: 109.375vw;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 1.563vw;
    box-shadow: 0 0.313vw 1.25vw rgba(0,0,0,.06);
    border: 0.078vw solid #D9D9D9;
    overflow: hidden;
    min-height: 35vw;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.departments-sidebar {
    width: 16vw;
    min-width: 16vw;
    background: #D9D9D926;
    border-right: 0.078vw solid #d9d9d9;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 0vh 1.563vw;
    border-bottom: 0.078vw solid #D9D9D9;
    min-height: 5.625vw;
    display: flex;
    align-items: center;
}

.sidebar-logo {
    width: 3.125vw;
    height: 3.125vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-img {
    width: 2.5vw;
    height: 2.5vw;
    object-fit: contain;
}

.sidebar-categories {
    flex: 1;
    padding: 1.563vw 0;
}

.category-section {
    padding: 0 1.563vw;
}

h4.category-title {
    font-size: 1.2vh;
    font-weight: 700 !important;
    color: #545454;
    text-transform: uppercase;
    letter-spacing: 0.039vw;
    margin-bottom: 1.25vw;
    padding: 0 0.313vw;
}

.departments-nav {
    display: flex;
    flex-direction: column;
    gap: 0.313vw;
}

.department-nav-item {
    padding: 0.938vw 1.25vw;
    cursor: pointer;
    border-radius: 0.625vw;
    transition: all 0.2s ease;
    position: relative;
}

.department-nav-item.active {
    color: #b3ce3a;
    position: relative;
    transform: scale(1.05);
}

.department-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0.391vw;
    top: 53%;
    transform: translateY(-50%);
    width: 0.469vw;
    height: 0.469vw;
    background: #b3ce3a;
    border-radius: 50%;
}

.department-name {
    font-size: 1.44vh;
    font-weight: 500;
    color: #545454;
    line-height: 1.4;
}

.department-nav-item.active .department-name {
    color: #000000;
    font-weight: 600;
}

.departments-content {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
}

.content-header {
    padding: 1.875vw 2.5vw;
    border-bottom: 0.078vw solid #D9D9D9;
    display: flex;
    align-items: center;
    min-height: 5.625vw;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.625vw;
    font-size: 1.4vh;
    color: #6B7280;
}

.breadcrumb-item {
    color: #9f9fa3;
}

.breadcrumb-item.active {
    color: #545454;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #9f9fa3;
}

.departments-grid {
    flex: 1;
    padding: 1.875vw;
    display: flex;
    flex-direction: column;
    gap: 1.875vw;
}

.department-members-header {
    text-align: center;
    margin-bottom: 1.25vw;
}

.members-title {
    font-size: 3.2vh;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.938vw 0;
    line-height: 1.2;
}

.members-description {
    font-size: 1.76vh;
    color: #545454;
    line-height: 1.6;
    margin: 0;
    max-width: 46.875vw;
    margin: 0 auto;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25vw;
    align-content: start;
}

.team-members-grid:has(.team-member:nth-child(3):last-child) {
    align-content: center;
    min-height: 18vw;
}

.team-members-grid:has(.team-member:nth-child(2):last-child) {
    align-content: center;
    min-height: 15vw;
}

.team-members-grid:has(.team-member:nth-child(1):last-child) {
    align-content: center;
    min-height: 12vw;
}

.team-members-grid:has(.team-member:nth-child(2):last-child) {
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    max-width: 46.875vw;
    margin: 0 auto;
}

.team-members-grid.center-small-department {
    align-content: center;
    min-height: 18vw;
}

.team-members-grid.center-two-members {
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    max-width: 46.875vw;
    margin: 0 auto;
}

.team-member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-member {
    background: white;
    border: 0.046vh solid #E5E7EB;
    border-radius: 1.11vh;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.625vw 2.5vw rgba(0, 0, 0, 0.06), 0 0.313vw 1.25vw rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.234vw;
    background: linear-gradient(90deg, transparent, #b3ce3a, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover {
    transform: translateY(-0.625vw);
    box-shadow: 0 1.563vw 4.688vw rgba(0, 0, 0, 0.12), 0 0.625vw 2.5vw rgba(0, 0, 0, 0.08);
    border-color: rgba(179, 206, 58, 0.3);
}

.team-member:hover::before {
    opacity: 1;
}

.member-photo-container {
    flex: 0.85;
    position: relative;
    overflow: hidden;
    border-radius: 1.11vh 1.11vh 0 0;
    min-height: calc(85% - 1vw);
    contain: layout style paint;
    will-change: transform;
    transform: translateZ(0);
    background: linear-gradient(135deg, rgba(179, 206, 58, 0.08), rgba(179, 206, 58, 0.03));
}

.member-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(179, 206, 58, 0.08), rgba(179, 206, 58, 0.03));
    color: rgba(179, 206, 58, 0.3);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.member-photo-placeholder svg {
    width: 4vw;
    height: 4vw;
    opacity: 0.4;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
    filter: contrast(1.08) brightness(1.02) saturate(1.05);
    opacity: 0;
    position: relative;
    z-index: 2;
}

.member-photo.loaded {
    opacity: 1;
}

.member-photo[src]:not([src=""]) {
    opacity: 1;
}

.member-photo-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(179, 206, 58, 0.15), rgba(179, 206, 58, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3ce3a;
    transition: all 0.3s ease;
}

.member-photo-fallback svg {
    width: 6.25vw;
    height: 6.25vw;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
}

.team-member:hover .member-photo-fallback {
    background: linear-gradient(135deg, rgba(179, 206, 58, 0.2), rgba(179, 206, 58, 0.12));
    transform: scale(1.05);
}

/* Zoom específico para foto do Naeem Rashid */
.member-photo[src*="NaeemRashid"] {
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
}

.team-member:hover .member-photo[src*="NaeemRashid"] {
    transform: scale(1.35);
}

.member-info {
    padding: 0.6vw 1.5vw 0.8vw 0.938vw;
    background: #ffffff;
    border-radius: 0 0 1.11vh 1.11vh;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    flex: 0.15;
}

.member-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.625vw;
    position: relative;
}

.member-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.member-linkedin-icon {
    position: absolute;
    right: -0.5vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1vw;
    height: 1vw;
    background: #b3ce3a;
    color: white;
    border-radius: 0.2vw;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 0;
}

.member-linkedin-icon svg {
    width: 0.6vw;
    height: 0.6vw;
}

.linkedin-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.6vw;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

h4.member-name {
    font-size: 1.36vh;
    font-weight: 700 !important;
    color: #0f172a;
    margin-bottom: 0.2vw;
    letter-spacing: -0.016vh;
    text-align: center;
    line-height: 1.1;
}

.member-role {
    font-size: 0.96vh;
    font-weight: 600;
    color: #b3ce3a;
    margin-bottom: 0.25vw;
    text-transform: uppercase;
    letter-spacing: 0.039vw;
    text-align: center;
    line-height: 1.1;
}

.member-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.313vw 0.625vw;
    background: #b3ce3a;
    color: white;
    border-radius: 0.469vw;
    text-decoration: none;
    font-size: 1.12vh;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 0.313vw;
}

.member-linkedin:hover {
    background: #a8c42a;
    transform: translateY(-0.156vw);
}

.member-linkedin svg {
    width: 0.938vw;
    height: 0.938vw;
}

.mobile-filter-button {
    display: none;
}

.mobile-filter-modal {
    display: none;
}

@media (max-width: 480px) {
    .our-team-section {
        padding: 8vh 6vw 10vh !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: 2.5vh !important;
        margin-bottom: 1.5vh !important;
    }

    .section-subtitle-with-lines {
        font-size: 1.1vh !important;
        gap: 1vw !important;
        margin-bottom: 2vh !important;
    }

    .section-subtitle-with-lines::before,
    .section-subtitle-with-lines::after {
        width: 2vw !important;
    }

    .section-description {
        font-size: 1.2vh !important;
        max-width: 100% !important;
        margin: 0 auto 3vh auto !important;
        padding: 0 4vw !important;
    }

    .departments-layout {
        margin-top: 2vh !important;
        max-width: 100% !important;
        border-radius: 1.5vh !important;
        min-height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .departments-content {
        width: 100% !important;
    }

    .content-header {
        padding: 2vh 4vw !important;
        min-height: auto !important;
    }

    .breadcrumb {
        font-size: 1.2vh !important;
        gap: 1vw !important;
    }

    .departments-grid {
        padding: 2vh 4vw !important;
        gap: 2vh !important;
    }

    .department-members-header {
        margin-bottom: 2vh !important;
    }

    .members-title {
        font-size: 2.2vh !important;
        margin-bottom: 1vh !important;
    }

    .members-description {
        font-size: 1.3vh !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .team-members-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5vh !important;
        align-content: start !important;
    }

    .team-member {
        border-radius: 1.4vh !important;
        aspect-ratio: 0.7 !important;
    }

    .member-photo-container {
        flex: 0.85 !important;
        min-height: calc(85% - 0.8vh) !important;
        transform: scale(1.4);
    }
    
    .member-photo-placeholder svg {
        width: 8vh !important;
        height: 8vh !important;
    }

    .member-info {
        padding: 0.3vh 1vw 0.4vh !important;
        flex: 0.15 !important;
        min-height: auto !important;
    }

    h4.member-name {
        font-size: 0.9vh !important;
        margin-bottom: 0.1vh !important;
    }

    .member-role {
        font-size: 0.7vh !important;
        margin-bottom: 0.1vh !important;
    }

    .member-linkedin {
        padding: 1vh 1.5vw !important;
        font-size: 0.8vh !important;
        border-radius: 0.4vh !important;
        min-height: 6vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .member-linkedin-icon {
        width: 1.2vh !important;
        height: 1.2vh !important;
        min-width: 1.2vh !important;
        min-height: 1.2vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        right: 0.2vw !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .linkedin-text {
        font-size: 0.8vh !important;
        font-weight: 700 !important;
        color: white !important;
        text-align: center !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-filter-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1vw !important;
        width: 100% !important;
        padding: 1.5vh 3vw !important;
        background: #ffffff !important;
        border: 0.1vh solid #E5E7EB !important;
        border-radius: 1vh !important;
        font-size: 1.2vh !important;
        font-weight: 500 !important;
        color: #545454 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        margin: 2vh 0 !important;
    }

    .mobile-filter-button:hover {
        background: #F9FAFB !important;
        border-color: #D1D5DB !important;
    }

    .mobile-filter-button svg {
        color: #6B7280 !important;
        width: 2vh !important;
        height: 2vh !important;
    }

    .mobile-filter-modal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 9999 !important;
        display: none !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .mobile-filter-modal.active {
        display: block !important;
        opacity: 1 !important;
    }

    .mobile-filter-backdrop {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(0.5vh) !important;
    }

    .mobile-filter-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        border-radius: 2vh 2vh 0 0 !important;
        max-height: 70vh !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-filter-modal.active .mobile-filter-content {
        transform: translateY(0) !important;
    }

    .mobile-filter-header {
        padding: 2vh 4vw 1.5vh !important;
        border-bottom: 0.1vh solid #F3F4F6 !important;
    }

    .mobile-filter-header h3 {
        font-size: 1.6vh !important;
        font-weight: 600 !important;
        color: #111827 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .mobile-filter-body {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 1vh 0 2vh !important;
    }

    .mobile-departments-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 4vw !important;
    }

    .mobile-department-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 2vh 0 !important;
        border-bottom: 0.1vh solid #F3F4F6 !important;
        cursor: pointer !important;
        transition: background 0.2s ease !important;
    }

    .mobile-department-item:last-child {
        border-bottom: none !important;
    }

    .mobile-department-item:active {
        background: #F9FAFB !important;
    }

    .mobile-department-info {
        display: flex !important;
        align-items: center !important;
        gap: 1.5vh !important;
    }

    .mobile-department-name {
        font-size: 1.3vh !important;
        font-weight: 400 !important;
        color: #111827 !important;
    }

    .mobile-department-radio {
        width: 2vh !important;
        height: 2vh !important;
        border: 0.2vh solid #D1D5DB !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
    }

    .mobile-department-item.active .mobile-department-radio {
        border-color: #3B82F6 !important;
        border-width: 0.5vh !important;
    }

    .departments-sidebar {
        display: none !important;
    }
}
