.content-part4 {
    width: 100%;
    height: auto;
    /* border: 10px solid red; */
    display: flex;
    flex-direction: column;
    gap: 80px;
    background-color: rgb(243, 243, 243);
    padding-block: var(--main-block-padding);
}

.content-part4-main {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.part4-main-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-part4-main > div {
    width: 45%;
    height: 100%;
    /* border: 10px solid blue; */
}

.part4-main-container-card {
    display: flex;
    flex-direction: column;
}

.part4-main-container-card {
    width: 100%;
    height: 560px;
    overflow: hidden;
    font-size: 3rem;
    position: relative;
    display: flex;
    justify-content: flex-end;
    background-color: rgb(251, 238, 221);
}

.part4-main-container-card > div {
    position: absolute;
}

.part4-main-container-card > div:first-child {
    top: 50px;
    left: 30px;
}

.part4-main-container-card > div:nth-child(2) {
    bottom: 50px;
    left: 50px;
}

.part4-main-container-card > img {
    width: 90%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top;
    position: relative;
    right: -100px;
    top: 185px;
}

.container-card-top-text {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container-card-top-text > span:first-child {
    width: 50px;
    height: 50px;
    background-color: rgb(114, 231, 231);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
}

.container-card-top-text > span:first-child::after {
    content: "Company";
    position: absolute;
    left: 20%;
    font-size: 0.8rem;

}

.container-card-top-text > span:last-child {
    white-space: pre-line;
    font-size: 2rem;
}

.container-card-bottom-text {
    width: 240px;
    height: 70px;
    background-color: white;
    z-index: 2;
    border-radius: 100px;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    padding-right: 30px;
    transition: all 0.5s ease-in-out;
}

.container-card-bottom-text > div {
    display: flex;
    gap: 10px;
}

.container-card-bottom-text > div > div:first-child {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px solid rgb(255, 244, 244);
    padding: 12px;
}

.container-card-bottom-text > div > div:last-child {
    display: flex;
    flex-direction: column;
    
}

.container-card-bottom-text > div > div:last-child > span:first-child {
    font-weight: 600;
}

.container-card-bottom-text > div > div:last-child > span:last-child {
    font-size: 0.8rem;
}

.container-card-bottom-text > span:last-child {
    font-size: 1.2rem;
    color: rgb(79, 79, 79);
}

.part4-main-container-bottom {
    display: flex;
    gap: 20px;
    align-items: center;
}

.part4-container-bottom-logos {
    display: flex;
    
}

.part4-container-bottom-logos > div {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: aqua;
    background-size: cover;
    filter: grayscale(100%);
    border: 2px solid white;
}

.part4-container-bottom-logos > div:nth-child(1) {
    background-image: url('../imgs/part4/logo1.jpg');
}

.part4-container-bottom-logos > div:nth-child(2) {
    margin-left: -20px;
    background-image: url('../imgs/part4/logo2.png');
}

.part4-container-bottom-logos > div:nth-child(3) {
    margin-left: -30px;
    background-image: url('../imgs/part4/logo3.png');
}

.part4-container-bottom-text > span:first-child{
    font-weight: 600;
}

.part4-container-bottom-text > span:last-child {
    color: rgb(81, 81, 81);
}

.part4-main-container-card.right-card {
    background-color: rgb(252, 168, 200);
}

.container-card-top-text.right-card {
    color: white;
}

.container-card-top-text.right-card > span:first-child {
    background-color: bisque;
}

.container-card-top-text.right-card > span:first-child::after {
    content: "Employee";
}

img.right-card {
    top: 100px;
    right: -120px;
}

.part4-container-bottom-logos.right-card > div:nth-child(1) {
    background-image: url('../imgs/part4/person1.jpg');
}

.part4-container-bottom-logos.right-card > div:nth-child(2) {
    margin-left: -20px;
    background-image: url('../imgs/part4/person2.png');
}

.part4-container-bottom-logos.right-card > div:nth-child(3) {
    margin-left: -30px;
    background-image: url('../imgs/part4/person3.png');
}

.part4-main-container-card:hover .container-card-bottom-text {
    background-color: black;
    color: rgb(224, 224, 224);
}

.part4-main-container-card:hover .container-card-bottom-text > div > div:first-child{
    border: 1px solid rgb(63, 63, 63);
}

.part4-main-container-card:hover .container-card-bottom-text > span:last-child {
    color: rgb(225, 225, 225);
}