body {
    overflow-x: hidden;
    background: #f4f7fa;
}
.bg-theory{
    background: #c6d7d8;
    background: -webkit-linear-gradient(180deg, rgb(198, 215, 216) 12%, rgba(110, 177, 255, 1) 100%);
    background: -moz-linear-gradient(180deg, rgb(198, 215, 216) 12%, rgba(110, 177, 255, 1) 100%);
    background: linear-gradient(180deg, rgb(198, 215, 216) 12%, rgba(110, 177, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr="#BABABA",
        endColorstr="#6EB1FF",
        GradientType=0
    );
}
.bg-data{
    background: #6EB1FF;
    background: -webkit-linear-gradient(180deg, rgba(110, 177, 255, 1) 10%, rgba(4, 89, 186, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(110, 177, 255, 1) 10%, rgba(4, 89, 186, 1) 100%);
    background: linear-gradient(180deg, rgba(110, 177, 255, 1) 10%, rgba(4, 89, 186, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6EB1FF", endColorstr="#0459BA", GradientType=0);
}
.bg-model{
    background: #0459BA;
    background: -webkit-linear-gradient(180deg, rgba(4, 89, 186, 1) 10%, rgba(7, 227, 157, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(4, 89, 186, 1) 10%, rgba(7, 227, 157, 1) 100%);
    background: linear-gradient(180deg, rgba(4, 89, 186, 1) 10%, rgba(7, 227, 157, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0459BA", endColorstr="#07E39D", GradientType=0);
}

.workflow-line {
    position: absolute;
    width: 25%;
    height: 2px;
    background-color: #999;
    top: 50%;
    z-index: 1;
}

.line-left {
    left: 0;
    transform: translateY(-50%) translateX(-100%) rotate(0deg);
}

.line-right {
    right: 0;
    transform: translateY(-50%) translateX(100%) rotate(0deg);
}

.workflow-group {
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.workflow-group:hover {
    opacity: 1 !important;
    transform: scale(1.4);
    z-index: 3;
}

.workflow-center {
    color: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    transition: transform 0.5s;
    position: relative;
}

.workflow-content {
    transition: all 0.5s ease;
}

.workflow-content img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.5s;
}

.workflow-content p {
    font-size: 0.95rem;
    color: #333;
}

.group-hover .workflow-content-left,
.group-hover .workflow-content-right {
    opacity: 1 !important;
    transform: scale(1.14);
}

.group-hover .workflow-group {
    opacity: 1 !important;
    transform: scale(1.2);
}

.workflow-content-left,
.workflow-content-right {
    opacity: 0.7;
    transition: all 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .row.d-flex {
        flex-direction: column !important;
        text-align: center;
    }
    .workflow-line {
        width: 2px;
        height: 40px;
    }
    .line-left {
        visibility: hidden
    }
    .line-right {
        visibility: hidden
    }
}

.h-20p{
    height: 20px;
}
