body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;

}

.experts_portfolio .expert_box .bg_img {
    width: 100%;
    height: 345px;
    max-height: 100%;
    object-fit: cover;
}

.experts_portfolio .big_img .bg_img {
    max-height: 729px;
    height: 729px;
}

.experts_portfolio {
    display: flex;
    gap: 40px;
}

.experts_portfolio .left_expert_portfolio,
.experts_portfolio .right_expert_portfolio {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 50%;
}

.expert_box {
    position: relative;
}

.expert_box .second_line {
    display: block;
    font-weight: 400;
}

.experts_portfolio .left_expert_portfolio .red_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 345px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(206, 82, 69, 0.16) 0%, rgba(206, 82, 69, 0.4) 100%);

}

.green_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 345px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(31, 124, 56, 0.24) 0%, rgba(31, 124, 56, 0.6) 50%, rgba(31, 124, 56, 0.6) 100%);

}

.peach_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 345px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(221, 101, 87, 0.24) 0%, rgba(221, 101, 87, 0.6) 70.67%, rgba(221, 101, 87, 0.6) 100%);

}

.sky_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 729px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(83, 150, 223, 0.24) 0%, rgba(83, 150, 223, 0.6) 100%);


}

.pink_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 345px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(163, 15, 91, 0.24) 0%, rgba(163, 15, 91, 0.6) 70.67%, rgba(163, 15, 91, 0.6) 100%);


}

.right_red_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 729px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(211, 82, 68, 0.16) 0%, rgba(211, 82, 68, 0.4) 100%);

}

.purple_gradient::before {
    content: "";
    position: absolute;
    top: 0;
    max-height: 729px;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(138, 71, 231, 0.16) 0%, rgba(138, 71, 231, 0.4) 70.67%);


}

.expert_text_section {
    position: absolute;
    top: 0;
    padding: 25px;
    width: 640px;
    max-width: 100%;
    height: 345px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.client_details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.client_details .logo_dection img {
    height: 47px;
    width: 138px;
    object-fit: contain;
}

.logo_dection h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.client_position {
    margin: 0;
    margin-top: 0 !important;
}

.client_details .linkdin img {
    height: 35px !important;
    width: 35px !important;
}

.logo_dection p {
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 0;
}

.logo_dection p span {
    font-weight: 700;
}

.expert_details p {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 20px;
}

.expert_box .object_positionn {
    object-position: top;
}

.expert_details p i,
.view_case-btn:hover i {
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.view_case-btn {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.view_case-btn:hover {
    color: #fff;
}

.read-btn {
    color: #fff;
    font-size: 18px;
    font-weight: 500;

}

.read-btn:hover {
    color: #fff;
}

.experts_portfolio a:hover i {
    transform: translateX(10px);
}

.experts_portfolio p:hover i {
    transform: translateX(10px);
}

.big_img .expert_text_section {
    height: 729px;
    max-height: 100%;
}

@media (max-width:991px) {
    .logo_dection p {
        font-size: 15px;
    }

    .client_details .logo_dection img {
        width: 100px;
    }

    .expert_details p {
        font-size: 16px;
    }
       .view_case-btn {
        font-size: 14px;

    }

    .read-btn {
        font-size: 14px;
    }
}

@media (max-width:768px) {
    .experts_portfolio {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .experts_portfolio .left_expert_portfolio,
    .experts_portfolio .right_expert_portfolio {
        gap: 20px;
        width: 100%;
    }

    .experts_portfolio .big_img .bg_img {
        height: 345px;
        max-height: 100%;
    }

    .big_img .expert_text_section {
        height: 345px;
    }
}

@media (max-width:575px) {
    .expert_text_section {
        padding: 20px;
    }

    .expert_details p {
        font-size: 14px;
    }

    .view_case-btn {
        font-size: 14px;

    }

    .read-btn {
        font-size: 14px;
    }
}