* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
}

body, button, input, select, textarea {
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background-color: #006da8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 1rem 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 2.5rem;
    background-color: #006da8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar .brand {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.mobile-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger to X animation */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-links > li {
    position: relative;
    padding: 1rem 0;
}

.navbar .nav-links > li > a,
.navbar .nav-links > li > .dropdown-toggle {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.navbar .nav-links > li > a:hover,
.navbar .nav-links > li > .dropdown-toggle:hover {
    opacity: 0.85;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: default;
    user-select: none;
}

.dropdown-toggle .arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 360px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1000;
    border-top: 3px solid #0096c7;
}

/* Align right-most dropdown to prevent screen overflow */
.navbar .nav-links > li:last-child .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 240px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f0f9ff;
    color: #0077b6;
    opacity: 1;
}

/* Call-to-Action Button */
.nav-btn {
    background-color: #ff5a5f;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.95rem 1.85rem;
    border-radius: 10px;
    letter-spacing: 0.8px;
    gap: 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 90, 95, 0.45);
    transition: all 0.2s ease;
}

.nav-btn .phone-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-btn:hover .phone-icon {
    transform: rotate(15deg) scale(1.15);
}

.nav-btn:hover {
    background-color: #e04b50;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 90, 95, 0.6);
}

/* ==========================================================
   HERO SECTION STYLING
   ========================================================== */
.hero-section {
    width: 100%;
    background-color: #0f172a;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.hero-image-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 90%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 650px;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Hero Content Layer & Container (Matches Cards Alignment) */
.hero-content-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2.5rem;
    pointer-events: none;
    z-index: 10;
}

.hero-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hero-overlay-content {
    pointer-events: auto;
    max-width: 760px;
    color: #ffffff;
    line-height: normal;
}

/* Eyebrow Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.35rem;
}

.hero-pill-badge .badge-dot {
    width: 9px;
    height: 9px;
    background-color: #ff5a5f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.4), 0 0 8px rgba(255, 90, 95, 0.85);
    animation: redBeaconBlink 1.3s infinite ease-in-out;
}

@keyframes redBeaconBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.45), 0 0 9px rgba(255, 90, 95, 0.9);
    }
    50% {
        opacity: 0.25;
        transform: scale(0.85);
        box-shadow: 0 0 0 1px rgba(255, 90, 95, 0.1), 0 0 2px rgba(255, 90, 95, 0.2);
    }
}

/* Main H1 Headline */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.35rem;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

/* Subtitle P Tag */
.hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.65;
    color: #e2e8f0;
    margin-bottom: 2.25rem;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Primary CTA Buttons */
.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Button 1 (Pink/Red) */
.hero-btn-primary {
    background-color: #ff5a5f;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.1rem 2.2rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.45);
    transition: all 0.2s ease;
}

.hero-btn-primary:hover {
    background-color: #e04b50;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 90, 95, 0.6);
}

.hero-btn-primary .phone-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hero-btn-primary:hover .phone-icon {
    transform: rotate(15deg) scale(1.15);
}

