/* Telehealth Page Specific Styles */

/* 1. Hero Section - "High-End Tech" Redesign */
.telehealth-hero {
    /* Deep Slate/Charcoal Luxury Gradient */
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    padding: 140px 0 120px;
    color: #fff;
    position: relative;
    overflow: hidden;
    /* Optional: Subtle grid pattern overlay for tech feel */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(45, 212, 191, 0.08) 0%, transparent 25%),
        linear-gradient(#0f172a, #0f172a);
}

.telehealth-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
    /* Gradient Text Effect */
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.telehealth-hero-kicker {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #38bdf8;
    /* Electric Blue Accent */
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
}

.telehealth-hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.6;
    color: #94a3b8;
    /* Muted slate text */
    margin-bottom: 45px;
    max-width: 580px;
}

/* Floating Visual Container */
.telehealth-hero-visual {
    position: relative;
    z-index: 2;
}

.telehealth-hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-mock-frame {
    /* Glassmorphism Panel */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-mock-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-mock-frame img {
    border-radius: 16px;
    width: 100%;
    display: block;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-badge {
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    font-size: 0.85rem;
    color: #cbd5e1;
    /* Lighter slate */
    font-weight: 500;
    margin-right: 15px;
}

.trust-badge i {
    margin-right: 8px;
    color: #38bdf8;
    /* Electric Blue */
    font-size: 1rem;
}

/* 2. Breadcrumbs (Overlay override) */
.breadcrumbs.telehealth-crumb {
    padding: 20px 0;
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumbs.telehealth-crumb a {
    color: var(--color-primary);
}

.breadcrumbs.telehealth-crumb .active {
    color: var(--color-gray-600);
}

/* 3. Feature Cards */
.feature-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(44, 120, 115, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.cm-card:hover .feature-card-icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

/* 4. Security Section */
.security-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(44, 120, 115, 0.1);
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--color-primary);
}

.security-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.security-list i {
    color: var(--cm-success);
    margin-right: 15px;
    margin-top: 4px;
    font-size: 1.1rem;
}

/* 5. How It Works (Steps) */
.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(44, 120, 115, 0.3);
    position: relative;
    z-index: 2;
}

.step-card h4 {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--color-gray-900);
}

/* Connecting line for desktop */
@media (min-width: 992px) {
    .step-wrapper {
        position: relative;
    }

    .step-wrapper::before {
        content: '';
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 66.666667%;
        /* Spans exactly between the centers of col 1 and col 3 */
        margin: 0 auto;
        /* Ensures perfect horizontal symmetry */
        height: 0;
        z-index: 1;
        border-top: 2px dashed rgba(44, 120, 115, 0.3);
    }
}

/* 6. Ideal Use Cases - "Interactive Grid" Redesign */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.use-case-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.08);
    border-color: #38bdf8;
}

.use-case-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: #0284c7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 20px;
    transition: all 0.4s ease;
}

.use-case-card:hover .use-case-icon-box {
    background: #0284c7;
    color: #fff;
    transform: rotate(10deg);
}

.use-case-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-gray-800);
    margin: 0;
}

/* 7. Specialties - "Dark Tech Cloud" Redesign */
.specialties-dark-section {
    background: #0f172a;
    /* Deep Slate/Navy */
    position: relative;
    color: #fff;
}

.specialties-dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.specialties-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.specialty-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    backdrop-filter: blur(5px);
}

.specialty-tag:hover {
    background: #38bdf8;
    /* Neon Cyan */
    color: #0f172a;
    /* Dark Text */
    border-color: #38bdf8;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
    z-index: 2;
}

.patient-exp-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.patient-exp-list i {
    width: 30px;
    height: 30px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-right: 15px;
    font-size: 0.9rem;
}

/* 9. Benefits / ROI */
.benefit-card {
    padding: 30px;
    height: 100%;
    border-left: 3px solid var(--color-primary);
}

.benefit-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-gray-900);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.8;
}

/* 11. Kiosk App Section (New) */
.app-section-gradient {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.app-feature-list {
    margin: 30px 0;
}

.app-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.app-feature-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.15);
    color: var(--cm-accent, #38bdf8);
    flex-shrink: 0;
}

.app-feature-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-gray-800);
}

.app-feature-text p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin: 0;
}

.app-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.app-mockup-wrapper {
    position: relative;
    padding: 20px;
}

/* Abstract circles behind phone */
.app-mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: 1;
}

.app-mockup-frame {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15), 0 0 0 8px #fff;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}

.app-mockup-frame:hover {
    transform: rotate(0deg) translateY(-10px);
}

.app-mockup-frame img {
    border-radius: 24px;
}

.accessibility-note {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.accessibility-note i {
    margin-right: 8px;
    font-size: 1rem;
}

/* 10. Final CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary), #1a4f4b);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}