/* Base Styles (Scoped) */
.industry-products-section {
    font-family: 'Biotif';
    margin: 0;
    padding: 0 0 138px;
}

.industry-products-container {
    max-width: 1516px;
    margin: 0 auto;
    padding: 0 60px;
}

.industry-products-section h1,
.industry-products-section h2,
.industry-products-section h3,
.industry-products-section p {
    font-family: 'Biotif';
    margin: 0;
}

.industry-products-section .section-header {
    max-width: 989px;
    margin: 0 auto 55px;
}

.industry-products-section .section-header h2 {
    font-weight: 600;
    font-size: 50px;
    line-height: 63px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #0A1B2B;
    margin: 0 0 11px;
}

.industry-products-section .section-header p {
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
}

.industry-products-section .content-container {
    display: flex;
    gap: 100px;
    align-items: center;
    text-align: left;
}

/* Left Side: Tabs */
.industry-products-section .tabs-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 27px;
    min-width: 663px;
}

.industry-products-section .tab-item {
    background: rgba(251, 247, 243, 0.64);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 28px 47px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fafafa;
    border-radius: 15px;
    overflow: hidden;
}

.industry-products-section .tab-item.active {
    background-color: #faefe5;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.industry-products-section .tab-item.active:nth-child(4n+1) {
    background: linear-gradient(225.1deg, rgba(120, 211, 255, 0.7) -44.34%, rgba(246, 238, 230, 0.7) 54.7%), #FFFFFF;
}

.industry-products-section .tab-item.active:nth-child(4n+2) {
    background: linear-gradient(224.96deg, rgba(255, 148, 105, 0.7) -49.53%, rgba(246, 238, 230, 0.7) 54.63%), #FFFFFF;
}

.industry-products-section .tab-item.active:nth-child(4n+3) {
    background: linear-gradient(224.96deg, rgba(254, 182, 82, 0.72) -49.53%, rgba(246, 238, 230, 0.72) 54.63%), #FFFFFF;
}

.industry-products-section .tab-item.active:nth-child(4n+4) {
    background: linear-gradient(224.96deg, rgba(172, 249, 246, 0.56) -49.53%, rgba(246, 238, 230, 0.7) 54.63%), #FFFFFF;
}

.industry-products-section .tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.industry-products-section .tab-header h2 {
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: -0.02em;
    color: #0A1B2B;
}

.industry-products-section .tab-logo {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Tab Body */
.industry-products-section .tab-body {
    position: relative;
    max-height: 0;
    /* overflow: hidden; */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.industry-products-section .tab-item.active .tab-body {
    max-height: unset;
    min-height: 93px;
    opacity: 1;
    margin-top: 13px;
    transform: translateY(0);
    pointer-events: unset;
}

.industry-products-section .tab-body .tab-logo {
    width: 118px;
    max-height: 50px;
    position: absolute;
    right: 0;
    top: -62px;
}

.industry-products-section .tab-body .tab-content {
    pointer-events: none;
}

.industry-products-section .tab-item.active .tab-body .tab-content {
    pointer-events: unset;
}

.industry-products-section .tab-body .tab-content.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 93px;
}

.industry-products-section .tab-body p {
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    color: rgba(0, 0, 0, 0.9);
    margin: 0 0 19px;
}

.industry-products-section .tab-body h6 {
    font-weight: 600;
    font-size: 17px;
    line-height: 23px;
    color: #F87252;
    margin: 0 0 6px;
}

.industry-products-section .cta-button {
    background-color: #FFBE63;
    color: #1a202c;
    border: none;
    padding: 12px 27px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.industry-products-section .cta-button:hover {
    background-color: #ffa726;
}

.industry-products-section .tab-body p.coming-soon {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    color: rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* Right Side: Images */
.industry-products-section .images-container {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.industry-products-section .image-wrapper {
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000), visibility 0.6s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transform: scale(0.95) translateY(10px);
}

.industry-products-section .image-wrapper.active {
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.industry-products-section img {
    max-width: 100%;
}

.industry-products-section .logo-flex {
    display: flex;
    gap: 5px;
    align-items: center;
}

.industry-products-section .logo-icon {
    font-size: 1.2em;
}

/* Responsive */
@media (max-width: 1440px) {
    .industry-products-section .content-container {
        gap: 50px;
    }

    .industry-products-section .tabs-container {
        min-width: 50%;
    }
}

@media (max-width: 991px) {
    .industry-products-section .content-container {
        flex-direction: column;
        gap: 50px;
    }

    .industry-products-section {
        padding: 80px 0;
    }

    .industry-products-container {
        padding: 0 40px;
    }

    .industry-products-section .content-container {
        gap: 50px;
    }

    .industry-products-section .tabs-container {
        min-width: 50%;
        /* Flexible width */
    }

    .industry-products-section .tab-item {
        padding: 24px 30px;
    }
}

@media (max-width: 767px) {
    .industry-products-section {
        padding: 60px 0;
    }

    .industry-products-container {
        padding: 0 15px;
    }

    .industry-products-section .section-header {
        margin: 0 auto 30px;
    }

    .industry-products-section .section-header h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .industry-products-section .section-header p {
        font-size: 16px;
        line-height: 26px;
    }

    .industry-products-section .content-container {
        gap: 40px;
    }

    .industry-products-section .tabs-container {
        width: 100%;
        min-width: 100%;
        gap: 15px;
    }

    .industry-products-section .images-container {
        width: 100%;
        min-height: 300px;
    }

    .industry-products-section .image-wrapper {
        justify-content: center;
    }

    .industry-products-section .tab-body .tab-logo {
        width: 80px;
        top: -45px;
    }

    .industry-products-section .tab-item {
        padding: 20px;
    }

    .industry-products-section .tab-header h2 {
        font-size: 24px;
        line-height: 30px;
    }
}

/* Widget Snippet Mode */
body.widget-snippet .industry-products-section .content-container,
body.fee .industry-products-section .content-container {
    display: flex;
    align-items: flex-start;
}

body.widget-snippet .industry-products-section .tab-item.active .tab-body,
body.widget-snippet .industry-products-section .tab-body,
body.fee .industry-products-section .tab-item.active .tab-body,
body.fee .industry-products-section .tab-body {
    max-height: unset;
    opacity: 1;
    min-height: auto;
    position: unset;
    transform: none;
}

body.widget-snippet .industry-products-section .tab-body .tab-logo,
body.fee .industry-products-section .tab-body .tab-logo {
    position: unset;
}

body.widget-snippet .industry-products-section .tab-body,
body.fee .industry-products-section .tab-body {
    pointer-events: unset;
}

body.widget-snippet .industry-products-section .tab-body .tab-content,
body.fee .industry-products-section .tab-body .tab-content {
    pointer-events: unset;
}

body.widget-snippet .industry-products-section .images-container,
body.fee .industry-products-section .images-container {
    gap: 30px;
}

body.widget-snippet .industry-products-section .image-wrapper,
body.fee .industry-products-section .image-wrapper {
    width: 100%;
    height: auto;
    opacity: 1;
    visibility: visible;
    position: unset;
    transform: none;
    border: 1px solid #999999;
}