/**
 * Axis Badge Strip Component
 * 
 * Reusable badge/pill bar component for highlighting key info
 * Used on homepage hero and contact page
 * 
 * USAGE:
 * .axis-badge-strip              - Base badge strip container (full width)
 * .axis-badge-strip--clean       - Clean card variant (white background)
 * .axis-badge-strip--glass-dark  - Dark glass variant
 * 
 * STRUCTURE:
 * .axis-badge-strip (section)
 *   └─ .brxe-container
 *      └─ .axis-badge-strip-wrapper
 *         └─ .badge-card (multiple)
 *            ├─ .brxe-icon
 *            └─ .brxe-text-basic
 * 
 * @package Axis Mental Health
 * @since 1.0.0
 */

/* ==========================================================================
   BASE BADGE STRIP
   ========================================================================== */

/* Base Container - Full width section */
.axis-badge-strip {
    position: relative;
    z-index: 10;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    border: none !important;
    /* background: linear-gradient(120deg, rgba(0, 136, 204, 0.92), rgba(251, 166, 61, 0.92)) !important; */
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08) inset;
    background: linear-gradient(135deg, var(--axis-dark) 0%, var(--axis-primary) 100%);
    color: var(--axis-white);
}

/* Remove padding from Bricks container */
.axis-badge-strip .brxe-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Badge Strip Wrapper - Contains the badges */
.axis-badge-strip-wrapper {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 10px 5vw;
    min-height: 50px;
    position: relative;
    isolation: isolate;
    background: transparent;
}

/* ==========================================================================
   BADGE CARDS
   ========================================================================== */

/* Base Badge Card */
.axis-badge-strip .badge-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 28px;
    background: transparent;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
}

.axis-badge-strip .badge-card:hover {
    transform: translateY(-1px);
}

/* Icon styling - colorful theme-appropriate icons */
.axis-badge-strip .badge-card .brxe-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    font-weight: 700;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Force Themify icon sizing */
.axis-badge-strip .badge-card .brxe-icon[class*="ti-"] {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
}

/* Force Font Awesome icon sizing to match Themify */
.axis-badge-strip .badge-card .brxe-icon[class*="fa-"],
.axis-badge-strip .badge-card .brxe-icon[class*="fas "],
.axis-badge-strip .badge-card .brxe-icon[class*="far "],
.axis-badge-strip .badge-card .brxe-icon[class*="fab "] {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
}

/* Color-coded icons - white for visibility on gradient */
.axis-badge-strip .badge-card:nth-child(1) .brxe-icon {
    color: rgba(255, 255, 255, 0.95);
}

.axis-badge-strip .badge-card:nth-child(2) .brxe-icon {
    color: rgba(255, 255, 255, 0.95);
}

.axis-badge-strip .badge-card:nth-child(3) .brxe-icon {
    color: rgba(255, 255, 255, 0.95);
}

/* Badge Text */
.axis-badge-strip .badge-card .brxe-text-basic {
    font-size: var(--axis-text-base);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   VARIANTS
   ========================================================================== */

/* Variant: Clean Card (white background - used on contact page) */
.axis-badge-strip--clean {
    margin-top: 0;
    margin-bottom: 0;
}

.axis-badge-strip--clean .axis-badge-strip-wrapper {
    /* background: #ffffff; */
    /* border: 1px solid rgb(0 0 0 / 13%); */
    /* border-radius: 4px; */
    max-width: calc(var(--axis-container-max) - 80px);
    margin: 0 auto;
    padding: 12px 48px;
    backdrop-filter: none;
    position: relative;
    isolation: isolate;
}

.axis-badge-strip--clean .badge-card {
    color: var(--axis-text-primary);
    border-right-color: rgba(0, 0, 0, 0.08);
}

/* .axis-badge-strip--clean .badge-card .brxe-text-basic {
    color: var(--axis-text-primary);
} */

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Mobile Responsive */
@media (max-width: 768px) {

    .axis-badge-strip {
        margin-bottom: -20px;
        margin-top: -20px;
        display: none;
    }

    .axis-badge-strip-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 12px 4vw;

        /* Simplified mobile gradient */
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0.2) 100%);
    }

    .axis-badge-strip .badge-card {
        padding: 12px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        justify-content: flex-start;
    }

    .axis-badge-strip .badge-card:last-child {
        border-bottom: none;
    }

    .axis-badge-strip .badge-card .brxe-icon {
        width: 22px;
        height: 22px;
    }

    /* Force Themify icon sizing on mobile */
    .axis-badge-strip .badge-card .brxe-icon[class*="ti-"] {
        font-size: 22px !important;
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
    }

    .axis-badge-strip .badge-card .brxe-text-basic {
        font-size: var(--axis-text-sm);
    }

    /* Mobile dark variant adjustments */
    .axis-badge-strip--glass-dark .axis-badge-strip-wrapper {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.35) 0%,
                rgba(0, 0, 0, 0.42) 50%,
                rgba(0, 0, 0, 0.35) 100%);
    }

    .axis-badge-strip--glass-dark .badge-card {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 480px) {
    .axis-badge-strip {
        padding: 0 var(--axis-space-3);
    }
}