:root {
    --header-bar: 80px;
    --font-stack-text: "Inter", "Segoe UI", "San Francisco", Ubuntu, Helvetica, sans-serif;
    --font-stack-heading: "Arimo", Arial, sans-serif;

    /* Desktop */
    --custom-title-1-default: 3.333rem;
    --custom-title-2-default: 2.222rem;
    --custom-title-3-default: 1.666rem;
    --custom-title-4-default: 1.444rem;
    --custom-title-5-default: 1.222rem;
    --custom-title-6-default: 1rem;

    /* comment out for now as we only have desktop
	Tablet
    --custom-title-1-1365-max: 2.5rem;
    --custom-title-2-1365-max: 2rem;
    --custom-title-3-1365-max: 1.6rem;
    --custom-title-4-1365-max: 1.3rem;
    --custom-title-5-1365-max: 1.1rem;
    --custom-title-6-1365-max: 1rem; */

    /* Mobile
    --custom-title-1-767-max: 2.2rem;
    --custom-title-2-767-max: 1.8rem;
    --custom-title-3-767-max: 1.5rem;
    --custom-title-4-767-max: 1.2rem;
    --custom-title-5-767-max: 1rem;
    --custom-title-6-767-max: 1rem; */
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-stack-text);
    font-size: 18px;
    color: black;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    background: #ffffff;
    line-height: 1.5em;
}

/*
@media screen and (max-width: 1365px) {

    html,
    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {

    html,
    body {
        font-size: 16px;
    }
}*/

p,
input,
textarea,
button,
form,
label,
option,
select {
    outline: 0;
    font-size: 1rem;
}

.elementor-editor-active p {
    /* body font in elementor needs this */
    font-size: 1rem;
}

b,
strong {
    font-weight: 600;
}

a:focus {
    outline: none;
    box-shadow: none;
}

blockquote {
    background-color: black;
    color: white;
    padding: 10px;
}

/* Some sites might need this for the overflow problem */
body>div[data-elementor-post-type="page"] {
    overflow-x: hidden;
}

/* Make hero 100% on mobile */
@media screen and (max-width: 767px) {
    .hero-section {
        height: calc(100svh - var(--header-bar));
        min-height: 0;
    }
}

/* Headings style */
.custom-title-1 h1,
.custom-title-1 h2,
.custom-title-1 h3,
.custom-title-1 h4,
.custom-title-1 h5,
.custom-title-1 h6,
.custom-title-1 span,
.custom-title-1 p {
    font-size: var(--custom-title-1-default);
    font-weight: 700;
    font-family: var(--font-stack-heading);
    line-height: 1.25em !important;
    letter-spacing: -0.01em;
}

.custom-title-2 h1,
.custom-title-2 h2,
.custom-title-2 h3,
.custom-title-2 h4,
.custom-title-2 h5,
.custom-title-2 h6,
.custom-title-2 span,
.custom-title-2 p {
    font-size: var(--custom-title-2-default);
    font-weight: 700;
    font-family: var(--font-stack-heading);
    line-height: 1.25em !important;
    letter-spacing: -0.01em;
}

.custom-title-3 h1,
.custom-title-3 h2,
.custom-title-3 h3,
.custom-title-3 h4,
.custom-title-3 h5,
.custom-title-3 h6,
.custom-title-3 span,
.custom-title-3 p {
    font-size: var(--custom-title-3-default);
    font-weight: 700;
    font-family: var(--font-stack-heading);
    line-height: 1.25em !important;
    letter-spacing: -0.01em;
}

.custom-title-4 h1,
.custom-title-4 h2,
.custom-title-4 h3,
.custom-title-4 h4,
.custom-title-4 h5,
.custom-title-4 h6,
.custom-title-4 span,
.custom-title-4 p {
    font-size: var(--custom-title-4-default);
    font-weight: 700;
    font-family: var(--font-stack-heading);
    line-height: 1.25em !important;
    letter-spacing: -0.01em;
}

.custom-title-5 h1,
.custom-title-5 h2,
.custom-title-5 h3,
.custom-title-5 h4,
.custom-title-5 h5,
.custom-title-5 h6,
.custom-title-5 span,
.custom-title-5 p {
    font-size: var(--custom-title-5-default);
    font-weight: 700;
    font-family: var(--font-stack-heading);
    line-height: 1.35em !important;
    letter-spacing: -0.01em;
}

.custom-title-6 h1,
.custom-title-6 h2,
.custom-title-6 h3,
.custom-title-6 h4,
.custom-title-6 h5,
.custom-title-6 h6,
.custom-title-6 span,
.custom-title-6 p {
    font-size: var(--custom-title-6-default);
    font-weight: 400;
    font-family: var(--font-stack-heading);
    line-height: 1.35em !important;
}

