.it-widget-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

.it-side-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.it-center-container {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.it-image-holder {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: transform 0.4s ease;
}

.it-image-holder img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.it-card {
    position: relative;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.it-accent-line {
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.it-card.it-active .it-accent-line {
    background-color: #c5a880;
}

.it-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.it-icon-wrap {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.it-icon {
    font-size: 20px;
    display: inline-flex;
}

.it-icon svg {
    width: 20px;
    height: 20px;
}

.it-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.it-card-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.it-card-btn {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c5a880;
    transition: opacity 0.2s ease;
}

.it-card-btn:hover {
    opacity: 0.8;
}

/* Center Position Controls */
.it-widget-wrapper.center-pos-left {
    flex-direction: row-reverse;
}

.it-widget-wrapper.center-pos-right {
    flex-direction: row;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
    .it-widget-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .it-side-container {
        width: 100%;
    }
    .it-center-container {
        width: 100%;
        margin: 20px 0;
    }
}

@media (max-width: 767px) {
    /* Mobile - Scrollable Layout Configuration */
    .it-widget-wrapper.mobile-layout-scrollable {
        display: flex;
        flex-direction: column;
    }
    .it-widget-wrapper.mobile-layout-scrollable .it-side-container {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
    }
    .it-widget-wrapper.mobile-layout-scrollable .it-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }
    .it-widget-wrapper.mobile-layout-scrollable .it-center-container {
        order: -1;
    }
}
