@font-face {
  font-family: 'Century Gothic';
  src: url('https://truefit.digital/wp-content/uploads/2025/10/centurygothic_bold.woff') format('woff'),
       url('https://truefit.digital/wp-content/uploads/2025/10/centurygothic.woff') format('woff'),
	   url('https://truefit.digital/wp-content/uploads/2025/10/century-gothic-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


 #slider-part .slider-content .elementor-slide-description {
    padding: 0em 10em 0em 0em;
}
.page-id-16 .post-inner > .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
  padding-left: 0px !important;
  padding-right: 0px !important;
}
.page-id-14 .post-inner > .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
  padding-left: 0px !important;
  padding-right: 0px !important;
}
#truefit span.elementor-icon-list-text {
    font-family: "centurygothic_bold", Sans-serif !important;
    font-size: 3rem !important;
    line-height: 1.2;
    font-weight: bold !important;
}


.aboutusblock1 h3{
	font-size:10rem !important;
}

.aboutusblock1 h6{
	font-size:3rem !important;
}
.aboutusblock1 h5{
	font-size:2.4rem !important;
}
.aboutusblock1 p{
	font-size:3rem !important;
}
.aboutusblock1 span{
	font-size:3rem !important;
}
.aboutusblock2 h3.elementor-heading-title{
	font-size:7rem !important;
}
.aboutusblock2 h4{
	font-size:3rem !important;
}
#truefit h3{
	font-size:10rem !important;
}
#truefit h6{
	font-size:3rem !important;
}
#truefit h5{
	font-size:2.4rem !important;
	margin:0 !important;
}
#truefit p{
	font-size:3rem !important;
}


.guide1{
    color:#0080ff !important;
    text-decoration: underline !important;
}


#stocks a.elementor-cta__button.elementor-button.elementor-size-xs {
    font-size: 60px !important;
    padding: 0px !important;
}
#stocks .elementor-cta__button-wrapper {
  position: absolute !important;
  bottom: 0px !important;
  left: 16em !important;
}

#stocks .elementor-cta__button:hover {
  transform: translateX(4px);
}
@media (min-width:1024px){
	#stocks .elementor-cta--skin-classic .elementor-cta__bg-wrapper {
    min-height: 260px !important;

}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

  /* About Us Block 1 */
  .aboutusblock1 h3 {
    font-size: 8rem !important;
  }

  .aboutusblock1 p {
    font-size: 2rem !important;
  }

  .aboutusblock1 span {
    font-size: 2rem !important;
  }

  .aboutusblock1 h5 {
    font-size: 2rem !important;
  }

  /* Truefit Section */
  #truefit h3.elementor-heading-title.elementor-size-default {
    font-size: 8rem !important;
  }

  #truefit p{
    font-size: 2rem !important;
  }



  /* About Us Block 2 */
  .aboutusblock2 h3.elementor-heading-title{
    font-size: 5rem !important;
  }

  .aboutusblock2 h4 {
    font-size: 2.3rem !important;
  }

  /* Stocks Button */
  #stocks a.elementor-cta__button.elementor-button.elementor-size-xs {
    font-size: 40px !important;
    padding: 0 !important; /* px not needed when 0 */
  }

  #stocks .elementor-cta__button-wrapper {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
  }
}


 @media only screen and (max-width: 767px) {
        .aboutusblock1 h3{
	font-size:5rem !important;
}
	.aboutusblock1 p{
	font-size:1.5rem !important;
}

.aboutusblock1 span{
	font-size:2.2rem !important;
}
	 #truefit h3.elementor-heading-title.elementor-size-default{
	font-size:5rem !important;
} 
	 #truefit p {
	font-size:1.5rem !important;
}


.aboutusblock2 h3.elementor-heading-title{
	font-size:3rem !important;
}

#stocks a.elementor-cta__button.elementor-button.elementor-size-xs {
    font-size: 40px !important;
    padding: 0px !important;
}
#stocks .elementor-cta__button-wrapper {
  position: relative !important;
  bottom: 0 !important;
  left: 0 !important;
}
.aboutusblock2 h4{
	font-size:2.3rem !important;
}
.aboutusblock1 h6{
	font-size:1.8rem !important;
}
	 	.aboutusblock1 h5{
	font-size:2rem !important;
}

