/* ==========================================================================
   COMPREHENSIVE CONTRAST FIX - roofing.tellprojectstx.com
   Date: 2026-02-23 (NUCLEAR FIX)

   ROOT CAUSE: Template base CSS sets p { color: #1E293B } which is invisible
   on dark gradient backgrounds (#0A1628). Parent color inheritance doesn't
   override explicit child declarations. This file explicitly targets EVERY
   text element inside dark sections.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --ct-bg-dark: #1f2937;
    --ct-bg-darker: #111827;
    --ct-bg-navy: #0a1628;
    --ct-accent: #0d9488;
    --ct-accent-hover: #14b8a6;
    --ct-accent-dark: #0f766e;
    --ct-accent-light: #2dd4bf;
    --ct-accent-green: #34d399;
    --ct-text-white: #ffffff;
    --ct-text-light: #f9fafb;
    --ct-text-body: #d1d5db;
    --ct-text-body-bright: #e5e7eb;
    --ct-text-muted: #9ca3af;
    --ct-text-dark: #111827;
    --ct-text-medium: #4b5563;
    --ct-border: #374151;
    --ct-border-light: #4b5563;
}

/* --------------------------------------------------------------------------
   DARK SECTION SELECTORS (used as prefix throughout)
   -------------------------------------------------------------------------- */

/* 1. ALL PARAGRAPH TEXT IN DARK SECTIONS
   This is the NUCLEAR fix. Every p, span, li, strong, em, small, label,
   blockquote, figcaption, .section-description, etc. gets light color.
   -------------------------------------------------------------------------- */
.video-hero-section p,
.video-hero-section span:not(.highlight-text):not(.badge-icon):not(.brand-name-accent),
.video-hero-section li,
.brand-statement-section p,
.brand-statement-section span:not(.brand-name-accent),
.brand-statement-section strong,
.trust-badges-section p,
.trust-badges-section span.trust-badge-label,
.what-we-do-section p,
.what-we-do-section li span,
.what-we-do-section .section-label,
.what-we-do-section .card-desc,
.what-we-do-section .skill-name,
.premium-cost-section p,
.premium-cost-section .section-description,
.premium-cost-section .section-subtitle,
.premium-cost-section span,
.premium-services-section p.section-description,
.premium-services-section > .container > p,
.premium-services-section > div > p,
.about-section-v3 p,
.about-section-v3 span,
.about-section-v3 li,
.about-section-v3 strong,
.about-section-v3 em,
.about-section-v3 small,
.about-section-v3 blockquote,
.about-section-v3 .section-description,
.what-we-offer-premium p,
.what-we-offer-premium span,
.what-we-offer-premium li,
.what-we-offer-premium .section-description,
.why-choose-ultra p,
.why-choose-ultra span,
.why-choose-ultra li,
.why-choose-ultra small,
.why-choose-ultra .section-description,
.testimonials-premium-section p,
.testimonials-premium-section .section-description,
.testimonials-premium-section span,
.partners-premium-section p,
.partners-premium-section span,
.partners-premium-section .section-description,
.motion-text-section p,
.motion-text-section span,
.features-grid-4col p,
.features-grid-4col span,
.features-grid-4col li,
.mega-cta-banner p,
.mega-cta-banner span,
.mega-cta-banner strong,
.call-to-action-premium p,
.call-to-action-premium span {
    color: #d1d5db !important;
}

/* 2. ALL HEADINGS IN DARK SECTIONS - WHITE
   -------------------------------------------------------------------------- */
.video-hero-section h1,
.video-hero-section h2,
.video-hero-section h3,
.video-hero-section h4,
.brand-statement-section h1,
.brand-statement-section h2,
.brand-statement-section h3,
.brand-statement-section h4,
.brand-statement-section h5,
.brand-statement-section h6,
.trust-badges-section h1,
.trust-badges-section h2,
.trust-badges-section h3,
.trust-badges-section h4,
.what-we-do-section h1,
.what-we-do-section h2,
.what-we-do-section h3,
.what-we-do-section h4,
.what-we-do-section .what-we-do-heading,
.what-we-do-section .card-title,
.premium-cost-section h1,
.premium-cost-section h2,
.premium-cost-section h3,
.premium-cost-section h4,
.premium-services-section h1,
.premium-services-section h2,
.premium-services-section h3,
.premium-services-section h4,
.premium-services-section .section-title,
.about-section-v3 h1,
.about-section-v3 h2,
.about-section-v3 h3,
.about-section-v3 h4,
.about-section-v3 .box-header,
.what-we-offer-premium h1,
.what-we-offer-premium h2,
.what-we-offer-premium h3,
.what-we-offer-premium h4,
.what-we-offer-premium .box-header,
.why-choose-ultra h1,
.why-choose-ultra h2,
.why-choose-ultra h3,
.why-choose-ultra h4,
.why-choose-ultra .box-header,
.testimonials-premium-section h1,
.testimonials-premium-section h2,
.testimonials-premium-section h3,
.testimonials-premium-section h4,
.testimonials-premium-section .box-header,
.partners-premium-section h1,
.partners-premium-section h2,
.partners-premium-section h3,
.partners-premium-section h4,
.partners-premium-section .box-header,
.motion-text-section h1,
.motion-text-section h2,
.motion-text-section h3,
.motion-text-section h4,
.features-grid-4col h1,
.features-grid-4col h2,
.features-grid-4col h3,
.features-grid-4col h4,
.features-grid-4col .box-header,
.mega-cta-banner h2,
.mega-cta-banner h3,
.call-to-action-premium h2,
.call-to-action-premium h3,
.mobile-workers-section h2,
.mobile-workers-section h3 {
    color: #ffffff !important;
}

/* 3. HERO SECTION SPECIFICS
   -------------------------------------------------------------------------- */
.video-hero-section .hero-subtitle {
    color: #e2e8f0 !important;
}

.video-hero-section .hero-badge span {
    color: #fbbf24 !important;
}

.video-hero-section .hero-feature span {
    color: #e5e7eb !important;
}

.video-hero-section .hero-scroll-indicator span {
    color: #9ca3af !important;
}

.hero-btn.primary,
.hero-btn.primary.btn-glow {
    color: #fff !important;
}

