/* Industry Tabs Widget */
.industry-tabs-wrapper {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

/* Left: Tab List */
.industry-tabs-left {
    display: flex;
    flex-direction: column;
}

.industry-tab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.industry-tab-item i,
.industry-tab-item svg {
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.industry-tab-item span {
    transition: color 0.3s ease;
    white-space: nowrap;
}

.industry-tab-item:hover i,
.industry-tab-item:hover svg {
    transform: rotate(45deg);
}

.industry-tab-item.is-active i,
.industry-tab-item.is-active svg {
    transform: rotate(45deg);
}

/* Center: Image */
.industry-tabs-center {
    position: relative;
    overflow: hidden;
}

.industry-tabs-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-tabs-image.is-active {
    opacity: 1;
    z-index: 1;
}

.industry-tabs-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Right: Content */
.industry-tabs-right {
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
}

.industry-tabs-content {
    display: none;
}

.industry-tabs-content.is-active {
    display: block;
}

.industry-tabs-content-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.4;
}

.industry-tabs-content-desc {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .industry-tabs-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .industry-tabs-left {
        order: 1;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .industry-tabs-left::-webkit-scrollbar {
        display: none;
    }

    .industry-tab-item {
        flex-shrink: 0;
        padding: 10px 18px;
    }

    .industry-tabs-center {
        order: 2;
        height: auto !important;
    }

    .industry-tabs-image {
        position: relative;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease;
    }

    .industry-tabs-image.is-active {
        opacity: 1;
        height: auto;
    }

    .industry-tabs-right {
        order: 3;
        padding-top: 0;
    }
}

