:root {
    --before-gradient: linear-gradient(135deg, #ffe0d2 0%, #ef91b1 100%);
    --after-gradient: linear-gradient(135deg, #dcf5e0 0%, #86d7d2 100%);
    --accent-color: #000000;
}

.transformation-table {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

.table-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.table-column {
    flex: 1;
    padding: 30px;
    position: relative;
}

.table-column::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    right: 0;
}

.table-column.before {
    background: var(--before-gradient);
}

.table-column.after {
    background: var(--after-gradient);
}

.table-column h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.table-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.table-cell {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* background: rgba(63, 0, 255, 0.1); */
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.table-cell:hover .icon {
    transform: scale(1.1);
    /* background: var(--accent-color); */
    color: white;
}

.table-cell p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.table-cell:hover p {
    color: var(--accent-color);
}

/* Responsive design */
@media (max-width: 768px) {
    /* .transformation-table {
        background: linear-gradient(to bottom, #ffebee 50%, #e8f5e9 50%);
    } */

    .transformation-table h2 {
        font-size: 2rem;
    }

    .table-container {
        flex-direction: column;
    }

    .table-column {
        padding: 20px 10px;
    }

    .table-column.before {
        background-color: transparent;
    }

    .table-column::after {
        width: 100%;
        height: 1px;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .table-column.after {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .table-cell {
        text-align: left;
    }
}

/* Animation for the background */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animated-background::before,
.animated-background::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    animation: wave 8s infinite ease-in-out;
}

.animated-background::before {
    top: 20%;
    animation-delay: -2s;
}

.animated-background::after {
    bottom: 20%;
    animation-delay: -4s;
}