/* =========================================
   SS Plumbing - Modern Brand Styles
   Dark Mode Premium Aesthetic
   ========================================= */

   :root {
    /* Brand Colors */
    --navy-blue: #0B192C;       /* Primary Navy */
    --navy-dark: #050B14;       /* Base Background */
    --silver: #E2E8F0;          /* Silver / Text */
    --gray: #94A3B8;            /* Muted Text */
    
    /* Trade Accents */
    --plumbing-blue: #0088FF;
    --heating-orange: #FF4400;
    --electrical-yellow: #FFC000;
    
    /* Utilities */
    --white: #FFFFFF;
    --glass-bg: rgba(11, 25, 44, 0.6);
    --glass-border: rgba(226, 232, 240, 0.1);
    
    /* Layout */
    --container-width: 1440px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Font */
    --font-primary: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    background-color: var(--navy-dark);
    color: var(--silver);
    line-height: 1.6;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(5, 12, 28, 0.88) 0%, rgba(5, 12, 28, 0.76) 25%, rgba(5, 12, 28, 0.76) 75%, rgba(5, 12, 28, 0.92) 100%), url('assets/rooftop_hvac_sunset.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -10;
    pointer-events: none;
}

.page-frame {
    max-width: 1400px;
    width: 92%;
    margin: 4rem auto;
    background: rgba(11, 35, 65, 0.18); /* decreased from 0.4 to show particles */
    backdrop-filter: blur(6px); /* decreased from 20px to let particles show through */
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(0, 136, 255, 0.15);
    border-radius: 24px;
    border: 1px solid rgba(0, 136, 255, 0.25);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .page-frame {
        width: 92%;
        margin: 2rem auto;
        border-radius: 20px;
        border: 1px solid rgba(0, 136, 255, 0.25);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(0, 136, 255, 0.15);
    }
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(0.8rem, 2.5vw, 1.15rem);
    color: var(--heating-orange);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: clamp(0.15em, 1.2vw, 0.45em);
    margin-bottom: 0.75rem;
    display: block;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

/* =========================================
   Background Glowing Orbs (Premium Effect)
   ========================================= */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: float 10s ease-in-out infinite alternate;
}

#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--plumbing-blue);
    top: -100px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--electrical-yellow);
    top: 40%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 700px;
    height: 700px;
    background: var(--heating-orange);
    bottom: -200px;
    left: 10%;
    animation-delay: -2s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    z-index: 5;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--plumbing-blue), #0056b3);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 68, 0, 0.5);
    background: linear-gradient(135deg, var(--heating-orange), #aa2200);
}

.btn-outline {
    background: transparent;
    border-color: var(--silver);
    color: var(--white);
    transition: var(--transition);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--heating-orange), #aa2200);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(255, 68, 0, 0.5);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-call {
    background: linear-gradient(135deg, var(--heating-orange), #aa2200);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 68, 0, 0.3);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 255, 0.5);
    background: linear-gradient(135deg, #0099ff, #0056b3);
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-cta {
    min-width: 180px;
    height: 46px;
    padding: 0;
}

.hero-actions .btn-primary {
    box-shadow: 0 0 25px rgba(0, 136, 255, 0.6);
}

.hero-actions .btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 136, 255, 0.8);
}

.hero-actions .btn-outline {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.hero-actions .btn-outline:hover {
    box-shadow: 0 0 35px rgba(0, 136, 255, 0.6);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

/* Header */
.top-bar {
    background: var(--heating-orange);
    color: var(--navy-dark);
    padding: 0;
    height: 36px;
    font-size: 0.9rem;
    z-index: 1000;
    position: relative;
    overflow: hidden;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
    line-height: 36px;
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding-right: 3rem;
    font-size: 0.85rem;
    color: var(--navy-dark);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 36px;
}

.ticker-item:hover {
    opacity: 0.8;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.navbar {   z-index: 1001;
    font-weight: 600;
}

.top-bar-inner {
    display: block;
    position: relative;
    height: 100%;
}

.top-bar-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content;
    max-width: 80%; /* Prevent overlapping edges on small screens */
}

.top-right-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0;
    margin-right: 1rem;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.5s;
}

.thermo-fluid {
    /* Using inset() directly dynamically cuts the top of the internal fill block. */
    clip-path: inset(var(--temp-empty-pct, 100%) 0 0 0); 
    transition: clip-path 2s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 2s ease;
}

.nav-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-right: 1.25rem;
}

.nav-socials a {
    color: var(--silver);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-socials a:hover {
    color: var(--heating-orange);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(255, 68, 0, 0.6));
}

.nav-socials i, .nav-socials svg {
    width: 18px;
    height: 18px;
}

.top-bar strong {
    font-weight: 900;
}

/* Navbar container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.brand-white {
    transition: opacity 0.3s ease;
}

.brand-orange {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo:hover .brand-white {
    opacity: 0;
}

.logo:hover .brand-orange {
    opacity: 1;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.85));
}

.brand-logo-footer {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    margin-left: 4rem;
    white-space: nowrap;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plumbing-blue);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 80vh; /* Adjusted from 85vh */
    display: flex;
    align-items: center;
    padding-top: 3.5rem; /* Reduced from 5rem */
    padding-bottom: 1.5rem; /* Reduced from 2rem */
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--silver);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-leader-container {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-leader-banner {
    height: 45px; /* Increased by 1px to 45px */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    padding: 0 1.5rem; /* Symmetric padding */
    font-size: 0.88rem;
    background: rgba(11, 25, 44, 0.75); /* Deep blue glass background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(0, 136, 255, 0.45); /* Plumbing blue glowing border */
    border-radius: 50px; /* Symmetric rounded ends */
    text-transform: uppercase;
    margin-bottom: 0;
    z-index: 1;
    position: relative;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 136, 255, 0.35);
}


.hero-leader-banner em {
    font-style: italic;
    font-weight: 700;
}

.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}


.commercial-text {
    color: var(--heating-orange);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
}

.retail-text {
    color: var(--plumbing-blue);
    font-weight: 700;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: clamp(2.2rem, 7.5vw, 5.5rem);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--white), var(--silver));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 1rem;
    max-width: 580px;
    line-height: 1.6;
    text-align: left;
}

.hero-specialties {
    font-size: 1.55rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.6;
    text-align: left;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.hero-trust-badge {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.hero-trust-badge:hover {
    transform: translateY(-2px) scale(1.05);
}


.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.08) 0%, transparent 70%);
    top: -10%; left: -10%;
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   Interactive Telemetry Dashboard
   ========================================= */
/* =========================================
   Interactive Manitoba Map & Compact Dashboard
   ========================================= */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Map Container & SVG */
.map-visual-container {
    width: 32vw;
    max-width: 530px;
    height: auto;
    aspect-ratio: 530 / 610;
    position: relative;
    margin-left: -5vw; /* Shift left to keep the van fully within the hero section */
    margin-right: 0;
    margin-top: -30px; /* moved map outline up */
    transition: all 0.5s ease;
    order: 1;
}

.interactive-manitoba-map {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
    position: relative;
    z-index: 10;
    pointer-events: none;
}

/* Glass fill & futuristic grid overlay */
.map-bg-fill {
    fill: rgba(10, 20, 45, 0.4);
    transition: fill 0.5s ease;
}

.map-grid-overlay {
    color: inherit;
    transition: color 0.5s ease;
}

.map-lake {
    stroke: currentColor;
    fill: currentColor;
    fill-opacity: 0.08;
    transition: all 0.5s ease;
}

.city-dot {
    fill: #ffffff;
    opacity: 0.55;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
    transition: all 0.5s ease;
}

