/* Medical Coding Page Specific Styles */

/* --- Hero Section --- */
/* --- Hero Section - Matches Medical Billing Page Style --- */
.coding-hero {
    position: relative;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

/* Note: Overlay is handled by .hero-overlay div in HTML */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Badge Style - "CareEMD Services" Style from Billing */
.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--accent-color);
    box-shadow: none;
    backdrop-filter: none;
    text-shadow: none;
    border-radius: 0;
}

.sub-badge::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #ffffff;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.hero-content p {
    font-size: 20px;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* --- Hero Buttons (Matches Billing Page) --- */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Primary Button - Pop! */
.hero-btns .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(240, 124, 36, 0.4);
    padding: 15px 40px;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btns .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(240, 124, 36, 0.6);
}

/* Secondary Button - Visible & Elegant */
.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* --- Intro / Value Prop --- */
.intro-visual .visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.intro-visual img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.intro-visual:hover img {
    transform: scale(1.05);
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.checklist-item {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: var(--text-color);
}

.checklist-item i {
    color: var(--accent-color);
    /* Orange */
    margin-right: 12px;
    font-size: 1.2rem;
}

/* --- Stats / Why Choose Us Section --- */
.why-choose-section {
    background-color: #fff;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
    /* Purple */
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 500;
}

/* --- Process Timeline (adapted from Credentialing) --- */
.process-section {
    background: #f9f9f9;
}

/* --- Sales Funnel Section (Copied from Billing for consistency) --- */
.funnel-section {
    padding: 100px 0;
    /* Light Background with Coding Context Image */
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)),
        url('https://images.unsplash.com/photo-1584982751601-97dcc0966d9c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Background Decoration - Subtle Shapes */
.funnel-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 124, 36, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.funnel-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.funnel-content {
    flex: 1;
    color: #333;
}

.funnel-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a0b2e;
}

.funnel-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.funnel-benefits {
    list-style: none;
    padding: 0;
}

.funnel-benefits li {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.funnel-benefits li i {
    color: var(--accent-color);
    font-size: 20px;
}

.funnel-form-card {
    flex: 0 0 650px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(26, 11, 46, 0.15);
    position: relative;
    overflow: hidden;
}

.funnel-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f07c24, transparent);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: #1a0b2e;
    font-size: 24px;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 14px;
}

/* Form Styles */
.premium-form .form-group {
    margin-bottom: 20px;
}

.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.premium-form label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.premium-form .form-control {
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(240, 124, 36, 0.4);
    font-size: 16px;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(240, 124, 36, 0.6);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .funnel-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .funnel-content p,
    .funnel-content h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .funnel-benefits {
        display: inline-block;
        text-align: left;
    }

    .funnel-form-card {
        width: 100%;
        max-width: 650px;
        flex: none;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .funnel-content h2 {
        font-size: 32px;
    }

    .funnel-form-card {
        padding: 25px;
    }

    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}