/* 
Theme Name: Berkman & co. | Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/**
* Animations entrance - titles and content
**/
    .berk-text-animate .berk-text-line {
      display: block;
      overflow: hidden;
    }

    .berk-text-animate .berk-text-content {
      display: inline-block;
      transform: translate3d(0, 100%, 0);
      transition: transform 1.2s ease;
      transition-delay: calc(var(--line-index, 0) * 0.2s);
    }

    .berk-text-animate.shown .berk-text-content {
      transform: translate3d(0, 0, 0);
    }

    body:not(.elementor-editor-active) .berk-text-animate.berk-content-block {
      visibility: hidden;
    }
    body:not(.elementor-editor-active) .berk-text-animate.berk-content-block.loaded {
      visibility: visible;
    }

    .hp-hero-anim.berk-text-animate .berk-text-content {
      transition-delay: 0.8s;
    }
    .intro-hero-anim.berk-text-animate .berk-text-content {
      transition-delay: 0.4s;
    }


    body.elementor-editor-active .berk-text-animate .berk-text-content {
      transform: translate3d(0, 0, 0);
    }

/**
* Animations entrance - sliders
**/    

/*
body:not(.elementor-editor-active) .animated-item {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(10px);
  transition: all 1.6s cubic-bezier(0.19, 1, 0.22, 1) .3s;
}
.t-2.animated-item {
  transition: all 1.8s cubic-bezier(0.19, 1, 0.22, 1) 1.3s;
}

selector .animated-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
*/

.animated-item .animated-item-line {
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.animated-item .animated-item-line .elementor-widget-container {
  display: inline-block;
  transform: translate3d(0, 100%, 0);
  transition: transform 1.2s ease;
  /*transition-delay: calc(var(--line-index, 0) * 0.2s);*/
}
.animated-item .animated-item-line.t-2 .elementor-widget-container {
  transition-delay: 0.5s;
}
.animated-item.animated-in .animated-item-line .elementor-widget-container {
  transform: translate3d(0, 0, 0);
}


body.elementor-editor-active .animated-item .animated-item-line .elementor-widget-container {
  transform: translate3d(0, 0, 0);
}


.team-link-item .team-title,
.right-on-hover a {
  transform: translate3d(0, 0, 0);
  transition: transform 1.2s ease;
}
.right-on-hover a {
  transition: color 0.5s, transform 1.2s ease !important;
}
.team-link-item .team-title.r-2 {
  transition-delay: 0.25s;
}
.team-link-item:hover .team-title,
.right-on-hover:hover a {
  transform: translate3d(20px, 0, 0);
}

.rtl .team-link-item:hover .team-title,
.rtl .right-on-hover:hover a {
  transform: translate3d(-20px, 0, 0);
}

/**
* Animations
**/

@keyframes subtleFadeInRight {
    from {
      opacity: 0;
      transform: translate3d(25px, 0, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
}
@keyframes subtleFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 25px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.elementor-element.elementor-invisible[data-settings*="animation:fadeInRight"],
.fadeInRight,
.swiper-slide-contents.fadeInRight {
    animation-name: subtleFadeInRight !important;
    /*animation-duration: 0.8s !important;
    animation-timing-function: ease-out !important;*/
}
.fadeInUp {
    animation-name: subtleFadeInUp !important;
}

/**
* Clients
**/

#team-links .animate-link {
    opacity: 0;
}
#team-links.animated .animate-link {
    animation: subtleFadeInRight 1.2s forwards;
}
#team-links.animated .animate-link:nth-child(2) {  animation-delay: 0.25s;}

#clients_list {
    padding: 0;
}
#clients_list li {
    display: inline-block;
    opacity: 0;
}
#clients_list li:not(:last-child) span::after {
    content:'/';
    display: inline-block;
    padding: 0 6px;
}
#clients_list li.last-in-row span {
  display: inline-block;
}
/*@media only screen and (min-width: 768px) {*/
  #clients_list li.last-in-row span::after {
      display: none;
  }
/*}*/