.map-border-stroke {
    stroke: #ffffff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Color coordination for interactive map borders, lakes, grid, and cities */
.map-visual-container.mode-plumbing { color: var(--plumbing-blue); }
.map-visual-container.mode-heating { color: var(--heating-orange); }
.map-visual-container.mode-electrical { color: var(--electrical-yellow); }

.map-visual-container.mode-plumbing .map-border-stroke { stroke: #ffffff !important; filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.3)); }
.map-visual-container.mode-heating .map-border-stroke { stroke: #ffffff !important; filter: drop-shadow(0 0 6px rgba(255, 90, 31, 0.3)); }
.map-visual-container.mode-electrical .map-border-stroke { stroke: #ffffff !important; filter: drop-shadow(0 0 6px rgba(255, 192, 0, 0.3)); }

.map-visual-container.mode-plumbing .city-dot { fill: var(--plumbing-blue); filter: drop-shadow(0 0 4px var(--plumbing-blue)); opacity: 0.85; }
.map-visual-container.mode-heating .city-dot { fill: var(--heating-orange); filter: drop-shadow(0 0 4px var(--heating-orange)); opacity: 0.85; }
.map-visual-container.mode-electrical .city-dot { fill: var(--electrical-yellow); filter: drop-shadow(0 0 4px var(--electrical-yellow)); opacity: 0.85; }

/* HUD Icon Tags surrounding the Manitoba outline */
.hud-icon-tag {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.4);
    cursor: pointer;
    z-index: 5;
}

.hud-icon-tag.active {
    opacity: 0.9;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1.15);
}

.hud-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(11, 25, 44, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.hud-icon-circle i {
    width: 32px;
    height: 32px;
    transition: all 0.5s ease;
}

/* Plumbing tag styles (overlays top-left Northwest corner point 24.0, 10.0) */
.hud-plumbing {
    top: 3.125%;
    left: 3.92%;
}
.hud-plumbing .hud-icon-circle {
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--plumbing-blue);
}
.hud-plumbing.active .hud-icon-circle {
    border-color: var(--plumbing-blue);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.55);
    background: rgba(0, 136, 255, 0.1);
}

/* Heating tag styles (overlays Southeast jutout point 117.1, 44.4) */
.hud-heating {
    top: 30%;
    left: 95.2%;
}
.hud-heating .hud-icon-circle {
    border-color: rgba(255, 90, 31, 0.2);
}
.hud-heating .icon-bg-snow {
    stroke: #00e5ff;
    width: 26px;
    height: 26px;
    transform: translate(12px, -8px);
}
.hud-heating .icon-fg-flame {
    stroke: var(--heating-orange);
    fill: var(--heating-orange);
    width: 26px;
    height: 26px;
    transform: translate(-6px, 6px);
}
.hud-heating.active .hud-icon-circle {
    border-color: var(--heating-orange);
    box-shadow: 0 0 20px rgba(255, 90, 31, 0.55);
    background: rgba(255, 90, 31, 0.1);
}

/* Electrical tag styles (overlays bottom-left Southwest corner point 24.0, 130.0) */
.hud-electrical {
    top: 96.875%;
    left: 3.92%;
}
.hud-electrical .hud-icon-circle {
    border-color: rgba(255, 192, 0, 0.2);
    color: var(--electrical-yellow);
}
.hud-electrical.active .hud-icon-circle {
    border-color: var(--electrical-yellow);
    box-shadow: 0 0 20px rgba(255, 192, 0, 0.55);
    background: rgba(255, 192, 0, 0.1);
}

.city-dot.city-dot-minor {
    opacity: 0.35;
    fill: #ffffff;
    filter: none;
}

/* Winnipeg Marker Beacon */
.winnipeg-marker {
    color: inherit;
}

.marker-pulse-ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transform-origin: 58.8px 120.2px;
    animation: markerPulse 2.5s ease-out infinite;
}

.marker-dot {
    fill: #00ff66;
    filter: drop-shadow(0 0 4px #00ff66);
}

@keyframes markerPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* =========================================
   Operating Hours & Status Widget (Bottom Right of Map)
   ========================================= */
.map-status-widget {
    position: absolute;
    bottom: -15px;
    left: 65%; /* Starts to the right of the Manitoba outline bottom-right corner to prevent overlap */
    width: 80%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    z-index: 20;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.status-dot.green {
    background-color: #00ff66;
    box-shadow: 0 0 8px #00ff66, 0 0 16px rgba(0, 255, 102, 0.4);
    animation: statusPulseGreen 2s infinite;
}

.status-dot.red {
    background-color: #ff3b30;
    box-shadow: 0 0 8px #ff3b30, 0 0 16px rgba(255, 59, 48, 0.4);
    animation: statusPulseRed 2s infinite;
}

@keyframes statusPulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 255, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

@keyframes statusPulseRed {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-van-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.45));
    transition: all 0.5s ease;
}

/* responsive behaviors */
@media (min-width: 1201px) and (max-width: 1300px) {
    .map-visual-container {
        margin-left: -10vw; /* Shift further left on narrower desktops */
    }
    .map-status-widget {
        left: 60%;
        width: 72%; /* slightly narrower to guarantee right edge padding */
    }
}

@media (min-width: 1301px) and (max-width: 1450px) {
    .map-visual-container {
        margin-left: -7vw; /* Shift slightly left */
    }
    .map-status-widget {
        left: 63%;
        width: 76%; /* fit comfortably */
    }
}

@media (max-width: 992px) {
    .map-status-widget {
        position: relative;
        bottom: 0;
        left: 0;
        margin: 2rem auto 0;
        align-items: center;
        width: 75vw; /* Fluid scaling on mobile/tablet */
        max-width: 480px;
    }
}

/* Floating Compact Dashboard Panel (Bottom Right Corner of Map) */
.compact-dashboard {
    position: absolute;
    bottom: 10px;
    right: -105px; /* snugger to the map outline, directly beside the flat vertical border */
    width: 330px;
    height: 220px; /* taller to cleanly contain all telemetry and controls */
    background: rgba(10, 20, 45, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.85rem 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 130px 1fr;
    grid-template-rows: 24px 1fr 34px; /* explicit row limits to prevent content overflow */
    gap: 0.5rem 0.75rem;
    z-index: 10;
    box-sizing: border-box;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    order: 2;
}

/* Active Mode Borders & Shadows */
.compact-dashboard.mode-plumbing {
    border-color: rgba(0, 136, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 136, 255, 0.15);
}
.compact-dashboard.mode-heating {
    border-color: rgba(255, 68, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 68, 0, 0.15);
}
.compact-dashboard.mode-electrical {
    border-color: rgba(255, 192, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 192, 0, 0.15);
}

/* Compact Dashboard Header */
.compact-header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.35rem;
}