.hero-btn.primary:hover,
.hero-btn.primary.btn-glow:hover {
    color: #fff !important;
}

.hero-btn.secondary span {
    color: #e5e7eb !important;
}

/* 4. BRAND STATEMENT SECTION
   -------------------------------------------------------------------------- */
.brand-statement-section .brand-tagline {
    color: #0d9488 !important;
}

.brand-statement-section .brand-title {
    color: #ffffff !important;
}

.brand-statement-section .brand-name-accent {
    color: #0d9488 !important;
}

.brand-statement-section .brand-description {
    color: #d1d5db !important;
}

.brand-statement-section .brand-description strong {
    color: #f9fafb !important;
}

.brand-statement-section .brand-service-area {
    color: #9ca3af !important;
}

.brand-cta-btn.primary {
    color: #fff !important;
}

.brand-cta-btn.secondary {
    color: #0d9488 !important;
    border-color: #0d9488 !important;
}

/* 5. TRUST BADGES SECTION
   -------------------------------------------------------------------------- */
.trust-badges-section .trust-badge-number {
    color: #0d9488 !important;
}

.trust-badges-section .trust-badge-number span {
    color: #0d9488 !important;
}

.trust-badges-section .trust-badge-label {
    color: #e5e7eb !important;
}

.trust-badges-section .stars {
    color: #fbbf24 !important;
}

/* 6. WHAT WE DO SECTION
   -------------------------------------------------------------------------- */
.what-we-do-section .what-we-do-heading {
    color: #ffffff !important;
}

.what-we-do-section .what-we-do-description {
    color: #d1d5db !important;
}

.what-we-do-section .what-we-do-list li {
    color: #e5e7eb !important;
}

.what-we-do-section .what-we-do-list .list-icon {
    color: #0d9488 !important;
}

.what-we-do-section .what-we-do-list li span {
    color: #e5e7eb !important;
}

.what-we-do-section .skill-percent {
    color: #0d9488 !important;
}

.what-we-do-section .skill-name {
    color: #e5e7eb !important;
}

.what-we-do-section .section-label {
    color: #0d9488 !important;
}

.what-we-do-section .card-title {
    color: #ffffff !important;
}

.what-we-do-section .card-desc {
    color: #d1d5db !important;
}

.what-we-do-section .what-we-do-btn {
    color: #ffffff !important;
    background-color: #0d9488 !important;
    border-color: #0d9488 !important;
}

/* 7. PREMIUM COST SECTION
   -------------------------------------------------------------------------- */
.premium-cost-section .section-subtitle {
    color: #0d9488 !important;
}

.premium-cost-section .section-description {
    color: #cbd5e1 !important;
}

.premium-cost-section .section-icon svg {
    stroke: #0d9488 !important;
    color: #0d9488 !important;
}

