/* Nephrology Billing Page Styles */
:root {
    --brand-purple: #3b0d40;
    --brand-orange: #f07c24;
    --brand-orange-light: #fff0e0;
    --text-dark: #2d3748;
    --text-grey: #718096;
    --bg-light: #f8fafc;
}

/* 1. Hero Section */
.nephro-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    /* Nephrology Themed Background */
    background: url('../images/nephrology-hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 13, 64, 0.85), rgba(28, 6, 30, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.sub-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.nephro-hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

.highlight-text {
    color: var(--brand-orange);
    position: relative;
    display: inline-block;
}

.nephro-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 1.1 Stats Strip */
.stats-strip {
    background: #fff;
    padding: 40px 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(59, 13, 64, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--brand-purple);
    font-size: 24px;
    transition: all 0.3s;
}

.stat-item:hover .stat-icon-wrap {
    background: var(--brand-purple);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 13, 64, 0.2);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-grey);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 1.2 Intro Section (Transparent Modern) */
/* 1.2 Intro Section (Image Overlay Modern) */
.intro-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    /* Background Image with Parallax-like fix */
    background: url('../images/nephrology-intro-bg.png') center/cover no-repeat fixed;
}

/* Light/Theme Overlay for consistency */
.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Light Gradient overlay: White to very light purple tint - Reduced Opacity */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(248, 250, 252, 0.75));
    z-index: 1;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff, #f0f4f8);
    border-radius: 24px;
    /* Squircle */
    box-shadow:
        0 10px 25px rgba(59, 13, 64, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    color: var(--brand-orange);
    font-size: 28px;
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.intro-badge:hover {
    transform: rotate(0deg) scale(1.1);
}

.intro-section .section-title {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    font-size: 48px;
    /* Larger title */
    letter-spacing: -1px;
    color: var(--brand-purple);
    /* Revert to Brand Purple */
}

.intro-section .section-title .highlight-text {
    color: var(--brand-orange);
    /* Bright gold/orange highlight */
    background: none;
    -webkit-text-fill-color: initial;
    font-weight: 800;
}

.intro-text-wrapper {
    max-width: 900px;
    margin: 0 auto;
    /* Glassmorphism Card (White on light) */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 30px;
    box-shadow:
        0 20px 60px -10px rgba(59, 13, 64, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.intro-text-wrapper::after {
    /* Colorful accent line at top */
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-purple), var(--brand-orange));
    border-radius: 0 0 4px 4px;
    opacity: 0.8;
}

.intro-text-wrapper p {
    color: #4a5568;
    /* Revert to Dark Grey */
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 400;
}

.intro-text-wrapper p:last-child {
    margin-bottom: 0;
}

.intro-text-wrapper strong {
    color: var(--brand-purple);
    /* Revert to Purple */
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Highlight underline effect for strong text - subtle on dark */
.intro-text-wrapper strong::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: skewX(-10deg);
}

/* 2. Overview / Split Section */
.split-section {
    padding: 100px 0;
    background: #fff;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-image {
    flex: 1;
    position: relative;
}

.split-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--brand-purple);
    border-top: 4px solid var(--brand-orange);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.split-content {
    flex: 1;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-title span {
    color: var(--brand-purple);
}

.lead-text {
    font-size: 20px;
    color: var(--text-grey);
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #4a5568;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--brand-orange);
    font-size: 20px;
    margin-top: 4px;
}

/* 3. Services / Codes Grid */
.codes-section {
    padding: 100px 0;
    background: #f8fafc;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.code-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.code-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 13, 64, 0.2);
}

.card-icon {
    font-size: 32px;
    color: var(--brand-purple);
    margin-bottom: 20px;
}

.icon-feature {
    font-size: 32px;
    color: var(--brand-purple);
    margin-bottom: 15px;
}

.code-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.code-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* 4. Contact/Footer CTA & Funnel (Shared/Consistent) */
.funnel-section {
    padding: 100px 0;
    /* Light Background with context */
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)),
        url('../images/nephrology-doctor.png');
    /* Fallback or use doctor image lightly */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.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: var(--text-dark);
}

.funnel-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--brand-purple);
}

.funnel-content p {
    font-size: 18px;
    color: var(--text-grey);
    margin-bottom: 30px;
    max-width: 500px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ffb74d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.funnel-benefits {
    list-style: none;
    padding: 0;
}

.funnel-benefits li {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.funnel-benefits li i {
    color: var(--brand-orange);
    font-size: 20px;
}

/* 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(59, 13, 64, 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, var(--brand-orange), transparent);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--brand-purple);
    font-size: 24px;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-grey);
    font-size: 14px;
}

.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: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.premium-form .form-control {
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.3s ease;
}

.premium-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b0d40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.premium-form .form-control:focus {
    outline: none;
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(59, 13, 64, 0.1);
}

.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);
}

.form-privacy-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

.form-privacy-text a {
    color: var(--brand-purple);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nephro-hero {
        height: auto;
        padding: 100px 0;
    }

    .nephro-hero h1 {
        font-size: 42px;
    }

    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .floating-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 80%;
        justify-content: center;
    }

    .feature-list li {
        justify-content: center;
        text-align: left;
    }

    .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: 800px;
        flex: none;
    }
}

@media (max-width: 768px) {
    .nephro-hero {
        min-height: 400px;
        padding: 80px 0;
    }

    .nephro-hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .nephro-hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 28px;
    }

    .split-layout {
        gap: 40px;
    }

    .funnel-content h2 {
        font-size: 32px;
    }

    .funnel-form-card {
        padding: 25px;
    }

    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-btns .btn {
        width: 100%;
        display: block;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .nephro-hero h1 {
        font-size: 28px;
    }

    .floating-badge {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
}