#truefit span.elementor-icon-list-text {
    font-family: "centurygothic_bold", Sans-serif !important;
    font-size: 1.5rem !important;
    line-height: 1.2;
    font-weight: bold !important;
}

}
 





.aboutusblock1>.elementor-container{
  position: relative;
  background-image: 
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png");

  background-repeat: no-repeat;
  background-size: 400px, 400px;
  background-position:
    8% 96%,     /* left image (fixed) */
    100% 50%;   /* right image (moves up/down slightly) */

  animation: floatTwo 6s ease-in-out infinite;
}

@keyframes floatTwo {
  0% {
    background-position:
      8% 96%,      /* left stays still */
      100% 50%;    /* right starts center */
  }
  25% {
    background-position:
      8% 96%,      
      100% 49%;    /* move slightly up */
  }
  50% {
    background-position:
      8% 96%,      
      100% 51%;    /* move slightly down */
  }
  75% {
    background-position:
      8% 96%,      
      100% 49.5%;  /* smooth up again */
  }
  100% {
    background-position:
      8% 96%,      
      100% 50%;    /* return to center */
  }
}

/* Responsive sizes */
@media (max-width: 1024px) {
  .aboutusblock1 {
    background-size: 250px, 250px;
    background-position: 8% 0%, 95% 74%;
  }
}

@media (max-width: 767px) {
  .aboutusblock1 {
    background-size:200px, 200px;
    background-position: 5% 3%, 92% 50%;
    animation: floatTwoMobile 15s ease-in-out infinite;
  }

  @keyframes floatTwoMobile {
    0% {
      background-position: 5% 3%, 92% 50%;
    }
    50% {
      background-position: 7% 5%, 90% 47%; /* soft drift */
    }
    100% {
      background-position: 5% 3%, 92% 50%;
    }
  }
}



/* Floating balloon background inside Elementor Slider */
 #slider-part .elementor-widget-slides {
  position: relative;
}

#contact>.elementor-container, #slider-part>.elementor-container{
	padding:8rem 8rem  !important;
}
@media only screen and (min-width:767px) and (max-width:1024px){
    #contact>.elementor-container, #slider-part>.elementor-container{
	padding:6rem 6rem  !important;
}
}
@media only screen and (max-width:767px){
    #contact>.elementor-container, #slider-part>.elementor-container{
	padding:4rem 4rem  !important;
}
}

/* The animated floating background */
 #slider-part>.elementor-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-two.png");
  opacity:10%;
  background-repeat: no-repeat;
  background-size:56rem;
  background-position: 10% 0%; /* left-top start */
  animation: sliderBalloon 10s ease-in-out infinite;
  z-index: 0; /* keep behind content */
}
#contact>.elementor-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-two.png");
  opacity:3%;
  background-repeat: no-repeat;
  background-size: 450px;
  background-position: 10% 0%; /* left-top start */
  animation: sliderBalloon 10s ease-in-out infinite;
  z-index: 0; /* keep behind content */
}



/* Floating motion animation */
@keyframes sliderBalloon {
  0% {
    background-position: 10% 0%;
  }
  25% {
    background-position: 12% 25%;
  }
  50% {
    background-position: 9% 50%;
  }
  75% {
    background-position: 11% 25%;
  }
  100% {
    background-position: 10% 0%;
  }
}

/* Responsive tweaks */
@media (max-width: 1024px) {
   #slider-part .elementor-widget-slides::before {
    background-size: 250px;
    background-position: 8% 10%;
  }
}

@media (max-width: 767px) {
  #slider-part  .elementor-widget-slides::before {
    background-size: 200px;
    background-position: 85% 5%; 
    animation-duration: 25s;
  }
}




  


