/* Circular Tabs Styling - 4962f143 */

/* Tab heading container */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tabs-heading {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 28px !important;
    padding: 20px 10px 40px !important;
    border: none !important;
    position: relative !important;
}

/* Individual tab button - perfect circle with icon + text below */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    transform: translateY(0) !important;
    outline: none !important;
    min-width: auto !important;
}

/* Circle container for the icon */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title::before {
    content: '' !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: #CCF0DE !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    flex-shrink: 0 !important;
}

/* Hide the default before - we use a wrapper approach */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title::before {
    display: none !important;
}

/* Icon wrapper circle */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title .e-n-tab-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    border-radius: 50% !important;
    background: #CCF0DE !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    order: 1 !important;
    flex-shrink: 0 !important;
}

.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title .e-n-tab-icon i,
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title .e-n-tab-icon svg {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    color: #2D6B4C !important;
    fill: #2D6B4C !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Tab title text - below the circle */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title .e-n-tab-title-text {
    order: 2 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #39453F !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* If no icon, make the text wrapper act as circle */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title:not(:has(.e-n-tab-icon)) {
    position: relative !important;
}

/* ===== ACTIVE TAB ===== */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active {
    transform: translateY(18px) !important;
}

.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active .e-n-tab-icon {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    background: #2D6B4C !important;
    box-shadow: 0 6px 20px rgba(45, 107, 76, 0.35) !important;
}

.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active .e-n-tab-icon i,
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active .e-n-tab-icon svg {
    font-size: 30px !important;
    width: 30px !important;
    height: 30px !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active .e-n-tab-title-text {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2D6B4C !important;
}

/* ===== HOVER on inactive ===== */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title:not(.e-active):hover .e-n-tab-icon {
    background: #25866B !important;
    box-shadow: 0 4px 14px rgba(37, 134, 107, 0.25) !important;
    transform: scale(1.08) !important;
}

.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title:not(.e-active):hover .e-n-tab-icon i,
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title:not(.e-active):hover .e-n-tab-icon svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* ===== TABS WITHOUT ICONS - fallback circle from text ===== */
.circular-tab-circle-4962f143 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    border-radius: 50% !important;
    background: #CCF0DE !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    order: 1 !important;
    font-size: 22px !important;
    color: #2D6B4C !important;
    font-weight: 700 !important;
}

.e-n-tab-title.e-active .circular-tab-circle-4962f143 {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    background: #2D6B4C !important;
    color: #FFFFFF !important;
    font-size: 28px !important;
    box-shadow: 0 6px 20px rgba(45, 107, 76, 0.35) !important;
}

/* ===== Reorder animation ===== */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tabs-heading {
    transition: all 0.3s ease !important;
}

.e-n-tab-title {
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1), order 0s !important;
}

/* Remove any default active styles/borders from Elementor */
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active::after,
.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title.e-active::before {
    display: none !important;
}

.e-n-tabs[data-widget_type="nested-tabs.default"] .e-n-tab-title::after {
    display: none !important;
}