.compact-beacon {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00ff66;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #00ff66;
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
    70% { transform: scale(1.2); opacity: 0.9; box-shadow: 0 0 0 4px rgba(0, 255, 102, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

.compact-status {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--silver);
    letter-spacing: 0.5px;
}

.compact-power {
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

.mode-plumbing .compact-power { color: var(--plumbing-blue); text-shadow: 0 0 5px rgba(0, 136, 255, 0.5); }
.mode-heating .compact-power { color: var(--heating-orange); text-shadow: 0 0 5px rgba(255, 68, 0, 0.5); }
.mode-electrical .compact-power { color: var(--electrical-yellow); text-shadow: 0 0 5px rgba(255, 192, 0, 0.5); }

/* Mini Telemetry Screen */
.compact-screen {
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 3;
    height: 100%;
    min-height: auto;
    background: rgba(5, 10, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    overflow: hidden;
}

.compact-grid {
    --grid-line-color: rgba(255, 255, 255, 0.015);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 15px 15px;
    background-image: 
        linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s ease;
}

.mode-plumbing .compact-grid { --grid-line-color: rgba(0, 136, 255, 0.06); }
.mode-heating .compact-grid { --grid-line-color: rgba(255, 68, 0, 0.06); }
.mode-electrical .compact-grid { --grid-line-color: rgba(255, 192, 0, 0.06); }

#telemetry-wave {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

/* Metrics Readouts styling */
.compact-readouts {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    justify-content: center;
}

.compact-metric {
    flex: 1;
    background: rgba(5, 10, 20, 0.4);
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease;
}

.mode-plumbing .compact-metric { border-color: rgba(0, 136, 255, 0.1); }
.mode-heating .compact-metric { border-color: rgba(255, 68, 0, 0.1); }
.mode-electrical .compact-metric { border-color: rgba(255, 192, 0, 0.1); }

.compact-metric-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 0.1rem;
    transition: color 0.4s ease;
}

.mode-plumbing .compact-metric-label { color: rgba(0, 136, 255, 0.7); }
.mode-heating .compact-metric-label { color: rgba(255, 68, 0, 0.7); }
.mode-electrical .compact-metric-label { color: rgba(255, 192, 0, 0.7); }

.compact-metric-val {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--white);
    font-family: monospace;
}

/* Mini Selector Grid */
.compact-selectors {
    grid-column: 2;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.compact-selectors .selector-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 34px; /* lock button height */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.compact-selectors .selector-icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active buttons styling */
.mode-plumbing .selector-btn[data-trade="plumbing"] { border-color: rgba(0, 136, 255, 0.5); background: rgba(0, 136, 255, 0.08); box-shadow: 0 0 10px rgba(0, 136, 255, 0.15); }
.mode-heating .selector-btn[data-trade="heating"] { border-color: rgba(255, 68, 0, 0.5); background: rgba(255, 68, 0, 0.08); box-shadow: 0 0 10px rgba(255, 68, 0, 0.15); }
.mode-electrical .selector-btn[data-trade="electrical"] { border-color: rgba(255, 192, 0, 0.5); background: rgba(255, 192, 0, 0.08); box-shadow: 0 0 10px rgba(255, 192, 0, 0.15); }

.compact-selectors .icon-combo-mini {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compact-selectors .snow-mini {
    position: absolute;
    transform: translate(3px, -2px) scale(0.7);
    z-index: 0;
    stroke-width: 2.2px;
    transition: all 0.4s ease;
    opacity: 0.65;
}

.compact-selectors .flame-mini {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    font-size: 0.95rem;
}

.selector-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .interactive-manitoba-map,
    .hud-icon-tag {
        display: none !important;
    }
    .map-visual-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: auto;
        margin: 0;
    }
    .map-status-widget {
        position: relative;
        bottom: 0;
        left: 0;
        margin: 0 auto;
        align-items: center;
        width: 75vw;
        max-width: 480px;
    }
}








/* =========================================
   Combo Icons (Heating & Cooling)
   ========================================= */
.icon-combo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg-snow {
    position: absolute;
    transform: translate(10px, -6px); /* Shifts right and up */
    z-index: 0;
    stroke: #00e5ff;
    stroke-width: 2.5px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-fg-flame {
    position: relative;
    z-index: 1;
    fill: currentColor;
    stroke: var(--heating-orange);
    stroke-width: 2px;
    transform: translate(-4px, 4px); /* Shifts left and down */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trades-about-wrapper {
    background: linear-gradient(to bottom, var(--navy-dark) 0%, var(--navy-blue) 50%, var(--navy-dark) 100%);
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 8rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
    scroll-margin-top: 130px;
}

.service-card.plumbing {
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.75); /* increased base opacity */
    border: 1px solid rgba(0, 136, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.08);
}
.service-card.heating {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 0, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.75); /* increased base opacity */
    border: 1px solid rgba(255, 68, 0, 0.25);
    box-shadow: 0 10px 30px rgba(255, 68, 0, 0.08);
}
.service-card.electrical {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.75); /* increased base opacity */
    border: 1px solid rgba(255, 192, 0, 0.25);
    box-shadow: 0 10px 30px rgba(255, 192, 0, 0.08);
}

/* Allow physics elements to physically spiral and erupt outside the card structure */
.service-card.electrical,
.service-card.heating {
    overflow: visible;
}

.card-glow {
    display: none; /* Deactivated old single-corner glow in favor of 4-corner glows */
}

.service-card.plumbing:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        rgba(11, 35, 65, 0.85); /* increased opacity on hover */
    border-color: rgba(0, 136, 255, 0.45);
    box-shadow: 0 20px 45px rgba(0, 136, 255, 0.3);
    transform: translateY(-10px);
}
.service-card.heating:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(0, 229, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        rgba(11, 35, 65, 0.85); /* increased opacity on hover */
    border-color: rgba(255, 68, 0, 0.45);
    box-shadow: 0 20px 45px rgba(255, 68, 0, 0.3);
    transform: translateY(-10px);
}
.service-card.electrical:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        rgba(11, 35, 65, 0.85); /* increased opacity on hover */
    border-color: rgba(255, 192, 0, 0.45);
    box-shadow: 0 20px 45px rgba(255, 192, 0, 0.3);
    transform: translateY(-10px);
}

/* =========================================
   Advanced Card Interactions
   ========================================= */

/* 1. Plumbing - Liquid Wave Fill */
.service-card.plumbing::before {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    bottom: -250%; /* Mathematical boundary: Apex precisely touches the bottom 0% to start immediately! */
    left: -75%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.15) 0%, rgba(0, 68, 136, 0.25) 100%);
    border-radius: 38%;
    transition: bottom 6s linear; /* Smooth, constant 6 second climb from empty to full */
    z-index: -2;
    pointer-events: none;
}
.service-card.plumbing:hover::before {
    bottom: -30%; /* Reaches the very top, filling the entire card */
    animation: waveSpin 6s linear infinite;
}
@keyframes waveSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. Electrical - 3D Spiraling Morph Currents */
.service-card.electrical::before,
.service-card.electrical::after {
    content: '';
    position: absolute;
    /* Expanding bounds so the spiral arcs around and through the exact outer box limits */
    top: -5%; left: -5%;
    width: 110%; height: 110%;
    border: 1.5px solid transparent;
    border-radius: 40% 60% 70% 30% / 50% 30% 60% 40%;
    z-index: -1; /* Anchors the spiral physically from behind the card */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 0 6px var(--electrical-yellow)) drop-shadow(0 0 10px rgba(255, 210, 0, 0.8));
}

/* Base Spiral Loop */
.service-card.electrical::before {
    border-color: var(--electrical-yellow);
    /* Internal glow gives dimensionality to the wire */
    box-shadow: inset 0 0 8px rgba(255, 220, 0, 0.5);
}

/* Opposing Spiral Loop */
.service-card.electrical::after {
    border-color: rgba(255, 240, 0, 0.95);
    /* Irregular alternate deformation forces constant collision and jumping! */
    border-radius: 60% 40% 30% 70% / 40% 60% 50% 50%;
    border-width: 1px;
}

/* Hover Triggers: Engaging the dual-axis spin */
.service-card.electrical:hover::before {
    opacity: 1;
    animation: 2s linear infinite spiralSpin;
}
.service-card.electrical:hover::after {
    opacity: 1;
    animation: 2.8s linear infinite reverse spiralSpin;
}

@keyframes spiralSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* 3. Heating / Cooling - Interactive Graphic Ignition */

/* Graphic API: Below Freezing -> Ignite Flame! */
.service-card.heating.climate-hot:hover .icon-fg-flame {
    animation: igniteGraphic 1.5s infinite alternate ease-in-out;
    filter: drop-shadow(0 -5px 12px rgba(255, 68, 0, 0.9)) drop-shadow(0 0 20px rgba(255, 200, 0, 0.8));
    fill: var(--heating-orange);
    stroke: var(--white);
    z-index: 5;
}
.service-card.heating.climate-hot:hover .icon-bg-snow {
    opacity: 0.1; /* Melting */
    transform: translate(10px, -6px) scale(0.6);
    filter: blur(3px);
}

