
/* Animated pillars */
.animated-pillars {
  overflow: hidden;
  position: relative;
  --container-padding: calc(7 * 0.25rem);
}
@media (min-width: 80rem) {
  .animated-pillars {
    --container-padding: calc(15 * 0.25rem) calc(calc(15 * 0.25rem) * 2);
  }
}
.animated-pillars[data-theme]:not([data-theme=none]) .container {
  background-color: var(--container-bg-color);
  padding: calc(5 * 0.25rem);
  border-radius: 10px;
  padding: var(--container-padding);
}
.animated-pillars[data-theme=sand] {
  --container-bg-color: #f4f4f2;
}
.animated-pillars[data-theme=sand-50] {
  --container-bg-color: #D3D2CB;
}
.animated-pillars[data-theme=white] {
  --container-bg-color: #ffffff;
}
.animated-pillars .image.wallpaper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-position: center;
}
.animated-pillars .image.wallpaper img {
  width: 100%;
  height: 100%;
  object-position: center;
}
.animated-pillars .container .full.text-component {
  padding-bottom: 80px;
}

@media (max-width: 52.9375rem) {
  .animated-pillars .container .full.text-component {
    padding-bottom: 40px;
  }
}

.animated-pillars .container > .grid {
  padding-bottom: 2.5rem;
}
@media (min-width: 52.9375rem) {
  .animated-pillars .grid {
    flex-direction: row;
  }
}
.animated-pillars .grid .text-component {
  margin-top: calc(5 * 0.25rem);
}
.animated-pillars .grid .text-component p {
  font-size: 1rem;
}
@media (min-width: 52.9375rem) {
  .animated-pillars .grid .text-component {
    padding-top: 0;
    padding-right: calc(10 * 0.25rem);
    margin-top: 0;
  }
}
@media (min-width: 52.9375rem) {
  .animated-pillars .grid.reversed {
    flex-direction: row-reverse;
  }
}
.animated-pillars .grid.reversed .text-component {
  padding-right: 0;
  margin-bottom: 0;
}
@media (min-width: 52.9375rem) {
  .animated-pillars .grid.reversed .text-component {
    padding-top: 0;
    padding-left: calc(10 * 0.25rem);
    margin: 0 0;
  }
}
.animated-pillars .text-image {
  justify-content: center;
  padding: 1.2rem 0;
  /*align-items: center;*/
}

.animated-pillars .text-image figure {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0;
}
.animated-pillars .text-image figure img {
  position: relative;
}

/* tsafe360 circle */

.animated-pillars .text-image figure.tsafe360 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0;
  max-width: 610px;
  max-height: 610px;
  position: relative;
}
.animated-pillars .text-image figure.tsafe360 .circle-inner {
  z-index: 2;
}
.animated-pillars .text-image figure.tsafe360 .circle-spin {
  position: absolute;
}
svg.circle-spin{
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  --rot: 0deg;
  transform: rotate(var(--rot));
}

svg.circle-spin.is-spinning {
  animation: spin 6s linear infinite;
}

@keyframes spin{
  from { transform: rotate(var(--rot)); }
  to   { transform: rotate(calc(var(--rot) + 360deg)); }
}

