/*
 Theme Name: EKS inTec
 Text Domain: eks
 Author: WeAreAi
Author URI: https://weareai.me/
*/

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999999999;
    width: 100%;
    height: 100%;
    background-color: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
}
  .fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    pointer-events: none; 
    background-image: url("data:image/svg+xml,<svg width='120' height='120' viewBox='0 0 163 162' fill='none' xmlns='http://www.w3.org/2000/svg'><g filter='url(%23filter0_d_11103_11823)'><rect x='25' y='25' width='113' height='112' rx='56' fill='%23DFFFFF' shape-rendering='crispEdges'/><path d='M58.92 73.5C63.52 73.5 67.02 75.08 67.02 80.74C67.02 86.4 63.52 88 58.92 88H54.96V73.5H58.92ZM58.8 75.54H57.5V85.96H58.8C61.58 85.96 64.38 85.34 64.38 80.74C64.38 76.16 61.58 75.54 58.8 75.54ZM75.095 81.88C74.855 81.9 74.595 81.9 74.335 81.9H71.875V88H69.335V73.5H73.955C78.235 73.5 80.415 74.46 80.415 77.68C80.415 79.54 79.495 80.8 77.695 81.42L81.015 88H78.155L75.095 81.88ZM71.875 75.54V79.88H74.395C76.575 79.88 77.815 79.44 77.815 77.7C77.815 75.8 76.315 75.54 74.315 75.54H71.875ZM86.8492 73.5H89.5292L94.9692 88H92.1892L91.0492 84.78H85.1692L84.0492 88H81.4492L86.8492 73.5ZM85.9092 82.66H90.2892L88.0892 76.44L85.9092 82.66ZM108.124 78.1H105.704C105.224 76.32 103.844 75.32 101.944 75.32C99.4841 75.32 97.6641 77.14 97.6641 80.7C97.6641 84.22 99.3641 86.18 101.924 86.18C103.644 86.18 105.804 85.42 105.804 82.84V82.56H102.104V80.42H108.164V88H106.164L106.084 86.26C105.224 87.54 103.624 88.26 101.644 88.26C97.5241 88.26 95.0441 85.24 95.0441 80.7C95.0441 76.2 97.7041 73.24 102.004 73.24C105.244 73.24 107.524 75.02 108.124 78.1Z' fill='%231A171B'/></g><defs><filter id='filter0_d_11103_11823' x='0' y='0' width='163' height='162' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'><feFlood flood-opacity='0' result='BackgroundImageFix'/><feColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/><feOffset/><feGaussianBlur stdDeviation='12.5'/><feComposite in2='hardAlpha' operator='out'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/><feBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_11103_11823'/><feBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_11103_11823' result='shape'/></filter></defs></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .custom-cursor.visible {
    opacity: 1;
    z-index: 99999;
  }
  body {
    cursor: auto;
  }
  
  body.hide-cursor {
      cursor: none;
  } 


/* Bg blue line animation */
.down-enter-active { 
  animation: down-enter 3s ease-in-out forwards; 
}

.down-enter-reverse { 
  animation: down-enter-reverse 3s ease-in-out forwards; 
}

.reveal-on-scroll {
  clip-path: inset(50% 0 0 0);
  min-height: 200px;
  overflow: hidden;
}
.animate-reveal{
  animation: down-enter 1.5s forwards ease-in-out;
}
@keyframes down-enter {
    0% { 
        clip-path: inset(0 0 100% 0); 
    }
    100% { 
        clip-path: inset(0); 
    }
}

@keyframes down-enter-reverse {
    0% { 
        clip-path: inset(0); 
    }
    100% { 
        clip-path: inset(0 0 100% 0); 
    }
}

.case-animated-underline{
  display: inline;
  position: relative;
  border-bottom: 14px solid transparent;
  background-image: linear-gradient(
    to right,
    #000000,
    #000000
  );
  background-size: 0% 1.6px;
  background-repeat: no-repeat;
  background-position: bottom left;
  padding-bottom: 5px;
  transition: background-size 0.3s ease-in-out;
} 
.caseCard:hover{
  cursor: pointer;
}

.caseCard:hover .caseImage{
    transform: scale(1.07);
}

.caseCard:hover .case-animated-underline  {
  background-size: 100% 1.6px;
}

.caseImage {
    transition: all .3s ease-in-out;
}