.ct_team_card {
    max-width: 410px;
}

.ct_team_card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 16px;
}

.ct_team_card .ct_feature_image {
    position: relative;
    z-index: 1;
}

.ct_feature_image .ct_social_links {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    z-index: 10;
}

.ct_feature_image .ct_social_links a {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: black;
    border-radius: 50%;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ct_feature_image {
    overflow: hidden;
}

.ct_feature_image .ct_social_links a:hover {
    background-color: #ff1800;
    color: #ffffff;
}

.ct_feature_image .ct_social_links a i {
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
}

.ct_feature_image>img {
    max-width: 100%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
}

.ct_team_card:hover .ct_feature_image>img {
    transform: scale(1.05);
}

.ct_team_card:hover .ct_feature_image .ct_social_links {
    opacity: 1;
}

.ct_team_card:hover .ct_feature_image .ct_social_links a:nth-child(1) {
    -webkit-animation: 0.3s theme_fadeInUp;
    animation: 0.3s theme_fadeInUp;
}

.ct_team_card:hover .ct_feature_image .ct_social_links a:nth-child(2) {
    -webkit-animation: 0.5s theme_fadeInUp;
    animation: 0.5s theme_fadeInUp;
}

.ct_team_card:hover .ct_feature_image .ct_social_links a:nth-child(3) {
    -webkit-animation: 0.7s theme_fadeInUp;
    animation: 0.7s theme_fadeInUp;
}

.ct_team_card:hover .ct_feature_image .ct_social_links a:nth-child(4) {
    -webkit-animation: 0.9s theme_fadeInUp;
    animation: 0.9s theme_fadeInUp;
}

.ct_team_card:hover .ct_feature_image .ct_social_links a:nth-child(5) {
    -webkit-animation: 1.1s theme_fadeInUp;
    animation: 1.1s theme_fadeInUp;
}

.ct_team_card:hover .ct_feature_image .ct_social_links a:nth-child(6) {
    -webkit-animation: 1.3s theme_fadeInUp;
    animation: 1.3s theme_fadeInUp;
}


@-webkit-keyframes theme_fadeInUp {
    0% {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
        opacity: 0;
    }

    50% {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}


@keyframes theme_fadeInUp {
    0% {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
        opacity: 0;
    }

    50% {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

.ct_gallery_grid a {
    position: relative;
    display: block;
}

.ct_gallery_grid .gallery_feature_image {
    overflow: hidden;
}

.ct_gallery_grid .gallery_feature_image img {
    max-width: 100%;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}

.ct_gallery_grid:hover .gallery_feature_image img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.ct_gallery_grid .gallery_overlay_box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    padding-bottom: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.ct_gallery_grid .gallery_overlay_box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 26, 0, 0.5);
    z-index: -1;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
}

.ct_gallery_grid .gallery_overlay_box span {
    display: inline-block;
    padding: 12px 20px;
    font-size: 12px;
    border-radius: 3px;
    background-color: #ff1800;
    color: #ffffff;
    opacity: 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
	text-transform: uppercase;
	font-weight: 500;
}

.ct_gallery_grid .gallery_overlay_box h4 {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    opacity: 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.ct_gallery_grid a:hover .gallery_overlay_box {
    padding-bottom: 24px;
}

.ct_gallery_grid a:hover .gallery_overlay_box span {
    opacity: 1;
}

.ct_gallery_grid a:hover .gallery_overlay_box h4 {
    opacity: 1;
}

.ct_gallery_grid:hover .gallery_overlay_box::before {
    opacity: 1;
}


.portfolio_card_box {
	border: 1px solid #F0ECE5;
	padding: 24px;
	border-radius: 3px;
	text-align: center;
}

.portfolio_card_box h3 {
	font-weight: 600;
	margin-top: 24px;
	font-size: 20px;
}

.portfolio_card_box p {
	font-weight: 400;
}
.portfolio_card_box .pf_feature_image {
	position: relative;
	z-index: 1;
	overflow: hidden;
}
.portfolio_card_box .pf_feature_image img {
	max-width: calc(100% + 20px) !important;
	width: calc(100% + 20px) !important;
	transition: 0.3s;
}
.portfolio_card_box .pf_feature_image .overlay_pf_box {
	position: absolute;
	left: 0; 
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 26, 0, 0.5);
	transition: 0.5s;
	z-index: 2;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.portfolio_card_box .pf_feature_image .overlay_pf_box a {
	transition: 0.5s;
	color: #ffffff;
	font-size: 40px;
	display: inline-block;
}
.portfolio_card_box:hover .pf_feature_image img {
	margin-left: -18px;
}

.portfolio_card_box:hover .pf_feature_image .overlay_pf_box {
	opacity: 1;
}
.portfolio_card_box:hover .pf_feature_image .overlay_pf_box a {
	animation: 0.6s theme_fadeInUp;
}