@media (min-width: 52.9375rem) {
  .animated-pillars.text-grow .grid .text-component {
    flex-basis: 66.66%;
    max-width: 66.66%;
  }
  .animated-pillars.text-grow .grid .text-image {
    flex-basis: 33.33%;
    max-width: 33.33%;
  }
}
@media (max-width: 52.9375rem) {
  .animated-pillars[data-theme*=sand] .text-component {
    padding-bottom: calc(2 * 0.25rem);
  }
  .animated-pillars[data-theme*=sand] .hero-btn {
    margin-bottom: calc(5 * 0.25rem);
  }
  .animated-pillars[data-theme*=sand] .hero-btn .btn {
    padding: 0;
  }
}
.animated-pillars .list {
  margin-top: 0;
  padding: 0 1.25rem;
}
.animated-pillars .list .item {
  margin-top: 0;
  align-items: center;

}
.animated-pillars .list .headline {
  padding-bottom: calc(3 * 0.25rem);
}
.animated-pillars .list .icon {
  font-size: 5.625rem;
}
.animated-pillars .list .text-component {
  padding-left: calc(5 * 0.25rem);
  padding-bottom: 0;
}
.animated-pillars .list .title {
  font-size: 3.125rem;
  line-height: 1.2;
  letter-spacing: normal;
  font-size: 18px;
  font-weight: 700;
}
.animated-pillars .list .item {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.25rem;
  transition: transform 0.25s ease;
}
.animated-pillars .list .item::before {
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjA3IiBoZWlnaHQ9IjEzMCIgdmlld0JveD0iMCAwIDYwNyAxMzAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0zMC4xMzY1IDkuNjQxNDlDMzMuNzYwMiAzLjY1NjMxIDQwLjI0ODIgMCA0Ny4yNDUgMEg1ODYuNjE5QzU5Ny42NjUgMCA2MDYuNjE5IDguOTU0MzEgNjA2LjYxOSAyMFYxMTBDNjA2LjYxOSAxMjEuMDQ2IDU5Ny42NjUgMTMwIDU4Ni42MTkgMTMwSDQ3LjI0NUM0MC4yNDgzIDEzMCAzMy43NjAyIDEyNi4zNDQgMzAuMTM2NSAxMjAuMzU5TDIuODkwNzkgNzUuMzU4NUMtMC45NjQ1MjEgNjguOTkwOSAtMC45NjQ1MTggNjEuMDA5MSAyLjg5MDc5IDU0LjY0MTVMMzAuMTM2NSA5LjY0MTQ5WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzcxMF8zNzU0KSIvPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzcxMF8zNzU0IiB4MT0iLTMuMzgwODYiIHkxPSI2NSIgeDI9IjYwNi42MTkiIHkyPSI2NSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRDNEMkNCIiBzdG9wLW9wYWNpdHk9IjAuNSIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNEM0QyQ0IiIHN0b3Atb3BhY2l0eT0iMCIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=");
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  transform: translateX(20px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
  z-index: 0;
}
.animated-pillars .list .item .icon {
  position: relative;
  transition: transform 0.3s ease;
  z-index: 2;
  margin-left: 1.25rem;
}
.animated-pillars .list .item .text-component {
  position: relative;
  z-index: 2;
  margin-top: 0;
}
.animated-pillars .list .item .text-component .label {
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}
.animated-pillars .list .item:hover .icon {
  transform: scale(1.05);
}
.animated-pillars .list .item:hover::before {
  transform: translateX(0);
  opacity: 1;
}
.animated-pillars .list .item:hover .text-component .label {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}
@media (max-width: 52.9375rem) {
  .animated-pillars .list {
    padding: 1.25rem 0;
  }
  .animated-pillars .list .item {
    padding: 1.2rem 0;
    align-items: flex-start;
  }
  .animated-pillars .list .item::before {
    display: none;
  }
  .animated-pillars .list .item .icon {
    margin-left: 0;
  }
  .animated-pillars .list .item .text-component .label {
    opacity: 1;
    transform: translate(0px);
    max-height: 100%;
  }
}

/* Text image */
.text-image[data-theme=blue-25] {
  --container-bg-color: rgba(165,201,227, 0.25);
}
.text-image .image.wallpaper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-position: center;
}
.text-image .image.wallpaper > img {
  width: 100%;
  height: 100%;
  object-position: center;
}
/* disable-margin-bottom */
section.block-content.disable-mb {
  margin-bottom: 0;
}

/* section bg-color */
section.bg-color-light-blue {
  background-color: rgba(165,201,227, 0.25);
}
section.bg-color-sand-light {
  background-color: #f4f4f2;
}
section.bg-color-sand-dark {
  background-color: #D3D2CB;
}
section.bg-color-dark-grey {
  background-color: #2E3651;
}
/* section bg-wallpaper */
section.bg-wallpaper {
  position: relative;
}
section .image.wallpaper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-position: center;
  border-radius: unset;
}

