/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: trickle-up
Author URI: https://trickleup.co.uk/
Template: hello-elementor
Version: 1.0.0
*/

/* Custom CSS starts here */

/* single page CSS starts here */

.cu-single-page a{
	color:#695771 ;
}
.cu-single-page a:hover{
	color:#a2689d ;
}

/* single page CSS end here */

.cu-box {
  border: 1px solid;
  border-image-source: linear-gradient(219.2deg, #2F2235 1.94%, #828282 100%);
  border-image-slice: 1;
}

/* Add this class to your middle (center) box */
.step-box.center {
  position: relative;
}

.step-box.center::before,
.step-box.center::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px; /* adjust as needed */
  height: 1px;
  transform: translateY(-50%);
  opacity: 0.6; /* make it subtle */
}

/* Left gradient line */
.step-box.center::before {
  left: -100px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(153, 153, 153, 0) 100%);
}

/* Right gradient line */
.step-box.center::after {
  right: -100px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(153, 153, 153, 0) 100%);
}

.blurry-box {
  background-color: rgba(25, 25, 25, 0.3) !important;

  /* This is the blur effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* This line is for Safari browser support */
}

.mo-box:hover {
    background-color: #ffff;
	box-shadow: 0 0 25px 5px rgba(255, 255, 255, 1);
}
.mo-box:hover .elementor-icon-box-title, .mo-box:hover .elementor-icon-box-description{
	color:#2F2235 !important;
}

.mo-box:hover svg path {
    fill: #000 !important;
}

.mo-box:hover svg rect {
    color: #000 !important;
    fill: #000 !important;
}

/*
.mo-carasoule .swiper-slide{
	margin-right:0px !important;
}
*/

.partners .elementor-widget-image {
    border: 1px solid #E8E8E81A;
}

/* Target the inner container of all slides */
.testimonia-carasoule .swiper-slide .e-con-inner {
  opacity: 0.3; /* Fades out non-active slides */
  transform: scale(0.85); /* Makes non-active slides smaller */
  transition: opacity 0.4s ease, transform 0.4s ease; /* Adds a smooth animation */
}

/* Target the inner container of ONLY the active slide */
.testimonia-carasoule .swiper-slide-active .e-con-inner {
  opacity: 1; /* Makes the active slide fully visible */
  transform: scale(1); /* Makes the active slide full size */
  z-index: 1; /* Ensures the active slide is on top */
}

/* 3. Add Rotation for the PREVIOUS slide (on the left) */
.testimonia-carasoule .swiper-slide-prev .e-con-inner {
  /* Rotate slightly clockwise (viewed from the top) */
  transform: scale(0.85) rotate(4deg); 
  transform-origin: right center; /* Pivots the rotation from the inner edge */
}

/* 4. Add Rotation for the NEXT slide (on the right) */
.testimonia-carasoule .swiper-slide-next .e-con-inner {
  /* Rotate slightly counter-clockwise (viewed from the top) */
  transform: scale(0.85) rotate(-4deg);
  transform-origin: left center; /* Pivots the rotation from the inner edge */
}
    
    /* Default state (hidden above view) */
.my-sticky-header {
  position: fixed;
  top: -120px; /* hides above the viewport initially */
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #ffffff; /* optional, set your header bg */
  box-shadow: none;
  transition: all 0.4s ease;
  opacity: 0;
  visibility: hidden;
}

/* Active (after scroll) */
.my-sticky-header.sticky-active {
  top: 0; /* slides down */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  opacity: 1;
  visibility: visible;
}
.cu-header{
	top:0px !important;
}

.my-sticky-header.sticky-active  span.elementor-button-text {
    color: #2F2235 !important;
}

.my-sticky-header.sticky-active span.elementor-button-icon svg path
{
    fill: #2F2235 !important;
}