.animated #clients_list li {
    animation: subtleFadeInRight 1.2s forwards;
}
/*
.animated #clients_list li:nth-child(1) {  animation-delay: 0s;}
.animated #clients_list li:nth-child(2) {  animation-delay: 0.25s;}
.animated #clients_list li:nth-child(3) {  animation-delay: 0.5s;}
.animated #clients_list li:nth-child(4) {  animation-delay: 0.75s;}
.animated #clients_list li:nth-child(5) {  animation-delay: 1s;}
.animated #clients_list li:nth-child(6) {  animation-delay: 1.25s;}
.animated #clients_list li:nth-child(7) {  animation-delay: 1.5s;}
.animated #clients_list li:nth-child(8) {  animation-delay: 1.75s;}
.animated #clients_list li:nth-child(9) {  animation-delay: 2s;}
.animated #clients_list li:nth-child(10) {  animation-delay: 2.25s;}  
.animated #clients_list li:nth-child(11) {  animation-delay: 2.5s;}  
.animated #clients_list li:nth-child(12) {  animation-delay: 2.75s;}  
.animated #clients_list li:nth-child(13) {  animation-delay: 3.00s;}  
.animated #clients_list li:nth-child(14) {  animation-delay: 3.25s;}  
.animated #clients_list li:nth-child(15) {  animation-delay: 3.5s;}  
.animated #clients_list li:nth-child(16) {  animation-delay: 3.75s;}  
.animated #clients_list li:nth-child(17) {  animation-delay: 4.00s;}  
.animated #clients_list li:nth-child(18) {  animation-delay: 4.25s;}  
.animated #clients_list li:nth-child(19) {  animation-delay: 4.5s;}  
.animated #clients_list li:nth-child(20) {  animation-delay: 4.75s;}  
.animated #clients_list li:nth-child(21) {  animation-delay: 5s;}  
.animated #clients_list li:nth-child(22) {  animation-delay: 5.25s;}  
.animated #clients_list li:nth-child(23) {  animation-delay: 5.5s;}  
.animated #clients_list li:nth-child(24) {  animation-delay: 5.75s;}  
.animated #clients_list li:nth-child(25) {  animation-delay: 6s;}  
.animated #clients_list li:nth-child(26) {  animation-delay: 6.25s;}  
.animated #clients_list li:nth-child(27) {  animation-delay: 6.5s;}  
*/

.animated #clients_list li {
  animation-delay: var(--delay);
}

/***
*** forms
****/

#apply .elementor-field-type-upload {
    border-bottom: 2px solid;
    gap: 20px;
}
#apply .elementor-field-type-upload .elementor-field-label {
    height: auto;
    position: relative;
    top: auto;
    width: auto;
    opacity: 0.5;
}
#apply .elementor-field-type-upload input {
    flex: 1;
    border:none;
}

/***
*** header _ footer 
****/
.menuTogg .elementor-button {
    width: 88px;
    height: 88px;
    justify-items: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*
.menuTogg .elementor-button,
.contact-form .elementor-field-type-submit button {
  animation: blurOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.menuTogg .elementor-button:hover,
.contact-form .elementor-field-type-submit button:hover {
    animation: blurIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
*/


body:not(.elementor-editor-active) #menu_nav_wrp.animated .elementor-nav-menu .menu-item {
  opacity: 0;
}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item {
    animation: subtleFadeInRight 1.2s forwards;
}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item:nth-child(1) {animation-delay: 0s;}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item:nth-child(2) {animation-delay: 0.35s;}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item:nth-child(3) {animation-delay: 0.7s;}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item:nth-child(4) {animation-delay: 1.05s;}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item:nth-child(5) {animation-delay: 1.4s;}
.e-off-canvas:not([aria-hidden="true"]) #menu_nav_wrp .elementor-nav-menu .menu-item:nth-child(6) {animation-delay: 1.85s;}




@keyframes blurIn {
  from {
    filter: blur(0px);
    opacity: 1;
  }
  to {
    filter: blur(1.5px);
    opacity: 0.8;
  }
}

@keyframes blurOut {
  from {
    filter: blur(1.5px);
    opacity: 0.8;
  }
  to {
    filter: blur(0px);
    opacity: 1;
  }
}

body:not(.elementor-editor-active)  {
  position: relative;
}
body:not(.elementor-editor-active)::before {
  content: '';
  display: block;
  width: 100%;
  height: calc(100% - (100vh - 128px));
  position: absolute;
  top: 0;
  background-color: #DDD8D6;
  z-index: 1;
}
#content {
  position: relative;
  z-index: 1;
}
body #video-bg-footer .elementor-background-video-hosted {
  z-index: -3;
  width: 100% !important;
  height: 100% !important;
}
body:not(.elementor-editor-active) #video-bg-footer .elementor-background-video-hosted {
  position: fixed;
}
#video-bg-footer > .elementor-background-video-container::before {
  /*-webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);*/
  background: rgba(29, 29, 29, 0.8);
  z-index: -2;
}

