/*
Theme Name: Haste Child
Description: Child theme for Haste theme
Author: Shufflehound
Author URI: http://shufflehound.com
Version: 1.0
Template: haste
*/

/* Add your custom CSS below */
.page-id-1032 .sh-navigation li a{
	color: #fff;
}
.custom-slider #metaslider-id-1507 .flexslider .caption-wrap {
    background: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
	height: 80px;
	border: 0;
}
.custom-slider .metaslider.ms-theme-clarity .flexslider .caption-wrap .caption{
	padding: 10px 10px!important;
	border-radius:10px;
}
.custom-slider .caption{
	border-radius: 10px;
	text-align: left!important;
}
.metaslider .slides img{
	border-radius:10px;
	 opacity: 0.9;
}
#metaslider-id-1507 .flexslider .caption-wrap a{
	font-size: 14px;
}
#metaslider-id-1507 .flexslider .caption-wrap a strong{
	font-size: 18px;
}
/* .page-id-1032 .sh-logo-dark, .dark-mode .sh-logo-standard {
    display: block;
}
.page-id-1032 .sh-logo-standard{
	display: none;
}
 */
/* Container wrapper */
.custom-cards .elementor-image-box-wrapper {
  position: relative;
  overflow: hidden;
  color: white;
}

/* Gradient overlay */
.custom-cards .elementor-image-box-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
  rgba(22, 144, 133, 0.8) 0%,
  rgba(44, 135, 130, 0.6) 30%,
  rgba(45, 107, 114, 0.5) 55%,
  rgba(16, 41, 66, 0.6) 84%);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 1;
}

/* Title (initial) */
.custom-cards .elementor-image-box-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin: 0;
  z-index: 2;
  color: white;
  transition: transform 0.4s ease;
}

/* Description (hidden and pushed down) */
.custom-cards .elementor-image-box-description {
  position: absolute;
  bottom: -40px;
  left: 20px;
  right: 20px;
  opacity: 0;
  z-index: 2;
  transition: all 0.4s ease;
  color: white;
}

/* Hover effect */
.custom-cards .elementor-image-box-wrapper:hover::before {
  opacity: 1;
}

.custom-cards .elementor-image-box-wrapper:hover .elementor-image-box-title {
  transform: translateY(-260px);
}

.custom-cards .elementor-image-box-wrapper:hover .elementor-image-box-description {
  bottom: 20px;
  opacity: 1;
}
/* Right arrow appears on hover */
.custom-cards .elementor-image-box-wrapper::after {
  content: '→';
  position: absolute;
  bottom: 270px;
  right: 20px;
  font-size: 24px;
  color: white;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.custom-cards .elementor-image-box-wrapper:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.arrow-bg{
	padding: 8px 12px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	background-color: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
}
.full_width_about .e-con-inner::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    background: white;
    border-radius: 10px;
    width: 85%;
}
.logo-img .sh-partners img {
    max-width: 160px;
    max-height: 160px;
}
.hide-img{
	text-align: center;
}
.hide-img .sh-blog-categories-item-content {
    flex: 1;
    border: 1px solid rgb(217 220 205);
    border-radius: 25px;
    padding: 5px;
	transition: background-color 0.3s ease;
}
.sh-blog-categories-item-content:hover {
    background: #ff5772;
    color: #fff;
}
.hide-img .sh-blog-categories-item-image{
	display: none;
	
}
.gradient-class h1 span {
    background: linear-gradient(90deg, #ff5772, #1168ed);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.border-gradient {
  position: relative;
  border-radius: 16px;
  padding: 2px; /* Acts as border thickness */
  background: transparent;
  z-index: 0;
}
.border-gradient::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(90deg, #ff5772, #1168ed);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}
.custom-slider .swiper-slide {
	border: 1px solid #5a2c78;
	height: auto;
}
.sh-navigation ul.sub-menu li.menu-item a > .sh-menu-item-box{
	color: #000!important;
}



