/* Custom animation for Kadence Button */
.simple-btn {
  display: inline-block;
}

.simple-cta {
  position: relative;
  border: none;
  background: none !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.simple-cta .kt-btn-inner-text {
  position: relative;
  display: inline-block;
  padding-bottom: 4px; /* Space for the underline */
}

/* Underline animation */
.simple-cta .kt-btn-inner-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor; /* Uses the current text color */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Activate underline animation on hover */
.simple-cta:hover .kt-btn-inner-text::after {
  transform: scaleX(1);
}

/* SVG icon animation */
.simple-cta .kb-svg-icon-wrap {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* Move SVG to the right on hover */
.simple-cta:hover .kb-svg-icon-wrap {
  transform: translateX(5px);
}

/* button shine */
.btn-shine .kt-btn-inner-text{
background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
    background-position: 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite linear;
    animation-fill-mode: forwards;
    -webkit-text-size-adjust: none;
    background-size: 200px 100%;
}
@-moz-keyframes shine {
    0% {
        background-position: -200px;
    }
    100% {
        background-position: 200px;
    }
}
@-webkit-keyframes shine {
    0% {
        background-position: -200px;
    }
    100% {
        background-position: 200px;
    }
}
@-o-keyframes shine {
    0% {
        background-position: -200px;
    }
    100% {
        background-position: 200px;
    }
}
@keyframes shine {
    0% {
        background-position: -200px;
    }
    100% {
        background-position: 200px;
    }
}

/*infobox hover affect*/

/* Hover effect for InfoBox with info-box-animations-hover-added class */
.info-box-animations-hover-added:hover .kt-blocks-info-box-title {
    font-size: 24.5px !important;
}

.info-box-animations-hover-added:hover .kt-blocks-info-box-text {
    font-size: 16.5px !important;
}

/* Optional: Add smooth transition for better user experience */
.info-box-animations-hover-added .kt-blocks-info-box-title,
.info-box-animations-hover-added .kt-blocks-info-box-text {
    transition: font-size 0.3s ease;
}

/* Reset counter for each numbered-title-row */
.numbered-title-row {
    counter-reset: title-counter;
}

.numbered-title-row .numbered-title::before {
    counter-increment: title-counter;
    content: counter(title-counter) " ";
    font-weight: 500;
    margin-right: 0.5em;
    border: 1px solid #f9f9f9;
    border-radius: 50%;
    padding: 8px 12px;
    display: inline-block;
    text-align: center;
    min-width: 40px;
    height: 40px;
    line-height: 20px;
}

/* Hover effects with gradient */
.numbered-title-row .numbered-title:hover {
    background: linear-gradient(135deg, #F1A268 27%, #C5796D 52%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

.numbered-title-row .numbered-title:hover::before {
    color: #f9f9f9;
    -webkit-text-fill-color: #f9f9f9;
    background: 
        linear-gradient(transparent, transparent) padding-box,
        linear-gradient(135deg, #F1A268 27%, #C5796D 52%) border-box;
    border: 2px solid transparent;
    border-radius: 50%;
}

/* Optional: Add smooth transition for better user experience */
.numbered-title-row .numbered-title,
.numbered-title-row .numbered-title::before {
    transition: all 0.3s ease;
}