/*  */


#discover-btn{
  background: #2EB2FF !important;
}
 #discover-btn:before{
  background: #fff !important;
 }

#discover-btn #discover-before{
  color:#fff !important;
} 

#discover-btn #discover-after{
  color:#2EB2FF !important;
} 

#btn-discover{
   background: #fff !important;
}

#btn-discover svg rect{
     fill: #fff !important;
}

#btn-discover svg path{
     fill: #2EB2FF !important;
}






/* Blur ONLY the number wrapper */
.counter-blur .elementor-counter-number-wrapper {
  filter: blur(16px);
  opacity: 0;
  transform: translateY(25px);

  transition:
    filter 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);

  will-change: filter, opacity, transform;
}

/* Visible state */
.counter-blur.counter-visible .elementor-counter-number-wrapper {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

/* .discover-services .elementor-loop-container {
  display: block !important;
  flex-direction: column;
}

.discover-services .e-loop-item {
  position: sticky;
  top: 0px;
  z-index: 1;
  margin-bottom: 40px;
} */


e .swiper-slide:nth-child(2) > .e-con {
  transition-delay: 0.3s !important;
}

/* 1st and 4th Cards: Animate THIRD */
selector.is-visible .swiper-slide:nth-child(1) > .e-con,
selector.is-visible .swiper-slide:nth-child(4) > .e-con {
  transition-delay: 0.6s !important;
}

/* .discover-services .discover-card{
    border-radius:30px;
} */
  
/* INITIAL STATE: Inner container pushed down and hidden */
.staggered-carousel-anim .swiper-slide > .e-con {
  transform: translateY(150px) !important;
  opacity: 0 !important;
  transition:
    transform 1.5s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 1.5s ease !important;
}

/* FINAL STATE: Pushed up to flat line */
.staggered-carousel-anim.is-visible .swiper-slide > .e-con {
  transform: translateY(0px) !important;
  opacity: 1 !important;
}

/* 3rd Card: Animates FIRST */
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(3) > .e-con {
  transition-delay: 0s !important;
}

/* 2nd Card: Animates SECOND */
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(2) > .e-con {
  transition-delay: 0.3s !important;
}

/* 1st and 4th Cards: Animate THIRD */
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(1) > .e-con,
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(4) > .e-con {
  transition-delay: 0.6s !important;
}

.discover-btn {
  width: 221px !important;
}

.move-arrow-btn:hover .icon-discover {
  left: 177px !important;
}
.get-arrow {
  width: 175px !important;
}
.move-arrow-btn:hover .get-arrow-after {
  left: 130px !important;
}
@media (max-width: 767px) {
  /* 1. Force the slides to be exactly 313px (overrides Swiper's Javascript) */
  selector .swiper-slide {
    width: 313px !important;
  }

  /* 2. Allow the next slide to peek out */
  selector .swiper,
  selector .e-n-carousel {
    overflow: visible !important;
  }
}

/* Service Parent Grid Shortcode Styles */

.service-parent-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px; /* Space between different sub-services */
  width: 100%;
}
.service-child-row {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 20px;
  align-items: start;
}
.service-child-left {
  padding-right: 20px;
  color: #ffffff;
}
.service-child-title {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 300;
}
.service-child-desc {
  color: #b3b9c5;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
.service-child-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #12b5f1;
  font-weight: bold;
  border: 2px solid #ffffff;
  border-radius: 30px;
  padding: 8px 20px;
  background: #ffffff;
  transition: all 0.3s ease;
}
.service-child-button:hover {
  background: #12b5f1;
  border-color: #12b5f1;
  color: #ffffff;
}
.service-child-button i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #12b5f1;
  color: #ffffff;
  width: 24px;
  height: 24px;
}
.service-child-button:hover i {
  background: #ffffff;
  color: #12b5f1;
}

.service-child-right-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; /* Tiny gap to simulate borders if background is different */
  background-color: #030b2e; /* Navy background */
}
.service-block-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background-color: #04103b; /* Slightly lighter navy for blocks */
  border: 1px solid #1a2552; /* Subtle border to match screenshot */
}
.service-block-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.service-block-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.service-block-text h3 {
  color: #ffffff;
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 15px;
}
.service-block-text p {
  color: #b3b9c5;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* .learn-btn .text-before{
    color: #269cff !important;
}
.learn-btn .text-after{
    color: #ffff !important;
}
.learn-btn .btn-icon{
        background: #269cff !important;
}
.learn-btn .btn-icon svg path{
    fill: #269cff  !important;
}
.learn-btn .move-arrow-btn{
        border: 2px solid #fff !important;
    border-radius: 50px;
    background: #fff !important; 
    color:  #269cff !important;
}
.learn-btn .move-arrow-btn:hover .btn-sub-service{
        left: 117px !important;
}
.learn-btn .move-arrow-btn:before{
    background: #269cff !important;
}