/* Button 2 (Ghost/Border) */
.hero-btn-ghost {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.05rem 2rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.hero-btn-ghost:hover {
    background-color: #ffffff;
    color: #0077b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   SERVICES SECTION STYLING
   ========================================================== */
.services-section {
    background-color: #f8f9fa;
    padding: 3.75rem 2rem;
    position: relative;
    scroll-margin-top: 80px;
}

.services-container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.section-pill {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0077b6;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.65;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.service-card {
    grid-column: span 2;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.65rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    scroll-margin-top: 100px;
}

/* Center the last 2 cards in the 3-column row */
.service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 119, 182, 0.12);
    border-color: #0077b6;
}

/* ==========================================================
   SERVICES SLIDE-UP ANIMATIONS (SCROLL & CLICK TRIGGERED)
   ========================================================== */

/* Overall container slide upward */
.js-loaded .services-container {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-loaded .services-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header slide upward */
.js-loaded .services-section .section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-loaded .services-section .section-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards slide upward with depth */
.js-loaded .service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s ease, 
                border-color 0.25s ease;
    will-change: opacity, transform;
}

.js-loaded .service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Entrance Timing */
.js-loaded .services-grid .service-card:nth-child(1).is-visible { transition-delay: 0.05s; }
.js-loaded .services-grid .service-card:nth-child(2).is-visible { transition-delay: 0.14s; }
.js-loaded .services-grid .service-card:nth-child(3).is-visible { transition-delay: 0.23s; }
.js-loaded .services-grid .service-card:nth-child(4).is-visible { transition-delay: 0.32s; }
.js-loaded .services-grid .service-card:nth-child(5).is-visible { transition-delay: 0.41s; }

/* Snappy hover response once card has appeared */
.js-loaded .service-card.is-visible:hover {
    transition-delay: 0s !important;
    transition-duration: 0.22s !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 36px rgba(0, 119, 182, 0.16);
    border-color: #0077b6;
}

/* Target card pulse animation when jumped to from navigation */
@keyframes cardTargetPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.5);
        border-color: #0077b6;
    }
    40% {
        box-shadow: 0 0 0 10px rgba(0, 119, 182, 0.18);
        border-color: #0077b6;
        transform: translateY(-8px);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        border-color: #e2e8f0;
        transform: translateY(0);
    }
}

.service-card.highlight-target {
    animation: cardTargetPulse 1.4s ease;
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .js-loaded .services-container,
    .js-loaded .section-header,
    .js-loaded .service-card,
    .js-loaded .banner-container,
    .js-loaded .faq-container {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.service-icon-box {
    width: 48px;
    height: 48px;
    background-color: #e0f2fe;
    color: #0077b6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.95rem;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-icon-box {
    background-color: #0077b6;
    color: #ffffff;
    transform: scale(1.05);
}

.service-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.service-card-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0.95rem;
    flex-grow: 1;
}

.service-checklist {
    list-style: none;
    padding: 0.85rem 0 0;
    margin: 0 0 1.15rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.service-checklist li {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.service-checklist li span {
    color: #0077b6;
    font-weight: 700;
    font-size: 0.88rem;
}

/* Service Card Action Buttons Container */
.service-card-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: auto;
    width: 100%;
    align-items: stretch;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 0.55rem;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

/* Secondary Action: Read More (Navigates to dedicated service page) */
.service-card-btn-read {
    flex: 1;
    background-color: #ffffff;
    color: #0077b6;
    border: 1.5px solid #0077b6;
}

.service-card-btn-read:hover {
    background-color: #0077b6;
    color: #ffffff;
    border-color: #0077b6;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.25);
    transform: translateY(-1px);
}

/* Primary Action: Immediate Dispatch Call */
.service-card-btn-call {
    flex: 1.35;
    background-color: #f0f9ff;
    color: #0077b6;
    border: 1.5px solid #bae6fd;
}

.service-card-btn-call:hover {
    background-color: #ff5a5f;
    color: #ffffff;
    border-color: #ff5a5f;
    box-shadow: 0 4px 14px rgba(255, 90, 95, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================
   BANNER SECTION STYLING (Frosted Glass Zip Codes Panel)
   ========================================================== */
.banner-section {
    width: 100%;
    background-color: #0077b6;
    min-height: 250px;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle background accent glow */
.banner-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12) 0%, rgba(0, 119, 182, 0) 75%);
    pointer-events: none;
}

.banner-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Slide upward animation for entire banner section (matches services section) */
.js-loaded .banner-container {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-loaded .banner-section.is-visible .banner-container {
    opacity: 1;
    transform: translateY(0);
}

/* Frosted Glass Container Panel */
.zip-glass-panel {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 1.35rem 2rem 1.45rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zip-glass-header {
    text-align: center;
    margin-bottom: 1.15rem;
}

.zip-glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 0.28rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.zip-glass-pill .live-dot {
    width: 7px;
    height: 7px;
    background-color: #ff5a5f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255, 90, 95, 0.4);
}

.zip-glass-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

/* 3-column x 2-row Grid */
.zip-glass-grid {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.95rem 1.25rem;
}

/* Individual Zip Card */
.zip-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.zip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #ff5a5f;
}

.zip-pin-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #ff5a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.zip-card:hover .zip-pin-circle {
    background-color: #ff5a5f;
    color: #ffffff;
}

.zip-code {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    letter-spacing: 0.5px;
}

.zip-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.zip-area {
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.25;
    margin-top: 0.2rem;
    transition: color 0.2s ease;
}

.zip-card:hover .zip-area {
    color: #0f172a;
}

/* ==========================================================
   FAQ SECTION STYLING (ALIGNED WITH SERVICES, NO BACKGROUND)
   ========================================================== */
.faq-section {
    width: 100%;
    background-color: #f8f9fa;
    padding: 3.75rem 2rem;
    position: relative;
    scroll-margin-top: 80px;
}

.faq-container {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

/* FAQ Header */
.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.25rem;
}

.faq-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
}

/* FAQ Container Entrance Slide-Up Animation */
.js-loaded .faq-container {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-loaded .faq-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: #0077b6;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.1);
}

.faq-item.active {
    border-color: #0077b6;
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.12);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    padding: 1.35rem 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #0077b6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: #0077b6;
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 1.85rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 1.85rem 1.6rem 1.85rem;
}

.faq-answer p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.15rem;
}

