/* Targeting the group container */
.box-classes .group {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Text Fade-in */
.box-classes .elementor-widget-text-editor {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.box-classes:hover .elementor-widget-text-editor {
    opacity: 1; /* Fade text in on hover */
}

/* Icon Rotation */
.box-classes .elementor-icon-box-icon svg {
    transition: transform 0.5s ease-in-out;
}

.box-classes:hover .elementor-icon-box-icon svg {
    transform: rotate(360deg); /* Rotate icon on hover */
}

/* Container for the overlay and blur effect */
.box-classes {
  position: relative;
  overflow: hidden; /* Ensure the blur stays inside the container */

}


/* Background blur effect */
.box-classes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  /* Inherit the background of the parent container */
}

.box-classes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px); /* Adjust the blur value as needed */
}

/*Box-Carousel*/

/* Targeting the group container */
.box-carousel .group {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Text Fade-in */
.box-carousel .elementor-widget-text-editor {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.box-carousel:hover .elementor-widget-text-editor {
    opacity: 1; /* Fade text in on hover */
}


/* Container for the overlay and blur effect */
.box-carousel {
    position: relative;
    overflow: hidden; /* Ensure the blur stays inside the container */
}

/* Background blur effect */
.box-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    /* Inherit the background of the parent container */
}

.box-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px); /* Adjust the blur value as needed */
}

/* Hide the description by default */
.box-carousel .elementor-icon-box-description {
    opacity: 0;
    transform: translateY(10px);
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    max-height: 0;
    padding-top: 10px;
    overflow: hidden;
    visibility: visible;
}


/* Show and move up the description on hover */
.box-carousel:hover .elementor-icon-box-description {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
    padding-top: 10px;/* Large enough to fit the text */
    visibility: visible;
}

