/* Mobile layout — brand palette in stormhelpline-brand.css */
/* Mobile-Specific Styles - Complete Isolation from Desktop */

/* CSS Variables for Theme Support */
:root {
    --text-black: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-black: #f8fafc;
    --bg-secondary: #edf2f7;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}



/* Dark Mode Text Overrides for Mobile */
























/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
    /* Remove height: 100% to allow scrolling */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-black, #1a1a1a);
    background: var(--bg-black, #f8fafc);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-top: 70px; /* Reduced from 80px for dashboard pages */
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    transition: padding-top 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

/* Reduce body padding when header is hidden to maximize content space */
body.header-hidden {
    padding-top: 20px;
}

/* Universal mobile page content spacing to prevent header overlap */
.mobile-main-content,
.mobile-page-content,
.container-fluid,
.container {
    margin-top: 10px; /* Reduced from 20px to minimize white gap */
    padding-top: 5px; /* Reduced from 15px */
}

/* Dashboard specific: remove extra spacing */
.dashboard .mobile-main-content,
.dashboard .container-fluid,
.dashboard .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Critical: All hero sections need proper top spacing for fixed mobile header */
section[class*="hero"],
.hero-section,
.hero-about,
.hero-contact,
.hero-faq,
.hero-help,
.hero-claims,
.hero-roof,
.hero-siding,
.hero-storm,
.hero-water,
.hero-emergency,
.mobile-hero {
    margin-top: 20px !important; /* Ensure hero sections clear the fixed header */
    padding-top: 40px !important; /* Additional internal padding */
}

/* Universal fix: All first sections after mobile header */
.mobile-header + section,
.mobile-header + .section,
body > section:first-of-type,
.container:first-child {
    margin-top: 20px !important;
    padding-top: 30px !important;
}

/* Specific fix for login and authentication pages */
.mobile-auth-content {
    margin-top: 30px;
    padding-top: 20px;
}

/* Prevent horizontal overflow on all containers */
.container, .container-fluid, .row {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure all elements stay within viewport */
* {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto;
}

/* Additional horizontal scroll prevention */
.mobile-claims-hero, .mobile-ai-hero, .mobile-portal-hero {
    overflow-x: hidden;
    width: 100%;
}

.mobile-claims-section, .mobile-estimate-section, .mobile-portal-section, .mobile-progress-section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Ensure all mobile containers stay within viewport */
.mobile-nav-container, .mobile-menu-content, .mobile-option-grid, .mobile-action-buttons {
    max-width: 100%;
    overflow-x: hidden;
}

/* Force all text to wrap and prevent overflow */
h1, h2, h3, h4, h5, h6, p, div, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Emergency Services Hero Section - Override all global rules */
.emergency-hero-section {
    background: #0A0A0A !important;
    padding: 40px 20px !important;
    color: white !important;
    text-align: center !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 400px !important;
    margin-top: 0 !important;
    display: block !important;
}

.emergency-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.2 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    position: relative !important;
    z-index: 100 !important;
}

.emergency-description {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 30px !important;
    color: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    position: relative !important;
    z-index: 100 !important;
}

.emergency-cards {
    display: block !important;
    margin: 0 auto !important;
    max-width: 400px !important;
}

.emergency-card {
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.card-fast {
    background: #0A0A0A !important;
    color: white !important;
}

.card-free {
    background: #ffd400 !important;
    color: #0a0a0a !important;
}

.card-licensed {
    background: #0A0A0A !important;
    color: white !important;
}

.emergency-card h6 {
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    color: inherit !important;
    display: block !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    position: relative !important;
    z-index: 100 !important;
}

.emergency-card p {
    margin: 0 !important;
    font-size: 16px !important;
    color: inherit !important;
    display: block !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    position: relative !important;
    z-index: 100 !important;
}

/* UNIVERSAL BADGE OVERFLOW PROTECTION SYSTEM */
/* Fix for all badge content overflow issues across ALL mobile pages */
.x-small {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    padding: 0.2rem 0.4rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.badge {
    max-width: 90% !important;
    margin: 0 auto !important;
    display: inline-block !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Additional protection for mobile card badges */
@media (max-width: 480px) {
    .badge {
        max-width: 85% !important;
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .x-small {
        font-size: 0.55rem !important;
        max-width: 80% !important;
    }
}

/* Prevent any element from exceeding viewport width */
* {
    min-width: 0;
}

.container-fluid, .row, .col, [class*="col-"] {
    overflow-x: hidden;
    max-width: 100%;
}

/* Additional body and html constraints */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background-color: var(--primary-bg, #f8fafc);
    color: var(--text-black, #1a1a1a);
    transition: var(--theme-transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
}

/* Universal Benefits Grid Design System */
.benefits-grid, .benefits-grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.benefit-card {
    position: relative;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: none;
    background: #0a0a0a !important;
    border: 2px solid #ffd400;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    z-index: -1;
}

/* Original Legal Settlements Color Scheme */
.gradient-blue::before {
    background: #0A0A0A;
}

.gradient-green::before {
    background: #0A0A0A;
}

.gradient-purple::before {
    background: #0A0A0A;
}

.gradient-orange::before {
    background: #0A0A0A;
}

/* New Color Schemes for Homepage */
.gradient-coral::before {
    background: #0A0A0A;
}

.gradient-teal::before {
    background: #0A0A0A;
}

.gradient-gold::before {
    background: #0A0A0A;
}

.gradient-indigo::before {
    background: #0A0A0A;
}

/* Emergency Services Color Scheme */
.gradient-fire::before {
    background: #0A0A0A;
}

.gradient-amber::before {
    background: #0A0A0A;
}

.gradient-forest::before {
    background: #0A0A0A;
}

/* About Page Color Scheme */
.gradient-ocean::before {
    background: #0A0A0A;
}

.gradient-sunset::before {
    background: #0A0A0A;
}

.gradient-mint::before {
    background: #0A0A0A;
}

.gradient-royal::before {
    background: #0A0A0A;
}

.benefit-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.benefit-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.benefit-description {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .benefits-grid, .benefits-grid-home {
        gap: 12px;
    }
    
    .benefit-card {
        padding: 15px 12px;
        min-height: 110px;
    }
    
    .benefit-title {
        font-size: 13px;
    }
    
    .benefit-description {
        font-size: 11px;
    }
}

@media (min-width: 576px) {
    .benefits-grid, .benefits-grid-home {
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px 20px;
        min-height: 130px;
    }
    
    .benefit-title {
        font-size: 15px;
    }
    
    .benefit-description {
        font-size: 13px;
    }
}

/* Mobile Navigation Header - Enhanced Size with Smart Scroll Behavior */
.mobile-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px; /* Fixed header height */
    background: var(--header-bg, rgba(30, 41, 59, 0.95));
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 2px 20px var(--shadow-heavy, rgba(0, 0, 0, 0.3));
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: var(--theme-transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    transition: top 0.3s ease;
}

/* UNIVERSAL MOBILE HEADER CLEARANCE FIX */
/* This ensures ALL mobile content properly clears the 80px fixed header */

/* Body padding to prevent ANY content from hiding behind fixed header */
body {
    padding-top: 0; /* Reset any existing padding */
}

/* Universal mobile page content wrapper - applies to ALL pages */
.mobile-page-content,
.mobile-hero,
.mobile-ai-hero,
.modern-hero,
section:first-of-type,
.hero-section,
.main-content,
main {
    margin-top: 100px !important; /* Increased from 80px to 100px for better clearance */
    min-height: 0 !important;
}

section:first-of-type:not(footer) {
    min-height: 0 !important;
}

/* Additional clearance for hero sections that need extra space */
.hero-content-wrapper,
.ai-content,
.hero-content {
    padding-top: 30px !important; /* Increased from 20px to 30px */
}

/* Specific fixes for common mobile section patterns */
.mobile-hero,
.mobile-ai-hero,
.modern-hero {
    padding-top: 50px !important; /* Increased from 40px to 50px */
}

/* Override any existing inline styles that might conflict */
[style*="padding-top"] {
    padding-top: 50px !important; /* Increased from 40px to 50px */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 375px) {
    .mobile-page-content,
    .mobile-hero,
    .mobile-ai-hero,
    .modern-hero,
    section:first-of-type {
        margin-top: 110px !important; /* Increased from 85px to 110px */
    }
    
    .hero-content-wrapper {
        padding-top: 35px !important; /* Increased from 25px to 35px */
    }
}

/* Header hidden state when scrolling down */
.mobile-navbar.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Header visible state when scrolling up near top */
.mobile-navbar.header-visible {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 14px;
}

/* STANDARDIZED Mobile Logo - Fixed Sizing Inconsistencies */
.mobile-brand {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 2px;
}

/* Primary logo class used in mobile header - optimized for mobile visibility */
.mobile-brand-logo {
    height: 85px !important;
    width: auto;
    max-width: min(325px, 100%);
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

/* Standardized mobile logo container */
.mobile-logo {
    width: 200px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Secondary logo class - standardized to match brand logo */
.mobile-logo-img {
    height: 65px !important;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

/* Enhanced Mobile Menu Toggle */
.mobile-menu-toggle {
    width: 50px; /* Increased from 45px */
    height: 45px; /* Increased from 40px */
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-left: 4px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 24px; /* Increased from 22px */
    height: 3px; /* Increased from 2px */
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
    border-radius: 2px;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu open state - no body manipulation needed */
body.menu-open {
    /* No body scroll restrictions - let normal scrolling work */
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(15px);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.show {
    transform: translateX(0);
}

/* Menu Header with Close Button */
.mobile-menu-header {
    background: rgba(30, 41, 59, 1);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-close:hover, .mobile-menu-close:active {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.05);
}

.close-icon {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.close-text {
    font-size: 0.9rem;
}

/* Menu Overlay for closing */
.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}

.mobile-menu-content {
    padding: 30px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
}

.mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-section h3 {
    color: #60a5fa;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    color: #60a5fa;
    transform: translateX(5px);
}

.mobile-menu-link.primary {
    background: rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.6);
    color: #60a5fa;
    font-weight: 600;
}

.mobile-emergency-link {
    color: #FFD400;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 20px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 15px;
    border: 2px solid rgba(251, 191, 36, 0.5);
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}

.mobile-emergency-link:hover {
    background: rgba(251, 191, 36, 0.3);
    transform: scale(1.02);
}

/* Hero Section - Mobile App Style */
.mobile-hero {
    background: #0A0A0A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px 20px; /* Top padding accounts for header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0A0A 0%, transparent 50%), 
               #0A0A0A 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 350px;
    width: 100%;
    padding-top: 100px; /* Move content below mobile header */
}

.emergency-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 12px 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.mobile-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin: 20px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 400;
}

.phone-display {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 30px;
}

.mobile-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
}

.mobile-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.mobile-btn:hover,
.mobile-btn:active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.mobile-btn.primary {
    background: rgba(96, 165, 250, 0.4);
    border-color: rgba(96, 165, 250, 0.6);
}

.mobile-btn.emergency {
    background: rgba(251, 191, 36, 0.4);
    border-color: rgba(251, 191, 36, 0.6);
    color: #FFD400;
    font-weight: 700;
}

/* Services Section - Full Width */
.mobile-services {
    padding: 0;
    margin: 0;
    width: 100%;
}

.service-block {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    cursor: default;
    pointer-events: none;
}

.emergency-block {
    background: #0A0A0A;
    color: white;
}

.restoration-block {
    background: #0A0A0A;
    color: white;
}

.claims-block {
    background: #0A0A0A;
    color: white;
}

.service-content {
    max-width: 350px;
    margin: 0 auto;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.service-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-block p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    padding: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0.9;
}

/* Physical Work Section */
.mobile-physical-work {
    background: #0A0A0A;
    padding: 60px 20px;
    text-align: center;
}

.section-content {
    max-width: 350px;
    margin: 0 auto;
}

.mobile-physical-work h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.mobile-physical-work p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
}

.work-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.work-feature {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.work-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.work-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.work-feature p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Contact Section */
.mobile-contact {
    background: #0A0A0A;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact-content {
    max-width: 350px;
    margin: 0 auto;
}

.mobile-contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #60a5fa;
    text-decoration: none;
}

/* Footer */
.mobile-footer {
    background: #0E0E0E !important;
    color: white;
    padding: 12px 20px 40px;
    text-align: center;
}

.footer-content {
    max-width: 350px;
    margin: 0 auto;
}

.mobile-footer-logo {
    width: min(100%, 661.1px);
    height: 171.875px;
    background-image: url('/assets/images/stormhelpline-logo-banner-2026.png?v=20261113crop');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    margin: 0 auto 30px -10px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-phone {
    color: #60a5fa;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4,
footer h6.footer-section-header,
.mobile-footer .footer-section-header {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--sh-yellow, #FFD400);
    line-height: 1.3;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu Content Positioning */
.mobile-menu-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.mobile-menu-section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.mobile-menu-section:first-child h3 {
    margin-top: 0 !important;
    padding-top: 1rem;
}

/* Logout Link Styling */
.mobile-menu-link.logout {
    background: #0A0A0A;
    color: white !important;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    border-radius: 8px;
}

.mobile-menu-link.logout:hover {
    background: #0A0A0A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 360px) {
    .mobile-navbar {
        height: 70px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .mobile-logo {
        width: 180px;
        height: 50px;
    }
    
    .mobile-hero {
        padding-top: 90px;
    }
    
    .mobile-hero h1 {
        font-size: 2.4rem;
    }
}

/* Mobile Portal Navigation Cards */
.mobile-main-content {
    padding-bottom: 2rem;
}

.welcome-section {
    background: #0A0A0A;
    color: white;
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

/* AI Capabilities Section */
.ai-capabilities {
    background: #f8fafc;
    padding: 3rem 0;
}

.capability-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: auto;
}

.capability-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.capability-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #0A0A0A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.capability-icon i {
    font-size: 1.8rem;
    color: white;
}

.capability-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.capability-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.welcome-date {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.portal-nav-section {
    padding: 1.5rem 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.nav-card-group {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.nav-group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 80px;
    text-align: center;
}

.nav-card:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.nav-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Role-based card colors */
.nav-card.admin-primary {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.nav-card.admin-primary:hover {
    border-color: #004080;
    background: #0A0A0A;
}

.nav-card.admin-secondary {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.nav-card.admin-secondary:hover {
    border-color: #1e7e34;
    background: #0A0A0A;
}

.nav-card.tech-primary {
    border-color: #FFD400;
    background: #0A0A0A;
}

.nav-card.tech-primary:hover {
    border-color: #dc6500;
    background: #0A0A0A;
}

.nav-card.customer-primary {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.nav-card.customer-primary:hover {
    border-color: #5a2d91;
    background: #0A0A0A;
}

.nav-card.customer-secondary {
    border-color: #FFD400;
    background: #0A0A0A;
}

.nav-card.customer-secondary:hover {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.nav-card.customer-emergency {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.nav-card.customer-emergency:hover {
    border-color: #b02a37;
    background: #0A0A0A;
}

/* Quick Actions Section */
.quick-actions-section {
    padding: 1.5rem 0;
}

.action-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.action-card:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-card-icon {
    font-size: 2rem;
    margin-right: 1rem;
    min-width: 3rem;
}

.action-card-content {
    flex: 1;
}

.action-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.action-card-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.action-card-arrow {
    font-size: 1.5rem;
    color: #9ca3af;
    margin-left: 1rem;
}

.action-card.action-primary {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.action-card.action-primary:hover {
    border-color: #004080;
    background: #0A0A0A;
}

.action-card.action-secondary {
    border-color: #0A0A0A;
    background: #0A0A0A;
}

.action-card.action-secondary:hover {
    border-color: #b02a37;
    background: #0A0A0A;
}

/* Mobile Page Header Styles */
.page-header-mobile {
    background: #0A0A0A;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.page-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.btn-dashboard-return {
    background: #0A0A0A;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,102,204,0.2);
    transition: all 0.2s ease;
}

.btn-dashboard-return:hover {
    background: #0A0A0A;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,102,204,0.3);
}

/* Main content area for dashboard pages */
.mobile-main-content {
    padding-top: 0;
    margin-top: 0;
}

/* Ensure dashboard pages have proper header spacing */
body.mobile-dashboard-page {
    padding-top: 80px;
}

body.mobile-dashboard-page .mobile-main-content {
    padding-top: 1rem;
    margin-top: 0;
}

/* Mobile Jobs Page Global Fixes */
body {
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.mobile-main-content {
    padding: 1rem 0;
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin: 0;
    max-width: 100%;
}

.col-12 {
    padding: 0;
    max-width: 100%;
}

/* Mobile Jobs Page Styles */
.mobile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.mobile-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Mobile Filter Section */
.mobile-filter-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.mobile-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.mobile-filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.mobile-filter-btn:hover {
    border-color: #0A0A0A;
    background: #f0f8ff;
}

.mobile-filter-btn.active {
    border-color: #0A0A0A;
    background: #0A0A0A;
    color: white;
}

.filter-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.filter-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.filter-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1;
}

.mobile-filter-btn.active .filter-count {
    color: white;
}

/* Mobile Job List */
.mobile-job-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-job-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
}

.mobile-job-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 1rem; /* Add space between job number and status */
}

.job-number {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1; /* Allow this section to grow but not overflow */
    min-width: 0; /* Allow text to truncate if needed */
}

.job-badge {
    background: #0A0A0A;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
}

.job-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.job-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0; /* Prevent status from shrinking */
    min-width: 90px; /* Ensure enough width for "Completed" */
}

.status-icon {
    font-size: 1.2rem;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap; /* Prevent text wrapping */
    text-align: right;
    line-height: 1.2;
}

.job-customer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.customer-icon {
    font-size: 1.1rem;
}

.customer-name {
    font-weight: 600;
    color: #1e293b;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 24px;
    padding: 0.25rem 0;
}

.detail-icon {
    font-size: 1.1rem;
    min-width: 1.5rem;
    flex-shrink: 0;
}

.detail-text {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    word-wrap: normal;
    hyphens: none;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
}

.job-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.action-btn {
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.primary {
    background: #0A0A0A;
    color: white;
}

.action-btn.primary:hover {
    background: #0A0A0A;
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.action-btn.secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Mobile responsive improvements for different screen sizes */
@media (max-width: 375px) {
    .mobile-job-card {
        padding: 1rem;
    }
    
    .job-details {
        padding: 0.75rem;
    }
    
    .detail-text {
        font-size: 0.9rem;
    }
}

@media (min-width: 376px) and (max-width: 430px) {
    .mobile-job-card {
        padding: 1.25rem;
    }
    
    .job-details {
        padding: 1rem;
    }
    
    .detail-text {
        font-size: 0.95rem;
    }
}

@media (min-width: 431px) {
    .mobile-job-card {
        padding: 1.5rem;
    }
    
    .job-details {
        padding: 1.25rem;
    }
    
    .detail-text {
        font-size: 1rem;
    }
}

/* Enhanced Mobile Job Detail Layout */
.job-details-mobile {
    margin: 0;
    padding: 0;
}

.job-detail-item {
    margin-bottom: 1rem !important;
}

.job-detail-item .d-flex {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.job-detail-item .d-flex:hover {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.detail-icon {
    flex-shrink: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-content {
    min-width: 0; /* Allows text to truncate properly */
}

.detail-label {
    font-size: 0.85rem !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem !important;
    color: #6c757d !important;
}

.detail-value {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
    color: #212529 !important;
    word-wrap: break-word;
}

/* Specific icon styling */
.detail-icon .bi {
    opacity: 0.8;
}

/* Color coding for different detail types */
.job-detail-item:nth-child(1) .detail-icon .bi {
    color: #0A0A0A !important; /* Bootstrap primary blue for tech */
}

.job-detail-item:nth-child(2) .detail-icon .bi {
    color: #0A0A0A !important; /* Bootstrap success green for schedule */
}

.job-detail-item:nth-child(3) .detail-icon .bi {
    color: #FFD400 !important; /* Bootstrap warning orange for cost */
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .job-detail-item .d-flex {
        padding: 0.75rem !important;
    }
    
    .detail-icon {
        width: 40px;
    }
    
    .detail-icon .bi {
        font-size: 1.25rem !important;
    }
    
    .detail-label {
        font-size: 0.75rem !important;
    }
    
    .detail-value {
        font-size: 1rem !important;
    }
    
    /* Fix mobile job header spacing on small screens */
    .job-header {
        gap: 0.75rem;
    }
    
    .job-status {
        min-width: 80px;
    }
    
    .status-text {
        font-size: 0.7rem;
    }
    
    .mobile-job-card {
        padding: 1rem;
    }
}

/* Additional improvements for very small screens */
@media (max-width: 320px) {
    .job-header {
        gap: 0.5rem;
    }
    
    .job-status {
        min-width: 75px;
    }
    
    .status-text {
        font-size: 0.65rem;
    }
    
    .job-title {
        font-size: 0.9rem;
    }
}

/* New Mobile Sections - Storm Damage Types */
.mobile-damage-types {
    background: #f8fafc;
    padding: 3rem 0;
}

.mobile-damage-types .section-content {
    padding: 0 1.5rem;
    max-width: 100%;
}

.mobile-damage-types h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-damage-types p {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.damage-types {
    display: grid;
    gap: 1.5rem;
}

.damage-type {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.damage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.damage-type h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.damage-type p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left;
}

/* ==========================================================================
   UNIVERSAL MOBILE CONTRAST ENFORCEMENT - OVERRIDES ALL OTHER CSS RULES
   ========================================================================== */

/* LIGHT BACKGROUNDS - FORCE BLACK TEXT (BOTH LIGHT AND DARK MODES) */
.bg-light, .bg-warning, .bg-white, .bg-yellow, .bg-secondary {
    color: #000000 !important;
}

.bg-light *, .bg-warning *, .bg-white *, .bg-yellow *, .bg-secondary * {
    color: #000000 !important;
}

/* DARK BACKGROUNDS - FORCE WHITE TEXT (BOTH LIGHT AND DARK MODES) */
.bg-dark, .bg-black, .bg-black, .bg-black {
    color: #ffffff !important;
}

.bg-dark *, .bg-black *, .bg-black *, .bg-black * {
    color: #ffffff !important;
}

/* Override any conflicting mobile-specific rules */
@media (max-width: 768px) {
    .bg-light, .bg-warning, .bg-white, .bg-yellow, .bg-secondary {
        color: #000000 !important;
    }
    
    .bg-light *, .bg-warning *, .bg-white *, .bg-yellow *, .bg-secondary * {
        color: #000000 !important;
    }
    
    .bg-dark, .bg-black, .bg-black, .bg-black {
        color: #ffffff !important;
    }
    
    .bg-dark *, .bg-black *, .bg-black *, .bg-black * {
        color: #ffffff !important;
    }
}

/* ==========================================================================
   END UNIVERSAL CONTRAST ENFORCEMENT
   ========================================================================== */

/* Insurance Claims Process */
.mobile-claims-process {
    background: white;
    padding: 3rem 0;
}

.mobile-claims-process .section-content {
    padding: 0 1.5rem;
    max-width: 100%;
}

.mobile-claims-process h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-claims-process > .section-content > p {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.claims-steps {
    display: grid;
    gap: 2rem;
}

.claims-step {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #0A0A0A;
}

.step-number {
    background: #0A0A0A;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.claims-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.claims-step p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Why Choose Us Section */
.mobile-why-choose {
    background: #0A0A0A;
    color: white;
    padding: 3rem 0;
}

.mobile-why-choose .section-content {
    padding: 0 1.5rem;
    max-width: 100%;
}

.mobile-why-choose h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-why-choose > .section-content > p {
    text-align: center;
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.why-choose-features {
    display: grid;
    gap: 1.5rem;
}

.why-feature {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.why-feature h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-feature p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left;
}

/* === MODERN HERO SECTION STYLES === */

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 20px 60px;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
}

.hero-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffd400;
    z-index: 1;
}
.modern-hero.hero-home-yellow,
.modern-hero.hero-home-yellow .hero-background-gradient {
    background: #ffd400 !important;
    color: #0a0a0a !important;
}

.hero-background-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0A0A 50%, transparent 70%);
    background-size: 200% 200%;
    animation: shimmerEffect 25s ease infinite;
    z-index: 2;
}

.hero-background-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0A0A 0%, transparent 50%),
                #0A0A0A 0%, transparent 50%),
                #0A0A0A 0%, transparent 40%);
    animation: floatingOrbs 35s ease infinite;
    z-index: 3;
}

@keyframes fancyGradientShift {
    0% { 
        background-position: 0% 50%;
        filter: hue-rotate(0deg) saturate(1);
    }
    20% { 
        background-position: 100% 0%;
        filter: hue-rotate(72deg) saturate(1.2);
    }
    40% { 
        background-position: 100% 100%;
        filter: hue-rotate(144deg) saturate(0.8);
    }
    60% { 
        background-position: 0% 100%;
        filter: hue-rotate(216deg) saturate(1.1);
    }
    80% { 
        background-position: 50% 0%;
        filter: hue-rotate(288deg) saturate(0.9);
    }
    100% { 
        background-position: 0% 50%;
        filter: hue-rotate(360deg) saturate(1);
    }
}

@keyframes shimmerEffect {
    0% { 
        background-position: -200% 0%;
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        background-position: 200% 0%;
        opacity: 0;
    }
}

@keyframes floatingOrbs {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(30px, -20px) scale(1.2);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-20px, 15px) scale(0.9);
        opacity: 0.4;
    }
    100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
}

@keyframes textShimmer {
    0% { 
        background-position: -200% 0%;
    }
    50% { 
        background-position: 200% 0%;
    }
    100% { 
        background-position: -200% 0%;
    }
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.floating-icon-5 {
    top: 40%;
    left: 50%;
    animation-delay: 4s;
}

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

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    margin-top: 60px; /* Increased from 20px to provide proper clearance for 80px mobile header */
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-primary {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
}

.title-highlight {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 5px 0;
    color: #0a0a0a !important;
    background: none !important;
    -webkit-text-fill-color: #0a0a0a !important;
    background-clip: border-box !important;
}

.title-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 8px;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #0A0A0A, transparent);
    transition: left 0.5s;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

.action-card.emergency {
    background: #0A0A0A, rgba(220, 38, 38, 0.8));
}

.action-card.claims {
    background: #0A0A0A, rgba(5, 150, 105, 0.8));
}

.action-card.contractors {
    background: #0A0A0A, rgba(37, 99, 235, 0.8));
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    white-space: nowrap;
}

.card-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    white-space: nowrap;
}

.card-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.secondary-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.secondary-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

.hero-stats-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #0a0a0a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0a0a0a !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: #0a0a0a !important;
    background-clip: border-box !important;
    animation: none !important;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0a0a0a !important;
    text-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-trust-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    flex-shrink: 0;
}

.trust-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .modern-hero {
        padding: 120px 15px 50px;
        align-items: flex-start;
    }
    
    .hero-content-wrapper {
        margin-top: 80px; /* Additional clearance for smaller screens */
    }
    
    .title-primary {
        font-size: 1.6rem;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .hero-action-grid {
        grid-template-columns: 1fr;
    }
    
    .action-card {
        padding: 20px 18px;
    }
    
    .secondary-actions {
        flex-direction: column;
    }
    
    .hero-trust-indicators {
        gap: 15px;
    }
}

/* === INTERACTIVE SERVICES SECTION === */

.interactive-services-section {
    padding: 40px 20px;
    background: #0A0A0A;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.3rem;
    opacity: 1;
}

.service-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card-header {
    padding: 30px 25px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.large-service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.large-service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0A0A, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover .large-service-icon::before {
    transform: translateX(100%);
}

.emergency-icon {
    background: #0A0A0A;
}

.restoration-icon {
    background: #0A0A0A;
}

.claims-icon {
    background: #0A0A0A;
}

.service-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgent-badge {
    background: #ffd400;
    color: #0a0a0a;
}

.professional-badge {
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid #0a0a0a;
}

.expert-badge {
    background: #0a0a0a;
    color: #ffffff;
}

.service-card-content {
    padding: 0 25px 30px;
}

.service-card-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.service-card-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 15px;
}

.service-card-content p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.interactive-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 15px 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.8rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.service-actions {
    display: flex;
    gap: 12px;
}

.primary-action-btn {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 22px;
    background: #0A0A0A;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.primary-action-btn:hover {
    background: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.secondary-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 18px;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.secondary-action-btn:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.emergency-service .primary-action-btn {
    background: #0A0A0A;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.emergency-service .primary-action-btn:hover {
    background: #0A0A0A;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.restoration-service .primary-action-btn {
    background: #0A0A0A;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.restoration-service .primary-action-btn:hover {
    background: #0A0A0A;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .interactive-services-section {
        padding: 30px 15px;
    }
    
    .service-card-header {
        padding: 25px 20px 15px;
    }
    
    .service-card-content {
        padding: 0 20px 25px;
    }
    
    .large-service-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
    
    .interactive-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .primary-action-btn,
    .secondary-action-btn {
        flex: 1;
    }
}

/* === INTERACTIVE PHYSICAL WORK SECTION === */

.interactive-work-section {
    padding: 50px 20px;
    background: #0A0A0A;
    color: white;
}

.work-header {
    text-align: center;
    margin-bottom: 40px;
}

.work-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.work-header p {
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 30px 0;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.flow-item.active {
    opacity: 1;
}

.flow-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.flow-item span {
    font-size: 0.8rem;
    font-weight: 600;
}

.flow-connector {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.work-capabilities-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.capability-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.capability-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.capability-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.contractors-card .capability-icon {
    background: #0A0A0A;
}

.tools-card .capability-icon {
    background: #0A0A0A;
}

.protection-card .capability-icon {
    background: #0A0A0A;
}

.team-card .capability-icon {
    background: #0A0A0A;
}

.capability-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verified-badge {
    background: #0A0A0A;
    color: #92400e;
}

.professional-badge {
    background: #0A0A0A;
    color: #166534;
}

.guarantee-badge {
    background: #0A0A0A;
    color: #5b21b6;
}

.expert-badge {
    background: #0A0A0A;
    color: #b91c1c;
}

.capability-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.capability-card p {
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.capability-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.mini-feature i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.mini-feature span {
    font-size: 0.8rem;
    font-weight: 500;
}

.capability-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.capability-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

.emergency-contact {
    background: #0A0A0A !important;
    border-color: #ef4444;
}

.emergency-contact:hover {
    background: #0A0A0A !important;
}

.work-call-to-action {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-actions {
    display: flex;
    gap: 12px;
}

.cta-primary {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: #0A0A0A;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-primary:hover {
    background: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.cta-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .interactive-work-section {
        padding: 40px 15px;
    }
    
    .capability-card {
        padding: 20px 15px;
    }
    
    .capability-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .capability-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .work-call-to-action {
        padding: 25px 20px;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-connector {
        width: 2px;
        height: 20px;
        margin: 0;
    }
}

/* === INTERACTIVE DAMAGE SECTION === */

.interactive-damage-section {
    padding: 50px 20px;
    background: #0A0A0A;
}

.damage-header {
    text-align: center;
    margin-bottom: 40px;
}

.damage-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.damage-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.damage-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
}

.damage-services-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.damage-service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.damage-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.damage-card-header {
    padding: 25px 25px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.damage-service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.roof-damage .damage-service-icon {
    background: #0A0A0A;
}

.siding-damage .damage-service-icon {
    background: #0A0A0A;
}

.water-damage .damage-service-icon {
    background: #0A0A0A;
}

.debris-damage .damage-service-icon {
    background: #0A0A0A;
}

.damage-service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #0A0A0A, transparent);
    transition: left 0.6s;
}

.damage-service-card:hover .damage-service-icon::before {
    left: 100%;
}

.service-popularity {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roof-damage .service-popularity {
    background: #0A0A0A;
    color: #991b1b;
}

.siding-damage .service-popularity {
    background: #0A0A0A;
    color: #1e40af;
}

.water-damage .service-popularity {
    background: #0A0A0A;
    color: #92400e;
}

.debris-damage .service-popularity {
    background: #0A0A0A;
    color: #166534;
}

.damage-card-content {
    padding: 0 25px 30px;
}

.damage-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.damage-card-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.damage-issues {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.issue-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.issue-tag:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.issue-tag i {
    font-size: 0.9rem;
    color: #0ea5e9;
}

.issue-tag span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.service-actions-damage {
    display: flex;
    gap: 10px;
}

.damage-primary-btn {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: #0A0A0A;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.damage-primary-btn:hover {
    background: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    color: white;
}

.urgent-btn {
    background: #0A0A0A !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}

.urgent-btn:hover {
    background: #0A0A0A !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}

.damage-estimate-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 12px;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.damage-estimate-btn:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.damage-bottom-cta {
    background: #0A0A0A;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    color: white;
}

.bottom-cta-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bottom-cta-content p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 25px;
}

.bottom-cta-actions {
    display: flex;
    gap: 12px;
}

.damage-cta-primary {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: #0A0A0A;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.damage-cta-primary:hover {
    background: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    color: white;
}

.damage-cta-emergency {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 12px;
    background: #0A0A0A;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.damage-cta-emergency:hover {
    background: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .interactive-damage-section {
        padding: 40px 15px;
    }
    
    .damage-card-header {
        padding: 20px 20px 12px;
    }
    
    .damage-card-content {
        padding: 0 20px 25px;
    }
    
    .damage-service-icon {
        width: 70px;
        height: 70px;
        font-size: 2.4rem;
    }
    
    .damage-stats {
        gap: 12px;
        padding: 15px;
    }
    
    .service-actions-damage {
        flex-direction: column;
    }
    
    .bottom-cta-actions {
        flex-direction: column;
    }
    
    .damage-bottom-cta {
        padding: 30px 20px;
    }
}

/* === Homepage mobile contrast (corporate photo hero) === */
.modern-hero.hero-home .hero-badge,
.modern-hero.hero-home-yellow .hero-badge {
    background: #ffffff !important;
    border: 2px solid #0a0a0a !important;
    color: #0a0a0a !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(10, 10, 10, 0.12);
}
.modern-hero.hero-home .title-primary,
.modern-hero.hero-home .title-subtitle,
.modern-hero.hero-home .hero-description,
.modern-hero.hero-home .trust-item,
.modern-hero.hero-home .trust-text {
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.modern-hero.hero-home .title-highlight {
    color: #ffd400 !important;
    -webkit-text-fill-color: #ffd400 !important;
}
.modern-hero.hero-home .hero-badge .badge-icon,
.modern-hero.hero-home .hero-badge .badge-text {
    color: #0a0a0a !important;
}
.modern-hero.hero-home .title-primary,
.modern-hero.hero-home .title-subtitle {
    opacity: 1 !important;
}
.modern-hero.hero-home .action-card,
.modern-hero.hero-home-yellow .action-card {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border: 2px solid #0a0a0a !important;
    backdrop-filter: none !important;
}
.modern-hero.hero-home .action-card .card-content h3,
.modern-hero.hero-home .action-card .card-content p,
.modern-hero.hero-home-yellow .action-card .card-content h3,
.modern-hero.hero-home-yellow .action-card .card-content p {
    color: #0a0a0a !important;
    opacity: 1 !important;
}
.modern-hero.hero-home .secondary-btn,
.modern-hero.hero-home-yellow .secondary-btn {
    background: #ffffff !important;
    border: 2px solid #0a0a0a !important;
    color: #0a0a0a !important;
}
.modern-hero.hero-home .secondary-btn i,
.modern-hero.hero-home-yellow .secondary-btn i {
    color: #0a0a0a !important;
}
.bg-black h2.text-muted,
section.bg-black h2.text-secondary,
.mobile-section-dark h2,
.section-heading-on-dark {
    color: #ffffff !important;
}
.stat-tile.bg-warning h3,
.stat-tile.bg-warning small,
.hero-stat.bg-warning,
.yellow-stat-tile,
.yellow-stat-tile * {
    color: #0a0a0a !important;
}
.white-stat-card,
.contact-stat-card,
.hero-stat-card-white {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border: 1px solid #111 !important;
}
.white-stat-card h3,
.white-stat-card h6,
.white-stat-card p,
.contact-stat-card h3,
.contact-stat-card h6 {
    color: #0a0a0a !important;
}
.service-pill,
.category-pill,
.material-pill {
    color: #111111 !important;
    border-color: #111 !important;
}
.pill.bg-light,
.badge.bg-warning.bg-opacity-10,
.badge.bg-opacity-10.text-warning,
.badge.bg-black.bg-opacity-10 {
  background-color: #ffd400 !important;
  background-image: none !important;
  --bs-bg-opacity: 1 !important;
  color: #0a0a0a !important;
  border: 1px solid #0a0a0a !important;
}
.bg-light.text-dark h3.fw-bold.mb-1,
.bg-warning.text-dark h3.fw-bold.mb-1,
div.bg-light.rounded h3.fw-bold.mb-1 {
  color: #0a0a0a !important;
}
section[style*="background: #0A0A0A"] > .container-fluid h2.text-dark,
section[style*="background: #0A0A0A"] > .container h2.h3.fw-bold.text-dark,
section[style*="background: #0A0A0A"] > .container-fluid p.text-muted.small {
  color: #ffffff !important;
}
section[style*="background: #0A0A0A"] > .container-fluid p.text-muted.small {
  color: rgba(255, 255, 255, 0.82) !important;
}
.card[style*="background: #0A0A0A"],
.card[style*="background: #0A0A0A"] .card-body {
  background-color: #0a0a0a !important;
}
.card[style*="background: #0A0A0A"] h6.text-dark,
.card[style*="background: #0A0A0A"] .text-dark.mb-2,
.card[style*="#0A0A0A"] h6.fw-bold {
  color: #ffffff !important;
}
.card[style*="background: #0A0A0A"] i.text-black,
.card[style*="#0A0A0A"] i.text-black {
  color: #ffd400 !important;
}
.bg-warning.text-dark h3.fw-bold.mb-1,
.hero-mobile .bg-warning h3.fw-bold.mb-1 {
  color: #0a0a0a !important;
}

.badge.bg-light {
    color: #111111 !important;
}
.progress-step-circle.incomplete,
.step-circle-muted {
    background: #ffd400 !important;
    color: #0a0a0a !important;
    border: 2px solid #0a0a0a !important;
}
.rounded-circle.bg-black .step-number,
.journey-step.bg-black .step-number {
    color: #0a0a0a !important;
    background: #ffd400 !important;
}
[data-reveal],
.scroll-reveal-section {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}