/*about us contact form*/
/* Contact Box Container */
.custom-contact-box {
  background-color: #072033; /* dark navy */
  padding: 30px;
  border-radius: 10px;
  font-family: "Century Gothic", sans-serif;
  color: #fff;

  margin: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-contact-box h5 {
    margin-top: 0px !important;
    margin-bottom: 30px;
}

/* Input Fields */
.custom-contact-box input[type="text"],
.custom-contact-box input[type="email"],
.custom-contact-box input[type="tel"],
.custom-contact-box textarea {
  width: 100%;
  padding: 13px 12px;
  margin-bottom: 30px;
  border: none;
  border-radius: 3px;
  font-family: "Century Gothic", sans-serif;
  font-size: 18px;
  font-weight: 500;
  background-color: #efefef;
  color: #333;
  box-sizing: border-box;
}

.custom-contact-box input[type="text"]:focus,
.custom-contact-box input[type="email"]:focus,
.custom-contact-box input[type="tel"]:focus,
.custom-contact-box textarea:focus {
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 2px #1e90ff40; /* soft blue focus glow */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Textarea */
.custom-contact-box textarea {
  min-height: 90px;
  resize: vertical;
}

/* Submit Button */
.custom-contact-box input[type="submit"] {
  background-color: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: "Century Gothic", sans-serif;
  transition: 0.3s ease;
}

.custom-contact-box input[type="submit"]:hover {
  background-color: #1674cc;
}

/* Responsive */
@media (max-width: 600px) {
  .custom-contact-box {
    padding: 20px;
  }
  .custom-contact-box h3 {
    font-size: 16px;
  }
}
/* end here */


/* sticky header */

.top-header2 {
  position: relative;
  width: 100%;
  z-index: 9999;
  transition: all 0.4s ease;
}


.top-header2.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.top-header2 .elementor-container {
  justify-content: center !important;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
.top-header2 {
  position: relative;
  width: 100%;
  z-index: 9999;
  transition: all 0.4s ease;
  padding: 2rem 0; 
}

.top-header2.sticky-header {
  position: fixed !important;
  top: 0;
/*   left: 50%;
  transform: translateX(-50%); */
  width: 100%;
  background: #fff; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0rem 0;
  transition: all 0.4s ease;
}

/* Logo image resize */
.top-header2 img {
  width: 100%;
  height: auto;
  transition: all 0.4s ease;
}

.top-header2.sticky-header img {
  width: 60% !important;
  transition: all 0.4s ease;
}
.top-header2 .elementor-widget-theme-site-logo {
  text-align: center !important;
}

/* Container alignment */
.top-header2 .elementor-container {
  justify-content: center !important;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width:1024px){
.top-header2.sticky-header img {
  width:75% !important;
}
	.top-header2 .elementor-widget-theme-site-logo {
  text-align: center !important;
}
}

/* back to top button */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #ff6600; 
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

/* Hover effect */
.back-to-top:hover {
  background-color: #007bff; /* hover color */
  transform: translateY(-3px);
}

/* Show button when scrolling */
.show-back-to-top {
  opacity: 1;
  visibility: visible;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

#contact .elementor-button {
    color: white;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #ff7900 !important;
}

.guideblock2 h3{
	font-size:9rem !important;
}
@media (max-width:1024px){
   .guideblock2 h3{
	font-size:5rem !important;
} 
}
@media (max-width:767px){
   .guideblock2 h3{
	font-size:3rem !important;
} 
}


.prep-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prep-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  font-family: "Century Gothic", sans-serif;
  font-size: 20px !important;
  font-weight: 500;
  color: #222;
}

.prep-list li::before {
  content: "";
  width: 13px;
  height: 13px;
  background-color: #0078ff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}
#containers .elementor-image-box-content {
    margin: auto;
}
#containers .elementor-image-box-img {
    margin: auto !important;
}

.guideblock2 >.elementor-container {
  position: relative;
  background-image: 
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png");
  background-repeat: no-repeat;
  background-size: 400px, 400px;
  background-position:
    5% 50%,   /* first image: left center */
    95% 95%;  /* second image: bottom right */
  animation: floatCenterBottom 6s ease-in-out infinite;
}

/* Floating animation for both images */
@keyframes floatCenterBottom {
  0% {
    background-position: 5% 50%, 95% 95%;
  }
  25% {
    background-position: 5% 47%, 95% 97%;
  }
  50% {
    background-position: 5% 53%, 95% 93%;
  }
  75% {
    background-position: 5% 48%, 95% 96%;
  }
  100% {
    background-position: 5% 50%, 95% 95%;
  }
}



@media (max-width: 1024px) {
  .guideblock2 {
    background-size: 250px, 250px;
    background-position: 5% 55%, 95% 95%;
  }
}


@media (max-width: 767px) {
  .guideblock2 {
    background-size: 200px, 200px;
    background-position: 10% 70%, 90% 95%;
    animation: floatCenterBottomMobile 6s ease-in-out infinite;
  }

  @keyframes floatCenterBottomMobile {
    0% {
      background-position: 10% 70%, 90% 95%;
    }
    25% {
      background-position: 10% 68%, 90% 97%;
    }
    50% {
      background-position: 10% 72%, 90% 93%;
    }
    75% {
      background-position: 10% 69%, 90% 96%;
    }
    100% {
      background-position: 10% 70%, 90% 95%;
    }
  }
}

.top-header2 .elementor-nav-menu--main ul li a.elementor-sub-item{
    padding: 1rem 1rem !important;
}


.texteditor p{
    line-height: 1.2 !important;
 font-weight: 600;
 letter-spacing: 0.1rem;
}


.quoted-text {
  position: relative;

}
.quoted-text span{
  color: #000;
 font-size: 3rem !important;
}


.quoted-text::before,
.quoted-text::after {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 150px;
  color: #999999;
  line-height: 2rem !important;
}
.quoted-text::before {
  content: "“";
  left: -90px;
  top:30px;
}

.quoted-text::after {
  content: "”";
  right: 200px;
  bottom: -20px;
}

@media (max-width:1024px) {
.quoted-text::before,
.quoted-text::after {
  font-size: 80px;
}
.quoted-text::before {
  content: "“";
  left: -60px;
  top:30px;
}

.quoted-text::after {
  content: "”";
  right: 300px;
  bottom: -20px;
}
.quoted-text span{
font-size:2rem !important;
}
}
@media (max-width:767px) {
.quoted-text::before,
.quoted-text::after {
  font-size: 35px;
}
.quoted-text::before {
  content: "“";
  left: -20px;
  top:0px;
}

.quoted-text::after {
  content: "”";
  right: 120px;
  bottom: -10px;
}
.quoted-text span{
font-size:1.5rem !important;
}
}


#contactuspage > .elementor-container {
  position: relative;
  background-image:
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png");
  background-repeat: no-repeat;
  background-size: 400px, 400px, 400px, 400px;
  background-position:
    5% 10%,   /* top left */
    85% 8%,   /* top right */
    10% 55%,  /* middle left */
    90% 70%;  /* middle right */
  animation: floatAll 8s ease-in-out infinite;
  z-index: 1;
}

