/*-----Steps/Industries Expandable-----*/

.expandable-column .wpex-bg-overlay{
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5004595588235294) 60%, rgba(0,0,0,0) 80%) !important;
}


.expandable-section {
  display: flex;
  gap: 20px;
  padding-left: 0px;
  padding-right: 0px;
}



/* 1. Default state: skinnier columns */
.expandable-column {
  flex: 0.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.4s ease-in-out;
  position: relative;
}

/* Expanded first column */
.expandable-column:first-child {
  flex: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* 2. Hover interaction */
.expandable-section:hover .expandable-column {
  flex: 0.6;
  box-shadow: none;
}

.expandable-section:hover .expandable-column:hover {
  flex: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}



/* 4. Fixing WPBakery wrapper issue & hiding content */
.expandable-column .wpb_wrapper {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

/* Show content when column is expanded or hovered */
.expandable-section:hover .expandable-column:hover .wpb_wrapper {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Make sure content inside the first column is visible by default */
.expandable-section:not(:hover) .expandable-column:first-child .wpb_wrapper {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* 5. Responsive stacking */
@media (max-width: 959px) {
  .expandable-section {
    flex-direction: column;
  }

  .expandable-column,
  .expandable-column:first-child {
    flex: unset;
    width: 100%;
  }

  .expandable-column .wpb_wrapper {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}


/*-----End Steps/Industries Expandable Code-----*/
