
/* 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 .text-component {
  padding-bottom: 80px;
}
@media (max-width: 52.9375rem) {
  .animated-pillars .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;
  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: center;
  padding: 0 0;
  max-width: 610px;
  max-height: 610px;
  position: relative;
}
.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 8s 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: 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);
}
.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;
  }
  .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;
}

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;
}

/* icon cards */
.icon-cards .item[data-theme=sand] {
  background-color: #f4f4f2;
}
.icon-cards .item .icon {
  display: flex;
}
.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 rgba(0, 0, 0, 0.50);
  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: 1.25rem 0;
  }
}
/* --- HERO BASE --- */
.hero-360-animation {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

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

.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;
}
@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-animation [data-hero-line] {
opacity: 0;
transform: translateY(45px);
will-change: transform, opacity;
}

.hero-360-animation.text-in [data-hero-line="1"] {
animation: heroFadeUp 0.65s ease-out forwards;
animation-delay: 0s;
}

.hero-360-animation.text-in [data-hero-line="2"] {
animation: heroFadeUp 0.65s ease-out forwards;
animation-delay: 0.15s;
}

.hero-360-animation.text-in [data-hero-line="3"] {
animation: heroFadeUp 0.65s ease-out forwards;
animation-delay: 0.3s;
}

@keyframes heroFadeUp {
from {
  opacity: 0;
  transform: translateY(45px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}
*/
/* Slower reveal + bigger stagger spacing */
.hero-360-animation.text-in [data-hero-line="1"] {
  animation: heroFadeUpCinematic 1s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: 0s;
}

.hero-360-animation.text-in [data-hero-line="2"] {
  animation: heroFadeUpCinematic 1s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: 0.25s;
}

.hero-360-animation.text-in [data-hero-line="3"] {
  animation: heroFadeUpCinematic 1s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: 0.50s;
}

.hero-360-animation h1 {
  background: var(--Gradient-Spectrum-Gradient, linear-gradient( 90deg, #A5C9E3 15%, #2643D6 35%, #D8B6C2 75%, #D3D2CB 85%, #FFFFFF 100% ));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: color 1.2s ease-in-out, -webkit-text-fill-color 1.2s ease-in-out;
}

.hero-360-animation.show-video h1 {
  background: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  color: currentColor;
  -webkit-text-fill-color: currentColor;
}

.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); }
}

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