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

  /* Tablet */
  --custom-title-1-1366-max: 2.824rem;
  --custom-title-2-1366-max: 1.882rem;
  --custom-title-3-1366-max: 1.529rem;
  --custom-title-4-1366-max: 1.294rem;
  --custom-title-5-1366-max: 1.176rem;
  --custom-title-6-1366-max: 1rem;

  /* Mobile */
  --custom-title-1-767-max: 2.25rem;
  --custom-title-2-767-max: 1.875rem;
  --custom-title-3-767-max: 1.5rem;
  --custom-title-4-767-max: 1.25rem;
  --custom-title-5-767-max: 1.125rem;
  --custom-title-6-767-max: 1rem;
}

@media screen and (max-width: 767px) {
  :root {
    --header-bar: 60px;
  }
}

html {
    scroll-behavior: unset;
}

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;
  line-height: 1.6em;
  background: #ffffff;
}

@media screen and (max-width: 1366px) {
  html,
  body {
    font-size: 17px;
  }
}

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

@media screen and (max-width: 1366px) {
  .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-1366-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-1366-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-1366-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-1366-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-1366-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-1366-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;
}

.joc-header {
    transition: none !important;
}

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

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

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

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