.learn-btn .move-arrow-btn {
    background: #fff;
    border: 2px solid transparent !important;
} */

.white-btn .move-arrow-btn:hover #btn-sub-service {
  left: 117px !important;
}

.white-btn .move-arrow-btn:hover #btn-discover {
  left: 185px !important;
}
/* Responsive Breakpoints (Laptop/Tablet/Mobile) */

/* Smaller Desktop / Tablet Landscape */
@media (max-width: 1200px) {
  .service-child-row {
    grid-template-columns: 35% 1fr;
  }
  .service-block-text {
    padding: 25px;
  }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
  .service-child-row {
    grid-template-columns: 40% 1fr;
    gap: 15px;
  }
  .service-child-right-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .service-child-row {
    grid-template-columns: 1fr;
  }
  .service-child-right-blocks {
    grid-template-columns: 1fr;
  }
  .service-child-left {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .service-block-item img {
    height: 250px;
  }
}

.start-arrow {
  width: 215px !important;
}
.move-arrow-btn:hover .start-arrow-after {
  left: 168px !important;
}

/*Light Mode */

/* .light-mode .services-section-one>div> ul>li{
    fill: #ffffff;
    color: #ffffff;
} */
/* body.light-mode {
    --page-bg: #ffffff;
    --section-bg: #f8f9fa;
} */

body:not(.dark-mode) .ripple-background,
.light-mode .ripple-background {
    background-color: transparent !important;
    /* 'circle' instead of '180deg' for radial gradients */
    background-image: radial-gradient(circle, #FFFFFF 0%, #2eb2ff38 100%) !important;
}

.services-section-one .counter-colour .counter-blur span {
  fill: #2eb2ff;
  color: #2eb2ff;
}
.services-section-one .heading-million h3 {
  color: #2eb2ff;
}
.services-section-one .services-text p {
  color: #2eb2ff;
}
.services-section-four h2 {
  color: #2d3a48 !important;
}
.services-section-four p {
  color: #2d3a48 !important;
}
.sub-services .spg-parent-title {
  color: #2eb2ff;
}

.sub-services .spg-child-title {
  color: #2d3a48;
}

.sub-services .spg-child-desc {
  color: #2d3a48;
}
.sub-services .spg-text-card h3 {
  color: #2eb2ff;
}
.sub-services .spg-text-card p {
  color: #2eb2ff;
}
.sub-services .spg-text-card {
  background-color: rgba(46, 178, 255, 0.05);
}
.discover-card {
  border: 1px solid #2eb2ff;
}
#home-services {
  background-color: #ffff !important;
}
.light-mode .dark-image{
  display: none !important;
}
.light-mode .light-image{
  display: grid !important;
}
/* Dark Mode*/
/* body.dark-mode {
    --page-bg: #050a30;
} */

/* .dark-mode .services-section-one>div> ul>li{
    fill: #ffffff;
    color: #ffffff;
} */

/* .dark-mode .counter-blur{
    color: #ffffff;
} */

.dark-mode .ripple-background{
  background-color: #fff !important;
}
.dark-mode .services-section-one .counter-colour .counter-blur span {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.dark-mode .services-section-one .heading-million h3 {
  color: #ffffff !important;
}

.dark-mode .services-section-one .services-text p {
  color: #ffff !important ;
}

.dark-mode .services-section-four h2 {
  color: #ffff !important ;
}

.dark-mode .services-section-four .success-stories p {
  color: #ffff !important;
}

.dark-mode .sub-services .spg-child-title {
  color: #ffff !important;
}

.dark-mode .sub-services .spg-child-desc {
  color: #ffff !important ;
}

.dark-mode .sub-services .spg-text-card h3 {
  color: #ffff !important ;
}

.dark-mode .sub-services .spg-text-card p {
  color: #ffff !important ;
}
.dark-mode .discover-card {
  border: 1px solid #ffff;
}
.client-logo-image {
    transition: filter 0.3s ease;
}

/* .dark-mode .client-logo-image {
    filter: brightness(0) invert(1);
} */
.dark-mode #home-services {
  background-color: #050a30 !important;
}

.dark-mode .dark-image{
  display:  grid !important ;
}
.dark-mode .light-image{
  display: none !important;
}
/* ==========================================================================
   RUBBER SWIPER ANIMATION (Elementor Swiper Carousel)
   ========================================================================== */

/* 1. Base Structure */
.rubber-swiper-anim {
  position: relative;
  z-index: 1;
}

.rubber-swiper-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position: center top;
  border-radius: inherit;
}
/* Force-hide browser accessibility outlines & dotted borders */
.rubber-swiper-anim,
.rubber-swiper-anim * {
  outline: none !important;
}

