/* Expert Vertical Tabs Widget Styles - Uniform Slider */

.expert-tabs-container {
    display: flex !important;
    gap: 40px !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
}

.expert-tabs-left {
    flex: 0 0 350px !important;
    width: 350px !important;
}

.expert-tabs-right {
    flex: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 0 !important;
    /* Important for flex child with swiper */
}

/* Tabs Nav */
.expert-tabs-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.expert-tab-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 18px 25px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    color: #475569 !important;
}

.expert-tab-nav-item:hover {
    border-color: #007bff !important;
}

.expert-tab-nav-item.active {
    background: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2) !important;
}

.expert-tab-nav-item .expert-tab-nav-label {
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Tab Content */
.expert-tab-content {
    display: none !important;
    animation: expertFadeIn 0.5s ease !important;
}

.expert-tab-content.active {
    display: block !important;
}

@keyframes expertFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Gallery Section */
.expert-tabs-gallery-section {
    width: 100% !important;
    position: relative !important;
    display: block !important;
}

.expert-tabs-swiper {
    width: 100% !important;
    padding-bottom: 20px !important;
    /* Space for shadow */
}

/* Uniform Slides */
.swiper-slide {
    height: auto !important;
}

.slide-inner {
    width: 100% !important;
    height: 300px !important;
    /* Uniform fixed height for all */
    border-radius: 20px !important;
    overflow: hidden !important;
}

.slide-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Content Card */
.expert-tabs-card {
    background: #fff !important;
    border-radius: 25px !important;
    padding: 40px !important;
    border: 1px solid #01598c36 !important;
    text-align: left !important;
}

.expert-tabs-card-icon {
    width: 50px !important;
    height: 50px !important;
    background: #eff6ff !important;
    color: #007bff !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    margin-bottom: 25px !important;
}

.expert-tabs-card-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.expert-tabs-card-subtitle {
    font-size: 14px !important;
    color: #64748b !important;
    margin-bottom: 25px !important;
    display: block !important;
}

.expert-tabs-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}

.expert-tabs-features li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

.expert-tabs-features .feat-arrow {
    color: #007bff !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.expert-tabs-card-footer-text {
    font-size: 16px !important;
    color: #0f172a !important;
    font-style: italic !important;
    margin-bottom: 35px !important;
    padding-top: 25px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: block !important;
}

.expert-tabs-buttons {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.expert-btn-outline {
    display: inline-block !important;
    padding: 16px 36px !important;
    border-radius: 12px !important;
    border: 1px solid #007bff !important;
    color: #007bff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.expert-btn-outline:hover {
    background: #007bff !important;
    color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .expert-tabs-container {
        flex-direction: column !important;
        padding: 40px 20px !important;
    }

    .expert-tabs-left {
        flex: 1 !important;
        width: 100% !important;
    }

    .expert-tabs-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }

    .expert-tab-nav-item {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .expert-tabs-features {
        grid-template-columns: 1fr !important;
    }

    .expert-tabs-buttons {
        flex-direction: column !important;
    }

    .expert-tabs-buttons a {
        text-align: center !important;
    }

    .slide-inner {
        height: 250px !important;
        /* Smaller uniform height on mobile */
    }
}

/* Icon Sizing Reset */
.expert-tabs-container i,
.expert-tabs-container svg {
    width: 1em !important;
    height: 1em !important;
    display: inline-block !important;
    line-height: 1 !important;
}