@keyframes igniteGraphic {
    0% { transform: translate(-4px, 4px) scale(1) rotate(0deg); }
    50% { transform: translate(-4px, 1px) scale(1.15) rotate(5deg); }
    100% { transform: translate(-4px, -2px) scale(1.3) rotate(-3deg); }
}
/* 1. Box Top Flames (Stylized Vector Fireplace - strict height limit) */
.service-card.heating.climate-hot::before {
    content: '';
    position: absolute;
    width: calc(100% - 40px); /* Stops cleanly at the physical border-radius curves */
    height: 40px; /* Capped extremely low to guarantee absolutely NO text overlap above! */
    bottom: 100%; /* Sits exactly on top of the box */
    left: 20px;
    /* Round off external hard-edges created by the tile chop using border radii and soft alpha masks! */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15px, rgba(0,0,0,1) calc(100% - 15px), rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15px, rgba(0,0,0,1) calc(100% - 15px), rgba(0,0,0,0) 100%);
    /* Repeating organic C-curve bezier strings mirroring the stylized visual reference provided */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,80,0,0.95)' d='M0 100 C 5 80 15 60 10 20 C 15 40 25 70 30 100 C 35 70 45 40 40 10 C 45 30 55 60 60 100 C 65 85 70 60 75 30 C 80 50 85 80 90 100 C 95 80 105 60 100 20 C 105 40 115 70 120 100 C 125 70 135 40 130 10 C 135 30 145 60 150 100 C 155 85 160 60 165 30 C 170 50 175 80 180 100 C 185 80 195 60 190 20 C 195 40 200 70 200 100 L 0 100 Z'/%3E%3Cpath fill='rgba(255,180,0,0.95)' d='M10 100 C 15 85 20 70 15 40 C 20 60 25 80 30 100 C 35 80 40 60 40 30 C 45 50 50 80 55 100 C 60 85 65 70 65 40 C 70 60 75 80 80 100 C 85 80 90 60 90 30 C 95 50 100 80 105 100 C 110 85 115 70 115 40 C 120 60 125 80 130 100 C 135 80 140 60 140 30 C 145 50 150 80 155 100 C 160 85 165 70 165 40 C 170 60 175 80 180 100 C 185 80 190 60 190 30 C 195 50 200 80 200 100 L 0 100 Z'/%3E%3C/svg%3E");
    background-size: 100px 100%; /* Creates a seamless repeating tiling flame pattern */
    background-repeat: repeat-x;
    background-position: left bottom;
    filter: drop-shadow(0 -2px 5px rgba(255, 100, 0, 0.4));
    z-index: -1;
    opacity: 0;
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}
.service-card.heating.climate-hot:hover::before {
    opacity: 1;
    transform: scaleY(1);
    animation: gentleLick 2.5s infinite linear;
}
@keyframes gentleLick {
    0% { transform: scaleY(1) skewX(2deg); background-position-x: 0px; }
    25% { transform: scaleY(1.1) skewX(-2deg); }
    50% { transform: scaleY(0.95) skewX(1deg); }
    75% { transform: scaleY(1.15) skewX(-1deg); }
    100% { transform: scaleY(1) skewX(2deg); background-position-x: 100px; /* Exactly one cycle of the 100px SVG pattern perfectly loops the visual panning! */ }
}

/* 2. Internal Box Ceiling Heat Glow (Subtle Ambience) */
.service-card.heating.climate-hot::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 60px; /* Reduced for a tight ceiling glow */
    top: -100px;
    left: -25%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 80, 0, 0.15) 0%, transparent 60%);
    filter: blur(20px);
    z-index: -2;
    transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.service-card.heating.climate-hot:hover::after {
    top: 0;
    animation: flickerCeiling 2s infinite alternate ease-in-out;
}
@keyframes flickerCeiling {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Realistic Window Pane Frost & Cracked Ice (Above Freezing) */
.service-card.heating.climate-cold::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    /* Frosty vignette */
    background: radial-gradient(circle at center, transparent 40%, rgba(255, 255, 255, 0.05) 70%, rgba(200, 240, 255, 0.3) 100%);
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.7), inset 0 0 15px rgba(0, 200, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card.heating.climate-cold:hover::after {
    opacity: 1;
}

/* Realistic video-based frost growth */
.frost-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen; /* keys out the black background, leaving white ice crystals */
    -webkit-mask-image: radial-gradient(circle, transparent 15%, rgba(0, 0, 0, 0.4) 45%, black 85%);
    mask-image: radial-gradient(circle, transparent 15%, rgba(0, 0, 0, 0.4) 45%, black 85%);
    transition: opacity 3.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Thaw slow when off hover */
    border-radius: inherit;
}

.service-card.heating.climate-cold:hover .frost-video {
    opacity: 0.95; 
    transition: opacity 0.5s ease-in; /* Freeze fast on hover */
}

/* Realistic video-based fire growth */
.fire-video {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 65%; /* starts at the bottom of the box */
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen; /* keys out the black background, leaving orange flames */
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.4) 75%, transparent 100%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.4) 75%, transparent 100%);
    transition: opacity 3.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* cools down slowly when off hover */
    border-radius: inherit;
}

.service-card.heating.climate-hot:hover .fire-video {
    opacity: 0.95;
    transition: opacity 1.5s ease-in-out; /* ignites slowly on hover */
}

.service-card.heating.climate-hot {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 0, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(255, 68, 0, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 68, 0, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 0, 0.18) 0%, transparent 40%),
        rgba(22, 16, 16, 0.75); /* increased base opacity */
    border-color: rgba(255, 68, 0, 0.25);
    box-shadow: 0 10px 30px rgba(255, 68, 0, 0.08);
    transition: transform 0.4s ease, border-color 1.5s ease, box-shadow 1.5s ease, background 1.5s ease;
}

.service-card.heating.climate-hot:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        rgba(35, 18, 11, 0.85) !important; /* increased hover opacity */
    border-color: rgba(255, 68, 0, 0.6) !important;
    box-shadow: 0 20px 45px rgba(255, 68, 0, 0.35), inset 0 0 20px rgba(255, 68, 0, 0.25) !important;
    transition: transform 0.4s ease, border-color 4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 4s cubic-bezier(0.25, 0.8, 0.25, 1), background 4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Set off card content visually from the white crystals */
.service-card.heating.climate-cold:hover .card-title,
.service-card.heating.climate-cold:hover .card-desc,
.service-card.heating.climate-cold:hover .card-link,
.service-card.heating.climate-cold:hover .card-icon {
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 4px 20px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.8);
}

/* Animated Frost Cracks */
.frost-cracks-svg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    border-radius: inherit;
    overflow: hidden;
    transition: opacity 3.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Thaw slow when off hover */
}

.service-card.heating.climate-cold .frost-cracks-svg path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 4.5s ease-out; /* Thaw slow when off hover */
}

.service-card.heating.climate-cold:hover .frost-cracks-svg {
    opacity: 0.25; /* lowered to let the video dominate */
    transition: opacity 0.3s ease-in; /* Freeze fast on hover */
}

.service-card.heating.climate-cold:hover .frost-cracks-svg path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 8s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* Graphic API: Above Freezing -> Crystal Frost! */
.service-card.heating.climate-cold:hover .icon-bg-snow {
    filter: drop-shadow(0 0 15px rgba(0, 200, 255, 1)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    stroke: #00e5ff;
    transform: translate(10px, -6px) scale(1.5);
    z-index: 5;
}
.service-card.heating.climate-cold:hover .icon-fg-flame {
    opacity: 0.1; /* Snuffed out */
    transform: translate(-4px, 4px) scale(0.6);
    filter: blur(3px);
    fill: transparent;
}

.card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: var(--transition);
}

.service-card.plumbing .card-icon { color: var(--plumbing-blue); }
.service-card.heating .card-icon { color: var(--heating-orange); }
.service-card.electrical .card-icon { color: var(--electrical-yellow); }

.service-card:hover .card-icon {
    background: var(--white);
    transform: scale(1.1);
}

.service-card.electrical:hover .card-icon { color: var(--navy-dark); }

/* Force sharp corners on lightning bolt icons */
.lucide-zap polygon {
    stroke-linejoin: miter !important;
    stroke-linecap: square !important;
}

.card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--gray);
    margin-bottom: 2rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.service-card.plumbing .card-link { color: var(--plumbing-blue); }
.service-card.heating .card-link { color: var(--heating-orange); }
.service-card.electrical .card-link { color: var(--electrical-yellow); }

.card-link:hover {
    gap: 1rem;
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 8rem 0;
    scroll-margin-top: 130px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(var(--silver) 2px, transparent 2px);
    background-size: 30px 30px;
}