/* Also remove any accidental dotted borders applied by the theme */
.rubber-swiper-anim .swiper-wrapper,
.rubber-swiper-anim .e-n-carousel {
  border: none !important;
}

/* 2. Desktop Animation Only (Above 1024px) */
@media (min-width: 1024px) {
  /* Rubber-band stretch background initial state */
  .rubber-swiper-bg {
    transform-origin: top center;
    transform: scaleY(1.5); /* Figma stretch */
  }
/* ==========================================================================
   RUBBER SWIPER ANIMATION (Elementor Swiper Carousel)
   ========================================================================== */

/* 1. Base Structure */
.rubber-swiper-anim {
  position: relative;
  z-index: 1;
}
.rubber-swiper-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position: center top;
  border-radius: inherit;
}
.rubber-swiper-anim,
.rubber-swiper-anim * {
  outline: none !important;
}
.rubber-swiper-anim .swiper-wrapper,
.rubber-swiper-anim .e-n-carousel {
  border: none !important;
}
@media (min-width: 1025px) {
  .rubber-swiper-bg {
    transform-origin: top center;
    transform: scaleY(1.5);
  }
  
  .rubber-swiper-anim {
    margin-bottom: 250px !important;
    /* Slowed movement to 2000ms */
    transition: margin-bottom 2000ms cubic-bezier(0.25, 1, 0.5, 1) !important;
  }
  
  .rubber-swiper-anim .swiper-slide > .e-con {
    opacity: 0 !important;
    transition:
      transform 2000ms cubic-bezier(0.25, 1, 0.5, 1),
      opacity 1600ms ease !important;
  }
  
  /* Staggered Offsets */
  .rubber-swiper-anim .swiper-slide:nth-child(1) > .e-con {
    transform: translateY(50%) !important;
    transition-delay: 1600ms !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(2) > .e-con {
    transform: translateY(25%) !important;
    transition-delay: 1400ms !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(3) > .e-con {
    transform: translateY(10%) !important;
    transition-delay: 1000ms !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(4) > .e-con {
    transform: translateY(20%) !important;
    transition-delay: 1200ms !important;
  }
  
  .rubber-swiper-anim.is-visible {
    margin-bottom: 0px !important;
    transition-delay: 1600ms !important; /* Synced with the last card */
  }
  
  .rubber-swiper-anim.is-visible .rubber-swiper-bg {
    transform: scaleY(1);
    /* Slowed movement to 2000ms */
    transition: transform 2000ms cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 1000ms; /* Perfect Sync: Waits for the 1st card (Slide 3) */
  }
  
  .rubber-swiper-anim.is-visible .swiper-slide > .e-con {
    opacity: 1 !important;
    transform: translateY(0px) !important;
  }
}

}


.services-img > img {
  border-radius: 30px;
}

/* Blur ONLY the number wrapper */
.counter-blur .elementor-counter-number-wrapper {
  filter: blur(16px);
  opacity: 0;
  transform: translateY(25px);
  transition:
    filter 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: filter, opacity, transform;
}
.counter-blur.counter-visible .elementor-counter-number-wrapper {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

/* .discover-services .elementor-loop-container {
  display: block !important;
  flex-direction: column;
}
.discover-services .e-loop-item {
  position: sticky;
  top: 0px;
  z-index: 1;
  margin-bottom: 40px;
} */
/* .discover-services .discover-card{ border-radius:30px; } */
.staggered-carousel-anim .swiper-slide > .e-con {
  transform: translateY(150px) !important;
  opacity: 0 !important;
  transition:
    transform 1.5s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 1.5s ease !important;
}
.staggered-carousel-anim.is-visible .swiper-slide > .e-con {
  transform: translateY(0px) !important;
  opacity: 1 !important;
}
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(3) > .e-con {
  transition-delay: 0s !important;
}
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(2) > .e-con {
  transition-delay: 0.3s !important;
}
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(1) > .e-con,
.staggered-carousel-anim.is-visible .swiper-slide:nth-child(4) > .e-con {
  transition-delay: 0.6s !important;
}

.discover-btn {
  width: 221px !important;
}
.move-arrow-btn:hover .icon-discover {
  left: 177px !important;
}
.get-arrow {
  width: 175px !important;
}
.move-arrow-btn:hover .get-arrow-after {
  left: 130px !important;
}
@media (max-width: 767px) {
  selector .swiper-slide {
    width: 313px !important;
  }
  selector .swiper,
  selector .e-n-carousel {
    overflow: visible !important;
  }
}

.service-parent-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
}
.service-child-row {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 20px;
  align-items: start;
}
.service-child-left {
  padding-right: 20px;
  color: #ffffff;
}
.service-child-title {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 300;
}
.service-child-desc {
  color: #b3b9c5;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
.service-child-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #12b5f1;
  font-weight: bold;
  border: 2px solid #ffffff;
  border-radius: 30px;
  padding: 8px 20px;
  background: #ffffff;
  transition: all 0.3s ease;
}
.service-child-button:hover {
  background: #12b5f1;
  border-color: #12b5f1;
  color: #ffffff;
}
.service-child-button i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #12b5f1;
  color: #ffffff;
  width: 24px;
  height: 24px;
}
.service-child-button:hover i {
  background: #ffffff;
  color: #12b5f1;
}
.service-child-right-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: #030b2e;
}
.service-block-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background-color: #04103b;
  border: 1px solid #1a2552;
}
.service-block-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.service-block-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.service-block-text h3 {
  color: #ffffff;
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 15px;
}
.service-block-text p {
  color: #b3b9c5;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.white-btn .move-arrow-btn:hover #btn-sub-service {
  left: 117px !important;
}
.white-btn .move-arrow-btn:hover #btn-discover {
  left: 185px !important;
}
@media (max-width: 1200px) {
  .service-child-row {
    grid-template-columns: 35% 1fr;
  }
  .service-block-text {
    padding: 25px;
  }
}
@media (max-width: 1024px) {
  .service-child-row {
    grid-template-columns: 40% 1fr;
    gap: 15px;
  }
  .service-child-right-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .service-child-row {
    grid-template-columns: 1fr;
  }
  .service-child-right-blocks {
    grid-template-columns: 1fr;
  }
  .service-child-left {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .service-block-item img {
    height: 250px;
  }
}

.services-section-one .counter-colour .counter-blur span {
  fill: #2eb2ff;
  color: #2eb2ff;
}
.services-section-one .heading-million h3 {
  color: #2eb2ff;
}
.services-section-one .services-text p {
  color: #2eb2ff;
}
/* .services-section-four h2 {
  color: #2eb2ff;
}
.services-section-four p {
  color: #2eb2ff;
} */
.sub-services .spg-parent-title {
  color: #2eb2ff;
}
.sub-services .spg-child-title {
  color: #2d3a48;
}
.sub-services .spg-child-desc {
  color: #2d3a48;
}
.sub-services .spg-text-card h3 {
  color: #2eb2ff;
}
.sub-services .spg-text-card p {
  color: #2eb2ff;
}
.sub-services .spg-text-card {
  background-color: rgba(46, 178, 255, 0.05);
}
.discover-card {
  border: 1px solid #2eb2ff;
}
#home-services {
  background-color: #ffff !important;
}
.cc-pair-1 .cc-img-wrapper .cc-ring-svg {
  width: 330px !important;
  height: 330px !important;
}
.cc-image-rings-section {
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    #ffffff 23%,
    #2eb2ff 250%
  ) !important;
}
.cc-pair-4 .cc-img-wrapper .cc-ring-svg {
  width: 330px !important;
  height: 330px !important;
}
.dark-mode .services-section-one .counter-colour .counter-blur span {
  fill: #ffffff !important;
  color: #ffffff !important;
}
.dark-mode .services-section-one .heading-million h3 {
  color: #ffffff !important;
}
.dark-mode .services-section-one .services-text p {
  color: #ffff !important ;
}
.dark-mode .services-section-four h2 {
  color: #ffff !important ;
}
.dark-mode .services-section-four .success-stories p {
  color: #ffff !important;
}
.dark-mode .sub-services .spg-child-title {
  color: #ffff !important;
}
.dark-mode .sub-services .spg-child-desc {
  color: #ffff !important ;
}
.dark-mode .sub-services .spg-text-card h3 {
  color: #ffff !important ;
}
.dark-mode .sub-services .spg-text-card p {
  color: #ffff !important ;
}
.dark-mode .discover-card {
  border: 1px solid #ffff;
}
.dark-mode #home-services {
  background-color: #050a30 !important;
}