/* Floating animation keyframes */
@keyframes floatAll {
  0% {
    background-position: 5% 10%, 85% 8%, 10% 55%, 90% 70%;
  }
  25% {
    background-position: 5% 8%, 84% 10%, 11% 53%, 91% 72%;
  }
  50% {
    background-position: 6% 12%, 86% 7%, 9% 57%, 89% 68%;
  }
  75% {
    background-position: 5% 9%, 85% 9%, 10% 54%, 90% 69%;
  }
  100% {
    background-position: 5% 10%, 85% 8%, 10% 55%, 90% 70%;
  }
}



/* ===== Responsive Adjustments ===== */
@media (max-width: 1024px) {
  #contactuspage > .elementor-container {
    background-size: 250px, 250px, 250px, 250px;
    background-position: 8% 12%, 80% 10%, 12% 58%, 85% 72%;
  }
}

@media (max-width: 767px) {
  #contactuspage > .elementor-container {
    background-size: 200px, 200px, 200px, 200px;
    background-position: 6% 14%, 75% 12%, 10% 62%, 80% 78%;
  }

}


.brand-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}

.brand-menu .elementor-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap !important;
  margin: 0 auto;
}

/* Individual Columns */
.brand-menu .elementor-column {
  flex: 1;
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}


.brand-menu .elementor-widget-image img {
  width:140px !important;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: brightness(0.95);
  transition: transform 0.4s ease, filter 0.4s ease;
  image-rendering: -webkit-optimize-contrast; /* makes logos sharper */
}