.about-sticker {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.about-content .lead {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 600;
}

.feature-list i,
.feature-list svg {
    color: #10b981;
    stroke: #10b981;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.7));
}

/* =========================================
   Certifications
   ========================================= */
.certifications {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.certifications-container {
    position: relative;
    min-height: 480px;
    text-align: left;
}

.certifications-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 720px;
}

.cert-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.cert-title {
    font-size: 3.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    width: 100%;
    max-width: 720px;
    text-align: left;
    line-height: 1.1;
}

.cert-badges-primary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 720px;
    margin: 0;
}

.cert-badges-secondary {
    display: none !important;
}

.large-safety-shield {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.75));
    animation: shieldFloat 6s ease-in-out infinite;
    z-index: 2;
}

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

.cert-badge,
.cert-badge-sec {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--silver);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    box-sizing: border-box;
}

.cert-badge:hover,
.cert-badge-sec:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cert-badge-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(234, 179, 8, 0.1);
    border: 1.5px solid #eab308;
    color: #fef08a;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    margin: 1.5rem 0 0 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: fit-content;
}

.cert-badge-more-btn:hover {
    background: #eab308;
    color: #0c0a09;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.5);
    transform: translateY(-2px);
}

/* Modal Glassmorphism Styling */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.modal.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 6, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal-content {
    position: relative;
    background: rgba(10, 20, 45, 0.85);
    border: 1px solid rgba(234, 179, 8, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(234, 179, 8, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
    text-align: left;
}
.modal.active .modal-content {
    transform: scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 1rem; right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--silver);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close-btn:hover {
    color: #eab308;
}
.modal-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(90deg, var(--white), #fef08a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
}
.modal-section {
    margin-bottom: 1.75rem;
}
.modal-section h4 {
    font-size: 0.95rem;
    color: #eab308;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(234, 179, 8, 0.15);
    padding-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.modal-grid-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.modal-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--silver);
    text-align: center;
}
.modal-badge.core {
    border-color: rgba(234, 179, 8, 0.3);
    background: rgba(234, 179, 8, 0.05);
    color: var(--white);
}
.modal-list-bullets {
    list-style-type: none;
    padding-left: 0;
}
.modal-list-bullets li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}
.modal-list-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}


/* =========================================
   Navigation Dropdown Menu
   ========================================= */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    color: inherit;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: rgba(3, 6, 14, 0.92);
    border: none;
    border-left: 2px solid var(--heating-orange); /* sleek vertical orange indicator line instead of yellow */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 8px 8px 0;
    padding: 0.3rem 0; /* tighter padding */
    min-width: 220px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.45rem 1.25rem; /* tighter padding */
    color: var(--silver);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: none;
    text-align: left;
}

.dropdown-item:hover {
    color: var(--white);
    background: transparent; /* removed background box highlight */
    padding-left: 1.45rem; /* adjusted hover transition shift */
}

/* Trade Dropdown Hover Colors */
.dropdown-item[href="plumbing.html"]:hover {
    color: var(--plumbing-blue) !important;
}

.dropdown-item[href="heating-cooling.html"]:hover {
    color: var(--heating-orange) !important;
}

.dropdown-item[href="electrical.html"]:hover {
    color: var(--electrical-yellow) !important;
}

/* =========================================
   Internal Pages (General)
   ========================================= */
.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Pipe Timeline Flow
   ========================================= */
.pipe-section {
    padding: 2rem 0 8rem;
    position: relative;
    z-index: 10;
}

.pipe-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* The Main Vertical Pipe */
.main-pipe {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 20px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #334155 0%, #cbd5e1 30%, #94a3b8 50%, #334155 80%, #0f172a 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 0 15px rgba(0, 136, 255, 0.1);
    overflow: hidden;
}

/* Animated Water Flow */
.water-flow {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--plumbing-blue) 40%, 
        #00e6ff 50%, 
        var(--plumbing-blue) 60%, 
        transparent 100%
    );
    animation: flowDown 3s linear infinite;
    opacity: 0.8;
}

@keyframes flowDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Pipe Items Container */
.pipe-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.pipe-item:last-child {
    margin-bottom: 0;
}

/* The Joint on the Main Pipe */
.pipe-joint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, #94a3b8 0%, #334155 100%);
    border: 4px solid #1e293b;
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

/* The horizontal connector elbow pipe */
.pipe-connector {
    position: absolute;
    top: 50%;
    height: 60px;
    width: 10%; /* adjusted from 15% to stop elbows from protruding into cards */
    z-index: 1;
    transition: var(--transition);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

.pipe-item.left .pipe-connector {
    right: 50%;
    border-top: 16px solid #64748b;
    border-left: 16px solid #64748b;
    border-top-left-radius: 20px;
}

.pipe-item.right .pipe-connector {
    left: 50%;
    border-top: 16px solid #64748b;
    border-right: 16px solid #64748b;
    border-top-right-radius: 20px;
}

/* Service Cards */
.service-card-modern {
    width: 40%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    z-index: 3;
    /* Pushing it down slightly so the elbow points directly at the card icon */
    margin-top: 50px; 
}

.pipe-item.left {
    justify-content: flex-start;
}

.pipe-item.right {
    justify-content: flex-end;
}

.pipe-item.right .service-card-modern {
    text-align: right;
}

.pipe-item.right .service-card-modern .card-icon-wrap {
    margin-left: auto;
    margin-right: 0;
}

.service-card-modern .card-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 136, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card-modern .service-icon {
    color: var(--plumbing-blue);
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.service-card-modern h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card-modern p {
    color: var(--gray);
    line-height: 1.6;
}

/* Hover Effects */
.pipe-item:hover .service-card-modern {
    background: var(--navy-blue); /* fully opaque on hover */
    border-color: rgba(0, 136, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.15);
}

.pipe-item:hover .pipe-joint {
    background: var(--plumbing-blue);
    box-shadow: 0 0 15px var(--plumbing-blue);
}

.pipe-item:hover .pipe-connector {
    border-color: var(--plumbing-blue);
    filter: drop-shadow(0 0 10px rgba(0, 136, 255, 0.5));
}

.pipe-item:hover .card-icon-wrap {
    background: var(--plumbing-blue);
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.4);
}

.pipe-item:hover .service-icon {
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-pipe {
        left: 30px;
    }
    .pipe-joint {
        left: 30px;
    }
    .pipe-item {
        justify-content: flex-end;
    }
    .service-card-modern {
        width: calc(100% - 80px);
    }
    .pipe-item.right .service-card-modern {
        text-align: left;
    }
    .pipe-item.right .service-card-modern .card-icon-wrap {
        margin-left: 0;
        margin-right: auto;
    }
    .pipe-item.left .pipe-connector,
    .pipe-item.right .pipe-connector {
        left: 30px;
        width: 40px;
    }
}

/* =========================================
   PCB Flat Staggered Flow (Electrical)
   ========================================= */
.pcb-section {
    padding: 4rem 0 8rem;
    position: relative;
    z-index: 10;
    background: #061124; /* Very dark PCB blue to match general dark theme */
    overflow: hidden;
}

.pcb-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.6;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2312386e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 20h30l20 20v40l20 20h40l20-20v-50l30-30h40M0 120h40l20-20v-20l20-20h60l20 20v60l40 40M40 200v-30l30-30h60l30 30v30M160 200v-50l-20-20h-40M100 0v40l-20 20h-40l-20-20v-20'/%3E%3C/g%3E%3Cg fill='%2312386e'%3E%3Ccircle cx='30' cy='20' r='4'/%3E%3Ccircle cx='70' cy='80' r='4'/%3E%3Ccircle cx='110' cy='100' r='4'/%3E%3Ccircle cx='130' cy='50' r='4'/%3E%3Ccircle cx='40' cy='120' r='4'/%3E%3Ccircle cx='80' cy='80' r='4'/%3E%3Ccircle cx='140' cy='80' r='4'/%3E%3Ccircle cx='40' cy='170' r='4'/%3E%3Ccircle cx='130' cy='140' r='4'/%3E%3Ccircle cx='160' cy='150' r='4'/%3E%3Ccircle cx='100' cy='40' r='4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 250px 250px;
    z-index: 0;
}