.rubber-swiper-anim {
  position: relative;
  z-index: 1;
}
.rubber-swiper-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position: center top;
  border-radius: inherit;
}
.rubber-swiper-anim,
.rubber-swiper-anim * {
  outline: none !important;
}
.rubber-swiper-anim .swiper-wrapper,
.rubber-swiper-anim .e-n-carousel {
  border: none !important;
}
@media (min-width: 1025px) {
  .rubber-swiper-bg {
    transform-origin: top center;
    transform: scaleY(1.5);
  }
  .rubber-swiper-anim {
    margin-bottom: 250px !important;
    transition: margin-bottom 1400ms cubic-bezier(0.25, 1, 0.5, 1) !important;
  }
  .rubber-swiper-anim .swiper-slide > .e-con {
    opacity: 0 !important;
    transition:
      transform 1400ms cubic-bezier(0.25, 1, 0.5, 1),
      opacity 1000ms ease !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(1) > .e-con {
    transform: translateY(50%) !important;
    transition-delay: 600ms !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(2) > .e-con {
    transform: translateY(25%) !important;
    transition-delay: 400ms !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(3) > .e-con {
    transform: translateY(10%) !important;
    transition-delay: 0ms !important;
  }
  .rubber-swiper-anim .swiper-slide:nth-child(4) > .e-con {
    transform: translateY(20%) !important;
    transition-delay: 200ms !important;
  }
  .rubber-swiper-anim.is-visible {
    margin-bottom: 0px !important;
    transition-delay: 600ms !important;
  }
  .rubber-swiper-anim.is-visible .rubber-swiper-bg {
    transform: scaleY(1);
    transition: transform 1400ms cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 600ms;
  }
  .rubber-swiper-anim.is-visible .swiper-slide > .e-con {
    opacity: 1 !important;
    transform: translateY(0px) !important;
  }
}

/* AVATAR CSS */
.cc-profile-image {
  z-index: 10;
  cursor: pointer;
}
.cc-profile-image img {
  border-radius: 50% !important;
  object-fit: cover;
}
.elementor-widget-testimonial[class*="cc-pair-"] {
  background: white;
  border: 1px solid #2eb2ff;
  padding: 38px 35px;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
  z-index: 20;
  position: relative;
}
.elementor-widget-testimonial[class*="cc-pair-"]::before,
.elementor-widget-testimonial[class*="cc-pair-"]::after {
  content: "";
  position: absolute;
  border-style: solid;
  display: block;
  width: 0;
  transform: none;
}
.elementor-widget-testimonial[class*="cc-pair-"]::before {
  border-width: 18px 18px 0 18px;
  border-color: #2eb2ff transparent transparent transparent;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}
.elementor-widget-testimonial[class*="cc-pair-"]::after {
  border-width: 17px 17px 0 17px;
  border-color: #fff transparent transparent transparent;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}
.elementor-testimonial-meta {
  justify-content: flex-start !important;
  text-align: left !important;
}
.elementor-testimonial-meta-inner {
  align-items: flex-start !important;
}
.elementor-testimonial-details {
  text-align: left !important;
}
body:not(.elementor-editor-active)
  .elementor-widget-testimonial[class*="cc-pair-"] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
.cc-image-rings-section {
  position: relative !important;
  overflow: hidden !important;
}
.cc-profile-image {
  overflow: visible !important;
}
.cc-profile-image .elementor-widget-container {
  overflow: visible !important;
}
.cc-img-wrapper {
  position: relative !important;
  display: inline-block;
  overflow: visible !important;
  line-height: 0;
}
.cc-img-wrapper .cc-ring-svg {
  position: absolute !important;
  left: 50%;
  top: 50%;
  width: 500px;
  height: 500px;
  max-width: none !important;
  pointer-events: none;
  z-index: 0;
}
.cc-img-wrapper img {
  position: relative;
  z-index: 1;
}
.cc-profile-image[class*="cc-pair-"] {
  z-index: 5 !important;
}

/* THE MAGIC POSITIONING FIX (Crushes Elementor's column layout) */
.cc-image-rings-section .elementor-widget-testimonial[class*="cc-pair-"] {
  position: absolute !important;
  bottom: 100% !important;
  top: auto !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 0 25px 0 !important;
  z-index: 20 !important;
  height: auto;
}

/* FLIP TOP BUBBLES (Pair 1 & 2) TO OPEN DOWNWARDS (Bubble below image) */
/* Increased specificity to ensure it overrides the default Elementor rules */
.cc-image-rings-section .cc-img-wrapper .cc-pair-1.elementor-widget-testimonial,
.cc-image-rings-section
  .cc-img-wrapper
  .cc-pair-2.elementor-widget-testimonial {
  bottom: auto !important;
  top: 100% !important;
  margin: 25px 0 0 0 !important; /* flip margin */
}
.cc-image-rings-section
  .cc-img-wrapper
  .cc-pair-1.elementor-widget-testimonial::before,
.cc-image-rings-section
  .cc-img-wrapper
  .cc-pair-2.elementor-widget-testimonial::before {
  border-width: 0 18px 18px 18px !important;
  border-color: transparent transparent #2eb2ff transparent !important;
  bottom: auto !important;
  top: -19px !important;
}
.cc-image-rings-section
  .cc-img-wrapper
  .cc-pair-1.elementor-widget-testimonial::after,
.cc-image-rings-section
  .cc-img-wrapper
  .cc-pair-2.elementor-widget-testimonial::after {
  border-width: 0 17px 17px 17px !important;
  border-color: transparent transparent #fff transparent !important;
  bottom: auto !important;
  top: -17px !important;
}

/* MOBILE RING SIZE */
@media (max-width: 768px) {
  .cc-img-wrapper .cc-ring-svg {
    width: 180px;
    height: 180px;
  }
  .cc-pair-1 .cc-img-wrapper .cc-ring-svg {
    width: 150px !important;
    height: 150px !important;
  }
  .services-img > img {
    border-radius: 20px;
  }
  .cc-image-rings-section {
    background-color: transparent;
    background-image: linear-gradient(
      180deg,
      #ffffff 23%,
      #2eb2ff 100%
    ) !important;
  }
  .cc-image-rings-section {
    background-color: transparent;
    background-image: linear-gradient(
      180deg,
      #ffffff 23%,
      #2eb2ff 250%
    ) !important;
  }
  .cc-pair-4 .cc-img-wrapper .cc-ring-svg {
    width: 150px !important;
    height: 150px !important;
  }
}

/* SHIFT TAILS INWARD (Matches JS Offsets perfectly on ALL devices) */
/* Left Avatars */
.cc-image-rings-section .cc-pair-2.elementor-widget-testimonial::before,
.cc-image-rings-section .cc-pair-4.elementor-widget-testimonial::before,
.cc-image-rings-section .cc-pair-2.elementor-widget-testimonial::after,
.cc-image-rings-section .cc-pair-4.elementor-widget-testimonial::after {
  left: 15% !important;
  transform: translateX(-50%) !important;
}

/* Right Avatars */
.cc-image-rings-section .cc-pair-1.elementor-widget-testimonial::before,
.cc-image-rings-section .cc-pair-3.elementor-widget-testimonial::before,
.cc-image-rings-section .cc-pair-1.elementor-widget-testimonial::after,
.cc-image-rings-section .cc-pair-3.elementor-widget-testimonial::after {
  left: 85% !important;
  transform: translateX(-50%) !important;
}

.tittle-head-gradient .elementor-heading-title {
  background: linear-gradient(180deg, #ffffff 50%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================ */
/* MISSION SLIDER - STAGGERED ENTRANCE ANIMATION                */
/* ============================================================ */

/* 1. Base Structure */
.mission-slider {
  position: relative;
  z-index: 1;
}

.mission-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position: center top;
  border-radius: inherit;
}

/* Force-hide browser accessibility outlines & dotted borders */
.mission-slider,
.mission-slider * {
  outline: none !important;
}

/* 2. Desktop Animation Only (Above 1024px) */
@media (min-width: 1024px) {
  /* Rubber-band stretch background initial state */
  .mission-slider-bg {
    transform-origin: top center;
    transform: scaleY(1.5); /* Figma stretch */
  }

  /* INITIAL STATE: Pushes the next container down */
  .mission-slider {
    margin-bottom: 500px !important;
    transition: margin-bottom 2400ms cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  /* INITIAL STATE: Cards pushed down and hidden natively! */
  .mission-slider > .e-con {
    opacity: 0 !important;
    align-self: stretch !important;
    height: auto !important;
    transition:
      transform 2400ms cubic-bezier(0.25, 1, 0.5, 1),
      opacity 1800ms ease !important;
  }

  /* Staggered Offsets */
  .mission-slider > .e-con:nth-child(1) {
    transform: translateY(100px) !important;
    transition-delay: 0ms !important;
  }
  .mission-slider > .e-con:nth-child(2) {
    transform: translateY(300px) !important;
    transition-delay: 400ms !important;
  }
  .mission-slider > .e-con:nth-child(3) {
    transform: translateY(500px) !important;
    transition-delay: 800ms !important;
  }

  /* FINAL VISIBLE STATE: Animates the margin back to 0 */
  .mission-slider.is-visible {
    margin-bottom: 0px !important;
    transition-delay: 800ms !important;
  }

  .mission-slider.is-visible .mission-slider-bg {
    transform: scaleY(1);
    transition: transform 2400ms cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 800ms;
  }

  .mission-slider.is-visible > .e-con {
    opacity: 1 !important;
    transform: translateY(0px) !important;
  }
}

/* ==========================================================================
   HERO FLOATING PILLS - ANIMATION ONLY (Layout controlled by Elementor)
   ========================================================================== */

/* Prevent scrollbars while animating */
.hero-section {
  overflow: hidden;
}

/* 
   1. PILL WRAPPER - ENTRANCE ANIMATION STATE
*/
.hero-pill-wrapper {
  z-index: 20;
  /* Hide natively on load */
  opacity: 0;
  /* Transition for opacity and transform */
  transition:
    transform 4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 4s ease !important;
}

/* 2. ENTRANCE FLY-IN OFFSETS 
   This pushes them completely OUT of the container boundaries.
   NO top/left properties here. Elementor handles all responsive positioning.
*/
.hero-pill-1 {
  transform: translate(-50vw, -50vh);
} /* Flies from completely off-screen Top Left */
.hero-pill-2 {
  transform: translate(50vw, -50vh);
} /* Flies from completely off-screen Top Right */
.hero-pill-3 {
  transform: translate(-50vw, 50vh);
} /* Flies from completely off-screen Bottom Left */
.hero-pill-4 {
  transform: translate(50vw, 50vh);
} /* Flies from completely off-screen Bottom Right */

/* On mobile, fly in from a shorter distance so they don't go off-screen */
@media (max-width: 767px) {
  .hero-pill-1 {
    transform: translate(-50px, -80px);
  }
  .hero-pill-2 {
    transform: translate(50px, -80px);
  }
  .hero-pill-3 {
    transform: translate(-50px, 80px);
  }
  .hero-pill-4 {
    transform: translate(50px, 80px);
  }
}

/* 3. FINAL VISIBLE STATE */
/* When JS triggers, bring opacity to 1 and remove the transform offset */
.hero-section.hero-animated .hero-pill-wrapper {
  opacity: 1 !important;
  /* This snaps it exactly to wherever you positioned it in Elementor */
  transform: translate(0, 0) !important;
}

/* 4. STAGGERED DELAYS */
.hero-section.hero-animated .hero-pill-1 {
  transition-delay: 0.1s !important;
}
.hero-section.hero-animated .hero-pill-2 {
  transition-delay: 0.3s !important;
}
.hero-section.hero-animated .hero-pill-3 {
  transition-delay: 0.5s !important;
}
.hero-section.hero-animated .hero-pill-4 {
  transition-delay: 0.7s !important;
}

/* 5. ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .hero-section.hero-animated .hero-pill-wrapper {
    transition: none !important;
  }
}

/* ==========================================================================
   ELEMENTOR INTEGRATION: KEYTOM SCROLL ACCORDION
   ========================================================================== */

/* 1. Make the outer track tall to allow for scroll distance */
.cc-scroll-track {
  height: 350vh !important;
  min-height: 350vh;
  /* Elementor needs min-height to override its default container constraints */
  position: relative;
}

/* 2. Lock the inner container to the viewport */
.cc-sticky-inner {
  position: sticky !important;
  top: 0;
  /* height: 100vh !important; */
  min-height: 100vh !important;
  /* Removed flex centering so Elementor can stretch your image column naturally! */
}

/* 3. Force Accordion items into a mathematical stack */
.cc-keytom-accordion .e-n-accordion-item {
  will-change: transform, opacity;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  /* Hides native browser arrows */
}

/* Hide native browser arrows for the details element just in case */
.cc-keytom-accordion .e-n-accordion-item::marker,
.cc-keytom-accordion .e-n-accordion-item::-webkit-details-marker {
  display: none;
}

/* 4. Visually hide the descriptions initially so JS can animate them via clip-path */
.cc-keytom-accordion .e-n-accordion-item [role="region"] {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  will-change: clip-path, opacity;
  display: block !important;
  /* Overrides Elementor's native hidden state */
}

/* Optional: Elementor Styling Hook for Active Item (Customize as needed) */
/* .cc-keytom-accordion .e-n-accordion-item.cc-active-item .e-n-accordion-item-title-text {
    color: #3b5bdb;
} */

/* 5. Mobile Fallback: Disable scroll physics and stack normally */
@media (max-width: 768px) {
  .cc-scroll-track {
    min-height: auto !important;
    height: auto !important;
  }

  .cc-sticky-inner {
    position: relative !important;
    height: auto !important;
  }

  .cc-keytom-accordion .e-n-accordion-item {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 24px !important;
  }

  .cc-keytom-accordion .e-n-accordion-item [role="region"] {
    clip-path: inset(0) !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1538px) and (max-width: 1850px) {
  .elementor-850 .elementor-element.elementor-element-989e0ac {
      top: 19% !important;
  }
  
  .elementor-850 .elementor-element.elementor-element-a8fa243 {
      top: 18% !important;
  }
  
  .elementor-850 .elementor-element.elementor-element-4c8f625 {
      bottom: 13% !important;
  }
  
  .elementor-850 .elementor-element.elementor-element-26396ed {
      bottom: 14% !important;
  }
  .elementor-6553 .elementor-element.elementor-element-e4540fe{
        top: 21% !important;
  }
  .elementor-6553 .elementor-element.elementor-element-e4bf1b5 {
    top: 20% !important;
}
.elementor-6553 .elementor-element.elementor-element-47648e1 {
    bottom: 17% !important;
}
.elementor-6553 .elementor-element.elementor-element-fd776e1 {
    bottom: 16% !important; 
}
}



/* Custom Elementor Video Class for 100% Height & Border Radius */
.custom-service-video {
    height: 100%;
}
.custom-service-video .elementor-widget-container,
.custom-service-video .elementor-wrapper {
    height: 100%;
    padding-bottom: 0 !important;
}
.custom-service-video video {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 30px; 
}

@media (max-width: 768px) {
  .custom-service-video {
    height: 264px !important;
}
}


.slide-scroll-mobile .slide-scroll > .e-con {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
  }
 .slide-scroll-mobile .scroll-anim .slide-scroll > .e-con {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
  }

 .slide-scroll-mobile .scroll-anim {
    overflow: hidden;
  }
 .slide-scroll-mobile .scroll-anim .slide-scroll {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }
  .slide-scroll-mobile .slide-scroll::-webkit-scrollbar {
    display: none;
  } /* .slide-scroll > * {     flex: 0 0 auto;   } */
 .slide-scroll-mobile .slide-scroll {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    align-items: stretch;
  }

  .slide-scroll-mobile .slide-scroll > .e-con {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
  }
  .slide-scroll-mobile .scroll-anim .slide-scroll > .e-con {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
  }
  
  /* The Sticky Effect - DESKTOP & TABLET ONLY! */
/* @media (min-width: 768px) {
  .discover-services .e-loop-item {
    position: -webkit-sticky !important; 
    position: sticky !important;
    top: 0px !important;
    z-index: 1 !important;
    margin-bottom: 40px !important;
  }
} */

/* Normal layout by default */
.discover-services .elementor-loop-container {
    display: block !important;
    flex-direction: column;
}

.discover-services .e-loop-item {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    margin-bottom: 40px;
}


/* Sticky Effect - DESKTOP & TABLET ONLY */
@media (min-width: 768px) {

    .discover-services .e-loop-item {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0px !important;
        z-index: 1 !important;
        margin-bottom: 40px !important;
    }

}



/* Mobile Only Marquee Styles (< 880px) */
@media (max-width: 879px) {
  /* When the JS enables the mobile marquee */
  .slide-scroll.is-mobile-marquee {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    /* gap: 20px !important; */
    cursor: grab;
    justify-content: flex-start !important;
    
    /* CRITICAL FIX FOR SCROLL VIBRATION: */
    scroll-behavior: auto !important; 
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent Elementor columns from squishing */
  .is-mobile-marquee > .e-con,
  .is-mobile-marquee > .e-con-child {
    flex-shrink: 0 !important;
  }
  
  /* Hide scrollbar natively for all browsers */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
  }
}




.slide-scroll-safe {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
}

.slide-scroll-safe::-webkit-scrollbar {
  display: none;
}

.slide-scroll-safe > .e-con {
  flex: 0 0 455px;
}

/* Tablet adjustments */
@media (max-width: 1201px) and (min-width: 766px) {
  .slide-scroll-safe > .e-con {
    flex: 0 0 280px;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .slide-scroll-safe {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
}
