/* Wise Flip Box Styles */
.wise-flipbox {
    display: block;
    position: relative;
    perspective: 1000px;
}
.wise-flipbox-inner {
    position: relative;
    width: 100%;
    height: auto;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.wise-flipbox-front,
.wise-flipbox-back {
    position: relative;
    width: 100%;
    backface-visibility: hidden;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
}

.wise-flipbox-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
}

/* Flip Effects */
.wise-flip-effect-flip-right .wise-flipbox-inner {
    transform-origin: center right;
}

.wise-flip-effect-flip-left .wise-flipbox-inner {
    transform-origin: center left;
}

.wise-flip-effect-flip-up .wise-flipbox-inner {
    transform-origin: center top;
}

.wise-flip-effect-flip-down .wise-flipbox-inner {
    transform-origin: center bottom;
}

.wise-flip-effect-zoom-in .wise-flipbox-inner {
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
}

.wise-flip-effect-zoom-out .wise-flipbox-inner {
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
}

.wise-flip-effect-fade .wise-flipbox-front {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.wise-flip-effect-fade .wise-flipbox-back {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Hover Trigger Effects */
.elementor-widget-wise-flipbox:hover .wise-flipbox-inner {
    transform: rotateY(180deg);
}

.wise-flip-effect-flip-up:hover .wise-flipbox-inner {
    transform: rotateX(180deg);
}

.wise-flip-effect-flip-down:hover .wise-flipbox-inner {
    transform: rotateX(-180deg);
}

.wise-flip-effect-zoom-in:hover .wise-flipbox-inner {
    transform: scale(1.1);
}

.wise-flip-effect-zoom-out:hover .wise-flipbox-inner {
    transform: scale(0.9);
}

.wise-flip-effect-fade:hover .wise-flipbox-front {
    opacity: 0;
}

.wise-flip-effect-fade:hover .wise-flipbox-back {
    opacity: 1;
}

/* Flip Box Content */
.wise-flipbox-content {
	width: 100%;
	max-width: 100%;
	background: lightgray;
	padding: 20px;
}

.wise-flipbox-media {
    margin-bottom: 20px;
}

.wise-flipbox-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wise-flipbox-icon i,
.wise-flipbox-icon svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wise-flipbox-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wise-flipbox-title {
    margin: 0 0 15px 0;
    font-weight: 600;
    line-height: 1.3;
}

.wise-flipbox-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.wise-flipbox-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
}

.wise-flipbox-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wise-flipbox-button-icon i,
.wise-flipbox-button-icon svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wise-flipbox {
        perspective: 500px;
    }
    
    .wise-flipbox-front,
    .wise-flipbox-back {
        padding: 20px;
    }
    
    .wise-flipbox-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    
    .wise-flipbox-description {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
}