/* comment out for now 
@media screen and (max-width: 1365px) {

    .custom-title-1 h1,
    .custom-title-1 h2,
    .custom-title-1 h3,
    .custom-title-1 h4,
    .custom-title-1 h5,
    .custom-title-1 h6,
    .custom-title-1 span,
    .custom-title-1 p {
        font-size: var(--custom-title-1-1365-max);
    }

    .custom-title-2 h1,
    .custom-title-2 h2,
    .custom-title-2 h3,
    .custom-title-2 h4,
    .custom-title-2 h5,
    .custom-title-2 h6,
    .custom-title-2 span,
    .custom-title-2 p {
        font-size: var(--custom-title-2-1365-max);
    }

    .custom-title-3 h1,
    .custom-title-3 h2,
    .custom-title-3 h3,
    .custom-title-3 h4,
    .custom-title-3 h5,
    .custom-title-3 h6,
    .custom-title-3 span,
    .custom-title-3 p {
        font-size: var(--custom-title-3-1365-max);
    }

    .custom-title-4 h1,
    .custom-title-4 h2,
    .custom-title-4 h3,
    .custom-title-4 h4,
    .custom-title-4 h5,
    .custom-title-4 h6,
    .custom-title-4 span,
    .custom-title-4 p {
        font-size: var(--custom-title-4-1365-max);
    }

    .custom-title-5 h1,
    .custom-title-5 h2,
    .custom-title-5 h3,
    .custom-title-5 h4,
    .custom-title-5 h5,
    .custom-title-5 h6,
    .custom-title-5 span,
    .custom-title-5 p {
        font-size: var(--custom-title-5-1365-max);
    }

    .custom-title-6 h1,
    .custom-title-6 h2,
    .custom-title-6 h3,
    .custom-title-6 h4,
    .custom-title-6 h5,
    .custom-title-6 h6,
    .custom-title-6 span,
    .custom-title-6 p {
        font-size: var(--custom-title-6-1365-max);
    }
}

@media screen and (max-width: 767px) {

    .custom-title-1 h1,
    .custom-title-1 h2,
    .custom-title-1 h3,
    .custom-title-1 h4,
    .custom-title-1 h5,
    .custom-title-1 h6,
    .custom-title-1 span,
    .custom-title-1 p {
        font-size: var(--custom-title-1-767-max);
    }

    .custom-title-2 h1,
    .custom-title-2 h2,
    .custom-title-2 h3,
    .custom-title-2 h4,
    .custom-title-2 h5,
    .custom-title-2 h6,
    .custom-title-2 span,
    .custom-title-2 p {
        font-size: var(--custom-title-2-767-max);
    }

    .custom-title-3 h1,
    .custom-title-3 h2,
    .custom-title-3 h3,
    .custom-title-3 h4,
    .custom-title-3 h5,
    .custom-title-3 h6,
    .custom-title-3 span,
    .custom-title-3 p {
        font-size: var(--custom-title-3-767-max);
    }

    .custom-title-4 h1,
    .custom-title-4 h2,
    .custom-title-4 h3,
    .custom-title-4 h4,
    .custom-title-4 h5,
    .custom-title-4 h6,
    .custom-title-4 span,
    .custom-title-4 p {
        font-size: var(--custom-title-4-767-max);
    }

    .custom-title-5 h1,
    .custom-title-5 h2,
    .custom-title-5 h3,
    .custom-title-5 h4,
    .custom-title-5 h5,
    .custom-title-5 h6,
    .custom-title-5 span,
    .custom-title-5 p {
        font-size: var(--custom-title-5-767-max);
    }

    .custom-title-6 h1,
    .custom-title-6 h2,
    .custom-title-6 h3,
    .custom-title-6 h4,
    .custom-title-6 h5,
    .custom-title-6 h6,
    .custom-title-6 span,
    .custom-title-6 p {
        font-size: var(--custom-title-6-767-max);
    }
}
*/

/* Kenburns effect */

.elementor-widget-image.animate.kenburn.active .elementor-widget-container {
    overflow: hidden;
}

.elementor-widget-image.animate.kenburn.active picture,
.elementor-widget-image.animate.kenburn.active img {
    animation: kenburns 20s ease-in-out both;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* Adjust Elementor transitions */

@keyframes customfadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10%, 0);
        /* less movement for subtler effect */
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes customfadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-10%, 0, 0);
        /* less movement for subtler effect */
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes customfadeInRight {
    from {
        opacity: 0;
        transform: translate3d(10%, 0, 0);
        /* less movement for subtler effect */
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes customfadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 10%, 0);
        /* less movement for subtler effect */
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: customfadeInDown !important;
}

.fadeInLeft {
    animation-name: customfadeInLeft !important;
}

.fadeInRight {
    animation-name: customfadeInRight !important;
}

.fadeInUp {
    animation-name: customfadeInUp !important;
}

/* Hero */
.hero-pin .e-con-inner {
    display: block;
    height: 200vh;
}

