/* Extracted from solutions/customer-experience-solutions.php to reduce rendered HTML weight. */
/* ─── Compact hero form overrides ─── */
.ecx-compact .ecx-form-wrap .ecx-label                                        { display: none; }
.ecx-compact .ecx-form-wrap .ecx-input                                        { padding: 8px 12px; font-size: 13px; background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.2); color: #fff !important; }
.ecx-compact .ecx-form-wrap .ecx-input::placeholder                           { color: rgba(255,255,255,0.5) !important; }
.ecx-compact .ecx-form-wrap .ecx-select                                       { padding: 8px 12px; font-size: 13px; background: rgba(20,20,20,0.95) !important; border-color: rgba(255,255,255,0.2); color: #fff !important; }
.ecx-compact .ecx-form-wrap .ecx-select option                                { background: #1a1a1a; color: #fff; }
.ecx-compact .ecx-form-wrap .ecx-phone-wrapper                                { padding: 8px 12px; background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.2) !important; }
.ecx-compact .ecx-form-wrap .ecx-phone-wrapper input[type="tel"]              { color: #fff !important; font-size: 13px; background: transparent !important; }
.ecx-compact .ecx-form-wrap .ecx-phone-wrapper input[type="tel"]::placeholder { color: rgba(255,255,255,0.5) !important; }
.ecx-compact .ecx-form-wrap .ecx-country-toggle span.ecx-code                 { color: #fff !important; font-size: 13px; }
.ecx-compact .ecx-form-wrap .ecx-country-toggle svg                           { color: #fff !important; }
.ecx-compact .ecx-form-wrap .ecx-divider                                      { color: rgba(255,255,255,0.3) !important; }
.ecx-compact .ecx-form-wrap .ecx-grid-2                                       { gap: 8px; }
.ecx-compact .ecx-form-wrap .ecx-mt                                           { margin-top: 8px; }
.ecx-compact .ecx-form-wrap .ecx-privacy-row                                  { margin-top: 12px; }
.ecx-compact .ecx-form-wrap .ecx-privacy-row p                                { font-size: 12px; color: rgba(255,255,255,0.8) !important; }
.ecx-compact .ecx-form-wrap .ecx-submit-btn                                   { margin-top: 14px; padding: 10px 24px; font-size: 14px; }
.ecx-compact .ecx-country-dropdown                                             { background: #1a1a1a !important; border-color: rgba(255,255,255,0.2) !important; }
.ecx-compact .ecx-country-item                                                 { color: #ddd !important; }
.ecx-compact .ecx-country-item:hover                                           { background: rgba(122,118,255,0.2) !important; }

/* ─── Page-scoped overrides ─── */

.cx-hero-section {
    padding-top: 18rem;
    padding-bottom: 180px;
}

@media (max-width: 1024px) {
    .cx-hero-grid { grid-template-columns: 1fr !important; }
    .cx-hero-form { display: block !important; }
    .cx-hero-section {
        padding-top: 10rem !important;
        padding-bottom: 80px !important;
        height: auto !important;       /* Overrides any fixed heights */
        min-height: 100vh !important;  /* Ensures it at least covers the screen */
    }

}

.cx-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
}

.cx-comparison-table thead th {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.cx-comparison-table thead th:first-child {
    background: #1a1a1a;
    color: #fff;
}

.cx-comparison-table thead th:nth-child(2) {
    background: #2a2a2a;
    color: #aaa;
}

.cx-comparison-table thead th:nth-child(3) {
    background: linear-gradient(90deg, #7A76FF 0%, #CB46FA 50.14%, #FE881C 100%);
    color: #fff;
}

.cx-comparison-table tbody tr td {
    padding: 18px 24px;
    font-size: 15px;
    line-height: 24px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.cx-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.cx-comparison-table tbody tr td:first-child {
    background: #fafafa;
    color: #000;
    font-weight: 600;
}

.cx-comparison-table tbody tr td:nth-child(2) {
    background: #fff;
    color: #555;
}

.cx-comparison-table tbody tr td:nth-child(3) {
    background: #fdf9ff;
    color: #2a1a40;
}

.cx-feature-card {
    border-radius: 16px;
    padding: 36px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(122,118,255,0.08);
    border: 1px solid #f0eeff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cx-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(122,118,255,0.16);
}

.cx-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7A76FF 0%, #CB46FA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cx-feature-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cx-industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid #e8e4ff;
    font-size: 15px;
    color: #2a2a2a;
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}

.cx-industry-pill:hover {
    background: linear-gradient(90deg, #7A76FF 0%, #CB46FA 50.14%, #FE881C 100%);
    color: #fff;
    border-color: transparent;
}

.cx-industry-pill span.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7A76FF, #FE881C);
    flex-shrink: 0;
    transition: background 0.2s;
}

.cx-industry-pill:hover span.dot {
    background: rgba(255,255,255,0.6);
}

.cx-stat-number {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, #7A76FF 0%, #CB46FA 50.14%, #FE881C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cx-faq-item {
    border-bottom: 1px solid #f0f0f0;
}

.cx-faq-item:last-child {
    border-bottom: none;
}

.cx-faq-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.cx-faq-toggle:focus {
    outline: none;
}

.cx-faq-question {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 26px;
}

.cx-faq-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #7A76FF 0%, #FE881C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.cx-faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.cx-faq-item.open .cx-faq-icon {
    transform: rotate(180deg);
}

.cx-faq-answer {
    font-size: 16px;
    line-height: 26px;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding-bottom 0.25s ease;
}

.cx-faq-item.open .cx-faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
}

.breadcrumb-nav a:hover { color: #CB46FA; }
.breadcrumb-nav .sep { margin: 0 8px; }
.breadcrumb-nav .current { color: #fff; }

/* Reveal animations */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-reveal { animation: revealUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

@media (max-width: 767px) {
    .cx-page .cx-hero-section {
        height: auto !important;
        min-height: 650px !important;
        padding: 112px 20px 54px !important;
    }

    .cx-page .cx-hero-section .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cx-page .cx-hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px !important;
    }

    .cx-page .breadcrumb-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 18px !important;
    }

    .cx-page .breadcrumb-nav a,
    .cx-page .breadcrumb-nav span {
        font-size: 13px !important;
        line-height: 20px !important;
    }

    .cx-page .breadcrumb-nav .sep {
        margin: 0 !important;
    }

    .cx-page .cx-hero-section .herosubtitle {
        display: block;
        width: 100%;
        margin: 0 auto 14px !important;
        font-size: 17px !important;
        line-height: 24px !important;
        text-align: center;
    }

    .cx-page .cx-hero-section .solutions-hero-heading {
        max-width: min(330px, calc(100vw - 40px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 16px !important;
        font-size: 35px !important;
        line-height: 43px !important;
        letter-spacing: 0 !important;
        text-align: center;
        text-wrap: balance;
    }

    .cx-page .cx-hero-section .subpara {
        max-width: min(320px, calc(100vw - 42px)) !important;
        margin: 0 auto 26px !important;
        font-size: 14px !important;
        line-height: 22px !important;
        letter-spacing: 0 !important;
        text-align: center;
    }

    .cx-page .cx-hero-section button {
        width: min(100%, 300px) !important;
        padding: 14px 18px !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .cx-page .cx-hero-form {
        display: none !important;
    }

    .cx-page .samesectionpadding {
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

    .cx-page .solgap {
        gap: 18px !important;
        margin-bottom: 28px !important;
    }

    .cx-page .solution-heading,
    .cx-page .solution-heading span {
        max-width: 100% !important;
        font-size: 30px !important;
        line-height: 38px !important;
        letter-spacing: 0 !important;
    }

    .cx-page .solution-side-img1,
    .cx-page .solution-side-img2 {
        display: none !important;
    }

    .cx-page [aria-label="What Are Customer Experience Solutions"] .grid.grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .cx-page [aria-label="What Are Customer Experience Solutions"] .grid.grid-cols-2 > div {
        padding: 22px 12px !important;
        min-height: 190px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cx-page .cx-stat-number {
        font-size: 40px !important;
        line-height: 44px !important;
        letter-spacing: 0 !important;
        white-space: nowrap;
    }

    .cx-page .cx-stat-number + p {
        max-width: 120px;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px !important;
        line-height: 18px !important;
    }
}

@media (max-width: 360px) {
    .cx-page .cx-hero-section .solutions-hero-heading {
        font-size: 31px !important;
        line-height: 38px !important;
    }

    .cx-page .cx-stat-number {
        font-size: 36px !important;
        line-height: 40px !important;
    }

    .cx-page .cx-stat-number + p {
        font-size: 12px !important;
        line-height: 17px !important;
    }
}
