.ia-3e38a77d-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    gap: 10px;
    border-radius: 12px;
    transform: translateZ(0); 
}

.ia-3e38a77d-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    border-radius: 8px;
    min-width: 60px;
    will-change: flex;
}

.ia-3e38a77d-item.is-active {
    flex: 5;
    cursor: default;
}

.ia-3e38a77d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), left 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);\n    filter: grayscale(100%);
    z-index: 1;
    will-change: filter, left, width;
}

.ia-3e38a77d-item.is-active .ia-3e38a77d-bg {
    filter: grayscale(0%);
    width: 60%;
    left: 40%;
}

.ia-3e38a77d-collapsed-title {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center center;
    white-space: nowrap;
    z-index: 3;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ia-3e38a77d-item.is-active .ia-3e38a77d-collapsed-title {
    opacity: 0;
}

.ia-3e38a77d-content {
    position: relative;
    z-index: 2;
    width: 40%;
    padding: 30px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease 0s, transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity, transform;
}

.ia-3e38a77d-item.is-active .ia-3e38a77d-content {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.6s ease 0.3s, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s;
}

.ia-3e38a77d-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
}

.ia-3e38a77d-subtitle {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

/* Rotating Circle Button within Accordion */
.ia-3e38a77d-rotating-button {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    overflow: hidden;
    background: transparent !important;
    padding: 0 !important;
    transition: all 0.3s ease;
}

.ia-3e38a77d-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: ia-rotate 10s linear infinite;
}

@keyframes ia-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ia-3e38a77d-btn-text {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ia-3e38a77d-btn-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Hover Animations */
.rcb-hover-pause:hover .ia-3e38a77d-svg {
    animation-play-state: paused;
}

.rcb-hover-scale:hover .ia-3e38a77d-btn-inner {
    transform: scale(1.1);
}
.rcb-hover-scale:hover .ia-3e38a77d-svg {
    animation-play-state: paused;
}

@media (max-width: 767px) {
    .ia-3e38a77d-container {
        flex-direction: column;
        height: auto !important;
        min-height: 600px;
    }
    .ia-3e38a77d-item {
        min-height: 80px;
    }
    .ia-3e38a77d-collapsed-title {
        top: 50%;
        left: 20px;
        transform: translateY(-50%) rotate(0deg);
        transform-origin: left center;
    }
    .ia-3e38a77d-item.is-active .ia-3e38a77d-bg {
        width: 100%;
        height: 50%;
        top: 0;
        left: 0;
    }
    .ia-3e38a77d-content {
        width: 100%;
        height: 50%;
        margin-top: auto;
        padding: 20px;
        transform: translateY(20px);
    }
    .ia-3e38a77d-item.is-active .ia-3e38a77d-content {
        transform: translateY(0);
    }
}
