/* =========================================================
   Telehealth Software Development — page styles
   New sections only. Old sections keep solution.css / common styles.
   ========================================================= */

@import url("ewallet-app-development.css");

.telehealth-page,
.telehealth-page .bg {
    overflow-x: clip;
}

/* Sticky left panels must sit below top-strip + fixed header */
.telehealth-page .ew-tech-left,
.telehealth-page .ew-industries-left {
    top: 150px;
}

.telehealth-page .ewc-security-region.is-layer-5 {
    --ewc-layer-accent: var(--primary-colors-pink, #6B1F41);
}

.telehealth-page .ewc-security-region-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.telehealth-page .ew-why-card--wide:last-child {
    grid-column: 1 / -1;
}

/* Center leftover tech cards on the last row */
.telehealth-page .ew-stack-tech-grid > li:nth-child(4):nth-last-child(1) {
    grid-column: 3 / span 2;
}

.telehealth-page .ew-stack-tech-grid > li:nth-child(4):nth-last-child(3) {
    grid-column: 1 / span 2;
}

.telehealth-page .ew-stack-tech-grid > li:nth-child(5):nth-last-child(2) {
    grid-column: 3 / span 2;
}

.telehealth-page .ew-stack-tech-grid > li:nth-child(6):nth-last-child(1) {
    grid-column: 5 / span 2;
}

/* ---------- Hero points ---------- */
.telehealth-page .th-hero-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.telehealth-page .th-hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--white-scale-200, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    background: color-mix(in oklab, #fff 5%, transparent);
    color: var(--white-scale-900, #fff);
    font-size: 14px;
    font-family: var(--medium, inherit);
    line-height: 1.45;
}

.telehealth-page .th-hero-points li::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--primary-colors-orange, #ff9f0a);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary-colors-orange, #ff9f0a) 18%, transparent);
}

/* Popular apps: square logos, left-aligned like other industry pages */
.telehealth-page .streaming-sensation-section .service-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.telehealth-page .streaming-sensation-section .service-box figure {
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    align-self: flex-start;
    flex-shrink: 0;
}

.telehealth-page .streaming-sensation-section .service-box figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Badge logo should stay natural, not a forced square */
.telehealth-page .badge-section .badge-image-box {
    aspect-ratio: auto;
}

.telehealth-page .badge-section .badge-image-box img {
    aspect-ratio: auto;
    width: auto;
    max-width: min(100%, 280px);
    height: auto;
    object-fit: contain;
    margin-inline: auto;
    display: block;
}

.telehealth-page .ew-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
}

.telehealth-page .ew-cta-title span {
    color: var(--primary-colors-orange);
    font-family: var(--bold);
    font-weight: normal;
}

.telehealth-page .ew-stats-badge.is-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 56px;
    padding: 6px;
    border-radius: 12px;
    background: color-mix(in oklab, #fff 8%, transparent);
    border: 1px solid var(--white-scale-200, rgba(255, 255, 255, 0.12));
}

.telehealth-page .ew-stats-badge.is-text span {
    color: var(--white-scale-900, #fff);
    font-size: 10px;
    font-family: var(--bold, inherit);
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.02em;
}

.telehealth-page .ew-solutions-mockup img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
}

.telehealth-page .custom-video-streaming-section .custom-streaming-phones-inner img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(280px, 100%);
    max-height: 430px;
    object-fit: contain;
}

.telehealth-page .section-head-inner,
.telehealth-page .h1-headline,
.telehealth-page .h2-headline,
.telehealth-page .h4-headline,
.telehealth-page .h5-headline {
    overflow-wrap: break-word;
}

.telehealth-page .custom-streaming-features-tabs .nav-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    scrollbar-width: none;
}

.telehealth-page .custom-streaming-features-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.telehealth-page .custom-streaming-features-tabs .nav-item {
    flex: 0 0 auto;
}

.telehealth-page .custom-streaming-features-tabs .nav-link {
    white-space: nowrap;
}

.telehealth-page .custom-streaming-features-tabs .tab-content {
    padding: clamp(16px, 2.4vw, 30px);
}

.telehealth-page .ew-cta-actions .btn {
    white-space: nowrap;
}

.telehealth-page .success-story-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.telehealth-page .streaming-service-box {
    height: 100%;
}

.telehealth-page .ewc-compare-section .section-head,
.telehealth-page .ewc-section .section-head,
.telehealth-page .ewc-security-section .section-head {
    gap: 16px;
}

