/*
 Theme Name:   Kadence Child
 Description:  Kadence Child Theme
 Author:       Deepak Kumar
 Template:     kadence
 Version:      1.0.0
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.custom-button a {
	padding: 10px 30px !important;
	margin-top: -10px;
	background-color: var(--e-global-color-kadence1);
	border-radius: 200px;
}

.custom-button a:hover {
	color: #fff !important;
}

.mySwiper.myEmployees .card::before {
	height: 30% !important;
}

.mySwiper.myEmployees .card .image {
	background: none !important;
}

@media only screen and (max-width:767px) {
	.swiper-wrapper {
		gap: 5px;
	}
}


/* Header Banner Area */

.custom-header-banner {
	background-size: cover;
	background-position: center;
	color: white;
	text-align: center;
	position: relative;
	min-height: 80dvh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-overlay {
	background-color: rgba(255, 255, 255, 0.7);
	display: inline-block;
	border-radius: 1em;
}

.banner-title {
	margin: 0;
	font-size: clamp(1.875rem, 1.4794rem + 1.2658vw, 2.5rem);
	color: #000;
	word-break: keep-all;
	padding: 1em 1.5em;
}

@media only screen and (max-width: 767px) {
	.footer-menu .hfe-nav-menu a.hfe-menu-item {
		justify-content: center !important;
	}
	.banner-title {
	  padding: 0.5em;
	}
}

.mySwiper.myEmployees .card .button a:hover {
	background-color: var(--global-palette-btn-bg-hover) !important;
}


/* Slide wrapper */

.case-study-slider .swiper-container {
	margin: 0 50px;
}

@media only screen and (max-width: 767px) {
	.case-study-slider .swiper-container {
		margin: 0 30px;
	}
}

.case-study-slide .slide-inner {
    text-align: left;
    transition: transform 0.3s ease;
}

/* Image zoom effect */
.case-study-slide .slide-image {
    overflow: hidden;
	margin-bottom: 2em;
}
.case-study-slide .slide-image img {
    max-width: 100%;
    transition: transform 0.8s ease;
}
.case-study-slide .slide-image:hover img {
    transform: scale(1.1);
}

/* Title */
.case-study-slide .slide-title {
    margin: 15px 0 10px;
    font-size: 1.5em;
}

/* Button */
.case-study-slide .slide-btn {
    display: inline-block;
    padding: 8px 16px;
    color: var(--global-palette3);
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}
.case-study-slide .slide-btn:hover {
	color: #fff;
    background-color: var(--global-palette3);
}

/* Swiper navigation arrows */
.case-study-slider .swiper-button-next,
.case-study-slider .swiper-button-prev {
    color: #555;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
}


/* Adjust position */
.case-study-slider .swiper-button-next {
    right: 0;
}
.case-study-slider .swiper-button-prev {
    left: 0;
}

.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 1.5em !important;
}


/* Submenu underline for desktop */
.sub-menu li:not(:last-of-type)::after {
	width: calc(100% - 30px);
	height: 1.5px;
	content: "";
	background-color: #fff;
	position: absolute;
	left: 20px;
	bottom: 0;
}

/* Responsive submenu line style */
@media only screen and (max-width: 767px) {
	.sub-menu li:not(:last-of-type)::after {
		width: calc(100% - 50px);
		left: 25px;
		height: 1.5px;
		content: "";
		background-color: #fff;
		position: absolute;
		bottom: 0;
	}
}

/* Optional hover effect (still commented out) */
/*
.sub-menu li:hover::after {
	background-color: var(--global-palette-highlight);
}
*/

.address{
	color: #000;
	font-size: 1rem;
	font-weight: 900;
	font-family: inherit;
	margin-bottom: 1em;
}

.ehf-header #masthead {
	background: transparent;
	position: absolute;
	z-index: 50;
}

@media only screen and (max-width:767px) {
	.hfe-nav-menu .hfe-nav-menu__toggle{
		margin-right: 0!important;
	}	
}

.vjs-poster img{
	object-fit: cover;
}

/* 🔄 Rotating Logo Animation */
.spin img {
  animation: spin 5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ehf-header #masthead.sticky-header {
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: var(--global-palette3);
}

#masthead {
  transition: all 0.3s ease-in-out;
  width: 100%
}