/* Cost calculator cards - WHITE background (light cards on dark section) */
.cost-calculator-card {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

.cost-calculator-card .cost-card-title {
    color: #111827 !important;
}

.cost-calculator-card .price-label {
    color: #1e293b !important;
}

.cost-calculator-card .price-value,
.cost-calculator-card .price-unit {
    color: #0d9488 !important;
}

.cost-calculator-card .cost-card-features li {
    color: #1e293b !important;
}

.cost-calculator-card .cost-card-features li svg {
    stroke: #0d9488 !important;
}

.cost-calculator-card .cost-card-icon svg {
    stroke: #0d9488 !important;
    color: #0d9488 !important;
}

/* Cost card buttons */
body .cost-calculator-card .cost-card-btn,
a.cost-card-btn {
    background-color: #ffffff !important;
    color: #0d9488 !important;
    border: 2px solid #0d9488 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

body .cost-calculator-card .cost-card-btn:hover,
a.cost-card-btn:hover {
    background-color: #f0fdfa !important;
    color: #0f766e !important;
    border-color: #0f766e !important;
}

.cost-calculator-card .cost-card-btn svg,
a.cost-card-btn svg {
    stroke: currentColor !important;
    color: currentColor !important;
}

/* Premium cost inner flex text */
.premium-cost-inner .flex-row span {
    color: #d1d5db !important;
}

/* 8. PREMIUM SERVICES SECTION
   -------------------------------------------------------------------------- */
.premium-services-section .section-subtitle {
    color: #0d9488 !important;
}

.premium-services-section .section-title {
    color: #ffffff !important;
}

.premium-services-section .section-description {
    color: #cbd5e1 !important;
}

.premium-services-section .premium-service-card h4 {
    color: #ffffff !important;
}

.premium-services-section .premium-service-card p {
    color: #d1d5db !important;
}

.premium-services-section .premium-service-card a.more {
    color: #34d399 !important;
    font-weight: 600 !important;
}

.premium-services-section .premium-service-card a.more:hover {
    color: #6ee7b7 !important;
}

.premium-services-section .section-divider span {
    color: #374151 !important;
}

/* View All Services button */
.premium-services-section .more,
.premium-services-section a.more {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

/* 9. ABOUT SECTION V3
   -------------------------------------------------------------------------- */
.about-section-v3 p {
    color: #cbd5e1 !important;
}

.about-section-v3 strong {
    color: #f9fafb !important;
}

.about-section-v3 .row.full-width.page-margin-top-section .column p {
    color: #cbd5e1 !important;
}

/* 10. CTA SECTIONS (various call-to-action areas)
   -------------------------------------------------------------------------- */
.call-to-action-premium p {
    color: #d1d5db !important;
}

.call-to-action-premium h2,
.call-to-action-premium h3 {
    color: #ffffff !important;
}

/* CTA bars with teal/gradient backgrounds */
div[style*="linear-gradient"][style*="#0d9488"] .text-white,
div[style*="linear-gradient"][style*="#0d9488"] h2,
div[style*="linear-gradient"][style*="#0d9488"] h3,
div[style*="linear-gradient"][style*="#0d9488"] p {
    color: #0a1628 !important;
}

/* 11. WHAT WE OFFER PREMIUM SECTION
   -------------------------------------------------------------------------- */
.what-we-offer-premium p {
    color: #cbd5e1 !important;
}

.what-we-offer-premium .section-description {
    color: #cbd5e1 !important;
}

.what-we-offer-premium span {
    color: #d1d5db !important;
}

.what-we-offer-premium li {
    color: #d1d5db !important;
}

/* Tab navigation in offer section */
.what-we-offer-premium .tab-nav a,
.what-we-offer-premium .tabs a,
.what-we-offer-premium .offer-tab-btn {
    color: #9ca3af !important;
}

.what-we-offer-premium .tab-nav a.active,
.what-we-offer-premium .tabs a.active,
.what-we-offer-premium .offer-tab-btn.active {
    color: #0d9488 !important;
}

/* Offer panels (Services, Process, Guarantee, FAQ) */
.what-we-offer-premium .offer-panel p,
.what-we-offer-premium .offer-panel span,
.what-we-offer-premium .offer-panel li {
    color: #cbd5e1 !important;
}

.what-we-offer-premium .offer-panel h3,
.what-we-offer-premium .panel-title {
    color: #ffffff !important;
}

/* Guarantee items */
.what-we-offer-premium .guarantee-text h4,
.what-we-offer-premium .guarantee-item h4 {
    color: #ffffff !important;
}

.what-we-offer-premium .guarantee-text p,
.what-we-offer-premium .guarantee-item p {
    color: #cbd5e1 !important;
}

/* Timeline / process items */
.what-we-offer-premium .timeline-content p,
.what-we-offer-premium .process-step p {
    color: #cbd5e1 !important;
}

.what-we-offer-premium .timeline-content h4,
.what-we-offer-premium .process-step h4 {
    color: #ffffff !important;
}

/* 12. WHY CHOOSE ULTRA SECTION
   -------------------------------------------------------------------------- */
.why-choose-ultra p {
    color: #cbd5e1 !important;
}

.why-choose-ultra span {
    color: #d1d5db !important;
}

.why-choose-ultra small {
    color: #9ca3af !important;
}

.why-choose-ultra li {
    color: #d1d5db !important;
}

.why-choose-ultra .section-description {
    color: #cbd5e1 !important;
}

/* Feature cards in why-choose */
.why-choose-ultra .feature-card p,
.why-choose-ultra [class*="card"] p {
    color: #cbd5e1 !important;
}

.why-choose-ultra .feature-card h3,
.why-choose-ultra [class*="card"] h3 {
    color: #ffffff !important;
}

/* 12b. MEGA CTA BANNER ("NO UNHAPPY CUSTOMERS")
   -------------------------------------------------------------------------- */
.mega-cta-banner h2,
.mega-cta-banner h3 {
    color: #ffffff !important;
}

.mega-cta-banner p,
.mega-cta-banner span,
.mega-cta-banner strong {
    color: #d1d5db !important;
}

.mega-cta-banner .urgency-text {
    color: #fbbf24 !important;
}

.mega-cta-banner .mega-cta-note {
    color: #9ca3af !important;
}

.mega-cta-banner .seal-percent {
    color: #0d9488 !important;
}

.mega-cta-banner .seal-text {
    color: #ffffff !important;
}

/* 13. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-premium-section .section-description {
    color: #cbd5e1 !important;
}

.testimonials-premium-section .testimonial-card-premium .author-name {
    color: #ffffff !important;
}

.testimonials-premium-section .testimonial-card-premium .author-position {
    color: #9ca3af !important;
}

.testimonials-premium-section .testimonial-card-premium blockquote {
    color: #d1d5db !important;
}

.testimonials-premium-section p {
    color: #cbd5e1 !important;
}

.testimonials-premium-section span {
    color: #d1d5db !important;
}

/* Google reviews link */
.testimonials-premium-section a {
    color: #34d399 !important;
}

/* 14. PARTNERS SECTION
   -------------------------------------------------------------------------- */
.partners-premium-section {
    overflow-x: hidden;
}

.partners-premium-section h2 {
    color: #ffffff !important;
}

.partners-premium-section p {
    color: #cbd5e1 !important;
}

.partners-premium-section .section-description {
    color: #cbd5e1 !important;
}

.partners-premium-section span {
    color: #d1d5db !important;
}

/* 15. SERVICE AREA SECTION
   SPECIAL: Has light inner background (#F8F8F8) - needs DARK text
   -------------------------------------------------------------------------- */
.service-area-section {
    background-color: #f8f8f8 !important;
}

.service-area-section h2 {
    color: #111827 !important;
}

.service-area-section p {
    color: #1e293b !important;
}

.service-area-section .section-label {
    color: #0d9488 !important;
}

.service-area-section span {
    color: #1e293b !important;
}

/* Service area bg overlay - keep dark for map area */
.service-area-bg {
    background-color: #0f172a !important;
}

.service-area-bg h2,
.service-area-bg h3 {
    color: #ffffff !important;
}

.service-area-bg p {
    color: #d1d5db !important;
}

.service-area-bg a {
    color: #0d9488 !important;
}

/* City tag links */
.service-area-section .city-tag,
.service-area-section a[class*="city"],
.service-area-section a[class*="tag"] {
    color: #0d9488 !important;
}

/* 16. FOOTER
   -------------------------------------------------------------------------- */
.footer-main {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
}

.footer-main h2,
.footer-main h3,
.footer-main h4,
footer h2,
footer h3,
footer h4,
.footer-column h2 {
    color: #f9fafb !important;
}

.footer-main p {
    color: #9ca3af !important;
}

.footer-main span {
    color: #9ca3af !important;
}

.footer-heading {
    color: #f9fafb !important;
    border-bottom-color: #0d9488 !important;
}

.footer-links a {
    color: #d1d5db !important;
}

.footer-links a:hover {
    color: #2dd4bf !important;
    padding-left: 5px !important;
}

.footer-brand p {
    color: #9ca3af !important;
}

.footer-main a {
    color: #0d9488 !important;
}

.footer-main a:hover {
    color: #2dd4bf !important;
}

/* Footer bottom bar */
.footer-bottom,
.footer-bottom p,
.footer-bottom span,
.footer-bottom a {
    color: #6b7280 !important;
}

/* 17. CONTACT BAR (teal background - needs DARK text)
   -------------------------------------------------------------------------- */
a[href^="tel"] strong,
a[href^="tel"] small {
    color: #022c22 !important;
    text-shadow: none !important;
}
/* Override: mobile nav phone must be WHITE on dark background */
.mobile-nav-v2-contact div strong {
    color: #fff !important;
    text-shadow: none !important;
}

.icon-location + div strong,
.icon-location + div small,
.icon-mail + div strong,
.icon-mail + div small {
    color: #022c22 !important;
    text-shadow: none !important;
}

/* 18. WHY CHOOSE PILLARS (LIGHT section - needs DARK text)
   -------------------------------------------------------------------------- */
.why-choose-pillars {
    background-color: #f8fafc !important;
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.pillars-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.pillars-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.pillars-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    padding: 8px 24px !important;
    border-radius: 50px !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
}

.pillars-title {
    color: #111827 !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.pillars-title .teal-accent {
    color: #0d9488 !important;
}

/* 4-column grid layout */
.pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
}

/* Individual pillar cards */
.pillar-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 36px 24px 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.pillar-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 36px rgba(13, 148, 136, 0.12) !important;
}

/* Icon circle */
.pillar-icon-wrap {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(13, 148, 136, 0.15) !important;
}

.pillar-icon-wrap svg {
    width: 40px !important;
    height: 40px !important;
}

/* Pillar title */
.pillar-card .pillar-title {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    margin: 0 0 8px !important;
    text-transform: uppercase !important;
}

/* Stat badge */
.pillar-stat {
    display: inline-block !important;
    color: #0d9488 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    background: rgba(13, 148, 136, 0.08) !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
}

/* Description text */
.pillar-desc {
    color: #374151 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Tablet: 2x2 grid */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .why-choose-pillars {
        padding: 60px 0 !important;
    }
    .pillars-title {
        font-size: 32px !important;
    }
}