/*
.elementor-element-d1d0384 {
   position: absolute;
   transform: translateX(-100%);
}
*/

.hero-video {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video.loaded {
    background: transparent;
}

.video-wrap::before,
.video-wrap::after {
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

.elementor-element-6c9eab6 {
    transition: opacity .25s ease-in, transform .25s ease-in;
}

.elementor-element-6c9eab6.hidden {
    opacity: 0;
    transform: translateY(-20%);
}

/*
.hero-video {
    transition: all 1.5s ease;
}
    */

.hero-pin.white .hero-video {
    background: white;
}

.hero-video .video-wrap::before {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 45%,
            rgba(0, 0, 0, 0.4) 75%,
            rgba(0, 0, 0, 1) 100%);
}

.hero-video .video-wrap::after {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.2) 35%,
            rgba(255, 255, 255, 0) 50%);
}

.joc-header {
    transition: none !important;
}
/*
header[data-elementor-type="header"].gsap-dark .joc-header {
    background: linear-gradient(180deg,
            rgb(255 255 255 / 80%) 0%,
            rgba(255, 255, 255, 0) 80%);
}
*/

.site-logo-wrap .site-logo-black,
header[data-elementor-type="header"].gsap-dark .site-logo-wrap .site-logo-white {
    display: none !important;
}

.site-logo-wrap .site-logo-white,
header[data-elementor-type="header"].gsap-dark .site-logo-wrap .site-logo-black {
    display: block !important;
}

.hero-video .video-wrap {
    height: 100vh;
}

.hero-video video {
    height: 100%;
    width: 100vw;
    object-fit: cover;
}
.hero-pin.small-video .hero-video video {
    border-radius: 30px;
}

.hero-slide {
    height: 100vh;
    color: white;
    margin: 0;
    border: 0;
    opacity: 0;
    transition: all .25s ease;
}

.active-slide {
    opacity: 1;
}

.hero-pin {
    transition: none;
}

.hero-pin.small-video .hero-video {
    background-color: white;
}
.hero-pin.no-gradient .hero-video .video-wrap::before {
    display: none;
}

.hero-pin.no-gradient .hero-video .video-wrap::after {
    display: none;
}

.numbers-box {
    flex: 1;
    padding: 30px 20px;
    border-radius: 20px;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);

    /* Border + glow */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);

    color: #fff;
}

.numbers-box .numbers-top {
    margin: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    color: var(--e-global-color-secondary);
}

.numbers-box .numbers-number {
    font-size: var(--custom-title-2-default);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.numbers-box .numbers-bottom {
    margin: 0;
    font-size: 16px;
    opacity: 0.8;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 160%;
    color: #FFF;
    backdrop-filter: blur(4px);
}

.badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--e-global-color-secondary);
    border-radius: 2px;
}

.no-padding p {
    padding: 0;
    margin: 0;
}

@media screen and (min-width: 2400px) {
    .hero-slide {
        padding: 100px;
    }
}

.text-reveal .line {
    overflow: hidden;
}

.text-reveal .word {
    display: inline-block;
}

/* Stronger motion only inside hero-slide */
.joc-header .fadeInDown,
.hero-slide .fadeInDown {
    animation-name: heroFadeInDown !important;
}

.joc-header .fadeInLeft,
.hero-slide .fadeInLeft {
    animation-name: heroFadeInLeft !important;
}

.joc-header .fadeInRight,
.hero-slide .fadeInRight {
    animation-name: heroFadeInRight !important;
}

.joc-header .fadeInUp,
.hero-slide .fadeInUp {
    animation-name: heroFadeInUp !important;
}

.video-wrap .play-button {
  justify-content: center;
  align-items: center;
  width: 84px;
  height: 84px;
  padding: 0px 0px 0px 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  overflow: hidden;
  transition: all 0.4s ease-out;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  cursor: pointer;
}
.hero-pin.small-video .video-wrap .play-button {
    display: flex;
}
.hero-pin.small-video .hero-video{
    background: none;
    z-index: 10;
}
.video-wrap .play-button:after {
  content: "Play Video";
  display: block;
  width: 1px;
  white-space: nowrap;
  font-family: var(--font-stack-heading);
  font-size: 0.888rem;
  font-weight: 500;
  line-height: 1.25em;
  overflow: hidden;
  transition: all 0.4s ease-out;
}

.video-wrap .play-button svg {
  display: flex;
  width: 20px;
  height: auto;
  opacity: 1;
  filter: none;
}

.video-wrap .play-button:hover {
  gap: 12px;
  width: fit-content;
  padding: 30px 40px 30px 40px;
}
.video-wrap .play-button:hover:after {
  width: fit-content;
}

/* Overridden keyframes with bigger travel (extra 100 percent) */
@keyframes heroFadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -25px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroFadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-25px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translate3d(25px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 25px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}