.brand-menu .elementor-column {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Background overlay that slides in */
.brand-menu .elementor-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #CCCCCC; /* hover color */
  transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

/* Smooth slide in + sync with image animation */
.brand-menu .elementor-column:hover::before {
  left: 0;
}


.brand-menu .elementor-column:not(:hover)::before {
  transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Keep actual content above the overlay */
.brand-menu .elementor-column > .elementor-widget-wrap {
  position: relative;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}


.brand-menu .elementor-widget-image img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}


.brand-menu .elementor-column:hover .elementor-widget-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}


.brand-menu .elementor-column:not(:hover) .elementor-widget-image img {
  transform: scale(1);
  filter: brightness(1);
}

/* Active Column (Optional Highlight) */
.brand-menu .elementor-column.active img {
  transform: scale(1.1);
}


@media (max-width: 1024px) {
  .brand-menu .elementor-widget-image img {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .brand-menu img {
    width: 100% !important;
  }
}




.brand-menu .elementor-column.active {
  background-color: #d9d9d9 !important;
  transform: none;
  transition: all 0.3s ease;
}
.brand-section {
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

/* Shown section */
.brand-section.active {
  display: block;
  opacity: 1;
}

#zirconiablock2 {
  position: relative;
  transition: all 0.4s ease;
  z-index: 99;
}

#zirconiablock2.sticky-brand {
  position: fixed;
  top: 120px ; /* adjust to match your header height */
  left: 0 !important;
  right: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}


html {
  scroll-behavior: smooth;
}


#zirconiablock2.sticky-brand {
  animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width:1024px){#zirconiablock2.sticky-brand {
  top: 90px;
}}
@media (max-width:767px){#zirconiablock2.sticky-brand {
  top: 200px;
}}

@media (max-width:1024px) {
  #zirconiablock2.sticky-brand {
    top: 90px;
  }
}

@media (max-width:767px) {
  #zirconiablock2.sticky-brand {
    top: 100px;
  }
}



#digi-blocktwo > .elementor-container {
  position: relative;
  background-image: 
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"), /* top-right */
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"); /* bottom-left */
  
  background-repeat: no-repeat;
  background-size: 400px, 400px;
  background-position:
    100% 0%,    
    0% 100%;    

  animation: floatDigi 6s ease-in-out infinite;
}

@keyframes floatDigi {
  0% {
    background-position:
      100% 0%,    /* top right */
      0% 100%;    /* bottom left */
  }
  25% {
    background-position:
      99% 1%,     /* move slightly inward/down */
      1% 99%;     /* move slightly inward/up */
  }
  50% {
    background-position:
      100% 2%,    /* small downward float */
      0% 98%;     /* small upward float */
  }
  75% {
    background-position:
      99% 1%,     /* reverse slightly */
      1% 99%;
  }
  100% {
    background-position:
      100% 0%,
      0% 100%;
  }
}
@media (max-width: 1024px) {
  #digi-blocktwo {
    background-size: 250px, 250px;
    background-position: 95% 0%, 5% 100%;
  }
}

@media (max-width: 767px) {
  #digi-blocktwo {
    background-size: 200px, 200px;
    background-position: 90% 0%, 5% 95%;
    animation: floatDigiMobile 12s ease-in-out infinite;
  }

  @keyframes floatDigiMobile {
    0% {
      background-position: 90% 0%, 5% 95%;
    }
    50% {
      background-position: 88% 2%, 7% 93%; /* soft diagonal drift */
    }
    100% {
      background-position: 90% 0%, 5% 95%;
    }
  }
}


#digital-blockfour h4,  #hwblock3 h4{
    font-size:5rem !important;
}


@media(max-width:1024px){
    #digital-blockfour h4, #hwblock3 h4{
    font-size:3rem !important;
}
}

#digital-blockfour> .elementor-container {
  position: relative;
  background-image: url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png");
  background-repeat: no-repeat;
  background-size: 400px;
  background-position: 100% 0%;  /* top right */

  animation: floatDigiSingle 6s ease-in-out infinite;
}

@keyframes floatDigiSingle {
  0% {
    background-position: 100% 0%;
  }
  25% {
    background-position: 99% 1%;
  }
  50% {
    background-position: 100% 2%;
  }
  75% {
    background-position: 99% 1%;
  }
  100% {
    background-position: 100% 0%;
  }
}

