/* Tab Info Widget */
.ti-widget {
    position: relative;
}

/* Tabs Header */
.ti-tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 30px;
}

.ti-tab-item {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.ti-tab-item:last-child {
    margin-right: 0 !important;
}

.ti-tab-item:hover,
.ti-tab-item.is-active {
    color: #fff;
    background-color: #3b4a6b;
}

/* Tab Panes */
.ti-tab-pane {
    display: none;
}

.ti-tab-pane.is-active {
    display: block;
}

/* Content Row */
.ti-content-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ti-content-image {
    width: 50%;
    flex-shrink: 0;
}

.ti-content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ti-content-text {
    flex: 1;
    min-width: 0;
}

/* Label */
.ti-label {
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Divider */
.ti-divider {
    width: 60px;
    height: 2px;
    background-color: #333;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Heading */
.ti-heading {
    margin: 0 0 10px;
    padding: 0;
    font-size: 36px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

/* Subtitle */
.ti-subtitle {
    display: block;
    font-size: 16px;
    color: #3b4a6b;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Description */
.ti-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Button */
.ti-btn-wrap {
    margin-top: 25px;
}

.ti-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background-color: #fff;
    border: 1px solid #222;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.ti-btn:hover {
    color: #fff;
    background-color: #3b4a6b;
    border-color: #3b4a6b;
}

/* Responsive */
@media (max-width: 767px) {
    .ti-content-row {
        flex-direction: column;
        gap: 25px;
    }

    .ti-content-image {
        width: 100% !important;
    }

    .ti-tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .ti-tab-item {
        flex-shrink: 0;
    }
}
