/* Medical Credentialing Page Styles */
/* Inherits base variables from styles.css */

/* 1. Hero Section - Brand Purple Theme */
.credentialing-hero {
    position: relative;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Brand Purple Gradient */
    background: linear-gradient(135deg, rgba(82, 34, 88, 0.9), rgba(26, 5, 37, 0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.sub-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(240, 124, 36, 0.5);
    /* Brand Orange Border */
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #f07c24;
    /* Brand Orange */
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #fff;
}

.text-gradient {
    /* Orange to Gold Gradient for text highlight */
    background: linear-gradient(135deg, #f07c24 0%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Button override for this page */
.btn-primary.btn-glow {
    background: #f07c24;
    /* Brand Orange */
    border-color: #f07c24;
    box-shadow: 0 10px 20px rgba(240, 124, 36, 0.4);
}

.btn-primary.btn-glow:hover {
    background: #d35400;
    border-color: #d35400;
    box-shadow: 0 15px 30px rgba(240, 124, 36, 0.6);
}

/* 2. Intro Section */
.intro-section {
    padding: 100px 0;
    background: #fff;
}

.intro-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.2;
}

.highlight-text {
    color: #3b0d40;
    /* Brand Purple */
}

.lead-text {
    font-size: 20px;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 500;
}

.intro-content p {
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.check-list li i {
    color: #f07c24;
    /* Brand Orange */
    font-size: 22px;
}

.intro-visual {
    flex: 1;
    position: relative;
}

.visual-card {
    position: relative;
}

.visual-card img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: #3b0d40;
    /* Brand Purple */
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

/* 3. Services Grid */
.services-section {
    padding: 100px 0;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.gradient-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #f07c24, #e67e22);
    /* Orange Gradient */
    border-radius: 2px;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(240, 124, 36, 0.15);
    /* Orange Shadow */
    border-color: #fce8d6;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff5eb 0%, #feebc8 100%);
    /* Orange Tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #f07c24;
    /* Brand Orange */
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #f07c24 0%, #e67e22 100%);
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
}

.service-card p {
    color: #718096;
    line-height: 1.6;
}

/* 4. Process Roadmap - Light Pattern Theme */
.process-section {
    padding: 100px 0;
    /* Subtle Gradient Base */
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f6 100%);
    color: #2d3748;
    position: relative;
    overflow: hidden;
}

/* Add a subtle geometric pattern overlay */
.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Modern Dot Pattern */
    background-image: radial-gradient(#cbd5e0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.process-section .container {
    position: relative;
    z-index: 2;
    /* Ensure content is above pattern */
}

.process-section .section-header h2 {
    color: #3b0d40;
    /* Brand Purple */
}

.process-roadmap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    max-width: 200px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 3px solid #f07c24;
    /* Brand Orange */
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #3b0d40;
    /* Brand Purple */
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.process-step:hover .step-circle {
    background: #f07c24;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(240, 124, 36, 0.4);
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #3b0d40;
    /* Brand Purple */
    font-weight: 700;
}

.process-step p {
    font-size: 14px;
    color: #718096;
    /* Dark Gray */
    line-height: 1.5;
}

.step-connector {
    flex: 0.5;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    color: #cbd5e0;
    /* Light Gray for connector */
    font-size: 20px;
}

/* 5. CTA Section (Reuse improvements) */
.funnel-section {
    padding: 100px 0;
    /* Light Background with Doctor/Clinic Context Image */
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)),
        url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.funnel-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.funnel-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #f07c24 0%, #e67e22 100%);
    /* Orange Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.funnel-benefits li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: #2d3748;
}

.funnel-benefits li i {
    color: #f07c24;
    /* Brand Orange */
}

/* White Glass Form Card */
.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(0, 0, 0, 0.1);
    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-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: #1a202c;
    font-size: 24px;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 14px;
}

.premium-form .form-group {
    margin-bottom: 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;
}

.premium-form .form-control:focus {
    outline: none;
    border-color: #f07c24;
    box-shadow: 0 0 0 3px rgba(240, 124, 36, 0.2);
}

/* Responsiveness */
@media (max-width: 992px) {
    .intro-grid {
        flex-direction: column;
        gap: 50px;
    }

    .intro-visual {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .funnel-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .funnel-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .funnel-benefits {
        display: inline-block;
        text-align: left;
    }

    .funnel-form-card {
        width: 100%;
        max-width: 650px;
        flex: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-roadmap {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .process-step {
        max-width: 100%;
        width: 100%;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 20px;
    }

    .process-step:last-child {
        border-bottom: none;
    }

    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step-circle {
        margin: 0;
        min-width: 50px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}