.pcb-board.staggered {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 1;
}

/* Staggered Items */
.pcb-item {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.pcb-item.align-left { justify-content: flex-start; }
.pcb-item.align-right { justify-content: flex-end; }

/* Offsets for organic scattering */
.offset-1 { margin-left: 5%; }
.offset-2 { margin-right: 15%; }
.offset-3 { margin-left: 18%; }
.offset-4 { margin-right: 5%; }
.offset-5 { margin-left: 8%; }
.offset-6 { margin-right: 20%; }
.offset-7 { margin-left: 15%; }
.offset-8 { margin-right: 10%; }

/* Connectors between Card and Node */
.trace-connector {
    width: 40px;
    height: 4px;
    background: #12386e;
    position: relative;
    transition: all 0.3s ease;
}

.pcb-item.align-left .trace-connector {
    margin-left: -2px; /* overlap border */
}
.pcb-item.align-right .trace-connector {
    margin-right: -2px;
}

/* The Nodes (Circles) */
.pcb-node {
    width: 20px;
    height: 20px;
    background: #061124;
    border: 4px solid #12386e;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.pcb-item.align-left .pcb-node {
    right: -10px; /* push to end of connector */
}

.pcb-item.align-right .pcb-node {
    left: -10px;
}

/* Service Cards */
.service-card-pcb {
    background: rgba(6, 17, 36, 0.85); /* Match dark blue bg */
    border: 2px solid #12386e;
    border-radius: 8px;
    padding: 1.5rem;
    width: 350px;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.card-icon-wrap {
    min-width: 50px;
    height: 50px;
    background: rgba(18, 56, 110, 0.3);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #12386e;
    transition: all 0.3s ease;
}

.service-icon {
    color: #12386e;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.card-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ====== HOVER EFFECTS (Electric Yellow) ====== */
.pcb-item:hover .service-card-pcb {
    border-color: #FFF000;
    box-shadow: 0 10px 30px rgba(255, 240, 0, 0.15);
    background: rgba(6, 17, 36, 0.98);
    transform: translateY(-5px);
}

.pcb-item:hover .trace-connector {
    background: #FFF000;
    box-shadow: 0 0 12px #FFF000;
}

.pcb-item:hover .pcb-node {
    background: #FFF000;
    border-color: #FFF000;
    box-shadow: 0 0 20px #FFF000;
}

.pcb-item:hover .card-icon-wrap {
    background: rgba(255, 240, 0, 0.1);
    border-color: #FFF000;
    box-shadow: 0 0 15px rgba(255, 240, 0, 0.2);
}

.pcb-item:hover .service-icon {
    color: #FFF000;
    filter: drop-shadow(0 0 5px #FFF000);
}

/* Responsive */
@media (max-width: 768px) {
    .pcb-board.staggered {
        gap: 2rem;
    }
    .pcb-item {
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-direction: column;
    }
    .service-card-pcb {
        width: 100%;
        max-width: 400px;
    }
    /* Hide the connectors on mobile since they stack directly */
    .trace-connector {
        display: none;
    }
}

/* =========================================
   Trusted Brands Section
   ========================================= */
.trusted-brands {
    padding: 5rem 0;
    background: rgba(11, 25, 44, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brands-title {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.brands-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    width: 100%;
}


@media (max-width: 992px) {
    .brands-grid {
        gap: 3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .brand-link {
        flex: 0 1 auto;
        min-width: 100px;
    }
}

/* =========================================
   Contact Page
   ========================================= */
.contact-section {
    padding: 4rem 0 8rem;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Info Panel */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(11, 25, 44, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(11, 25, 44, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.emergency-card {
    background: rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(220, 38, 38, 0.3);
}

.emergency-card:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
}

.emergency-icon {
    color: var(--heating-orange);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.standard-icon {
    color: var(--plumbing-blue);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.card-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.emergency-number {
    display: inline-block;
    color: var(--heating-orange);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.standard-link {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.standard-link:hover {
    color: var(--plumbing-blue);
}

/* Form Panel */
.contact-form-panel {
    background: rgba(11, 25, 44, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    scroll-margin-top: 130px;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--silver);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--plumbing-blue);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.submit-btn {
    margin-top: 1rem;
    padding: 1.25rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    background: var(--plumbing-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
}

.submit-btn:hover {
    background: #0077ee;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.2);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 2rem;
    }
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
    padding: 6rem 0;
}

.cta-container {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.1), rgba(11, 25, 44, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--plumbing-blue), var(--electrical-yellow), var(--heating-orange));
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--silver);
    max-width: 500px;
}

.cta-btn {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.3);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #03060E;
    background-image: linear-gradient(to bottom, rgba(3, 6, 14, 0.94) 0%, rgba(3, 6, 14, 0.88) 100%), url('assets/blueprint_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0 2rem;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.65rem;
}

.footer-brand-link {
    display: block;
    height: auto;
    width: auto;
}

.footer-brand .brand-logo-footer {
    height: 115px;
    width: auto;
    object-fit: contain;
}

.footer-brand .footer-tagline {
    margin-top: 0.15rem;
    color: var(--gray);
    font-size: 0.72rem; /* Sized to fit on a single line matching the width of the badges below */
    text-transform: uppercase;
    letter-spacing: 0.08em; /* Slightly tighter letter-spacing for compactness */
    font-weight: 600;
    white-space: nowrap; /* Forces text to stay on a single line */
    text-align: center;
    line-height: 1.2;
}

.footer-badge {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-badge:hover {
    transform: translateY(-2px);
}

.bbb-badge {
    height: 42px;
}

.cor-badge {
    height: 32px;
}


.footer h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--gray);
}

.footer ul li a:hover {
    color: var(--plumbing-blue);
}

.location-label {
    color: #ff3b30; /* Premium red */
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
    display: inline-block;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-phone-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--gray);
}

.footer-phone-icon {
    width: 18px;
    height: 18px;
    color: var(--white);
    flex-shrink: 0;
}

.footer-contact p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.footer-location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-location-link:hover {
    color: #ff1a0a !important;
    text-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
}

.footer-location-link:hover .location-dot {
    filter: drop-shadow(0 0 5px rgba(255, 59, 48, 0.8));
    color: #ff3b30 !important;
}

.footer-phone-link {
    color: inherit;
    transition: all 0.3s ease;
}

.footer-phone-link:hover {
    color: var(--plumbing-blue) !important;
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.6);
}

.location-dot {
    color: #ff3b30;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--plumbing-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

/* =========================================
   Animations
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1200px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 4rem;
        text-align: center;
    }
    
    .page-hero {
        padding: 6rem 0 3rem !important;
    }
    
    .hero-subtitle {
        margin: 0 auto 1rem;
        text-align: center;
    }
    
    .hero-specialties {
        margin: 0 auto 2.5rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-leader-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 2rem;
        width: fit-content;
        max-width: 100%;
        flex-wrap: nowrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }
    
    .top-bar {
        font-size: 0.75rem !important;
        padding: 0 !important;
        height: 30px !important;
    }
    
    .ticker {
        line-height: 30px !important;
    }
    
    .ticker-item {
        font-size: 0.72rem !important;
        line-height: 30px !important;
    }
    
    .top-bar-inner {
        display: block !important;
        height: 100% !important;
        text-align: center !important;
    }
    
    .nav-links, .nav-socials, .weather-widget {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1002;
        transition: all 0.3s ease;
    }

    .mobile-toggle:hover {
        color: var(--heating-orange) !important;
        filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.8));
    }
    
    .brand-logo {
        height: 38px !important;
    }
    
    .nav-buttons {
        margin-left: auto;
        margin-right: 0.75rem;
        gap: 0.4rem;
    }
    
    .nav-cta {
        display: inline-flex !important;
        font-size: 0.62rem !important;
        padding: 0 !important;
        border-radius: 6px !important;
        white-space: nowrap;
        min-width: auto !important; /* Reset desktop fixed width */
        width: 108px !important;    /* Force equal width */
        height: 32px !important;   /* Force equal height */
        justify-content: center;
        align-items: center;
    }
    
    .nav-cta svg {
        width: 11px !important;
        height: 11px !important;
        margin-right: 4px !important;
    }

    @media (max-width: 480px) {
        .nav-buttons {
            margin-right: 0.5rem;
            gap: 0.25rem;
        }
        .nav-cta {
            font-size: 0.54rem !important;
            width: 92px !important;
            height: 28px !important;
        }
        .nav-cta svg {
            width: 9px !important;
            height: 9px !important;
            margin-right: 3px !important;
        }
    }

    /* Mobile Menu Active State */
    .navbar.mobile-menu-active {
        background: var(--navy-dark);
        height: 100vh;
        width: 100vw;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        overflow-y: auto;
        padding: 1.5rem 5% !important;
    }

    .navbar.mobile-menu-active .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 5rem;
        width: 100%;
        gap: 2rem;
        position: relative;
    }

    .navbar.mobile-menu-active .logo {
        position: absolute;
        top: 0.2rem;
        left: 0;
    }

    .navbar.mobile-menu-active .mobile-toggle {
        position: absolute;
        top: 0.5rem;
        right: 0;
        z-index: 1003;
    }

    .navbar.mobile-menu-active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-left: 0;
    }

    .navbar.mobile-menu-active .nav-link {
        font-size: 1.25rem;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    .navbar.mobile-menu-active .nav-link:hover {
        color: var(--heating-orange) !important;
        text-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
    }

    .navbar.mobile-menu-active .nav-buttons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .navbar.mobile-menu-active .nav-socials,
    .navbar.mobile-menu-active .weather-widget {
        display: flex;
    }

    .navbar.mobile-menu-active .nav-cta {
        display: flex !important;
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center;
        align-items: center;
        border-radius: 8px !important;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .map-visual-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        margin: 0 auto !important;
    }
}


/* =========================================
   Radial Layouts (Electrical & Heating)
   ========================================= */
.radial-hero {
    position: relative;
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.radial-center {
    position: relative;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.radial-center.electrical-center {
    border-color: var(--electrical-yellow);
    box-shadow: 0 0 50px rgba(255, 192, 0, 0.4), inset 0 0 20px rgba(255, 192, 0, 0.2);
    color: var(--electrical-yellow);
}

.radial-center.hvac-center {
    border-color: var(--white);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.radial-center svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 10px currentColor);
}

.spin-slow {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.radial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 5;
}

.radial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.radial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.radial-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radial-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

.visual-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.visual-card:hover img {
    transform: scale(1.05);
}

@media (min-width: 1200px) {
    .radial-hero {
        min-height: 900px;
    }
    .radial-hero .container {
        position: absolute !important;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100% !important;
        height: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .radial-grid {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
        display: block;
        pointer-events: none;
    }
    
    .radial-card {
        position: absolute;
        top: var(--desk-top);
        left: var(--desk-left);
        width: 320px;
        pointer-events: auto;
        transform: translate(-50%, -50%);
    }

    .radial-card:hover {
        transform: translate(-50%, -55%);
    }

    .visual-card {
        width: 350px;
        height: 250px;
    }
}

/* =========================================
   Brand Logo Hover Swap
   ========================================= */
.brand-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 0;
    max-width: 200px;
    height: 60px;
}

/* Scale up specific logos for optical balance as requested */
.brand-link.rheem .brand-default {
    transform: scale(1.4);
}

.brand-link.kohler .brand-default,
.brand-link.bryant .brand-default {
    transform: scale(2.0);
}

.brand-link.delta .brand-default {
    transform: scale(2.2);
}

.brand-link.rheem .brand-hover {
    transform: translate(-50%, -50%) scale(1.4);
}

.brand-link.kohler .brand-hover,
.brand-link.bryant .brand-hover {
    transform: translate(-50%, -50%) scale(2.0);
}

.brand-link.delta .brand-hover {
    transform: translate(-50%, -50%) scale(2.2);
}

.brand-link.rheem:hover .brand-hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.brand-link.kohler:hover .brand-hover,
.brand-link.bryant:hover .brand-hover {
    transform: translate(-50%, -50%) scale(2.1);
}

.brand-link.delta:hover .brand-hover {
    transform: translate(-50%, -50%) scale(2.3);
}

.brand-default {
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease, filter 0.4s ease;
    opacity: 0.7;
    z-index: 1;
}

.brand-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    height: 100%;
    width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    z-index: 2;
}

.brand-link:hover .brand-default {
    opacity: 0;
}

.brand-link:hover .brand-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 1350px) {
    .certifications-container {
        position: relative;
        min-height: auto;
    }
    
    .certifications-content {
        max-width: 100%;
        align-items: center;
    }
    
    .cert-title-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .cert-title {
        font-size: 2.2rem;
        margin: 0;
        width: auto;
        text-align: center;
        line-height: 1.2;
    }
    
    .large-safety-shield {
        position: static;
        display: block;
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }
}

/* Certifications, Section Padding & Footer Responsiveness */
@media (max-width: 768px) {
    /* Decrease section paddings on mobile */
    section,
    .services,
    .about,
    .certifications,
    .cta,
    .footer {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    
    .hero {
        padding-top: 3rem !important;
        padding-bottom: 1.5rem !important;
        min-height: auto !important;
    }
    
    .page-hero {
        padding: 4.5rem 0 2rem !important;
    }

    .certifications-container {
        display: block;
        min-height: auto;
        text-align: center;
    }
    
    .certifications-content {
        align-items: center;
    }

    .cert-title-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .cert-title {
        font-size: 1.8rem;
        margin: 0;
        width: auto;
        max-width: none;
        text-align: center;
        line-height: 1.2;
    }

    .large-safety-shield {
        position: static;
        display: block;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }

    .cert-badges-primary {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
        padding: 0 1.25rem;
        margin-bottom: 1.25rem;
    }

    /* Show only 2 columns of 3 (first 6 items) on mobile */
    .cert-badges-primary .cert-badge:nth-child(n+7) {
        display: none !important;
    }
    
    .cert-badge {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 3rem;
        line-height: 1.2;
    }

    .cert-badges-secondary {
        display: none !important;
    }

    .cert-badge-more-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(234, 179, 8, 0.1);
        border: 1.5px solid #eab308;
        color: #fef08a;
        padding: 0.75rem 2rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        margin: 1.5rem auto 0;
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .cert-badge-more-btn:hover {
        background: #eab308;
        color: #0c0a09;
        box-shadow: 0 0 25px rgba(234, 179, 8, 0.5);
        transform: translateY(-2px);
    }

    /* Mobile Dropdown styles */
    .nav-dropdown-menu {
        display: none;
        position: static;
        transform: none;
        opacity: 0;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.02);
        border: none;
        border-left: 2px solid var(--heating-orange); /* matches desktop orange indicator line */
        box-shadow: none;
        padding: 0.3rem 0;
        margin-top: 0.5rem;
        margin-left: 0.75rem;
        min-width: auto;
        transition: all 0.3s ease;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
    
    .dropdown-item {
        padding: 0.45rem 1rem;
        font-size: 1rem;
        text-align: left;
        color: var(--silver);
    }
    
    .dropdown-item:hover {
        padding-left: 1.25rem;
        background: transparent;
        color: var(--white);
    }
    
    .dropdown-icon {
        display: inline-block; /* show chevron on mobile */
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "services company"
            "contact company";
        gap: 2rem 2.5rem;
    }

    .footer-brand {
        grid-area: brand;
        margin-bottom: 1rem;
        align-items: center;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-brand .brand-logo-footer {
        margin-left: 0;
    }
    
    .footer-container > div:nth-child(2) {
        grid-area: services;
        justify-self: start;
        margin-left: 18%;
    }

    .footer-container > div:nth-child(3) {
        grid-area: company;
    }
    
    .footer-links {
        justify-self: center;
        text-align: left;
    }
    
    .footer-contact {
        grid-area: contact;
        justify-self: start;
        margin-left: 18%;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }

    .footer-contact .location-text,
    .footer-contact .footer-phone-block,
    .footer-contact .social-links {
        justify-content: flex-start;
    }

    .footer-location-link {
        white-space: normal !important;
        font-size: clamp(0.72rem, 2.2vw, 0.9rem) !important;
        align-items: flex-start !important;
        line-height: 1.4;
    }

    .footer-location-link .location-dot {
        margin-top: 3px;
    }
}

@media (max-width: 768px) {
    .desktop-text {
        display: none !important;
    }

    .mobile-text {
        display: inline !important;
    }

    .hero-leader-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-leader-banner {
        height: clamp(25px, 6.6vw, 33px); /* Increased by 1px to match proportion */
        font-size: clamp(9.5px, 2.5vw, 12px);
        padding: 0 clamp(0.8rem, 2.5vw, 1.2rem); /* Symmetric padding */
        margin-left: 0;
        border-radius: 50px; /* Symmetric rounded ends */
        border-left: 2px solid rgba(0, 136, 255, 0.45);
        display: inline-flex;
        align-items: center;
        line-height: normal;
        white-space: nowrap;
    }
    
    .hero-title {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
        margin-bottom: 0.75rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 3.2vw, 1.15rem);
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: clamp(230px, 80vw, 290px);
        padding: clamp(0.75rem, 2.2vw, 0.9rem) clamp(1.2rem, 3vw, 1.8rem);
        font-size: clamp(0.88rem, 2.6vw, 1rem);
        text-align: center;
        box-sizing: border-box;
    }
}

/* Payment Modal Glassmorphism Styling */
.payment-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.payment-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.payment-modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 6, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.payment-modal-content {
    position: relative;
    background: rgba(10, 20, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 90%;
    max-width: 440px;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 136, 255, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10006;
    text-align: center;
}
.payment-modal.active .payment-modal-content {
    transform: scale(1);
}
.payment-modal-close-btn {
    position: absolute;
    top: 1rem; right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--silver);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}
.payment-modal-close-btn:hover {
    color: var(--plumbing-blue);
}
.payment-modal-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.payment-modal-body {
    font-size: 1.05rem;
    color: var(--silver);
    line-height: 1.6;
}
.payment-modal-body strong {
    color: var(--white);
}

/* Contact Map Graphic Styles */
.map-link-container {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-map-graphic {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.map-overlay-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(10, 20, 45, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.map-link-container:hover {
    border-color: #eab308;
    box-shadow: 0 5px 15px rgba(234, 179, 8, 0.15);
}

.map-link-container:hover .contact-map-graphic {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.map-link-container:hover .map-overlay-btn {
    background: #eab308;
    color: #0c0a09;
    border-color: #eab308;
}

/* =========================================
   Simplified Trades Sections
   ========================================= */
.trades-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

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

.trade-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 2.25rem 2rem 4.5rem; /* extra bottom padding for action link spacing */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Base themed trade cards styling with 4 corner glows and higher base opacity */
.plumbing-theme .trade-card {
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 136, 255, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.70);
    border: 1px solid rgba(0, 136, 255, 0.15);
}

.trade-card.card-heating-theme {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(255, 68, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 68, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 0, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.70);
    border: 1px solid rgba(255, 68, 0, 0.15);
}

.trade-card.card-cooling-theme {
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.70);
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.electrical-theme .trade-card {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 192, 0, 0.15) 0%, transparent 40%),
        rgba(11, 25, 44, 0.70);
    border: 1px solid rgba(255, 192, 0, 0.15);
}

.card-action-link {
    position: absolute;
    bottom: 1.75rem;
    right: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.plumbing-theme .card-action-link { color: var(--plumbing-blue); }
.heating-theme .card-action-link { color: var(--heating-orange); }
.electrical-theme .card-action-link { color: var(--electrical-yellow); }

.trade-card:hover .card-action-link {
    opacity: 1;
    transform: translateX(0);
}

/* Opaque on hover + float up + brighter corner glows */
.trade-card:hover {
    transform: translateY(-8px);
}

.plumbing-theme .trade-card:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(0, 136, 255, 0.3) 0%, transparent 45%),
        var(--navy-blue) !important; /* fully opaque */
    border-color: rgba(0, 136, 255, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 136, 255, 0.2);
}

.electrical-theme .trade-card:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 192, 0, 0.3) 0%, transparent 45%),
        var(--navy-blue) !important; /* fully opaque */
    border-color: rgba(255, 192, 0, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 192, 0, 0.2);
}

.trade-card .card-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.plumbing-theme .trade-card .card-icon-wrap { background: rgba(0, 136, 255, 0.1); }
.heating-theme .trade-card .card-icon-wrap { background: rgba(255, 68, 0, 0.1); }
.electrical-theme .trade-card .card-icon-wrap { background: rgba(255, 192, 0, 0.1); }

.plumbing-theme .trade-card:hover .card-icon-wrap { background: var(--plumbing-blue); box-shadow: 0 0 15px rgba(0, 136, 255, 0.4); }
.heating-theme .trade-card:hover .card-icon-wrap { background: var(--heating-orange); box-shadow: 0 0 15px rgba(255, 68, 0, 0.4); }
.electrical-theme .trade-card:hover .card-icon-wrap { background: var(--electrical-yellow); box-shadow: 0 0 15px rgba(255, 192, 0, 0.4); }

.trade-card .service-icon {
    width: 24px;
    height: 24px;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.plumbing-theme .trade-card .service-icon { color: var(--plumbing-blue); }
.heating-theme .trade-card .service-icon { color: var(--heating-orange); }
.electrical-theme .trade-card .service-icon { color: var(--electrical-yellow); }

.trade-card:hover .service-icon {
    color: var(--white) !important;
}

.trade-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: normal;
}

.trade-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Page heading respective colors */
.color-plumbing { color: var(--plumbing-blue); }
.color-heating { color: var(--heating-orange); }
.color-electrical { color: var(--electrical-yellow); }

@media (max-width: 1024px) {
    .trades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .trades-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .trades-section {
        padding: 4rem 0;
    }
}

/* =========================================
   Individual Card Heating & Cooling Themes
   ========================================= */
.card-heating-theme:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 0, 0.3) 0%, transparent 45%),
        var(--navy-blue) !important; /* fully opaque */
    border-color: rgba(255, 68, 0, 0.35) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 68, 0, 0.2) !important;
}
.card-heating-theme .card-icon-wrap {
    background: rgba(255, 68, 0, 0.1) !important;
}
.card-heating-theme:hover .card-icon-wrap {
    background: var(--heating-orange) !important;
    box-shadow: 0 0 15px rgba(255, 68, 0, 0.4) !important;
}
.card-heating-theme .service-icon {
    color: var(--heating-orange) !important;
}
.card-heating-theme .card-action-link {
    color: var(--heating-orange) !important;
}
.card-heating-theme:hover .service-icon {
    color: var(--white) !important;
}

.card-cooling-theme:hover {
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(0, 229, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(0, 229, 255, 0.3) 0%, transparent 45%),
        var(--navy-blue) !important; /* fully opaque */
    border-color: rgba(0, 229, 255, 0.35) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.2) !important;
}
.card-cooling-theme .card-icon-wrap {
    background: rgba(0, 229, 255, 0.1) !important;
}
.card-cooling-theme:hover .card-icon-wrap {
    background: #00e5ff !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4) !important;
}
.card-cooling-theme .service-icon {
    color: #00e5ff !important;
}
.card-cooling-theme .card-action-link {
    color: #00e5ff !important;
}
.card-cooling-theme:hover .service-icon {
    color: var(--white) !important;
}

/* Dynamic Status Widget Mobile Scaling Overrides */
@media (max-width: 768px) {
    .map-status-widget {
        margin: 1.5rem auto 0;
    }
}

@media (max-width: 480px) {
    .map-status-widget {
        margin: 0.75rem auto 0;
        gap: 0.5rem;
    }
    .status-indicator {
        padding: 0.35rem 0.75rem;
    }
    .status-text {
        font-size: 0.68rem;
    }
}
