/* Champion Woundcare - Modern Medical Website Styles */

/* Root Variables - Professional Medical Color Scheme */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #1e40af;
    --danger-color: #dc3545;
    --warning-color: #f59e0b;
    --info-color: #60a5fa;
    --success-color: #10b981;
    --light-color: #eff6ff;
    --dark-color: #1e3a8a;
    --text-muted: #64748b;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --header-height: 60px;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    scroll-behavior: smooth;
    padding-top: var(--header-height);
    /* Enable smooth touch scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* Fix for mobile touch scrolling issues */
html {
    -webkit-overflow-scrolling: touch;
}

/* Ensure proper scrolling on iOS devices */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 70px; /* Slightly taller header for mobile */
    }
    body {
        padding-bottom: 60px;
    }
}

/* Typography - Enhanced for Impact */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.display-1, .display-2 {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.display-5, .display-6 {
    font-weight: 800;
}

/* Lead text - Enhanced */
.lead {
    font-weight: 500;
    font-size: 1.25rem;
}

/* Utility Classes - Blue Theme */
.text-light-blue {
    color: #60a5fa !important;
}

.text-navy {
    color: #1e40af !important;
}

.bg-light-blue {
    background-color: #60a5fa !important;
}

.bg-navy {
    background-color: #1e40af !important;
}

.border-light-blue {
    border-color: #60a5fa !important;
}

/* Font Weight Utilities - Enhanced */
.fw-bold, strong, b {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: 800 !important;
}

.fw-black {
    font-weight: 900 !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 0.5rem 0;
    z-index: 1060;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Shield logo styling removed - no longer used */

/* Treasure Valley Healing Method icons styling */
.healing-method-step .fas {
    color: #60a5fa !important; /* Light blue color for all icons in healing method steps */
}

/* Service area map marker icons styling */
.area-item .fa-map-marker-alt {
    color: #60a5fa !important; /* Light blue color for map marker icons */
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* New Hero Section - Simple, No Parallax - Calming Blue */
.hero-section-new {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%) !important;
    color: white !important;
    padding: 8rem 0 4rem 0 !important;
    margin: 0 !important;
    min-height: 60vh !important;
    display: block !important;
}

.hero-content-new {
    padding: 2rem 0;
}

/* Move hero content higher on desktop to align with form top - ONLY on homepage */
@media (min-width: 992px) {
    .hero-content-new {
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Only apply negative margin on homepage with form */
    .homepage .hero-content-new {
        margin-top: -12rem;
    }
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
}

.hero-tagline {
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    font-style: italic !important;
    opacity: 0.9 !important;
}

.hero-description {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    opacity: 0.95 !important;
    color: white !important;
}

.hero-ctas {
    margin-top: 2rem;
}

.hero-phone {
    color: white !important;
    font-size: 1.1rem;
    opacity: 0.95;
}

.hero-phone strong {
    color: #fff !important;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* Champion Healing Method Styles */
.step-number {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    font-weight: 700;
}

.healing-method-step {
    padding: 1rem;
}

.healing-method-step:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-tagline {
        font-size: 1.8rem !important;
    }
    
    .hero-description {
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-section-new {
        padding: 5.5rem 0 2.5rem 0 !important;
        min-height: 50vh !important;
    }
    
    .hero-content-new {
        padding: 1rem 0;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-phone {
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-tagline {
        font-size: 1.4rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section-new {
        padding: 5rem 0 2rem 0 !important;
        min-height: 45vh !important;
    }
    
    .hero-content-new {
        padding: 0.5rem 0;
    }
    
    .btn-lg {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .hero-phone {
        font-size: 0.9rem;
    }
    
    .hero-phone strong {
        font-size: 1rem;
    }
    
    /* Better mobile spacing for sections */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .display-6 {
        font-size: 1.8rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
}

/* Buttons - Enhanced for Impact */
.btn {
    border-radius: var(--border-radius);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Cards */
.card, .bg-white {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Statistics Section */
.stat-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    position: relative;
    background: white;
    min-height: 250px;
    padding: 2rem 1.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.stat-icon {
    transition: var(--transition);
    margin-bottom: 1.5rem !important;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem !important;
}

.stat-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0 !important;
    padding: 0 0.5rem;
}

/* Ensure content sections have proper background */
section:not(.hero-section):not(.urgency-section) {
    position: relative;
    background: white;
}

/* Treatment Timeline */
.treatment-timeline .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.treatment-step {
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.treatment-step:hover {
    background-color: var(--light-color);
    transform: translateX(10px);
}

/* Testimonials */
.testimonial-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.author-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
}

.stars {
    font-size: 1rem;
}

/* Page Headers */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

/* Wound Type Cards */
.wound-selector {
    max-width: 1200px;
    margin: 0 auto;
}

.wound-card {
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wound-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color) !important;
}

.wound-icon {
    transition: var(--transition);
    margin-bottom: 1rem !important;
}

.wound-card:hover .wound-icon {
    transform: scale(1.1);
}

.wound-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem !important;
}

.wound-card p {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0 !important;
}

/* Forms */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Quiz Styles */
.quiz-container {
    border-radius: var(--border-radius);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-navigation {
    margin-top: 2rem;
}

.wound-option, .insurance-option, .duration-option, .symptom-option, .condition-option, .care-option {
    margin-bottom: 0;
}

.wound-option label, .insurance-option label, .duration-option label, 
.symptom-option label, .condition-option label, .care-option label {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.wound-option label:hover, .insurance-option label:hover, .duration-option label:hover,
.symptom-option label:hover, .condition-option label:hover, .care-option label:hover {
    border-color: var(--primary-color) !important;
    background-color: rgba(37, 99, 235, 0.05);
}

/* Education Cards */
.education-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.education-card .card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Contact Section */

.contact-item {
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.contact-item:hover {
    background-color: var(--light-color);
    transform: translateX(5px);
}

/* Service Areas */
.area-item {
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.area-item:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

/* Success Statistics */
.stat-circle {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.success-stat {
    transition: var(--transition);
}

.success-stat:hover {
    transform: translateY(-5px);
}

.success-stat:hover .stat-circle {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e3a8a 100%);
}

.hover-primary:hover {
    color: #60a5fa !important;
}

/* Floating Elements */
.floating-card {
    bottom: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite;
}

/* Image Containers */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.image-container img {
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
        padding: 0 1rem;
        /* Fix mobile scrolling issues */
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure body scrolling works on mobile */
    body {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    
    .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        padding: 1rem;
        box-shadow: var(--box-shadow-lg);
    }
    
    .treatment-step:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    .area-item:hover {
        transform: none;
    }
    
    /* Prevent horizontal overflow */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .col, [class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 75px; /* Extra height for small mobile screens */
    }
}
    
    .hero-section {
        padding: 1rem 0.5rem;
        min-height: 70vh;
    }
    
    .page-header {
        padding: 4rem 0.5rem 2rem;
    }
    
    .container {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .display-3 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .display-4 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .stat-card:hover,
    .testimonial-card:hover,
    .wound-card:hover,
    .education-card:hover {
        transform: none;
    }
    
    /* Better mobile typography */
    body {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0.75rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Better Text Contrast on Colored Backgrounds */
.bg-primary, .bg-primary .card-header {
    color: white !important;
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6 {
    color: white !important;

}

.bg-primary p, .bg-primary .lead, .bg-primary .text-muted {
    color: rgba(255, 255, 255, 0.95) !important;

}

/* Override Bootstrap text-primary with our color scheme */
.text-primary {
    color: #2563eb !important;
}

.bg-secondary, .bg-secondary .card-header {
    color: white !important;
}

.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6 {
    color: white !important;

}

.bg-secondary p, .bg-secondary .lead, .bg-secondary .text-muted {
    color: rgba(255, 255, 255, 0.95) !important;

}

.text-on-dark {
    color: white !important;

}

/* Conversion Optimization Styles */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
}

.cta-section h2, .cta-section h3 {
    color: white;
}

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .floating-cta .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Sticky Phone Banner for Mobile - Now at bottom - Blue Theme */
.mobile-phone-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #2563eb;
    color: #ffffff;
    padding: 0.9rem 1rem;
    text-align: center;
    transform: translateY(0);
    box-shadow: 0 -4px 20px rgba(37, 99, 235, 0.4);
    border-top: 3px solid rgba(30, 64, 175, 0.3);
    display: none;
}

.mobile-phone-banner.show {
    transform: translateY(0);
}

.mobile-phone-banner a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mobile-phone-banner a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.mobile-phone-banner i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

@media (max-width: 576px) {
    .mobile-phone-banner {
        padding: 0.75rem 0.5rem;
    }
    
    .mobile-phone-banner a {
        font-size: 0.95rem;
    }
    
    .mobile-phone-banner i {
        font-size: 1rem;
        margin-right: 0.4rem;
    }
}

@media (min-width: 992px) {
    .mobile-phone-banner {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0052cc;
        --secondary-color: #228b22;
        --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* About Page Icons */
.point-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.point-icon i {
    font-size: 1.25rem;
}

.approach-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-icon i {
    font-size: 3rem !important;
    line-height: 1;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .floating-card,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .page-header {
        padding: 1rem 0;
        color: black !important;
        background: white !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
}

/* Doctor Photo Styling */
.doctor-photo {
    max-width: 300px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.doctor-image-container {
    position: relative;
}

.doctor-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
}

/* New Statistics Section - Simple, No Layering */
.stats-section-new {
    background: #f8f9fa;
    padding: 5rem 0;
    margin: 0;
}

.stat-card-new {
    background: white;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin-bottom: 2rem;
}

.stat-icon-new {
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.stat-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Military Credentials Styling */
.military-credentials ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 82, 204, 0.1);
}

.military-credentials ul li:last-child {
    border-bottom: none;
}

.military-credentials i {
    width: 20px;
    text-align: center;
}

/* Unified Form Card Styling - Base styles for all forms */
.form-card-base {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 82, 204, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 82, 204, 0.08);
    transition: var(--transition);
    padding: 2rem;
}

.form-card-base:hover {
    box-shadow: 0 12px 40px rgba(0, 82, 204, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Contact Form Enhancements */
.contact-form {
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 82, 204, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 82, 204, 0.08) !important;
    background: #ffffff !important;
}

.contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0; /* Prevent icon from shrinking */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Unified Form Field Styling - Apply to all forms */
.form-control, .form-select,
.hero-form .form-control, 
.contact-form .form-control, 
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    min-height: 44px; /* Ensure touch-friendly sizing */
    line-height: 1.4;
    background-color: #ffffff;
}

.form-control:focus, .form-select:focus,
.hero-form .form-control:focus,
.contact-form .form-control:focus, 
.contact-form .form-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25), 0 4px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    outline: none;
}

/* Enhanced Focus Ring for Better Accessibility */
.form-control:focus-visible, 
.form-select:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.5);
    outline-offset: 2px;
}

/* Unified Form Label Styling */
.form-label,
.hero-form .form-label,
.contact-form .form-label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Form Text and Help Text */
.form-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.4;
}

/* Invalid Feedback Styling */
.invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 4px;
    font-weight: 500;
}

/* Trust Signals Styling */
.trust-signals {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 82, 204, 0.08);
}

.trust-signals .row > div {
    border-radius: 4px;
    transition: all 0.2s ease;
}

.trust-signals .row > div:hover {
    background: rgba(0, 82, 204, 0.05);
    transform: scale(1.02);
}

.trust-signals i {
    font-size: 0.9rem;
}

.trust-signals span {
    font-weight: 600;
    font-size: 0.8rem;
    color: #4b5563;
}

/* Hero Form Privacy Enhancements */
.hero-form-privacy, .contact-form-privacy {
    background: rgba(248, 250, 252, 0.6);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}




/* Form Layout Improvements */
.contact-form .row {
    margin-left: -8px;
    margin-right: -8px;
}

.contact-form .col-md-6,
.contact-form .col-12 {
    padding-left: 8px;
    padding-right: 8px;
}

/* Mobile Form Optimization */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem !important;
        margin: 0 -15px;
        border-radius: 12px !important;
    }
    
    .form-control, .form-select,
    .hero-form .form-control,
    .contact-form .form-control, 
    .contact-form .form-select {
        padding: 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px; /* Larger touch targets on mobile */
    }
    
    .form-label,
    .hero-form .form-label,
    .contact-form .form-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .contact-form .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .contact-item {
        margin-bottom: 1.5rem !important;
    }
}

/* Checkbox and Radio Styling */
.contact-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    border: 2px solid #dee2e6;
    border-radius: 4px;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-left: 0.5rem;
}

/* Textarea Styling */
.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button Enhancement */
.contact-form .btn-primary {
    background: #2563eb;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form .btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Quick Action Cards */
.quick-action {
    transition: var(--transition);
}

.quick-action:hover {
    transform: translateY(-5px);
}

.action-icon {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.quick-action:hover .action-icon {
    color: white;
}

/* Service Areas - Coverage Badge Alignment */
.area-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.area-card .area-icon {
    flex-shrink: 0;
}

.area-card h5 {
    flex-shrink: 0;
}

.area-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.coverage-status {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coverage-status small {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Urgency Section Background */
.urgency-section {
    background: #f8f9fa;
    position: relative;
}

/* Force labels to display above inputs - Override any floating label behavior */
.hero-form label.form-label,
.contact-form label.form-label {
    position: static !important;
    display: block !important;
    transform: none !important;
    margin-bottom: 0.5rem !important;
    pointer-events: auto !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: #333 !important;
}

.hero-form .form-control,
.contact-form .form-control {
    margin-top: 0 !important;
}

/* Enhanced section backgrounds */
.bg-light {
    background: linear-gradient(135deg, 
        #f8f9fa 0%, 
        rgba(248, 249, 250, 0.8) 50%, 
        #ffffff 100%) !important;
}

.bg-primary.text-white {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%) !important;
}

/* Override Bootstrap's text-success color with graphite gray */
.text-success {
    color: #374151 !important;
}

/* Professional star rating colors - keep golden for stars */
.stars.text-success i {
    color: #f59e0b !important;
    text-shadow: 0 0 2px rgba(245, 158, 11, 0.3);
}

/* Hero Form Styles */
.hero-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(200, 200, 200, 0.2);
    border-top: 4px solid #2563eb;
    margin-left: 2rem;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.hero-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 16px;
    z-index: -1;
}

.hero-form-card:hover {
    box-shadow: 0 16px 56px rgba(37, 99, 235, 0.15), 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.hero-doctor-image {
    margin-bottom: 1.5rem;
}

.hero-doctor-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.hero-form-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hero-form-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-form .form-label {
    font-weight: 400;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: block;
}

.hero-form .form-control {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
}

.hero-form .form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.25);
    background-color: white;
}

.hero-form .form-control::placeholder {
    color: #adb5bd;
}

.hero-form .btn-primary {
    background: #2563eb;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.hero-form .btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4), 0 0 20px rgba(96, 165, 250, 0.3);
    border-left: 4px solid #60a5fa;
}

.hero-form-privacy {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.hero-form-privacy i {
    color: #2563eb;
}

/* Mobile responsive for hero form */
@media (max-width: 991px) {
    .hero-form-card {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .hero-form-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .hero-form-card {
        margin-top: 1.5rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .hero-doctor-image img {
        width: 70px;
        height: 70px;
    }
    
    .hero-form-title {
        font-size: 1.4rem;
    }
    
    .hero-form-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-form-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .hero-doctor-image img {
        width: 60px;
        height: 60px;
    }
    
    .hero-form-title {
        font-size: 1.3rem;
    }
    
    .hero-form .form-control {
        padding: 0.65rem 0.9rem;
    }
    
    .hero-form .btn-primary {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Center certification logos on mobile */
@media (max-width: 768px) {
    .certification-logos {
        justify-content: center !important;
    }
}

/* Desktop/Laptop Horizontal Padding for Better Edge Spacing */
@media (min-width: 992px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .container-fluid {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .container-fluid {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
}

/* ===== PROFESSIONAL ENHANCEMENTS ===== */

/* Enhanced Card Styles */
.card {
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--box-shadow-lg) !important;
}

.card.border-primary {
    border-width: 2px !important;
    border-color: var(--primary-color) !important;
}

/* Professional Section Backgrounds */
section.bg-light {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: relative;
}

section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    font-weight: 600 !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--box-shadow-xl) !important;
}

/* Professional Accent Border */
.hero-form-card {
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.hero-form-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--info-color);
}

/* Enhanced Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.navbar-brand {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

/* Professional Footer Enhancement */
footer.bg-dark {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    position: relative;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
}

/* Icon Enhancement */
.fas, .far, .fab {
    transition: var(--transition);
}

/* Subtle Image Enhancement */
img.rounded {
    transition: var(--transition);
}

img.rounded:hover {
    transform: scale(1.02);
}

/* Professional List Style */
.list-group-item {
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: rgba(37, 99, 235, 0.02);
    padding-left: 1.5rem !important;
}

/* Enhanced Badge Circles */
.badge.rounded-circle {
    box-shadow: var(--box-shadow-md);
    transition: var(--transition);
}

.badge.rounded-circle:hover {
    transform: scale(1.1);
    box-shadow: var(--box-shadow-lg);
}

/* Professional Link Hover */
a.hover-primary:hover {
    color: var(--info-color) !important;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

/* Smooth Scrollbar (Webkit browsers) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Professional Form Focus */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15) !important;
}

/* Subtle Animation for Cards on Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for multiple cards */
.row .card:nth-child(1) { animation-delay: 0.1s; }
.row .card:nth-child(2) { animation-delay: 0.2s; }
.row .card:nth-child(3) { animation-delay: 0.3s; }
.row .card:nth-child(4) { animation-delay: 0.4s; }
.row .card:nth-child(5) { animation-delay: 0.5s; }
.row .card:nth-child(6) { animation-delay: 0.6s; }
