.content-fold-b-wrapper {
    padding: 80px 0
}

.team-folda-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 50px 0 50px
}

.team-folda-item {
    flex: 0 0 calc(100% / 4 - 12px);
    display: flex;
    transition: all 500ms ease;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: solid 2px transparent;
    border-radius: 20px;
    overflow: hidden;
    /* flex:1; */
}

.team-folda-item-bottom {
    position: absolute;
    bottom: -4px;
    z-index: 2;
    width: 100%;
    transition: all 300ms ease;
    opacity: 1
}

.team-folda-item-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(0deg,rgba(78,142,44,1) 0%,rgba(106,184,65,.5592612044817927) 67%);
    opacity: 0;
    transition: all 500ms ease
}

.team-popup-content {
    padding: 50px 30px 50px 0
}

.team-folda-item i {
    color: #fff;
    border-radius: 50%;
    opacity: 1;
    transform: translatey(0%)
}

.team-folda-item-bottom-padding {
    padding: 0 15px 15px
}

.team-folda {
    background: whitesmoke
}

.team-folda-item.team1-popup:hover {
    border-color: var(--primary-color1)
}

.team-folda-item>a {
    transition: all 500ms ease;
    display: flex;
    flex: 1;
    color: #000
}

.team-folda-item-padding {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative
}

.team-folda-item-content p:first-child {
    margin: 0;
    font-size: 22px;
    line-height: 30px;
    color: #fff;
    text-transform: uppercase
}

.team-folda-item-content-position {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.team-folda-item-img {
    display: flex;
    overflow: hidden;
    flex: 1;
    position: relative
}

.team-folda-item-img picture {
    width: 100%
}

.team-folda-item-img img {
    width: 100%;
    transition: all 500ms ease;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
    transform: scale(1);
    height: 100%
}

.team-folda-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 500ms ease;
    opacity: 0;
    background: #1e1d1d
}

.team-folda-item:hover::before {
    opacity: 1
}

.team-folda-item-content-position>p {
    margin: 0;
    font-size: 18px;
    font-style: italic;
    color: var(--primary-color2);
    line-height: 1;
    font-weight: 500
}

.team-folda-item :is(p,i) {
    transition: all 500ms ease
}

.team-folda-item:hover .team-folda-item-img img {
    transform: scale(1.1)
}

.team-popup-content-header-position>p {
    color: #fff
}

.team-popup-wrapper {
    display: flex;
    gap: 40px;
    flex-direction: row
}

.popup-form-wrapper {
    max-width: 980px
}

.team-popup-img {
    flex: unset;
    display: flex
}

.team-popup-padding {
    padding: 0
}

.popup-form-wrapper-outer::-webkit-scrollbar {
    width: 10px
}

.popup-form-wrapper-outer::-webkit-scrollbar-track {
    background: #3e5292cc;
    border-radius: 10px
}

.popup-form-wrapper-outer::-webkit-scrollbar-thumb {
    background: #2c1f6933;
    border-radius: 10px
}

.popup-form-wrapper-outer::-webkit-scrollbar-thumb:hover {
    background: #55555547
}

.popup-form-wrapper-outer::-webkit-scrollbar-corner {
    background: transparent
}

.team-popup-img img {
    object-fit: cover;
    width: 100%;
    flex: 1;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px
}

.popup-form-wrapper {
    border: none;
    overflow: unset
}

.team-popup-content-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative
}

.team-popup-content-header-title .subtext {
    font-weight: 700
}

.team-popup-content-inner p {
    font-size: 14px;
    line-height: 18px
}

.popup-close {
    background: var(--primary-color1);
    border-color: var(--secondary-color);
    color: #fff
}

.team-popup-content-inner ul li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Sharp';
    position: absolute;
    left: -20px
}

.team-popup {
    background: var(--primary-color1);
    border-radius: 20px;
    overflow-y: scroll
}

.team-popup-content-inner ul {
    padding-left: 20px;
    list-style: none
}

.team-popup-content-inner ul li {
    font-size: 14px;
    line-height: 20px;
    position: relative
}

.team-popup-img {
    flex: 1 0 40%
}

.team-folda-item-behind {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    z-index: 3;
    width: 100%;
    color: #fff;
    opacity: 0;
    transition: all 500ms ease
}

.team-folda-item:hover .team-folda-item-bottom {
    opacity: 0
}

.team-folda-item-behind-header p {
    margin: 0
}

.team-folda-item-behind-email>a {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center
}

.team-folda-item:hover .team-folda-item-img::before {
    opacity: 1
}

.team-folda-item-behind a {
    color: #fff
}

.team-folda-item-behind-header-icon i {
    font-size: 28px
}

.team-folda-item-behind-padding {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.team-folda-item-behind-header {
    margin-bottom: 10px;
    border-bottom: solid 2px #fff;
    padding-bottom: 10px
}

.team-folda-item-behind-readmore>p {
    margin: 0
}

.team-folda-item-behind-readmore p::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Pro';
    display: inline-block;
    margin-left: 10px
}

.team-folda-item:hover .team-folda-item-behind {
    opacity: 1
}

.team-folda-item-img::after {
    content: '';
    background: linear-gradient(0deg,rgba(60,60,60,1) 0%,rgba(43,43,43,0) 55%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.team-popup-content-header::before {
    content: '';
    bottom: 0;
    left: 0;
    position: absolute;
    width: 150px;
    height: 2px;
    background: #ffffff8c
}