/* Responsive sizes */
@media (max-width: 1024px) {
  #digital-blockthree > .elementor-container {
    background-size: 200px;
    background-position: 95% 0%;
  }
}

@media (max-width: 767px) {
  #digital-blockthree > .elementor-container {
    background-size: 200px;
    background-position: 90% 0%;
    animation: floatDigiSingleMobile 12s ease-in-out infinite;
  }

  @keyframes floatDigiSingleMobile {
    0% {
      background-position: 90% 0%;
    }
    50% {
      background-position: 88% 2%;
    }
    100% {
      background-position: 90% 0%;
    }
  }
}


#digiblock3 .elementor-widget-wrap.elementor-element-populated, #digital-blockfour .elementor-widget-wrap.elementor-element-populated, #hwblock3 .elementor-widget-wrap.elementor-element-populated{
    margin: auto 0 !important;
}

#hwblock2 > .elementor-container {
  position: relative;
  background-image: url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png");
  background-repeat: no-repeat;
  background-size: 400px;
  background-position: 100% 100%; /* bottom right */
  animation: floatDigiSingle 6s ease-in-out infinite;
}

@keyframes floatDigiSingle {
  0% {
    background-position: 100% 100%;
  }
  25% {
    background-position: 99% 98%;
  }
  50% {
    background-position: 100% 97%;
  }
  75% {
    background-position: 99% 98%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Responsive sizes */
@media (max-width: 1024px) {
  #hwblock3 > .elementor-container {
    background-size: 200px;
    background-position: 95% 100%; /* bottom right for tablet */
  }
}

@media (max-width: 767px) {
  #hwblock3 > .elementor-container {
    background-size: 200px;
    background-position: 90% 100%; /* bottom right for mobile */
    animation: floatDigiSingleMobile 12s ease-in-out infinite;
  }

  @keyframes floatDigiSingleMobile {
    0% {
      background-position: 90% 100%;
    }
    50% {
      background-position: 88% 98%;
    }
    100% {
      background-position: 90% 100%;
    }
  }
}




#hwblock3 > .elementor-container {
  position: relative;
  background-image:
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png"),
    url("https://truefit.digital/wp-content/uploads/2025/10/why-fit-bg-icon-1.png");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 380px, 380px, 380px, 380px;
  background-position: 5% 8%, 70% 50%, 30% 72%, 90% 85%;
  animation: floatBubblesSmooth 12s ease-in-out infinite;
}

/* Keyframes for gentle float */
@keyframes floatBubblesSmooth {
  0% {
    background-position: 5% 8%, 70% 50%, 30% 72%, 90% 85%;
  }
  25% {
    background-position: 6% 10%, 71% 48%, 31% 74%, 89% 83%;
  }
  50% {
    background-position: 5% 7%, 70% 52%, 29% 70%, 91% 87%;
  }
  75% {
    background-position: 4% 9%, 69% 49%, 30% 73%, 90% 84%;
  }
  100% {
    background-position: 5% 8%, 70% 50%, 30% 72%, 90% 85%;
  }
}

/* Tablet View */
@media (max-width: 1024px) {
  #hwblock3 > .elementor-container {
    background-size: 200px, 200px, 200px, 200px;
    background-position: 6% 9%, 70% 50%, 28% 74%, 90% 82%;
    animation-duration: 14s;
  }
}

/* Mobile View */
@media (max-width: 767px) {
  #hwblock3 > .elementor-container {
    background-size: 180px, 180px, 180px, 180px;
    background-position: 6% 10%, 70% 54%, 28% 76%, 88% 80%;
    animation: floatBubblesMobile 16s ease-in-out infinite;
  }

  @keyframes floatBubblesMobile {
    0% {
      background-position: 6% 10%, 70% 54%, 28% 76%, 88% 80%;
    }
    50% {
      background-position: 7% 12%, 71% 52%, 29% 78%, 87% 78%;
    }
    100% {
      background-position: 6% 10%, 70% 54%, 28% 76%, 88% 80%;
    }
  }
}

/* 
#flowcontainer .elementor-widget-container {
    width: fit-content;
    margin: 0 auto;
} */