/* Mobile: single column */
@media (max-width: 640px) {
    .pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .why-choose-pillars {
        padding: 50px 0 !important;
    }
    .pillars-title {
        font-size: 26px !important;
    }
    .pillar-card {
        padding: 28px 20px 24px !important;
    }
    .pillar-icon-wrap {
        width: 64px !important;
        height: 64px !important;
    }
    .pillar-icon-wrap svg {
        width: 32px !important;
        height: 32px !important;
    }
}

/* 19. KNOWLEDGE CENTER (LIGHT section - needs DARK text)
   -------------------------------------------------------------------------- */
.knowledge-center-section h2,
[class*="knowledge-center"] h2 {
    color: #111827 !important;
}

.knowledge-center-section p,
[class*="knowledge-center"] p {
    color: #1e293b !important;
}

.knowledge-center-section a,
[class*="knowledge-center"] a {
    color: #0d9488 !important;
}

/* 20. MOBILE WORKERS / CTA SECTIONS
   -------------------------------------------------------------------------- */
.mobile-workers-section h2,
.mobile-workers-section h3 {
    color: #ffffff !important;
}

.mobile-workers-section p {
    color: #cbd5e1 !important;
}

.mobile-workers-section span {
    color: #d1d5db !important;
}

/* 21. LIGHT SECTION TEXT OVERRIDES
   Ensures DARK readable text on all light/white background sections.
   NO generic catchall - only specific light sections targeted.
   -------------------------------------------------------------------------- */

/* Pillars section (light bg #f8fafc) */
.why-choose-pillars p,
.why-choose-pillars span,
.why-choose-pillars li {
    color: #1e293b !important;
}

.why-choose-pillars h2,
.why-choose-pillars h3 {
    color: #111827 !important;
}

/* Service area section (light bg #f8f8f8) */
.service-area-section p,
.service-area-section span,
.service-area-section li {
    color: #1e293b !important;
}

/* Cost calculator cards (white bg cards inside dark section) */
.cost-calculator-card p,
.cost-calculator-card span,
.cost-calculator-card li {
    color: #1e293b !important;
}

.cost-calculator-card .cost-card-title {
    color: #111827 !important;
}

.cost-calculator-card .price-value,
.cost-calculator-card .price-unit {
    color: #0d9488 !important;
}

.cost-calculator-card .price-label {
    color: #1e293b !important;
}

/* Template standard light sections */
.row.light p, .row.white p,
.row.light span, .row.white span,
.row.light li, .row.white li {
    color: #1e293b !important;
}

.row.light h1, .row.light h2, .row.light h3,
.row.light h4, .row.light h5, .row.light h6,
.row.white h1, .row.white h2, .row.white h3,
.row.white h4, .row.white h5, .row.white h6 {
    color: #111827 !important;
}

/* Customer Reviews Section (white bg) */
#reviews-section h2.box-header {
    color: #111827 !important;
}

#reviews-section p,
#reviews-section p.description {
    color: #1e293b !important;
}

#reviews-section span {
    color: #1e293b !important;
}

/* 22. BUTTONS - Ensure visible text on all buttons
   -------------------------------------------------------------------------- */
