/* Sticky Section */
.topppa-sticky-section-yes {
  width: 100%;
  border-color: transparent;
  -webkit-transition: visibility 0s linear !important;
  -o-transition: visibility 0s linear !important;
  transition: visibility 0s linear !important;
}

.topppa-sticky-active {
  position: fixed !important;
}

.topppa-sticky-replace-header-yes + div,
.topppa-sticky-replace-header-yes + section,
.topppa-sticky-replace-header-yes + header {
  position: fixed;
  width: 100%;
  top: -1000px;
}

.topppa-section-full-height {
  height: 100% !important;
  background-color: transparent !important;
}

.topppa-sticky-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topppa-visibility-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
}

.topppa-hidden-header {
  position: fixed !important;
  display: block !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topppa-hidden-header-flex {
  position: fixed !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hide replacement sections when replacement is enabled */
.topppa-sticky-section-yes[data-topppa-replace-header=yes] + .elementor-element,
.topppa-sticky-section-yes[data-topppa-replace-header=yes] + .e-con,
.topppa-sticky-section-yes[data-topppa-replace-header=yes] + [data-element_type=container] {
  display: none !important;
}

/* Specific rule for Elementor editor */
.elementor-editor-active .topppa-sticky-section-yes[data-topppa-replace-header=yes] + .elementor-element,
.elementor-editor-active .topppa-sticky-section-yes[data-topppa-replace-header=yes] + .e-con,
.elementor-editor-active .topppa-sticky-section-yes[data-topppa-replace-header=yes] + [data-element_type=container] {
  display: none !important;
}

/* Even more specific for editor mode */
body.elementor-editor-active .topppa-sticky-section-yes[data-topppa-replace-header=yes] + .elementor-element,
body.elementor-editor-active .topppa-sticky-section-yes[data-topppa-replace-header=yes] + .e-con,
body.elementor-editor-active .topppa-sticky-section-yes[data-topppa-replace-header=yes] + [data-element_type=container] {
  display: none !important;
}

.topppa-none-out {
  display: none;
}

.topppa-fade-in {
  -webkit-animation-name: topppa-popup-animation-fade;
  animation-name: topppa-popup-animation-fade;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-fade-out {
  -webkit-animation-name: topppa-popup-animation-fade-out;
  animation-name: topppa-popup-animation-fade-out;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-slide-in {
  opacity: 0;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-animation-name: topppa-sticky-slide-in;
  animation-name: topppa-sticky-slide-in;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-slide-out {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-animation-name: topppa-sticky-slide-out;
  animation-name: topppa-sticky-slide-out;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-scale-in {
  opacity: 0;
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-animation-name: topppa-sticky-scale-in;
  animation-name: topppa-sticky-scale-in;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-scale-out {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-animation-name: topppa-sticky-scale-out;
  animation-name: topppa-sticky-scale-out;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-bounce-in {
  opacity: 0;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-animation-name: topppa-sticky-bounce-in;
  animation-name: topppa-sticky-bounce-in;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.topppa-bounce-out {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-animation-name: topppa-sticky-bounce-out;
  animation-name: topppa-sticky-bounce-out;
  -webkit-animation-duration: var(--topppa-animation-duration, 500ms);
  animation-duration: var(--topppa-animation-duration, 500ms);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes topppa-sticky-slide-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes topppa-sticky-slide-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes topppa-sticky-slide-out {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@keyframes topppa-sticky-slide-out {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@-webkit-keyframes topppa-popup-animation-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes topppa-popup-animation-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes topppa-popup-animation-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes topppa-popup-animation-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes topppa-sticky-scale-in {
  from {
    opacity: 0;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes topppa-sticky-scale-in {
  from {
    opacity: 0;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes topppa-sticky-scale-out {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  to {
    opacity: 0;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@keyframes topppa-sticky-scale-out {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  to {
    opacity: 0;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@-webkit-keyframes topppa-sticky-bounce-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
  }
  80% {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes topppa-sticky-bounce-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
  }
  80% {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes topppa-sticky-bounce-out {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  20% {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
  }
  40% {
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@keyframes topppa-sticky-bounce-out {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  20% {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
  }
  40% {
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@keyframes stickySlideTop {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stickySlideBottom {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stickyFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.topppa-interactive-animations {
  transition-property: opacity, transform;
  will-change: opacity, transform;
}

/* Fix for Elementor editor */
.elementor-editor-active .topppa-interactive-animations {
  opacity: 1 !important;
  transform: none !important;
}

/* =====================================
  <======== SHAPE  CONTROLL CSS =======>
  ====================================== */
.tp-section-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-repeat: no-repeat;
  pointer-events: none;
}

.shapeanimation {
  -webkit-animation-duration: 9s;
  animation-duration: 9s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  animation-duration: 9s;
  -webkit-animation-duration: 9s;
  z-index: -1;
}

/* custom animations */
@-webkit-keyframes shapeMover {
  0%, 100% {
    -webkit-transform: perspective(400px) translateY(0) rotate(0deg) translateZ(0px) translateX(0);
    transform: perspective(400px) translateY(0) rotate(0deg) translateZ(0px) translateX(0);
  }
  50% {
    -webkit-transform: perspective(400px) rotate(-45deg) translateZ(20px) translateY(20px) translateX(20px);
    transform: perspective(400px) rotate(-45deg) translateZ(20px) translateY(20px) translateX(20px);
  }
}
@keyframes shapeMover {
  0%, 100% {
    -webkit-transform: perspective(400px) translateY(0) rotate(0deg) translateZ(0px) translateX(0);
    transform: perspective(400px) translateY(0) rotate(0deg) translateZ(0px) translateX(0);
  }
  50% {
    -webkit-transform: perspective(400px) rotate(-45deg) translateZ(20px) translateY(20px) translateX(20px);
    transform: perspective(400px) rotate(-45deg) translateZ(20px) translateY(20px) translateX(20px);
  }
}
@keyframes shapeMover {
  0%, 100% {
    transform: perspective(400px) translateY(0) rotate(0deg) translateZ(0px) translateX(0);
  }
  50% {
    transform: perspective(400px) rotate(-45deg) translateZ(20px) translateY(20px) translateX(20px);
  }
}
@keyframes bubbleMover {
  0% {
    -webkit-transform: translateY(0px) translateX(0) rotate(0);
    transform: translateY(0px) translateX(0) rotate(0);
  }
  30% {
    -webkit-transform: translateY(30px) translateX(50px) rotate(15deg);
    transform: translateY(30px) translateX(50px) rotate(15deg);
    -webkit-transform-origin: center center;
    transform-origin: center center;
  }
  50% {
    -webkit-transform: translateY(50px) translateX(100px) rotate(45deg);
    transform: translateY(50px) translateX(100px) rotate(45deg);
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
  }
  80% {
    -webkit-transform: translateY(30px) translateX(50px) rotate(15deg);
    transform: translateY(30px) translateX(50px) rotate(15deg);
    -webkit-transform-origin: left top;
    transform-origin: left top;
  }
  100% {
    -webkit-transform: translateY(0px) translateX(0) rotate(0);
    transform: translateY(0px) translateX(0) rotate(0);
    -webkit-transform-origin: center center;
    transform-origin: center center;
  }
}
@keyframes rounded {
  0% {
    transform: rotate(0);
    -webkit-transform: rotate(0);
  }
  100% {
    transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.topppa-interactive-animations[data-animation-type=spinner] {
  -webkit-animation-name: spin;
  animation-name: spin;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

@keyframes bounce-anim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 30px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
.topppa-interactive-animations[data-animation-type=bounce-anim] {
  animation-name: bounce-anim;
  animation-duration: inherit;
  animation-delay: inherit;
  animation-iteration-count: infinite;
  animation-timing-function: inherit;
}

.topppa-scroll-to-top-wrap.topppa-scroll-to-top-hide {
  display: none;
}

.topppa-scroll-to-top-wrap.edit-mode, .topppa-scroll-to-top-wrap.single-page-off {
  display: none !important;
}

.topppa-scroll-to-top-button {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 9999;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: #5636d1;
  color: #fff;
  text-align: center;
  opacity: 1;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.topppa-scroll-to-top-button i {
  color: #fff;
  font-size: 16px;
}

.topppa-scroll-to-top-button:hover {
  background-color: #e2498a;
}

/* Motion Text Styles */
[data-motion-text=true] {
  position: relative;
}

[data-motion-text=true] .topppa-motion-letter {
  display: inline-block;
  transition: font-variation-settings 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: font-variation-settings;
}

[data-motion-text=true][data-motion-font=roboto-flex] .topppa-motion-letter {
  font-family: "Roboto Flex", sans-serif;
}

[data-motion-text=true][data-motion-font=inter] .topppa-motion-letter {
  font-family: "Inter", sans-serif;
}

/* Preserve whitespace */
.toppa-motion-word {
  display: inline-block;
  white-space: nowrap;
}

.toppa-motion-space {
  display: inline-block;
}

.topppa-hover-effect {
  position: relative;
}
.topppa-hover-effect::before {
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  opacity: 0;
  left: 0;
  top: 0;
  transition: all 0.4s ease-in-out;
}
.topppa-hover-effect:hover::before {
  opacity: 1;
}

.topppa-image-hover-pixel {
  position: absolute;
  display: none;
  background-color: #ffffff;
}

.topppa-dots-particle-animation {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.topppa-dots-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.topppa-hover-image-container {
  position: relative;
  overflow: visible;
}

.topppa-hover-image-overlay {
  position: absolute;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.8);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.topppa-hover-image-overlay.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.topppa-hover-image-overlay img {
  display: block;
  max-width: 100%;
  height: auto;
}