/* ==========================================================
   FOOTER STYLING (NAVBAR COLOR #006da8)
   ========================================================== */
.site-footer {
    width: 100%;
    background-color: #006da8;
    color: #ffffff;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 4.5rem 2rem 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.footer-desc {
    color: #e0f2fe;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.footer-contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    margin-top: 0.25rem;
    width: 100%;
}

.footer-phone-btn {
    width: 100%;
    background-color: #ff5a5f;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-phone-btn:hover {
    background-color: #e04b50;
    transform: translateY(-2px);
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.38rem 1rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
    align-self: center;
}

.status-live-dot {
    width: 7px;
    height: 7px;
    background-color: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
}

.footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: #ff5a5f;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.footer-links li a {
    color: #e0f2fe;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #005482;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.75rem 2rem;
}

.footer-bottom-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE)
   ========================================================== */

/* Large Tablets / Small Laptops (993px - 1200px) */
@media (max-width: 1200px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar .brand {
        font-size: 20px;
    }

    .nav-right {
        gap: 1.5rem;
    }

    .navbar .nav-links {
        gap: 1.25rem;
    }

    .nav-btn {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        gap: 0.6rem;
    }

    .hero-content-layer {
        padding: 0 1.5rem;
    }
}

/* Medium Tablets (769px - 992px) */
@media (max-width: 992px) {
    .navbar {
        padding: 0.85rem 1.2rem;
    }

    .navbar .brand {
        font-size: 18px;
    }

    .nav-right {
        gap: 1rem;
    }

    .navbar .nav-links {
        gap: 0.85rem;
    }

    .navbar .nav-links > li > a,
    .navbar .nav-links > li > .dropdown-toggle {
        font-size: 0.85rem;
    }

    .dropdown-menu {
        min-width: 300px;
    }

    .nav-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.92rem;
        gap: 0.5rem;
        border-radius: 8px;
    }

    .hero-content-layer {
        padding: 0 1.2rem;
    }

    .hero-overlay-content {
        max-width: 640px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Services Tablet Adjustments */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        grid-column: auto;
    }

    .service-card:nth-child(4) {
        grid-column: auto;
    }

    .service-card:nth-child(5) {
        grid-column: 1 / span 2;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    /* Banner Tablet Adjustments */
    .banner-section {
        padding: 1.5rem 1.25rem;
    }

    .zip-glass-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .zip-glass-panel {
        padding: 1.25rem 1.25rem;
    }

    /* FAQ Tablet Adjustments */
    .faq-section {
        padding: 3.25rem 1.5rem;
    }

    .faq-main-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.15rem 1.4rem;
    }

    .faq-question-text {
        font-size: 1.02rem;
    }

    /* Footer Tablet Adjustments */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-container {
        padding: 3.5rem 1.5rem 2.5rem;
    }
}