.conatct-form #form-field-field_16c3a7c{
    background-color: red !important;
    accent-color: #433849;
    width: 18px !important;
    height: 18px !important;
    outline: 1px solid #ffffff;
}
.conatct-form span.elementor-field-option{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.carousal-img img{
    width: 100% !important;
}

.cu-gride .elementor-element{
    padding: 28px;
    border: 1px solid #E8E8E820;
	min-height:120px;
}

.conatct-form .elementor-button-icon path:nth-of-type(2)  {
	fill:#695771 !important;
}
{
fill: #ffffff00 !important;
}

/* ============================= */
/* BASE NAVIGATION STYLES */
/* ============================= */

/* Menu containers */
.cu-nav .elementor-nav-menu,
.cu-nav-sub .elementor-nav-menu {
  display: flex;
  flex-direction: column;
}

/* Each menu item */
.cu-nav .elementor-nav-menu li{
  position: relative;
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* Base link styles */
.cu-nav .elementor-nav-menu a,
.cu-nav-sub .elementor-nav-menu a {
  display: inline-block;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
  color: #fff;
}

/* Icon only for .cu-nav hover + active */
.cu-nav .elementor-nav-menu a:hover::before,
.cu-nav .elementor-nav-menu a.elementor-item-active::before {
  content: url(https://sentinelfinancial.co.uk/wp-content/uploads/2025/10/Rectangle-13.png);
  position: absolute;
  left: 0;
  top: 18px;
  width: 25px;
  height: auto;
  background-color: transparent !important;
}

/* Shift text when icon appears (only .cu-nav) */
.cu-nav .elementor-nav-menu a:hover,
.cu-nav .elementor-nav-menu a.elementor-item-active {
  padding-left: 30px !important;
  color: #FFFFFF;
}

/* Hover + active bottom border (both) */
.cu-nav .elementor-nav-menu li:hover,
.cu-nav .elementor-nav-menu li.elementor-item-active,
.cu-nav-sub .elementor-nav-menu li:hover,
.cu-nav-sub .elementor-nav-menu li.elementor-item-active {
  border-bottom-color: #FFFFFF;
}

/* ============================= */
/* SUBMENU TOGGLE BEHAVIOR */
/* ============================= */

/* minimal CSS used by JS toggling (you can combine with your existing styles) */
.nav-mortgage,
.nav-insurance {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  flex-direction: column;
  gap: 12px;
}
/* class that the JS adds visually is inline styles + .show-sub; this is fallback */
.nav-mortgage.show-sub,
.nav-insurance.show-sub {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* === Always-visible arrow for both main nav copies (desktop + dropdown copy) === */
.cu-nav .elementor-nav-menu .menu-item-1882 > a::after,
.cu-nav .elementor-nav-menu .menu-item-1883 > a::after,
.cu-nav .elementor-nav-menu--dropdown .menu-item-1882 > a::after,
.cu-nav .elementor-nav-menu--dropdown .menu-item-1883 > a::after {
  content: url("https://sentinelfinancial.co.uk/wp-content/uploads/2025/10/Arrow-2.png") !important;
  display: inline-block !important;
  margin-left: 10px !important;
  vertical-align: middle !important;
  width: 12px !important;
  height: auto !important;
  opacity: 1 !important;          /* ensure it's visible */
  position: relative !important;
  top: -1px !important;           /* adjust vertical alignment */
  transform: none !important;     /* prevent hover transform from moving it */
	background-color:transparent !important;
}

/* Remove any rules that might be hiding the ::after on the anchor (override hover-only rules) */
.cu-nav .elementor-nav-menu a::after,
.cu-nav .elementor-nav-menu--dropdown a::after {
  opacity: 1 !important;
  transition: none !important;
}

/* If you want a slight hover nudge in addition to always-visible arrow (optional) */
.cu-nav .elementor-nav-menu .menu-item-1882:hover > a::after,
.cu-nav .elementor-nav-menu .menu-item-1883:hover > a::after {
  transform: translateX(4px) !important;
}


.cu-colour-icon svg path{
	fill:#2F2235 !important;
}
.cu-btn-contact svg path{
fill: #69577100 !important;
}
.cu-btn-contact:hover svg path{
fill: #69577100 !important;
}
.cu-btn-contact svg path {
  transition: stroke 0.3s ease;
}

.cu-btn-contact:hover svg path {
  stroke: #ffffff; /* any color you want */
}


.cu-mobile ul.sub-menu{
	margin:0px !important;
	position:relative !important;
}
.cu-mobile ul.sub-menu a.elementor-sub-item {
    font-size: 26px !important;
}


.cu-nav-poopup li.elementor-icon-list-item
	 {
		float: left;
		margin: 0 !important;
		padding-right: 50px !important;
	}

.cu-coming-btn {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;

  /* Background gradient (as you provided) */
  background: linear-gradient(90deg, rgba(232, 232, 232, 0.2) 0%, rgba(47, 34, 53, 0.2) 100%);
  background-clip: padding-box;

  /* Border gradient */
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 100%);
  border-image-slice: 1;

  /* Subtle depth & soft shadow */
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.35),    /* outer shadow */
    inset 0 1px 0 rgba(255, 255, 255, 0.15); /* light inner line */

  /* Optional smooth edges */
  backdrop-filter: blur(0.3px);
  -webkit-backdrop-filter: blur(0.3px);
}



/* Desktop first */
@media (max-width: 1200px) {
  /* large desktop and below */

	
}

@media (max-width: 992px) {
  /* tablet landscape and below */
}

@media (max-width: 768px) {


  /* tablet portrait and below */

	.conatct-form #form-field-field_16c3a7c{
		background-color: red !important;
		accent-color: #433849;
		width: 13px !important;
		height: 13px !important;
		outline: 1px solid #ffffff;
	}
}

@media (max-width: 576px) {

.job-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding-bottom: 10px !important;
  }

  .job-cards > .elementor-element {
    flex: 0 0 85% !important;  /* each card takes 85% of viewport width */
    scroll-snap-align: start !important;
    box-sizing: border-box;
  }

  /* Optional: custom scrollbar */
  .job-cards::-webkit-scrollbar {
    height: 6px;
  }
  .job-cards::-webkit-scrollbar-thumb {
    background: #695771;
    border-radius: 3px;
  }
  .job-cards::-webkit-scrollbar-track {
    background: transparent;
  }
  /* mobile devices */
	.hero-section .mobile-image img{
		width:430px;
	}

	.hero-small-img img{
		width:139px;
		height:142px;
	}

.img-gradient {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.img-gradient img {
  display: block;
  width: 100%;
  height: auto;
}

.img-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(46, 33, 52, 0.6),
    rgba(47, 34, 53, 0.9)
  );
  pointer-events: none;
}

.cu-gride .elementor-element {
    min-height: 175px;
}

.cu-nav-poopup li.elementor-icon-list-item {
    float: none;
    margin: 0 !important;
    padding-right: 0px !important;
}


}