.telehealth-page .ew-industries-float--1 {
    transform: rotate(-90deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(90deg);
}

.telehealth-page .ew-industries-float--2 {
    transform: rotate(-45deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(45deg);
}

.telehealth-page .ew-industries-float--3 {
    transform: rotate(0deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(0deg);
}

.telehealth-page .ew-industries-float--4 {
    transform: rotate(45deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(-45deg);
}

.telehealth-page .ew-industries-float--5 {
    transform: rotate(90deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(-90deg);
}

.telehealth-page .ew-industries-float--6 {
    transform: rotate(135deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(-135deg);
}

.telehealth-page .ew-industries-float--7 {
    transform: rotate(180deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(-180deg);
}

.telehealth-page .ew-industries-float--8 {
    transform: rotate(225deg) translateX(calc(50cqi - var(--ew-icon-size) / 2)) rotate(-225deg);
}

.telehealth-page .ew-industries-float--8 .ew-industries-float-inner {
    animation-name: ew-ind-float-d;
    animation-delay: 3.5s;
}

.telehealth-page .ew-industries-float--8 .ew-industries-float-ring {
    animation-delay: 2.8s;
}

@media (max-width: 1199px) {
    .telehealth-page .ewc-security-region-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .telehealth-page .ew-tech-left,
    .telehealth-page .ew-industries-left {
        top: 120px;
    }
}

@media (max-width: 1023px) {
    .telehealth-page .solution-section {
        min-height: 0;
        padding-top: 120px;
        padding-bottom: 48px;
    }

    .telehealth-page .ewc-security-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .telehealth-page .section-head {
        margin-bottom: 28px;
    }

    .telehealth-page .ewc-compare-section .section-head,
    .telehealth-page .ewc-section .section-head,
    .telehealth-page .ewc-security-section .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .telehealth-page .custom-streaming-phones {
        position: static;
        min-height: 360px;
        top: auto;
    }

    .telehealth-page .custom-streaming-phones-inner {
        min-height: 320px;
    }

    .telehealth-page .custom-streaming-features-list {
        max-height: 420px;
    }

    .telehealth-page .ewc-security-layers {
        gap: 16px;
        margin-top: 24px;
    }
}

@media (max-width: 991px) {
    .telehealth-page .ew-stack-tech-grid > li:nth-child(4):nth-last-child(1),
    .telehealth-page .ew-stack-tech-grid > li:nth-child(4):nth-last-child(3),
    .telehealth-page .ew-stack-tech-grid > li:nth-child(5):nth-last-child(2),
    .telehealth-page .ew-stack-tech-grid > li:nth-child(6):nth-last-child(1) {
        grid-column: auto;
    }

    .telehealth-page .th-hero-points {
        margin-top: 16px;
        gap: 8px;
    }

    .telehealth-page .th-hero-points li {
        padding: 10px 12px;
        font-size: 13px;
    }

    .telehealth-page .award-box {
        margin-top: 16px;
    }

    .telehealth-page .custom-tabs.tab-style-1 {
        gap: 24px;
    }

    .telehealth-page .development-process-section .row {
        row-gap: 24px;
    }

    .telehealth-page .development-process-section .ai-development-process-des {
        max-width: none;
        margin-bottom: 8px;
    }

    .telehealth-page .development-process-section .nav-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .telehealth-page .streaming-service-section .row {
        row-gap: 20px;
    }

    .telehealth-page .ew-cta-actions {
        width: 100%;
    }

    .telehealth-page .ew-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .telehealth-page .success-stories-section .section-head {
        padding-left: 15px;
        padding-right: 15px;
    }

    .telehealth-page .faq-section-box.paddTB120.pt-0 {
        padding-top: 8px;
    }
}

@media (max-width: 767px) {
    .telehealth-page .solution-section {
        padding-top: 96px;
        padding-bottom: 36px;
    }

    .telehealth-page .ewc-security-region-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .telehealth-page .custom-streaming-features-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
        gap: 14px;
    }

    .telehealth-page .custom-streaming-phones {
        min-height: 280px;
    }

    .telehealth-page .custom-streaming-phones-inner {
        min-height: 260px;
    }

    .telehealth-page .custom-video-streaming-section .custom-streaming-phones-inner img {
        max-width: min(220px, 100%);
        max-height: 320px;
    }

    .telehealth-page .custom-streaming-features-tabs .nav-link {
        padding: 10px 14px;
        font-size: 14px;
    }

    .telehealth-page .success-story-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .telehealth-page .ew-stats-badges {
        gap: 8px;
    }

    .telehealth-page .ew-cta-actions .btn {
        white-space: normal;
    }

    .telehealth-page .shade-effects1,
    .telehealth-page .shade-effects2 {
        width: 220px;
        height: 220px;
    }

    .telehealth-page .accordion-header {
        padding-right: 36px;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    .telehealth-page .solution-section .row {
        row-gap: 24px;
    }

    .telehealth-page .th-hero-points li {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .telehealth-page .ew-solutions-mockup {
        padding: 12px;
    }

    .telehealth-page .ew-solutions-mockup img {
        max-height: 200px;
    }

    .telehealth-page .ew-industries-stage {
        --ew-icon-size: 40px;
        width: min(100%, 280px);
        margin-inline: auto;
    }

    .telehealth-page .streaming-sensation-section .row {
        row-gap: 20px;
    }

    .telehealth-page .mvp-resources-section .section-head {
        margin-bottom: 24px;
    }
}