.more,
a.more,
button.more,
input[type="submit"] {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

.more:hover,
a.more:hover,
button.more:hover,
input[type="submit"]:hover {
    color: #ffffff !important;
    background-color: #0f766e !important;
}

/* Outline style buttons */
.more.style-2,
a.more.style-2 {
    color: #0d9488 !important;
    background-color: transparent !important;
    border-color: #0d9488 !important;
}

.more.style-2:hover,
a.more.style-2:hover {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

/* Premium CTA button - white text on teal gradient */
.premium-cta-button,
.premium-cta-button span,
a.premium-cta-button {
    color: #ffffff !important;
}

.premium-cta-button:hover,
a.premium-cta-button:hover {
    color: #ffffff !important;
}

/* Knowledge Center links - teal on white cards */
.knowledge-center-section a {
    color: #0f766e !important;
}

.knowledge-center-section a:hover {
    color: #0d9488 !important;
}

/* 23. SECTION LABEL / SUBTITLE ACCENTS
   -------------------------------------------------------------------------- */
.section-label {
    color: #0d9488 !important;
}

.section-subtitle {
    color: #0d9488 !important;
}

.section-divider span {
    color: #374151 !important;
}

/* 24. SVG ICONS IN DARK SECTIONS
   -------------------------------------------------------------------------- */
.what-we-do-section .list-icon {
    color: #0d9488 !important;
}

.icon-3d path,
.icon-3d circle {
    fill: currentColor !important;
    opacity: 1 !important;
}

/* Trust badge icons stay teal */
.trust-badge-icon path,
.trust-badge-icon circle,
.trust-badge-icon line,
.trust-badge-icon rect {
    opacity: 1 !important;
}

/* 25. LINKS IN DARK SECTIONS
   -------------------------------------------------------------------------- */
.about-section-v3 a:not(.more):not(.btn),
.what-we-do-section a:not(.more):not(.btn):not(.what-we-do-btn),
.why-choose-ultra a:not(.more):not(.btn),
.testimonials-premium-section a:not(.more):not(.btn),
.what-we-offer-premium a:not(.more):not(.btn) {
    color: #2dd4bf !important;
}

.about-section-v3 a:not(.more):not(.btn):hover,
.what-we-do-section a:not(.more):not(.btn):not(.what-we-do-btn):hover,
.why-choose-ultra a:not(.more):not(.btn):hover,
.testimonials-premium-section a:not(.more):not(.btn):hover,
.what-we-offer-premium a:not(.more):not(.btn):hover {
    color: #5eead4 !important;
}

/* 26. FLOATING ACTION BUTTONS - Fix overlap
   btn-top goes BELOW btn-form, and collapses when hidden so it
   does not push the contact button up.
   -------------------------------------------------------------------------- */
.floating-action-buttons {
    flex-direction: column !important;
    align-items: flex-end !important;
}

/* Contact form button stays on top (closer to thumb on mobile) */
.floating-btn.btn-form {
    order: 1 !important;
}

/* Go To Top collapses when hidden - no layout space */
.floating-btn.btn-top {
    order: 2 !important;
    max-height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

/* When visible, restore full size */
.floating-btn.btn-top.visible {
    max-height: 60px !important;
    width: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .floating-btn.btn-top.visible {
        max-height: 50px !important;
        width: 50px !important;
    }
}

@media (max-width: 480px) {
    .floating-btn.btn-top.visible {
        max-height: 45px !important;
        width: 45px !important;
    }
}

/* ==========================================================================
   27. HEADER V2 & MOBILE NAVIGATION - Font color overrides
   Fixes: global `a { color: #0d9488 !important }` from typography-fixes.css
   overrides header-v2.css custom property colors (no !important).
   ========================================================================== */

/* Desktop nav links - white on dark header */
.header-v2-nav > a,
.header-v2-nav > .nav-dropdown > a {
    color: rgba(255, 255, 255, 0.95) !important;
}

.header-v2-nav > a:hover,
.header-v2-nav > a.active,
.header-v2-nav > .nav-dropdown:hover > a {
    color: #0d9488 !important;
}

/* Desktop dropdown menu links */
.header-v2-nav .dropdown-menu a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.header-v2-nav .dropdown-menu a:hover {
    color: #0d9488 !important;
}

/* Desktop "Free Estimate" CTA button - dark text on teal bg */
.header-v2-btn,
a.header-v2-btn,
.header-v2-cta a.header-v2-btn {
    color: #0a1628 !important;
    background-color: #0d9488 !important;
}

.header-v2-btn:hover,
a.header-v2-btn:hover,
.header-v2-cta a.header-v2-btn:hover {
    color: #0a1628 !important;
    background-color: #0f766e !important;
}

/* Mega menu links */
.mega-menu-links a,
a.mega-link {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mega-menu-links a:hover,
a.mega-link:hover {
    color: #0d9488 !important;
}

.mega-menu-view-all,
a.mega-menu-view-all {
    color: #0d9488 !important;
}

.mega-cta-phone {
    color: #fff !important;
}

.mega-cta-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mega-cta-btn,
a.mega-cta-btn {
    color: #0a1628 !important;
    background-color: #0d9488 !important;
}

/* --- Mobile Navigation Panel --- */

/* Mobile nav links - white on dark panel */
.mobile-nav-v2-links > li > a {
    color: rgba(255, 255, 255, 0.95) !important;
}

.mobile-nav-v2-links > li > a:hover {
    color: #0d9488 !important;
}

/* Mobile nav link SVG icons */
.mobile-nav-v2-links > li > a svg {
    color: #0d9488 !important;
}

/* Mobile submenu links */
.mobile-nav-v2-links .mobile-submenu a {
    color: rgba(255, 255, 255, 0.6) !important;
}

.mobile-nav-v2-links .mobile-submenu a:hover {
    color: #0d9488 !important;
}

/* Mobile accordion toggle buttons */
.mobile-accordion-toggle {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile accordion content links */
.mobile-accordion-content a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mobile-accordion-content a:hover {
    color: #0d9488 !important;
}

/* Mobile contact/phone section */
.mobile-nav-v2-contact a {
    color: rgba(255, 255, 255, 0.95) !important;
}

.mobile-nav-v2-contact span {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mobile-nav-v2-contact strong {
    color: #fff !important;
}

/* Mobile CTA button - dark text on teal bg */
.mobile-nav-v2-cta a,
a.mobile-nav-v2-btn,
.mobile-nav-v2-cta a.mobile-nav-v2-btn {
    color: #0a1628 !important;
    background-color: #0d9488 !important;
}

.mobile-nav-v2-cta a:hover,
a.mobile-nav-v2-btn:hover {
    color: #0a1628 !important;
    background-color: #0f766e !important;
}

/* Mobile hours text */
.mobile-nav-v2-hours,
.mobile-nav-v2-hours span {
    color: rgba(255, 255, 255, 0.5) !important;
}

.mobile-nav-v2-hours svg {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Mobile close button */
.mobile-nav-v2-close {
    color: #fff !important;
}

/* Header logo link - no color override */
.header-v2-logo a,
.header-v2-logo a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* ==========================================================================
   28. SERVICE PAGE HERO (DARK background - needs WHITE text)
   Individual service detail pages use .service-hero class on dark gradient.
   Template base CSS overrides inherited color: #fff on child elements.
   ========================================================================== */
.service-hero,
.service-hero p,
.service-hero span,
.service-hero strong,
.service-hero em,
.service-hero small,
.service-hero li,
.service-hero label,
.service-hero div {
    color: #ffffff !important;
}

.service-hero h1,
.service-hero h2,
.service-hero h3,
.service-hero h4 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.service-hero .service-hero-subtitle {
    color: #d1d5db !important;
}

.service-hero .hero-badge {
    color: #e5e7eb !important;
}

.service-hero .hero-badge-icon {
    color: #14b8a6 !important;
}

/* Phone links inside service hero must be WHITE, not dark #022c22 */
.service-hero a[href^="tel"],
.service-hero a[href^="tel"] strong,
.service-hero a[href^="tel"] small,
.service-hero a[href^="tel"] span {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* CTA buttons in hero */
.service-hero .cta-button {
    color: #ffffff !important;
}

.service-hero .cta-button-secondary {
    color: #111827 !important;
    background: #ffffff !important;
}

.service-hero .cta-button-secondary:hover {
    color: #ffffff !important;
    background: #0d9488 !important;
}

/* ==========================================================================
   29. SERVICE PAGE CTA SECTION (teal gradient - needs WHITE text)
   ========================================================================== */
.cta-section,
.cta-section p,
.cta-section span,
.cta-section strong,
.cta-section em,
.cta-section small,
.cta-section div {
    color: #ffffff !important;
}

.cta-section h2,
.cta-section h3 {
    color: #ffffff !important;
}

.cta-section a[href^="tel"],
.cta-section a[href^="tel"] strong,
.cta-section a[href^="tel"] small {
    color: #ffffff !important;
}

/* ==========================================================================
   30. SERVICE PAGE DARK SECTIONS (.section-dark)
   ========================================================================== */
.section-dark,
.section-dark p,
.section-dark span,
.section-dark strong,
.section-dark em,
.section-dark small,
.section-dark li,
.section-dark div:not(.step-number) {
    color: #d1d5db !important;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #f9fafb !important;
}

.section-dark .benefit-card h3 {
    color: #f9fafb !important;
}

.section-dark .benefit-card p {
    color: #d1d5db !important;
}

.section-dark a[href^="tel"],
.section-dark a[href^="tel"] strong,
.section-dark a[href^="tel"] small {
    color: #ffffff !important;
}

/* ==========================================================================
   31. LOCATION PAGE HERO (dark overlay video/image background - WHITE text)
   Location pages use .location-hero-section with dark gradient overlay.
   ========================================================================== */
.location-hero-section,
.location-hero-section p,
.location-hero-section span,
.location-hero-section strong,
.location-hero-section em,
.location-hero-section small,
.location-hero-section li,
.location-hero-section label,
.location-hero-section div {
    color: #ffffff !important;
}

.location-hero-section h1,
.location-hero-section h2,
.location-hero-section h3,
.location-hero-section h4,
.location-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.location-hero-subtitle {
    color: #d1d5db !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Breadcrumb in hero */
.location-hero-section .breadcrumb,
.location-hero-section .breadcrumb a,
.location-hero-section .breadcrumb span,
.location-hero-section .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.8) !important;
}

.location-hero-section .breadcrumb a:hover {
    color: #ffffff !important;
}

/* Stats bar in hero */
.hero-stats-bar,
.hero-stats-bar .hero-stat,
.hero-stats-bar .stat-value,
.hero-stats-bar .stat-label,
.hero-stats-bar span,
.hero-stats-bar strong,
.hero-stats-bar small {
    color: #ffffff !important;
}

.hero-stats-bar .stat-value {
    color: #5eead4 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* CTA buttons in hero */
.hero-cta-buttons a,
.hero-btn {
    color: #ffffff !important;
}

.hero-btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Phone links in location hero */
.location-hero-section a[href^="tel"],
.location-hero-section a[href^="tel"] strong,
.location-hero-section a[href^="tel"] small,
.location-hero-section a[href^="tel"] span {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* ==========================================================================
   32. LOCATION PAGE "WHY CHOOSE US" SECTION
   Dark background section with stats and features
   ========================================================================== */
.location-why-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 100%) !important;
}

.location-why-section,
.location-why-section p,
.location-why-section span,
.location-why-section strong,
.location-why-section em,
.location-why-section small,
.location-why-section li,
.location-why-section div {
    color: #d1d5db !important;
}

.location-why-section h2,
.location-why-section h3,
.location-why-section h4,
.location-why-section .section-title {
    color: #ffffff !important;
}

.location-why-section .section-label {
    color: #5eead4 !important;
}

.location-why-section .why-description {
    color: #9ca3af !important;
}

.location-why-section .stat-value {
    color: #5eead4 !important;
}

.location-why-section .stat-label {
    color: #9ca3af !important;
}

.location-why-section .feature-number {
    color: #5eead4 !important;
}

.location-why-section .feature-info h3 {
    color: #f9fafb !important;
}

.location-why-section .feature-info p {
    color: #9ca3af !important;
}

.location-why-section .why-cta-btn {
    color: #ffffff !important;
}

.location-why-section a[href^="tel"],
.location-why-section a[href^="tel"] strong,
.location-why-section a[href^="tel"] small {
    color: #ffffff !important;
}

/* ==========================================================================
   33. LOCATION PAGE REVIEWS & MAP SECTIONS
   ========================================================================== */
.location-reviews-section .section-label {
    color: #0d9488 !important;
}

.location-map-section .section-title {
    color: #0a1628 !important;
}

.location-map-section .section-description {
    color: #4b5563 !important;
}

/* FAQ CTA buttons on dark */
.faq-cta .cta-text {
    color: #374151 !important;
}

.faq-cta .cta-primary {
    color: #ffffff !important;
}

.faq-cta .cta-secondary {
    color: #0d9488 !important;
}

/* Area badges */
.area-badge {
    color: #374151 !important;
}

.area-badge.active {
    color: #ffffff !important;
    background: #0d9488 !important;
}

/* Teal contact bar - ensure white text */
.row.full-width[style*="background: #14b8a6"] *,
div[style*="background: #14b8a6"] span,
div[style*="background: #14b8a6"] strong,
div[style*="background: #14b8a6"] small,
div[style*="background: #14b8a6"] a {
    color: #ffffff !important;
}

/* ==========================================================================
   34. LOCATION PAGE ADVANCED DESIGN ENHANCEMENTS
   Animations, hover effects, visual hierarchy, micro-interactions
   ========================================================================== */

/* --- Hero Section Enhancements --- */
.location-hero-section {
    position: relative;
    overflow: hidden;
}

.location-hero-section .hero-background-video {
    transition: transform 8s ease-out;
}

.location-hero-section:hover .hero-background-video {
    transform: scale(1.03);
}

.location-hero-overlay {
    transition: background 0.6s ease;
}

.location-hero-content {
    animation: heroFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-breadcrumb {
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.location-hero-title {
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.location-hero-subtitle {
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.hero-stats-bar {
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.hero-cta-buttons {
    animation: heroFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

/* Stats bar glassmorphism hover */
.hero-stats-bar .hero-stat {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-radius: 12px;
}

.hero-stats-bar .hero-stat:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 20px rgba(13, 148, 136, 0.15);
}

/* Hero CTA button pulse animation */
.hero-cta-buttons .hero-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-buttons .hero-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta-buttons .hero-btn:hover::after {
    left: 100%;
}

.hero-cta-buttons .hero-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

/* --- Intro Section Enhancements --- */
.location-intro-section {
    position: relative;
}

.location-intro-section .section-label {
    display: inline-block;
    position: relative;
}

.location-intro-section .section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.location-intro-section:hover .section-label::after,
.location-intro-section .section-label.revealed::after {
    width: 100%;
}

.section-divider .divider-icon {
    transition: transform 0.4s ease;
}

.section-divider:hover .divider-icon {
    transform: rotate(10deg) scale(1.1);
    color: #14b8a6;
}

/* Feature cards - staggered entrance + hover lift */
.intro-feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 12px;
}

.intro-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.intro-feature .feature-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
}

.intro-feature:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    color: #0d9488 !important;
}

.intro-feature .feature-icon svg {
    transition: stroke 0.3s ease;
}

.intro-feature:hover .feature-icon svg {
    stroke: #0d9488;
}

/* --- Services Grid Enhancements --- */
.location-service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
}

.location-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6, #5eead4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.location-service-card:hover::before {
    transform: scaleX(1);
}

.location-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 30px rgba(13, 148, 136, 0.08);
}

.location-service-card .service-card-icon {
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.location-service-card:hover .service-card-icon {
    transform: scale(1.2) rotate(-5deg);
}

.location-service-card .service-card-title {
    transition: color 0.3s ease;
}

.location-service-card:hover .service-card-title {
    color: #0d9488 !important;
}

.location-service-card .service-card-link {
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
    display: inline-block;
}

.location-service-card:hover .service-card-link {
    transform: translateX(4px);
    letter-spacing: 0.5px;
}

/* --- Why Choose Us Section Enhancements --- */
.location-why-section {
    position: relative;
    overflow: hidden;
}

.location-why-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: floatGlow 8s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-40px, 40px); }
}

.location-why-section .feature-item {
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 12px;
    position: relative;
}

.location-why-section .feature-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.03);
}

.location-why-section .feature-number {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                text-shadow 0.3s ease;
}

.location-why-section .feature-item:hover .feature-number {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(94, 234, 212, 0.4);
}

.location-why-section .why-cta-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-why-section .why-cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.location-why-section .why-cta-btn:hover::after {
    width: 300px;
    height: 300px;
}

.location-why-section .why-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

/* --- FAQ Section Enhancements --- */
.location-faq-section .faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
}

.location-faq-section .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 148, 136, 0.3) !important;
}

