.calio-style-1,
.calio-style-2 {
  --dir: 1;
}

.calio-kinetic-card {
  --calio-kc-icon-shift: 10px;
  --calio-kc-bg: #f9fdff;
  --calio-kc-bg-hover: #1e87f0;
  --calio-kc-subtitle: #f0f0f1;
  --calio-kc-title: #fff;
  --calio-kc-text: rgba(246, 246, 246, 0.67);
  --calio-kc-btn: rgba(246, 246, 246, 0.9);
  --calio-kc-btn-hover: #fff;
}

.calio-kinetic-preset-soft {
  --calio-kc-bg: linear-gradient(160deg, #eef7ff 0%, #dbeafe 45%, #ddd6fe 100%);
  --calio-kc-bg-hover: linear-gradient(160deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --calio-kc-subtitle: #f8fafc;
  --calio-kc-title: #ffffff;
  --calio-kc-text: rgba(248, 250, 252, 0.84);
  --calio-kc-btn: rgba(248, 250, 252, 0.96);
  --calio-kc-btn-hover: #ffffff;
}

.calio-kinetic-preset-bold {
  --calio-kc-bg: linear-gradient(145deg, #111827 0%, #1f2937 55%, #0f172a 100%);
  --calio-kc-bg-hover: linear-gradient(140deg, #f97316 0%, #ef4444 45%, #b91c1c 100%);
  --calio-kc-subtitle: #fed7aa;
  --calio-kc-title: #ffffff;
  --calio-kc-text: rgba(254, 215, 170, 0.9);
  --calio-kc-btn: #fff7ed;
  --calio-kc-btn-hover: #ffffff;
}

.calio-kinetic-preset-neon {
  --calio-kc-bg: linear-gradient(145deg, #020617 0%, #0f172a 52%, #111827 100%);
  --calio-kc-bg-hover: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #ec4899 100%);
  --calio-kc-subtitle: #67e8f9;
  --calio-kc-title: #e0f2fe;
  --calio-kc-text: rgba(165, 243, 252, 0.88);
  --calio-kc-btn: #22d3ee;
  --calio-kc-btn-hover: #e0f2fe;
}

html[dir='rtl'] .calio-style-1,
html[dir='rtl'] .calio-style-2,
:dir(rtl) .calio-style-1,
:dir(rtl) .calio-style-2 {
  --dir: -1;
}

.calio-kinetic-card-item {
  width: auto;
  max-width: 350px;
  margin-inline: auto;
  height: 650px;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  position: relative;
}

.calio-kinetic-card-circle {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
}

.calio-kinetic-card-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--calio-kc-bg);
  clip-path: circle(120px at center);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  border: 1px solid transparent;
  will-change: clip-path;
}

.calio-kinetic-card .calio-kinetic-card-img-wrap {
  width: 100%;
  height: 100%;
}

.calio-kinetic-card .calio-kinetic-card-img-wrap img {
  height: 300px;
  width: 330px;
}

.calio-kinetic-card-img {
  position: absolute;
  top: 50%;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: top, left, right, height, opacity, transform;
}

.calio-kinetic-card-content {
  position: absolute;
  top: 0;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: opacity, left, right, transform;
}

.calio-kinetic-card-sub-title {
  margin: 0;
  padding-bottom: 10px;
  font-size: 20px;
  text-transform: capitalize;
  color: var(--calio-kc-subtitle);
  transition: all 0.3s ease;
  font-weight: 500;
}

.calio-kinetic-card-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
  padding-bottom: 10px;
  text-transform: capitalize;
  color: var(--calio-kc-title);
  transition: all 0.3s ease;
}

.calio-kinetic-card-title a {
  color: inherit;
  text-decoration: none;
}

.calio-kinetic-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--calio-kc-text);
  padding-bottom: 10px;
}

.calio-kinetic-card-btn-wrap {
  display: inline-flex;
}

.calio-kinetic-card-btn {
  font-size: 15px;
  font-weight: 700;
  text-transform: capitalize;
  text-decoration: none;
  color: var(--calio-kc-btn);
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.calio-kinetic-card-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.calio-kinetic-card-btn .calio-button-icon i,
.calio-kinetic-card-btn .calio-button-icon svg {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.calio-kinetic-card-btn .calio-button-icon {
  display: inline-flex;
}

.calio-kinetic-card-btn:hover {
  color: var(--calio-kc-btn-hover);
}

.calio-kinetic-card-btn:hover .calio-button-icon i,
.calio-kinetic-card-btn:hover .calio-button-icon svg {
  opacity: 1;
  transform: translateX(var(--calio-kc-icon-shift));
}

html[dir='rtl'] .calio-kinetic-card-btn:hover .calio-button-icon i,
html[dir='rtl'] .calio-kinetic-card-btn:hover .calio-button-icon svg,
:dir(rtl) .calio-kinetic-card-btn:hover .calio-button-icon i,
:dir(rtl) .calio-kinetic-card-btn:hover .calio-button-icon svg {
  transform: translateX(calc(-1*(var(--calio-kc-icon-shift) * -1)));
}

.calio-kinetic-card-btn svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.calio-attention-button {
  animation: calioKineticPulse 1.8s ease-in-out infinite;
}

@keyframes calioKineticPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
  }
}

