/* ---------- BANNER & TABLE SPLIT ---------- */
.bt-section {
    padding: 80px 0;
    background: #ffffff;
    width: 100%;
}

.bt-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 5%;
}

/* Layout Reversal */
.bt-container.layout-banner-right {
    flex-direction: row-reverse;
}

/* --- WRAPPERS (For Width & Entry Animations) --- */
.bt-banner-wrapper {
    width: 30%;
    display: flex;
}

.bt-table-wrapper {
    width: 65%;
    display: flex;
    align-items: center;
}

/* --- HOVER CARDS & INNER ELEMENTS --- */
.bt-banner {
    width: 100%;
    border-radius: 12px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bt-banner-content {
    position: relative;
    z-index: 2;
}

.bt-table-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

/* Base Table Styling */
.bt-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--td-bg);
    color: var(--td-text);
    text-align: left;
    font-size: 14.5px;
    line-height: 1.6;
}

.bt-table th {
    background-color: var(--th-bg);
    color: var(--th-text);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    border: none;
}

.bt-table td {
    padding: 18px 20px;
    vertical-align: top;
    background-color: var(--td-bg);
    border: none;
}

.bt-cell-content > *:first-child { margin-top: 0; }
.bt-cell-content > *:last-child { margin-bottom: 0; }

/* Dynamic Toggles */
.bt-table.has-alt-rows tbody tr:nth-child(even) td {
    background-color: var(--alt-bg);
}
.bt-table.has-grid-lines th,
.bt-table.has-grid-lines td {
    border: 1px solid var(--grid-color);
}

/* ---------- ANIMATIONS ---------- */

/* 1. Hover Lift Effect */
.bt-hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bt-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* 2. Scroll Entry Animations */
.bt-anim-element {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.bt-anim-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 960px) {
    .bt-container, 
    .bt-container.layout-banner-right {
        flex-direction: column;
        gap: 40px;
    }
    .bt-banner-wrapper, 
    .bt-table-wrapper {
        width: 100%;
    }
    .bt-banner {
        min-height: 300px;
    }
}