/* Business Transform Box */
.business-transform-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background-color: #E1F0FE !important;
    border: 1px solid #dddddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    font-family: inherit; /* Use global font */
}

@media (max-width: 767px) {
    .business-transform-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }
}

/* Content wrapper */
.business-transform-box .content-wrapper {
    flex: 1;
    margin-right: 30px; /* Add gap between text and button */
}

@media (max-width: 767px) {
    .business-transform-box .content-wrapper {
        margin-right: 0;
        margin-bottom: 24px; /* Gap for mobile layout */
        width: 100%;
    }
}

/* Title style - matching the elementor-icon-box-title */
.business-transform-box h2 {
    font-size: 30px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: #333;
    font-family: inherit; /* Use global font */
    /* Match the exact styling of the icon box titles */
    line-height: 1.4 !important;
}

/* Text style */
.business-transform-box p {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    color: #666;
    margin-bottom: 0;
    font-family: inherit; /* Use global font */
}

/* Button container */
.business-transform-box .cta-wrapper {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .business-transform-box .cta-wrapper {
        width: 100%;
    }
}

/* Button style - matching the chat widget but using global font */
.minim-button-container {
    width: auto;
}

.minim-button {
    display: inline-block;
    text-align: center;
    background-color: #fff !important;
    color: #54595F;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600 !important;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: inherit; /* Use global font */
    box-sizing: border-box;
    transition: color 0.8s ease;
    white-space: nowrap;
}

.minim-button span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #000;
    z-index: -1;
    transition: height 0.8s ease;
}

.minim-button:hover {
    color: #fff !important;
}

.minim-button:hover span {
    height: 100% !important;
}

/* Corner border effects */
.business-transform-box::before,
.business-transform-box::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    border: 2px solid #000;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    z-index: 1;
}

.business-transform-box::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.business-transform-box::after {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0;
}

.business-transform-box:hover::before,
.business-transform-box:hover::after {
    width: 30px;
    height: 30px;
    opacity: 1;
}

/* Background icon effect */
.business-transform-box .background-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 90px;
    opacity: 0.05;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.business-transform-box:hover .background-icon {
    opacity: 0.15;
}