section .image.wallpaper img {
  width: 100%;
  height: 100%;
  object-position: center;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animation-spin360 {
  animation: rotate 8s linear infinite;
  transform-origin: center center;
  margin: 0 auto !important;
}

/* icon cards */
.icon-cards .item[data-theme=sand] {
  background-color: #f4f4f2;
}
.icon-cards .item .icon {
  display: flex;
}
.icon-cards.page-360 .item .icon {
  max-width: 6.25rem;
}
@media (max-width: 52.9375rem) {
  .icon-cards.page-360 .item .icon {
    max-width: 4.8125rem;
  }
}
.icon-cards .item .icon.icon-pos-left {
  justify-content: flex-start;
  align-self: flex-start;
}
.icon-cards .item .icon.icon-pos-center {
  justify-content: center;
  align-self: center;
}
.icon-cards .item .icon.icon-pos-right {
  justify-content: flex-end;
  align-self: flex-end;
}
.icon-cards.page-360 .item[data-theme] {
  border-radius: 10px;
  box-shadow: 0 2px 2px 0 #DFDFDF;
  padding: 40px 40px 60px;
}
.icon-cards.page-360 .item[data-theme] .text-component h3,
.icon-cards.page-360 .item[data-theme] .text-component h4,
.icon-cards.page-360 .item[data-theme] .text-component h5,
.icon-cards.page-360 .item[data-theme] .text-component h6 {
  margin-bottom: 20px;
}
.icon-cards.page-360 .item[data-theme] .text-component p:first-of-type {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.container.max-width-xs {
  max-width: 38.125rem;
}

/* text video */

/*.text-image.video.page-360 .container.max-width-lg .grid .text-component {
  padding-top: 70px;
  padding-bottom: 70px;
}
.text-image.video.page-360 .container.max-width-md .grid .text-component {
  padding-top: 45px;
  padding-bottom: 45px;
}
.text-image.video.page-360 .container.max-width-lg .grid.reversed .text-component{
  padding-left: 125px;
  padding-right: 0;
}
.text-image.video.page-360 .container.max-width-lg .grid .text-component {
  padding-right: 125px;
  padding-left: 0;
}
.text-image.video.page-360 .container.max-width-md .grid.reversed .text-component{
  padding-left: 75px;
  padding-right: 0;
}
.text-image.video.page-360 .container.max-width-md .grid .text-component {
  padding-right: 75px;
  padding-left: 0;
}
*/

.text-image.type-file .media-wrapper {
  border-radius: 0;
  padding: 0;
  height: 100%;
}
[data-layout="sticky"] .text-image.type-file .media-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0;
}
[data-layout="sticky"] .text-image.type-file .media-wrapper video {
  position: relative;
  aspect-ratio: 1;
}
.text-image.page-360:not(.video) .grid {
  padding: 2.5rem 0;
}
@media (max-width: 52.9375rem) {
  .text-image.video.page-360 .container .grid .text-component {
    padding: 0;
  }
  .text-image.page-360 .grid{
    padding: 0;
  }
}
/* --- HERO BASE --- */
.hero-360-animation {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}
.hero.hero-360-animation .hero-content {
  max-width: 100%;
}
.hero.hero-360-animation .hero-content h1 .h-xxl {
  font-size: 9.375rem;
}

.hero-360-animation .hero-content {
  position: relative;
  z-index: 2;
  color: #000;
  /* default text color */
}
@media (max-width: 52.9375rem) {
  body .page[menu-transparent="1"] #app section#section-1 .hero.hero-360-animation,
  body.error404 .page #app section#section-1 .hero.hero-360-animation {
    padding-bottom: 80px;
  }
  .has-section-nav .block-content .hero.hero-360-animation.video {
    display: flex;
  }
  .has-section-nav #section-1 .hero.hero-360-animation .hero-content {
    padding: 0;
  }
  .hero.hero-360-animation .hero-content {
    max-width: 80%;
  }
  .hero.hero-360-animation .hero-content h1 .h-xxl {
    font-size: calc(50px + 70*(100vw - 320px)/704);
  }
  .hero.hero-360-animation .hero-content h5 {
    font-size: 1.15rem;
  }
}
.hero-360-animation .video-overlay {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0 */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* hidden on load */
  pointer-events: none;
  /* don't block clicks while hidden */
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-360-animation .video-overlay iframe {
  /*width: 100%;*/
  /*height: 100%;*/
}

.hero-360-animation.show-video .video-overlay {
  opacity: 1;
  pointer-events: auto;
}
.hero-360-animation.show-video h1 {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 52.9375rem) {
  .has-section-nav .block-content .hero.video.hero-360-animation .video-overlay {
    position: absolute;
  }
  .has-section-nav .block-content .hero.video.hero-360-animation .video-overlay iframe {
    transform: translate(0, 0);
    left: 0;
  }
}

/* --- TEXT LINES ANIMATION (cinematic) --- */
.hero-360-animation [data-hero-line] {
  opacity: 0;
  transform: translateY(55px);
  will-change: opacity, transform;
}

/* Cinematic easing (slow start, smooth end) */
@keyframes heroFadeUpCinematic {
  0% {
      opacity: 0;
      transform: translateY(55px);
  }

  40% {
      opacity: 0.3;
  }

  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* ============================
   HERO 360
   One trigger: .hero-play
   ============================ */

.hero-360-animation {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.hero.hero-360-animation .hero-content {
  max-width: 100%;
}

.hero.hero-360-animation .hero-content h1 .h-xxl {
  font-size: 9.375rem;
}

.hero-360-animation .hero-content {
  position: relative;
  z-index: 2;
  color: #000;
}

@media (max-width: 52.9375rem) {
  .hero.hero-360-animation {
    display: flex;
  }
  .hero.hero-360-animation .hero-content {
    max-width: 80%;
  }
  .hero.hero-360-animation .hero-content h1 {
    margin-bottom: calc(5 * 0.25rem);
  }
  .hero.hero-360-animation .hero-content h1 .h-xxl {
    font-size: calc(50px + 70*(100vw - 320px)/704);
  }
  .hero.hero-360-animation .hero-content h5 {
    font-size: 1.15rem;
  }
}

/* Video overlay (we do NOT touch iframe; we only fade overlay in) */
.hero-360-animation .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s;
  z-index: 1;
}

.hero-360-animation.show-video .video-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 1s ease-in-out, visibility 0s linear 0s;
}

@media (max-width: 52.9375rem) {
  .has-section-nav .block-content .hero.video.hero-360-animation .video-overlay {
    position: absolute;
  }
  .has-section-nav .block-content .hero.video.hero-360-animation .video-overlay iframe {
    transform: translate(0, 0);
    left: 0;
  }
}

/* --- Text base (START state) --- */
.hero-360-animation [data-hero-line] {
  opacity: 0;
  transform: translateY(55px);
  will-change: opacity, transform;
}

/* Keyframes */
@keyframes heroFadeUpCinematic {
  0%   { opacity: 0; transform: translateY(55px); }
  40%  { opacity: 0.3; }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- PREBOOT: freeze at start (prevents finishing offscreen) --- */
html.hero-preboot-js .hero-360-animation [data-hero-line] {
  opacity: 0 !important;
  transform: translateY(55px) !important;
  animation: none !important; /* hard freeze */
}

html.hero-preboot-js .hero-360-animation .video-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* --- PLAY TRIGGER: the ONLY thing that runs the text animation --- */
.hero-360-animation.hero-play [data-hero-line="1"] {
  animation: heroFadeUpCinematic 1s cubic-bezier(.22,.61,.36,1) both 0s;
}

.hero-360-animation.hero-play [data-hero-line="2"] {
  animation: heroFadeUpCinematic 1s cubic-bezier(.22,.61,.36,1) both .25s;
}

.hero-360-animation.hero-play [data-hero-line="3"] {
  animation: heroFadeUpCinematic 1s cubic-bezier(.22,.61,.36,1) both .5s;
}

/* --- Make template's .text-in inert (so it can't force end state) --- */
.hero-360-animation.text-in [data-hero-line] {
  /* do NOT set opacity/transform here */
  animation: none !important;
}

/* --- Smooth gradient -> black transition ONLY for hero H1 line --- */
.hero-360-animation h1[data-hero-line="2"] .h-xxl {
  position: relative;
  display: inline-block;
  /* keep your colorful gradient as the base layer */
  background: var(--Gradient-Spectrum-Gradient,
    linear-gradient(90deg, #A5C9E3 15%, #2643D6 35%, #D8B6C2 75%, #D3D2CB 100%, #FFFFFF 100%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* overlay black gradient layer that fades in */
.hero-360-animation h1[data-hero-line="2"] .h-xxl > .hero-h1-black-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 900ms ease-in-out;

  background: linear-gradient(90deg, #000 0%, #666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* when your video phase begins, crossfade smoothly */
.hero-360-animation.show-video h1[data-hero-line="2"] .h-xxl > .hero-h1-black-layer {
  opacity: 1;
}

/* Gradient text behavior 
.hero-360-animation h1 {
  background: var(--Gradient-Spectrum-Gradient,
    linear-gradient(90deg, #A5C9E3 15%, #2643D6 35%, #D8B6C2 75%, #D3D2CB 100%, #FFFFFF 100%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: color 1.5s linear, -webkit-text-fill-color 1.5s linear;
}
.hero-360-animation.show-video h1 {
  background: linear-gradient(90deg, #000 0%, #666 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: color 1.5s linear, -webkit-text-fill-color 1.5s linear;
}
*/
.animated-pillars > * {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.animated-pillars > *.animate-in {
  animation: fadeUp20Hero 600ms ease-in-out forwards;
  animation-delay: calc(var(--index) * 80ms);
}

.text-image .text-component,
.wysiwyg .text-component {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.text-image .text-component.animate-in {
  animation: fadeUp20Hero 600ms ease-in-out forwards;
}

.wysiwyg .text-component.animate-in {
  animation: fadeUp20Hero 600ms ease-in-out forwards;
}

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

@media (max-width: 52.9375rem) {
  .columns.page360 .text-component p>img.aligncenter{
    margin: 10px auto;
  }
  .block-360-approach 
  .block-360-approach .icon-cards.cards.page-360 
  ~  .spacer.height-md {
    height: 0;
  }
  .block-download .text-image.page-360:not(.video) .grid{
    padding: 0 0 1.75rem 0 !important;
  }

}
.block-download .text-image.page-360:not(.video) .grid {
  padding: 0;
}

.hero.hero-360-animation[data-gradient]::before {
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%, rgba(255, 255, 255, 0.00) 100%);
}