/* Services Tabs Widget for Elementor
   Base styles — full color customization happens inline per widget */

.estw-section *,
.estw-section *::before,
.estw-section *::after {
    box-sizing: border-box;
}

.estw-section {
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.estw-section svg {
    display: inline-block;
    vertical-align: middle;
}

.estw-section a {
    text-decoration: none;
}

.estw-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tab buttons default */
.estw-tab-btn {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.estw-tab-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Tab panels transition (fallback if JS disabled) */
.estw-tab-panel {
    animation: estw-fade 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
    .estw-section *,
    .estw-section *::before,
    .estw-section *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .estw-section .estw-tabs-nav {
        gap: 2px;
        padding: 4px;
    }
    .estw-section .estw-tab-btn {
        flex-basis: 100%;
        justify-content: flex-start;
        padding: 12px;
    }
    .estw-section .estw-text-side {
        padding: 28px !important;
    }
    .estw-section .estw-bullets {
        grid-template-columns: 1fr !important;
    }
    .estw-section .estw-cta .estw-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}