.calio-kinetic-card:hover .calio-kinetic-card-circle::before {
  background: var(--calio-kc-bg-hover);
  clip-path: circle(1200px at center);
}

.calio-kinetic-card:hover .calio-kinetic-card-img {
  height: 300px;
  top: 75%;
}

.calio-kinetic-card:hover .calio-kinetic-card-content {
  opacity: 1;
  visibility: visible;
}

.calio-style-1 .calio-kinetic-card-img {
  right: 50%;
  transform: translate(calc(-1*(-50% * var(--dir))), -50%);
}

.calio-style-1 .calio-kinetic-card-content {
  right: 20%;
}

.calio-style-1:hover .calio-kinetic-card-content {
  right: 0;
}

.calio-style-1:hover .calio-kinetic-card-img {
  right: 50%;
}

.calio-style-2 .calio-kinetic-card-img {
  left: 50%;
  transform: translate(-50%, -50%);
}

.calio-style-2 .calio-kinetic-card-content {
  left: 20%;
}

.calio-style-2:hover .calio-kinetic-card-content {
  left: 0;
}

.calio-style-2:hover .calio-kinetic-card-img {
  left: 50%;
}

html[dir='rtl'] .calio-style-2 .calio-kinetic-card-img,
:dir(rtl) .calio-style-2 .calio-kinetic-card-img {
  right: 50%;
  left: auto;
  transform: translate(50%, -50%);
}

html[dir='rtl'] .calio-style-2 .calio-kinetic-card-content,
:dir(rtl) .calio-style-2 .calio-kinetic-card-content {
  right: 20%;
  left: auto;
}

html[dir='rtl'] .calio-style-2:hover .calio-kinetic-card-content,
:dir(rtl) .calio-style-2:hover .calio-kinetic-card-content {
  right: 0;
  left: auto;
}

html[dir='rtl'] .calio-style-2:hover .calio-kinetic-card-img,
:dir(rtl) .calio-style-2:hover .calio-kinetic-card-img {
  right: 50%;
  left: auto;
}

@media (min-width: 768px) {
  .calio-kinetic-card:hover .calio-kinetic-card-img {
    height: 500px;
    top: 50%;
  }

  .calio-kinetic-card-item {
    width: 100%;
    height: 400px;
    max-width: unset;
  }

  .calio-kinetic-card-item:hover .calio-kinetic-card-img {
    height: 500px;
    top: 50%;
  }

  .calio-kinetic-card-content {
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    padding: 40px;
  }

  .calio-kinetic-card-img {
    top: 50%;
  }

  .calio-style-1 .calio-kinetic-card-content {
    right: 20%;
  }

  .calio-style-1:hover .calio-kinetic-card-img {
    right: 75%;
  }

  .calio-style-2:hover .calio-kinetic-card-img {
    left: 75%;
  }

  html[dir='rtl'] .calio-style-2:hover .calio-kinetic-card-img,
  :dir(rtl) .calio-style-2:hover .calio-kinetic-card-img {
    right: 25%;
    left: auto;
  }
}

@media (min-width: 1024px) {
  .calio-kinetic-card-content {
    max-width: 600px;
    padding: 70px;
  }

  .calio-style-1:hover .calio-kinetic-card-img {
    right: 80%;
  }

  .calio-style-2:hover .calio-kinetic-card-img {
    left: 80%;
  }

  html[dir='rtl'] .calio-style-2:hover .calio-kinetic-card-img,
  :dir(rtl) .calio-style-2:hover .calio-kinetic-card-img {
    right: 20%;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calio-kinetic-card-item,
  .calio-kinetic-card-circle::before,
  .calio-kinetic-card-img,
  .calio-kinetic-card-content,
  .calio-kinetic-card-btn,
  .calio-kinetic-card-btn .calio-button-icon i,
  .calio-kinetic-card-btn .calio-button-icon svg {
    transition: none !important;
    animation: none !important;
  }
}