/* Mobile & Small Tablets (768px and below) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.85rem 1.25rem;
        min-height: 70px;
    }

    .navbar.scrolled {
        padding: 0.65rem 1.25rem;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Drawer */
    .nav-right {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #006da8;
        flex-direction: column;
        align-items: stretch;
        padding: 0 1.5rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-right.active {
        max-height: 85vh;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        padding: 1.25rem 1.5rem 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .navbar .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .navbar .nav-links > li {
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .navbar .nav-links > li > a,
    .navbar .nav-links > li > .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        width: 100%;
        cursor: pointer;
    }

    /* Accordion Dropdown on Mobile */
    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 8px;
        background-color: #ffffff;
        min-width: 100%;
        margin: 0.25rem 0 1rem;
        border-top: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown.open .dropdown-toggle .arrow {
        transform: rotate(180deg);
    }

    .navbar .nav-links > li:last-child .dropdown-menu {
        min-width: 100%;
    }

    /* Mobile Responsive CALL NOW Button */
    .nav-btn {
        width: 100%;
        min-width: unset;
        margin-top: 1.25rem;
        padding: 1.15rem 1.5rem;
        font-size: 1.15rem;
        border-radius: 8px;
    }

    /* Hero Mobile Adjustments */
    .hero-image {
        height: 520px;
    }

    .hero-image-wrapper::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .hero-content-layer {
        padding: 0 1.25rem;
    }

    .hero-overlay-content {
        max-width: 100%;
    }

    .hero-pill-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-btn-primary, .hero-btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Services Mobile Adjustments */
    .services-section {
        padding: 4.5rem 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem 1.25rem;
    }

    /* Banner Mobile Adjustments */
    .banner-section {
        height: auto;
        min-height: 250px;
        padding: 1.75rem 1.25rem;
    }

    .banner-container {
        padding: 0;
        height: auto;
    }

    .zip-glass-panel {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .zip-glass-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }

    .zip-glass-title {
        font-size: 1rem;
    }

    .zip-card {
        padding: 0.65rem 0.75rem;
        gap: 0.6rem;
    }

    .zip-code {
        font-size: 0.95rem;
    }

    /* FAQ Mobile Adjustments */
    .faq-section {
        padding: 3rem 1.25rem;
    }

    .faq-header {
        margin: 0 auto 1.75rem;
    }

    .faq-main-title {
        font-size: 1.75rem;
    }

    .faq-question {
        padding: 1.1rem 1.25rem;
        gap: 0.85rem;
    }

    .faq-question-text {
        font-size: 0.96rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.35rem 1.25rem;
    }

    .faq-answer p {
        font-size: 0.92rem;
    }

    /* Footer Mobile Adjustments */
    .footer-container {
        padding: 3rem 1.25rem 2rem;
    }

    .footer-bottom {
        padding: 1.5rem 1.25rem;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}

/* Small Phones (480px and below) */
@media (max-width: 480px) {
    .navbar .brand {
        font-size: 16px;
    }

    .nav-btn {
        font-size: 1.05rem;
        padding: 1rem;
    }

    .hero-image {
        height: 480px;
    }

    .hero-content-layer {
        padding: 0 1rem;
    }

    .hero-pill-badge {
        font-size: 0.68rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.22;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.86rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .hero-btn-group {
        gap: 0.65rem;
    }

    .hero-btn-primary, .hero-btn-ghost {
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
    }

    /* Services Small Phone Adjustments */
    .services-section {
        padding: 3.5rem 1rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .service-card {
        padding: 1.35rem 1rem;
    }

    .service-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-card-actions .service-card-btn {
        width: 100%;
        padding: 0.78rem 1rem;
        font-size: 0.82rem;
    }

    /* Banner Small Phone Adjustments */
    .banner-section {
        padding: 1.5rem 0.85rem;
    }

    .zip-glass-panel {
        padding: 1.15rem 0.85rem;
    }

    .zip-glass-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .zip-glass-title {
        font-size: 0.92rem;
    }

    /* FAQ Small Phone Adjustments */
    .faq-section {
        padding: 2.75rem 1rem;
    }

    .faq-header {
        margin: 0 auto 1.5rem;
    }

    .faq-main-title {
        font-size: 1.45rem;
    }

    .faq-question {
        padding: 0.95rem 0.9rem;
    }

    .faq-question-text {
        font-size: 0.9rem;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
    }

    .faq-answer {
        padding: 0 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 0.9rem 1.15rem 0.9rem;
    }

    /* Footer Small Phone Adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        padding: 2.75rem 1rem 1.75rem;
    }

    .footer-bottom {
        padding: 1.25rem 1rem;
    }

    .footer-phone-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Footer Operator Attribution */
.footer-operator {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================
   STICKY MOBILE CALL BAR (< 1024px)
   ========================================================== */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ff5a5f;
    padding: 0.85rem 1rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.28);
}

.mobile-sticky-bar a {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    width: 100%;
}

.mobile-sticky-bar a:hover {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 1023px) {
    .mobile-sticky-bar {
        display: block;
    }

    body {
        padding-bottom: 56px;
    }
}

/* ==========================================================
   SERVICE DETAIL PAGES STYLING
   ========================================================== */
.service-detail-section {
    padding: 3.75rem 2rem;
    background-color: #f8f9fa;
}

.service-detail-container {
    max-width: 1080px;
    margin: 0 auto;
}

.service-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.service-content-main {
    display: flex;
    flex-direction: column;
}

.service-intro-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.service-intro-block h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.service-intro-block p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-intro-block p:last-child {
    margin-bottom: 0;
}

/* Emergency First-Aid / Action Alert Box */
.emergency-action-box {
    background: #fff1f2;
    border: 2px solid #fecdd3;
    border-left: 6px solid #ff5a5f;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(255, 90, 95, 0.08);
}

.emergency-action-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.emergency-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #ff5a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emergency-action-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #991b1b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.94rem;
    color: #1e293b;
    line-height: 1.5;
}

.step-num {
    background-color: #ff5a5f;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Warning Signs Box */
.warning-signs-box {
    background: #fffbeb;
    border: 2px solid #fef3c7;
    border-left: 6px solid #f59e0b;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.warning-signs-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.warning-list li {
    font-size: 0.92rem;
    color: #78350f;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.warning-list li span.warn-icon {
    color: #d97706;
    font-weight: 700;
    font-size: 1rem;
}

/* Technical Breakdown Grid */
.tech-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.tech-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.1);
    border-color: #0077b6;
}

.tech-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0077b6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.tech-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.tech-card-desc {
    font-size: 0.87rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Estimate Compliance Card */
.estimate-compliance-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0077b6;
    border-radius: 10px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 2rem;
}

.estimate-compliance-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0077b6;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.estimate-compliance-card p {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* Localized Focus Card */
.local-focus-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.local-focus-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.local-focus-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.local-focus-card p:last-child {
    margin-bottom: 0;
}

/* Sidebar Styling */
.service-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-cta-card {
    background: #0077b6;
    color: #ffffff;
    border-radius: 14px;
    padding: 1.85rem 1.5rem;
    box-shadow: 0 10px 28px rgba(0, 119, 182, 0.25);
    text-align: center;
}

.sidebar-cta-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    color: #ffffff;
}

.sidebar-cta-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.sidebar-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: #ff5a5f;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 0.95rem 1.25rem;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 4px 14px rgba(255, 90, 95, 0.4);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.sidebar-phone-btn:hover {
    background-color: #e04b50;
    transform: translateY(-2px);
    color: #ffffff;
}

.sidebar-badge-list {
    list-style: none;
    padding: 1.15rem 0 0;
    margin: 1.15rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.sidebar-badge-list li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-badge-list li span {
    color: #ff5a5f;
    font-weight: 700;
}

.sidebar-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.sidebar-nav-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.sidebar-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sidebar-nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-nav-links a:hover,
.sidebar-nav-links a.active {
    color: #0077b6;
    background-color: #f0f9ff;
    font-weight: 700;
}

/* Responsive adjustments for service pages */
@media (max-width: 900px) {
    .service-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .tech-spec-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-section {
        padding: 2.75rem 1rem;
    }

    .service-intro-block,
    .emergency-action-box,
    .warning-signs-box,
    .local-focus-card {
        padding: 1.25rem;
    }
}

/* ==========================================================
   SERVICE DETAIL PAGES SCROLL-UP ANIMATIONS (MATCHES HOME PAGE)
   ========================================================== */

/* Overall Service Detail Container slide-up */
.js-loaded .service-detail-container {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-loaded .service-detail-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Individual Content Blocks slide-up */
.js-loaded .emergency-action-box,
.js-loaded .warning-signs-box,
.js-loaded .service-intro-block,
.js-loaded .local-focus-card,
.js-loaded .estimate-compliance-card,
.js-loaded .sidebar-cta-card,
.js-loaded .sidebar-nav-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-loaded .emergency-action-box.is-visible,
.js-loaded .warning-signs-box.is-visible,
.js-loaded .service-intro-block.is-visible,
.js-loaded .local-focus-card.is-visible,
.js-loaded .estimate-compliance-card.is-visible,
.js-loaded .sidebar-cta-card.is-visible,
.js-loaded .sidebar-nav-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Technical Specification Cards Staggered Slide-Up */
.js-loaded .tech-card {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s ease, 
                border-color 0.25s ease;
    will-change: opacity, transform;
}

.js-loaded .tech-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Entrance Timing for Tech Cards */
.js-loaded .tech-spec-grid .tech-card:nth-child(1).is-visible { transition-delay: 0.05s; }
.js-loaded .tech-spec-grid .tech-card:nth-child(2).is-visible { transition-delay: 0.14s; }
.js-loaded .tech-spec-grid .tech-card:nth-child(3).is-visible { transition-delay: 0.23s; }
.js-loaded .tech-spec-grid .tech-card:nth-child(4).is-visible { transition-delay: 0.32s; }

/* Snappy hover response once card has appeared */
.js-loaded .tech-card.is-visible:hover {
    transition-delay: 0s !important;
    transition-duration: 0.22s !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 32px rgba(0, 119, 182, 0.14);
    border-color: #0077b6;
}

/* Sidebar cards stagger */
.js-loaded .sidebar-cta-card.is-visible { transition-delay: 0.1s; }
.js-loaded .sidebar-nav-card.is-visible { transition-delay: 0.2s; }

/* Target pulse animation for service boxes */
.emergency-action-box.highlight-target,
.warning-signs-box.highlight-target {
    animation: cardTargetPulse 1.4s ease;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .js-loaded .service-detail-container,
    .js-loaded .emergency-action-box,
    .js-loaded .warning-signs-box,
    .js-loaded .service-intro-block,
    .js-loaded .local-focus-card,
    .js-loaded .estimate-compliance-card,
    .js-loaded .sidebar-cta-card,
    .js-loaded .sidebar-nav-card,
    .js-loaded .tech-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
