/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
Add your custom styles here
*/
body .df-book-cover img {width:100%;height:100%;object-fit:fill}
body .df-book-cover{height:400px}
.df-popup-thumb{width:100% !important}
body{overflow-x:hidden !important}
.hero_bg::before {
	content: '' !important;
	position: absolute !important;
	background-image: linear-gradient(90deg, #07262699 0%, #07262680 37%, #0726264d 60%, #07262600 100%) !important;
	z-index: 1;
}
/* .hero_bg::before {
content: '' !important;
position: absolute !important;
background-image:linear-gradient(90deg, 
#072626 37%, #072626bf 45%, #07262600 100%) !important;
z-index:1
} */
body  .collaboration_sec  .gallery{text-align:center} 
.service_cards {position: relative;overflow: hidden;}
.service_cards::after {content: '';position: absolute;inset: 0;background: rgba(0, 0, 0, 0);transition: background 0.4s ease;pointer-events: none;}
.service_cards:hover::after {background: rgba(0, 0, 0, 0.72);}
.overlay_text {position: absolute;bottom: -100%;left: 0;width: 100%;opacity: 0;transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;pointer-events: none;z-index: 2;}
.service_cards:hover .overlay_text {bottom: 0;opacity: 1;pointer-events: auto;}
.card_title {transition: opacity 0.3s ease, transform 0.3s ease;opacity: 1;transform: translateY(0);z-index: 1;}
body .service_cards:hover .card_title {opacity: 0 !important;transform: translateY(-10px);pointer-events: none;}
.service_cards:hover .overlay_text h2{color:#fff !important;}
.card_title { position: absolute; bottom: 0; left: 0; width: 100%; padding: 60px 20px 20px; box-sizing: border-box; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%); z-index: 1; transition: opacity 0.3s ease, transform 0.3s ease; }
.card_title h2 { color: #ffffff !important; font-size: 22px !important; line-height: 1.3 !important; margin: 0 !important; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); }
body .service_cards:hover .card_title { opacity: 0 !important; transform: translateY(10px); pointer-events: none; }

.team-member-hover{
	overflow: hidden;
}
.team-member-hover *{
	transition: all 0.3s ease-in-out !important;
}
.team-member-hover .icon-cont{
	opacity: 0.4;
	transform: translateX(200%);
	pointer-events: none;
}
.team-member-hover:hover .icon-cont{
	opacity: 1;
	transform: translateX(0%);
	pointer-events: all;
}
.team-member-hover:hover img{
	filter: brightness(70%);
}
.team-member-hover:hover .title-cont{
	background-color: #072626 !important;
}
.team-member-hover:hover .title-cont *{
	color: white !important;
}

.collaboration_sec .gallery-item{position: relative;overflow: hidden;border-radius: 16px;}
.collaboration_sec  .gallery-item img{display: block;width: 150px;height: 150px;border-radius: 16px;transition: transform .45s ease;}
.collaboration_sec .gallery-item .gallery-caption{
	position: absolute;
	inset: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 5px;
	background: rgba(0,0,0,.88);
	color: #fff;
	font-size: 15px;
	font-style: italic;
	text-align: center;
	border-radius: 16px;
	opacity: 0;
	visibility: hidden;
	transform: scale(.9);
	transition:opacity .35s ease,transform .35s ease,visibility .35s ease;
}
/* Parent */
.main-portfolio-card {
    position: relative;
    overflow: hidden;
}

/* Hidden by default */
.main-portfolio-card .show_award_text h2 {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

/* Show on hover */
.main-portfolio-card:hover .show_award_text h2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.collaboration_sec .gallery .gallery-item .gallery-icon {
	width: 100%;
	height: 100%;
}
.collaboration_sec .gallery .gallery-item .gallery-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.collaboration_sec .gallery .gallery-item {
	height: 150px;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
/* 	max-width: 100%; */
}

.collaboration_sec .gallery-item:hover .gallery-caption{opacity: 1;visibility: visible;transform: scale(1);}
@media(max-width: 1024px){
	.team-member-hover .icon-cont {
		opacity: 1 !important;
		transform: translateX(0%) !important;
		pointer-events: all !important;
	}
}