body:not(.elementor-editor-active) #hp-hero .elementor-background-video-hosted {
  position: fixed;
  background: url('https://wordpress-539989-5524936.cloudwaysapps.com/wp-content/uploads/2025/05/vidcover.jpg');
  background-size: cover;
}
body #hp-hero .elementor-background-video-hosted {
  z-index: -5;
  width: 100% !important;
  height: 100% !important;
}
#hp-hero > .elementor-background-video-container::before {
  background: rgba(29, 29, 29, 0.8);
  z-index: -2;
}

/***
*** Slider
****/


#team-slider .jet-listing-grid__slider-icon,
#team-slider .jet-listing-grid__slider-icon.slick-arrow {
    height: 14px;
}
#team-slider .jet-listing-grid__slider-icon.slick-arrow svg {
    display: none;
}
#team-slider .jet-listing-grid__slider-icon.slick-arrow.next-arrow,
#team-slider .jet-listing-grid__slider-icon.slick-arrow.prev-arrow {
  background-size: contain;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  transition: transform 0.8s ease;
}
#team-slider .jet-listing-grid__slider-icon.slick-arrow.next-arrow {
  background-image: url(./inc/berkman-left.svg);
  transform: translate3d(0, 0, 0) scaleX(-1);
}
#team-slider .jet-listing-grid__slider-icon.slick-arrow.prev-arrow {
  background-image: url(./inc/berkman-left.svg);
}
#team-slider .jet-listing-grid__slider-icon.slick-arrow.next-arrow:hover {
  transform: translate3d(8px, 0, 0) scaleX(-1);
}
#team-slider .jet-listing-grid__slider-icon.slick-arrow.prev-arrow:hover {
  transform: translate3d(-8px, 0, 0);
}



/***
*** Animated title 
****/

    h1.title-container {
      font-family: "Polin", Sans-serif;
      font-size: 8.438vw;
      font-weight: 700;
      text-transform: uppercase;
      line-height: 0.87em;
      color: var(--e-global-color-14bff0e);
      margin: 0;
    }

    #changing-word {
      /*ransition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;*/
      transition: opacity 1s ease-in-out, filter 1.2s ease-in-out, transform 1.2s ease-in-out;
    }

    .static-word {
      margin-top: 10px;
    }

    .blur-out {
      opacity: 0;
      filter: blur(4px);
      transform: translateX(-40px);
    }

    .blur-in {
      opacity: 1;
      filter: blur(0px);
      transform: translateX(0);
    }


/***
*** responsive 
****/
@media only screen and (max-width: 1024px) {
  .menuTogg .elementor-button {
      width: 64px;
      height: 64px;
  } 
  h1.title-container {
    font-size: 48px;
  }

}
@media only screen and (max-width: 768px) {
  #hp-hero .elementor-background-video-hosted {
      height: 100vh !important;
      top: 0;
      transform: translate(-50%, 0);
      object-position: 74% 50%;
  }
  #video-bg-footer .elementor-background-video-hosted {
      object-position: 74% 50%;
  }
  body:not(.elementor-editor-active) #hp-hero .elementor-background-video-hosted {
    background-position: 74% 50%;
  }
  #clients_list li {
    display: block;
  }
  #clients_list li:not(:last-child) span::after {
    padding: 0 3px;
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  /*body:not(.rtl) #clients_list li {
    display: block;
    margin: 0 0 .25em 0;
  }*/
  #clients_list li span {
    line-height: 1.2em;
  }
  /*body:not(.rtl) #clients_list li:not(:last-child) span::after {
    display: none;
  }*/
}