.location-faq-section .faq-question {
    transition: color 0.3s ease;
}

.location-faq-section .faq-item:hover .faq-question {
    color: #0d9488 !important;
}

.location-faq-section .faq-toggle-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
}

.location-faq-section .faq-item[open] .faq-toggle-icon,
.location-faq-section .faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: #0d9488 !important;
}

/* --- Reviews Section Enhancements --- */
.location-reviews-section .review-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 16px !important;
}

.location-reviews-section .review-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(13, 148, 136, 0.05);
}

.location-reviews-section .review-stars {
    transition: transform 0.3s ease;
}

.location-reviews-section .review-card:hover .review-stars {
    transform: scale(1.1);
}

/* --- Map Section Enhancements --- */
.location-map-section .map-container {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    border-radius: 16px !important;
    overflow: hidden;
}

.location-map-section .map-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Area badges hover */
.area-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease !important;
}

.area-badge:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25) !important;
    background: rgba(13, 148, 136, 0.08) !important;
    color: #0d9488 !important;
}

.area-badge.active:hover {
    background: #0f766e !important;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4) !important;
}

/* --- Teal Contact Bar Enhancements --- */
div[style*="background: #14b8a6"] {
    position: relative;
    overflow: hidden;
}

div[style*="background: #14b8a6"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

div[style*="background: #14b8a6"]::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

div[style*="background: #14b8a6"] a[href^="tel"] {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
}

div[style*="background: #14b8a6"] a[href^="tel"]:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* --- Global Section Transitions (scroll reveal support) --- */
.location-intro-section,
.location-services-section,
.location-why-section,
.location-faq-section,
.location-reviews-section,
.location-map-section {
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* --- Smooth scroll behavior for location pages --- */
html:has(.location-hero-section) {
    scroll-behavior: smooth;
}

/* --- Reduced motion preferences --- */
@media (prefers-reduced-motion: reduce) {
    .location-hero-content,
    .hero-breadcrumb,
    .location-hero-title,
    .location-hero-subtitle,
    .hero-stats-bar,
    .hero-cta-buttons {
        animation: none !important;
    }

    .location-service-card,
    .intro-feature,
    .location-why-section .feature-item,
    .location-faq-section .faq-item,
    .location-reviews-section .review-card,
    .location-map-section .map-container,
    .area-badge,
    .hero-stats-bar .hero-stat,
    .hero-cta-buttons .hero-btn {
        transition: none !important;
    }

    .location-why-section::before {
        animation: none !important;
    }
}

/* --- Mobile optimizations for location enhancements --- */
@media screen and (max-width: 768px) {
    .location-service-card:hover,
    .intro-feature:hover,
    .location-reviews-section .review-card:hover {
        transform: translateY(-4px);
    }

    .location-why-section .feature-item:hover {
        transform: translateX(4px);
    }

    .location-why-section::before {
        display: none;
    }

    .hero-cta-buttons .hero-btn::after {
        display: none;
    }
}

/* ==========================================================================
   35. NUCLEAR OVERRIDE - Button & Hero Text Colors
   Date: 2026-02-24

   This section uses maximum specificity to guarantee correct text colors.
   Placed LAST in the file so it wins in cascade order.
   Fixes: gray text on teal buttons, invisible headings on dark backgrounds.
   ========================================================================== */

/* --- ALL BUTTONS: White text on teal/green backgrounds --- */
html body a.more,
html body a.more.large,
html body button.more,
html body input[type="submit"],
html body .btn,
html body a.btn,
html body .button,
html body a.button {
    color: #ffffff !important;
}

html body a.more:hover,
html body button.more:hover,
html body input[type="submit"]:hover,
html body .btn:hover,
html body a.btn:hover {
    color: #ffffff !important;
}

/* Outline/style-2 buttons: teal text, white on hover */
html body a.more.style-2,
html body .more.style-2 {
    color: #0d9488 !important;
}

html body a.more.style-2:hover,
html body .more.style-2:hover {
    color: #ffffff !important;
}

/* --- Hero CTA Buttons --- */
html body .hero-cta-buttons a,
html body a.hero-btn,
html body .hero-btn {
    color: #ffffff !important;
}

html body .hero-btn-secondary {
    color: #ffffff !important;
}

/* --- Why Section CTA --- */
html body .why-cta-btn,
html body a.why-cta-btn,
html body .location-why-section a.why-cta-btn {
    color: #ffffff !important;
}

/* --- FAQ CTA Buttons --- */
html body .faq-cta a.cta-btn.cta-primary,
html body .faq-cta .cta-primary,
html body a.cta-btn.cta-primary {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

html body .faq-cta a.cta-btn.cta-secondary,
html body .faq-cta .cta-secondary,
html body a.cta-btn.cta-secondary {
    color: #0d9488 !important;
    border-color: #0d9488 !important;
}

html body .faq-cta a.cta-btn.cta-secondary:hover,
html body a.cta-btn.cta-secondary:hover {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

/* --- Map CTA Buttons --- */
html body .map-cta a.cta-btn.cta-primary,
html body .map-cta .cta-primary {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

html body .map-cta a.cta-btn.cta-secondary,
html body .map-cta .cta-secondary {
    color: #0d9488 !important;
    border-color: #0d9488 !important;
}

html body .map-cta a.cta-btn.cta-secondary:hover {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

/* --- Generic CTA Buttons (catch-all) --- */
html body a.cta-btn,
html body .cta-btn {
    color: #ffffff !important;
}

html body a.cta-btn.cta-secondary,
html body .cta-btn.cta-secondary {
    color: #0d9488 !important;
    background-color: transparent !important;
}

html body a.cta-btn.cta-secondary:hover,
html body .cta-btn.cta-secondary:hover {
    color: #ffffff !important;
    background-color: #0d9488 !important;
}

/* --- Header Buttons --- */
html body a.header-v2-btn,
html body .header-v2-btn {
    color: #0a1628 !important;
    background-color: #0d9488 !important;
}

html body a.header-cta-btn,
html body .header-cta-btn {
    color: #ffffff !important;
}

html body a.mega-cta-btn,
html body .mega-cta-btn {
    color: #0a1628 !important;
}

html body a.mobile-nav-v2-btn,
html body .mobile-nav-v2-btn {
    color: #ffffff !important;
}

/* --- Footer CTA Button --- */
html body a.footer-cta-button,
html body .footer-cta-button {
    color: #ffffff !important;
}

html body a.footer-cta-button:hover,
html body .footer-cta-button:hover {
    color: #0a1628 !important;
}

/* --- Premium CTA --- */
html body a.premium-cta-button,
html body .premium-cta-button,
html body .premium-cta-button span {
    color: #ffffff !important;
}

/* --- Floating Action Buttons --- */
html body .floating-btn {
    color: #ffffff !important;
}

/* ==========================================================================
   36. NUCLEAR OVERRIDE - Location Hero Headings
   Guarantees white text on dark hero backgrounds across all location pages.
   ========================================================================== */

/* H1 Title - MUST be white on dark video/image overlay */
html body .location-hero-section h1,
html body .location-hero-section h2,
html body .location-hero-section h3,
html body .location-hero-section h4,
html body h1.location-hero-title,
html body .location-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Subtitle */
html body .location-hero-subtitle,
html body p.location-hero-subtitle {
    color: #d1d5db !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* All text in hero */
html body .location-hero-section p,
html body .location-hero-section span,
html body .location-hero-section strong,
html body .location-hero-section em,
html body .location-hero-section small,
html body .location-hero-section li,
html body .location-hero-section label,
html body .location-hero-content,
html body .location-hero-content * {
    color: #ffffff !important;
}

/* Breadcrumb in hero */
html body .location-hero-section .hero-breadcrumb,
html body .location-hero-section .hero-breadcrumb a,
html body .location-hero-section .hero-breadcrumb span,
html body .location-hero-section .breadcrumb,
html body .location-hero-section .breadcrumb a,
html body .location-hero-section .breadcrumb span {
    color: rgba(255, 255, 255, 0.8) !important;
}

html body .location-hero-section .hero-breadcrumb a:hover,
html body .location-hero-section .breadcrumb a:hover {
    color: #ffffff !important;
}

/* Stats bar numbers - teal accent */
html body .hero-stats-bar .stat-value,
html body .hero-stats-bar .stat-number {
    color: #5eead4 !important;
}

/* Stats bar labels - white */
html body .hero-stats-bar .stat-label,
html body .hero-stats-bar span.stat-label {
    color: #ffffff !important;
}

/* --- Location section headings on dark backgrounds --- */
html body .location-why-section h2,
html body .location-why-section h3,
html body .location-why-section h4 {
    color: #ffffff !important;
}

html body .location-why-section p,
html body .location-why-section span,
html body .location-why-section li {
    color: #d1d5db !important;
}

/* --- Teal contact bar override --- */
html body div[style*="background: #14b8a6"] *,
html body div[style*="background:#14b8a6"] *,
html body .row.full-width[style*="#14b8a6"] * {
    color: #ffffff !important;
}