#leftflow .elementor-widget-container p.elementor-heading-title {
  width: 240px;           
  height: 120px;           
  display: flex;           
  align-items: center;     
  justify-content: center; 
  text-align: center;
  padding: 20px !important;
  background: #2fabd7;  
  color: #fff;
  border-radius: 4px;
  margin: 0 auto;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;     
  overflow: hidden;        
}


#rightflow .elementor-widget-container p.elementor-heading-title {
  width: 240px;           
  height: 120px;           
  display: flex;           
  align-items: center;     
  justify-content: center; 
  text-align: center;
  padding: 20px !important;
  background: #3f4145;  
  color: #fff;
  border-radius: 4px;
  margin: 0 auto;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;     
  overflow: hidden;        
}

.flow-step {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInStep 0.8s forwards;
}

/* Left Side - First 4 Boxes */
.leftflow-1 { animation-delay: 0.2s; }
.leftflow-2 { animation-delay: 1.5s; }
.leftflow-3 { animation-delay: 2.8s; }
.leftflow-4 { animation-delay: 4.1s; }

/* Left Side - Last 3 Boxes (after Right Side is done) */
.leftflow-5 { animation-delay: 5.4s; }
.leftflow-6 { animation-delay: 6.7s; }
.leftflow-7 { animation-delay: 8.0s; }

/* Right Side - 4 Boxes */
.rightflow-1 { animation-delay: 0.2s; }
.rightflow-2 { animation-delay: 1.5s; }
.rightflow-3 { animation-delay: 2.8s; }
.rightflow-4 { animation-delay: 4.1s; }

/* Arrows animation */
.flow-arrow {
  opacity: 0;
  transform: translateY(4px);
  animation: arrowFade 1.5s ease-in-out forwards;
}


/* Delays for the arrows to sync with box animations */
.left-arrow1 { animation-delay: 0.8s; }
.left-arrow2 { animation-delay: 2.1s; }
.left-arrow3 { animation-delay: 3.4s; }
.left-arrow4 { animation-delay: 4.7s; }
.left-arrow5 { animation-delay: 6.0s; }
.left-arrow6 { animation-delay: 7.3s; }
.left-arrow7 { animation-delay: 8.6s; }

.right-arrow1 { animation-delay: 0.8s; }
.right-arrow2 { animation-delay: 2.1s; }
.right-arrow3 { animation-delay: 3.4s; }
.right-arrow4 { animation-delay: 4.7s; }

@keyframes fadeInStep {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes arrowFade {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


#flowcontainer .elementor-widget-wrap.elementor-element-populated {
    margin: 0!important;
}


@media (max-width:767px){

.leftflow-1 { animation-delay: 0.2s; }
.leftflow-2 { animation-delay: 1.5s; }
.leftflow-3 { animation-delay: 2.8s; }
.leftflow-4 { animation-delay: 4.1s; }

.leftflow-5 { animation-delay: 5.4s; }
.leftflow-6 { animation-delay: 6.7s; }
.leftflow-7 { animation-delay: 8.0s; }


.rightflow-1 { animation-delay: 9.2s; }
.rightflow-2 { animation-delay: 10.4s; }
.rightflow-3 { animation-delay: 11.6s; }
.rightflow-4 { animation-delay: 12.8s; }


.left-arrow1 { animation-delay: 0.8s; }
.left-arrow2 { animation-delay: 2.1s; }
.left-arrow3 { animation-delay: 3.4s; }
.left-arrow4 { animation-delay: 4.7s; }
.left-arrow5 { animation-delay: 6.0s; }
.left-arrow6 { animation-delay: 7.3s; }
.left-arrow7 { animation-delay: 8.6s; }

.right-arrow1 { animation-delay: 9.8s; }
.right-arrow2 { animation-delay: 11.0s; }
.right-arrow3 { animation-delay: 12.2s; }
.right-arrow4 { animation-delay: 13.4s; }

}

/* Pause animations by default */
.flow-step,
.flow-arrow {
  animation-play-state: paused;
}

/* When section is visible (animate-flow added) */
.flow-section.animate-flow .flow-step,
.flow-section.animate-flow .flow-arrow {
  animation-play-state: running;
}



