/**
 * Main Stylesheet for DC Appliance Repair Theme (v1.1.0 – Improved)
 * Changes: Inter font, trust bar, stat counters, refined cards/hero,
 *          scroll-reveal animations, better CTA contrast, map facade.
 */

/* -------------------------------------------------------------
 * Design Tokens
 * ------------------------------------------------------------- */
:root {
    --primary-color:   #1E3A8A;   /* deep blue */
    --primary-dark:    #162c6e;
    --primary-light:   #3b5fc0;
    --secondary-color: #F97316;   /* orange – CTAs */
    --secondary-dark:  #d85e00;
    --accent-color:    #06B6D4;   /* cyan highlight */
    --light-color:     #F9FAFB;
    --dark-color:      #0F172A;
    --text-color:      #1E293B;
    --text-muted:      #64748B;
    --success-color:   #10B981;
    --warning-color:   #FBBF24;
    --danger-color:    #EF4444;
    --gray-100: #F9FAFB;
    --gray-200: #F1F5F9;
    --gray-300: #E2E8F0;
    --gray-400: #CBD5E1;
    --gray-500: #94A3B8;
    --gray-600: #64748B;
    --gray-700: #475569;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:    0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #007bff;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--dark-color);
    color: #fff;
    padding: 10px 15px;
    z-index: 999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.7;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* -------------------------------------------------------------
 * Header Styles
 * ------------------------------------------------------------- */
.site-header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header .navbar {
    padding: 0.75rem 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding .custom-logo {
    max-height: 80px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.phone-section .phone-icon-link {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-section .phone-icon-link:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .site-branding {
        flex: 0 0 50% !important;
    }
    
    .phone-section {
        display: none !important;
    }
    
    .navbar-collapse {
        flex: 1 0 auto !important;
        margin-top: 1rem;
    }
}

/* -------------------------------------------------------------
 * Brands Section Styles
 * ------------------------------------------------------------- */
.brands-carousel {
    background-color: var(--gray-100);
}

.brands-slider {
    gap: 1rem;
}

.brand-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.brand-item:hover {
    transform: translateY(-2px);
    opacity: 1 !important;
}

.brand-item img {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .brands-slider {
        justify-content: center !important;
        gap: 0.5rem;
    }
    
    .brand-item {
        flex: 0 0 auto;
        max-width: 80px;
    }
}

/* -------------------------------------------------------------
 * Footer Map Section Styles
 * ------------------------------------------------------------- */
.map-container {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .map-container {
        height: 250px !important;
    }
}

/* -------------------------------------------------------------
 * FieldGridPro Inspired Color Variables
 * ------------------------------------------------------------- */
:root {
    /* Primary Colors - Professional Blue Palette */
    --primary-blue: #0088bb;
    --primary-blue-light: #4da6d0;
    --primary-blue-dark: #006699;
    
    /* Secondary Colors - Success & Action */
    --success-mint: #1abc9c;
    --accent-orange: #f39c12;
    --warning-orange: #e67e22;
    --danger-red: #e74c3c;
    
    /* Neutral Colors - Modern Gray Scale */
    --neutral-50: #f8f9fa;
    --neutral-100: #e9ecef;
    --neutral-200: #dee2e6;
    --neutral-300: #ced4da;
    --neutral-400: #adb5bd;
    --neutral-500: #6c757d;
    --neutral-600: #495057;
    --neutral-700: #343a40;
    --neutral-800: #212529;
    --neutral-900: #0d1117;
    
    /* Brand Specific */
    --brand-primary: var(--primary-blue);
    --brand-secondary: var(--success-mint);
    --brand-accent: var(--accent-orange);
    
    /* Header Colors */
    --header-bg: #ffffff;
    --header-shadow: rgba(0, 136, 187, 0.1);
    --header-border: var(--neutral-200);
}

/* -------------------------------------------------------------
 * Header Layout - Sticky with Flexbox (40% / 30% / 30%)
 * ------------------------------------------------------------- */
.header-top {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 2px 12px var(--header-shadow);
    position: sticky !important;
    top: 0;
    z-index: 1030;
    min-height: 90px;
    transition: all 0.3s ease;
}

.header-top.scrolled {
    min-height: 80px;
    box-shadow: 0 4px 20px var(--header-shadow);
}

/* Flexbox Container for Perfect 40/30/30 Layout */
.header-flex-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 85px;
    width: 100% !important;
    position: relative;
}

.header-logo {
    flex: 0 0 40% !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1002;
}

.header-menu-center {
    flex: 0 0 30% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1001;
}

.header-call-right {
    flex: 0 0 30% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    position: relative !important;
    z-index: 9999 !important;
}

/* Logo Styling */
.custom-logo {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.header-top.scrolled .custom-logo {
    max-height: 70px;
}

/* Call Button - FieldGridPro Style - ALWAYS VISIBLE */
.call-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #0088bb, #4da6d0) !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    box-shadow: 0 4px 15px rgba(0, 136, 187, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 9999 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.call-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-mint), var(--brand-accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.call-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 136, 187, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.call-button:hover::before {
    opacity: 1;
}

.call-button:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 136, 187, 0.3), 0 0 0 3px rgba(26, 188, 156, 0.3);
}

/* Menu Container */
.menu-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

/* Desktop Menu Styling */
.header-menu .navbar-nav {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu .nav-link {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--neutral-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.header-menu .nav-link:hover {
    color: var(--brand-primary);
    background-color: var(--neutral-50);
    transform: translateY(-1px);
}

.header-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-menu .nav-link:hover::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    background: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-toggle:hover {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: scale(1.05);
}

.mobile-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 187, 0.3);
}

/* Mobile Menu */
#mobileMenu {
    background: #ffffff;
    border-top: 3px solid var(--brand-primary);
    box-shadow: 0 8px 25px rgba(0, 136, 187, 0.15);
    z-index: 1020;
    position: relative !important;
}

/* Ensure mobile menu doesn't interfere with call button */
#mobileMenu.collapse {
    position: relative !important;
}

#mobileMenu.collapse.show {
    position: relative !important;
}

#mobileMenu .navbar-nav {
    padding: 1rem 0;
}

#mobileMenu .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-100);
    color: var(--neutral-700);
    font-weight: 500;
    transition: all 0.3s ease;
}

#mobileMenu .nav-link:hover {
    color: var(--brand-primary);
    background-color: var(--neutral-50);
    padding-left: 1rem;
}

/* Mobile Call Button in Menu */
#mobileMenu .btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--primary-blue-light));
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 136, 187, 0.3);
    transition: all 0.3s ease;
}

#mobileMenu .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 187, 0.4);
}

/* Force visibility on all screen sizes */
.call-button,
.header-call-right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responsive Design - Maintaining Call Button Visibility */
@media (max-width: 991px) {
    .call-button {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.1rem !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .custom-logo {
        max-height: 65px;
    }
    
    .header-flex-container {
        gap: 0.5rem;
    }
    
    .header-call-right {
        flex: 0 0 30% !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767px) {
    .header-logo {
        flex: 0 0 45% !important;
    }
    
    .header-call-right {
        flex: 0 0 30% !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-menu-center {
        flex: 0 0 25% !important;
    }
    
    .call-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 1rem !important;
        border-width: 2px !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .custom-logo {
        max-height: 55px;
    }
    
    .header-top {
        min-height: 65px;
    }
    
    .header-flex-container {
        min-height: 60px;
    }
}

@media (max-width: 575px) {
    .header-top {
        min-height: 60px;
    }
    
    .header-flex-container {
        min-height: 55px;
        gap: 0.25rem;
    }
    
    .header-logo {
        flex: 0 0 45% !important;
    }
    
    .header-call-right {
        flex: 0 0 30% !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-menu-center {
        flex: 0 0 25% !important;
    }
    
    .call-button {
        width: 45px !important;
        height: 45px !important;
        font-size: 0.9rem !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .custom-logo {
        max-height: 50px;
    }
}

.site-branding {
    max-width: none;
}

.site-branding .custom-logo {
    max-height: 55px;
    width: auto;
}

/* Header Phone Icon Styles */
.header-phone-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
}

.header-phone-icon .btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border: 3px solid #fff;
}

.header-phone-icon .btn i {
    color: #fff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-phone-icon .btn:hover {
    transform: scale(1.1);
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.header-phone-icon .btn:active {
    transform: scale(1.05);
    background-color: #0a58ca !important;
    border-color: #0a53be !important;
}

.header-phone-icon .btn:focus {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Menu Section Styles */
.header-menu-section .navbar-nav {
    align-items: center;
}

.header-menu-section .nav-link {
    padding: 0.5rem 0.8rem;
    font-weight: 500;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .header-phone-icon .btn {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .header-phone-icon .btn i {
        font-size: 1rem;
    }
    
    .site-branding .custom-logo {
        max-height: 45px;
    }
}

@media (max-width: 767px) {
    .site-branding {
        flex: 0 0 50% !important;
    }
    
    .header-phone-section {
        flex: 0 0 25% !important;
    }
    
    .header-menu-section {
        flex: 0 0 25% !important;
    }
    
    .header-phone-icon .btn {
        width: 45px;
        height: 45px;
    }
    
    .header-phone-icon .btn i {
        font-size: 0.9rem;
    }
    
    .site-branding .custom-logo {
        max-height: 40px;
    }
}

/* Phone number text styling */
.phone-number-text a {
    color: #0d6efd !important;
}

.phone-number-text a:hover {
    color: #0b5ed7 !important;
}

.site-branding {
    max-width: 180px;
}

.custom-logo-link img {
    max-height: 45px;
    width: auto;
}

.navbar-expand-lg .navbar-nav {
    align-items: center;
}

@media (min-width: 992px) {
    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .navbar-expand-lg .navbar-collapse {
        flex-grow: 0;
        justify-content: center;
    }
    
    .container {
        display: flex;
        flex-wrap: nowrap;
    }
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
    padding: 1.5rem 1rem;
    font-weight: 500;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.sticky-top {
    transition: all 0.3s ease;
}

/* Sticky Header Animation */
.sticky-top.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------------------
 * Footer Styles
 * ------------------------------------------------------------- */
.site-footer {
    padding: 4rem 0 0;
    background-color: var(--dark-color);
    color: #fff;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .widget-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    display: inline-block;
    margin-right: 1rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
}

/* -------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------- */
.hero-section {
    position: relative;
}

.hero-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

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

/* -------------------------------------------------------------
 * Services Section
 * ------------------------------------------------------------- */
.service-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

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

/* -------------------------------------------------------------
 * Testimonials Section
 * ------------------------------------------------------------- */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-text {
    position: relative;
    font-style: italic;
}

.author-avatar {
    font-weight: bold;
}

.testimonial-rating {
    font-size: 1rem;
}

/* -------------------------------------------------------------
 * CTA Section
 * ------------------------------------------------------------- */
.cta-section {
    background-color: var(--primary-color);
}

/* -------------------------------------------------------------
 * Contact Section
 * ------------------------------------------------------------- */
.contact-form .form-control {
    border: 1px solid var(--gray-300);
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info-item .icon {
    width: 50px;
    text-align: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--gray-200);
    color: var(--gray-800);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* -------------------------------------------------------------
 * Blog Styles
 * ------------------------------------------------------------- */
.widget-area .widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.entry-meta {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-meta a {
    color: var(--gray-600);
}

.entry-meta a:hover {
    color: var(--primary-color);
}

.entry-footer {
    font-size: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-300);
}

.widget ul {
    list-style: none;
    padding-left: 0;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    transition: all 0.3s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    background-color: var(--gray-200);
}

/* Comments */
.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-body {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--gray-100);
    border-radius: 4px;
}

.comment-author img {
    margin-right: 1rem;
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.comment-content {
    margin-top: 1rem;
}

.comment-reply-link {
    font-size: 0.875rem;
}

/* -------------------------------------------------------------
 * Pagination
 * ------------------------------------------------------------- */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
    border-color: var(--gray-300);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* -------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------- */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* -------------------------------------------------------------
 * Single Service
 * ------------------------------------------------------------- */
.service-cta {
    background-color: var(--gray-100);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.related-services .card {
    transition: all 0.3s ease;
}

.related-services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* -------------------------------------------------------------
 * Responsive Styles
 * ------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }

    .hero-wrapper {
        min-height: 60vh;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-wrapper {
        min-height: 50vh;
    }

    .service-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-wrapper {
        min-height: 40vh;
    }
}

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

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Phone Icon Link */
.phone-icon-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: rgba(30, 58, 138, 0.05);
    white-space: nowrap;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.phone-icon-link:hover {
    transform: scale(1.05);
    color: var(--primary-color);
    background-color: rgba(30, 58, 138, 0.1);
}

.phone-icon-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Header Layout */
.site-header .navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

/* Brands Carousel */
.brands-carousel {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brands-slider {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.brands-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.brand-item img {
    transition: opacity 0.3s;
}

.brand-item img:hover {
    opacity: 1 !important;
}

.site-branding {
    flex: 1 0 40%;
}

/* Service Cards Styling */
.hover-shadow-lg {
    transition: all 0.3s ease;
}

.hover-shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.transition {
    transition: all 0.3s ease;
}

.navbar-collapse {
    flex: 1 0 30%;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    justify-content: center;
    width: 100%;
}

@media (max-width: 1200px) {
    .phone-icon-link span {
        font-size: 0.9rem;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar > .container {
        flex-wrap: wrap;
    }
    
    .site-branding {
        flex: 1 0 auto;
    }
    
    .navbar-collapse {
        flex: 0 0 100%;
        order: 3;
    }
    
    .navbar-toggler {
        order: 2;
    }
}

/* Brand Carousel Styles */
.brand-carousel {
    padding: 30px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.brand-carousel .carousel-item {
    padding: 0 50px;
}

.brand-logo {
    height: 60px;
    max-width: 120px;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 40px;
    color: var(--primary-color);
    opacity: 0.7;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
}

/* =============================================================
 * ▌ IMPROVEMENTS v1.1.0
 * ============================================================= */

/* ─── Trust Bar ──────────────────────────────────────────────────────── */
.trust-bar {
    background: var(--primary-color);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    font-weight: 500;
    padding: .4rem 0;
    letter-spacing: .02em;
}
.trust-bar a { color: #fff; text-decoration: none; }
.trust-bar a:hover { text-decoration: underline; }
.trust-bar .trust-bar-phone { font-size: .9rem; }

/* ─── Header Refinements ────────────────────────────────────────────── */
.site-header { box-shadow: none; }

.header-top {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.header-top.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.header-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-logo { flex: 0 0 auto; }
.header-logo .custom-logo { max-height: 64px; width: auto; }
.header-menu-center { flex: 1 1 auto; display: flex; justify-content: center; }
.header-call-right  { flex: 0 0 auto; }

/* Call button – header */
.call-button {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color);
    color: #fff !important;
    border-radius: 50px;
    padding: .55rem 1.2rem;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 3px 10px rgba(249,115,22,.35);
}
.call-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(249,115,22,.45);
    color: #fff !important;
}
@keyframes phone-pulse {
    0%,100% { box-shadow: 0 3px 10px rgba(249,115,22,.35); }
    50%      { box-shadow: 0 3px 10px rgba(249,115,22,.35), 0 0 0 8px rgba(249,115,22,.15); }
}
.call-button { animation: phone-pulse 2.5s infinite; }
.call-button:hover { animation: none; }

/* ─── Section Titles ────────────────────────────────────────────────── */
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}
/* Left-aligned variant */
.section-title.text-start::after { left: 0; transform: none; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

/* ─── Hero Enhancements ─────────────────────────────────────────────── */
.hero-section { overflow: hidden; }
.hero-wrapper {
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-wrapper h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    padding: .35rem .9rem;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--warning-color); }

.btn-cta-primary {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: .75rem 2rem;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(249,115,22,.4);
}
.btn-cta-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249,115,22,.5);
}
.btn-cta-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.7);
    color: #fff;
    font-weight: 600;
    padding: .75rem 2rem;
    border-radius: 50px;
    transition: all var(--transition);
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
}

/* ─── Stats / Counter Bar ───────────────────────────────────────────── */
.stats-section {
    background: var(--primary-color);
    padding: 3rem 0;
}
.stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem;
}
.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    display: block;
}
.stat-label {
    font-size: .9rem;
    opacity: .8;
    margin-top: .4rem;
    font-weight: 500;
}
.stat-icon {
    font-size: 1.8rem;
    opacity: .6;
    margin-bottom: .5rem;
}

/* ─── Service Cards ─────────────────────────────────────────────────── */
.service-card {
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--radius) !important;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-color) !important;
}
.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.service-card .card-body { padding: 1.5rem; }
.service-card .card-title a {
    color: var(--dark-color);
    font-weight: 700;
    transition: color var(--transition);
}
.service-card .card-title a:hover { color: var(--primary-color); }
.service-card .service-icon i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Brands Bar ────────────────────────────────────────────────────── */
.brands-carousel {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
}
.brand-item img { opacity: .55; transition: opacity var(--transition); filter: grayscale(100%); }
.brand-item img:hover { opacity: .9; filter: grayscale(0%); }

/* ─── Testimonial Cards ─────────────────────────────────────────────── */
.testimonial-card {
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--radius) !important;
    transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}
.testimonial-card blockquote { font-style: italic; color: var(--text-muted); }
.author-avatar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    font-weight: 700;
    letter-spacing: .03em;
}
.testimonial-rating { font-size: 1rem; color: var(--warning-color); }

/* ─── CTA Section ───────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.cta-section .btn-light {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50px;
    padding: .8rem 2.2rem;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.cta-section .btn-light:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ─── Map Facade (lazy-load placeholder) ───────────────────────────── */
.map-facade {
    background: var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
}
.map-facade:hover { background: var(--gray-300); }
.map-facade .map-placeholder-inner { color: var(--text-muted); }

/* ─── Scroll-Reveal Animations ──────────────────────────────────────── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Back-to-top button ────────────────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    z-index: 1050;
    box-shadow: var(--shadow);
    text-decoration: none;
}
#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#back-to-top:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--gray-900) !important;
}
.site-footer a { color: var(--gray-400); transition: color var(--transition); }
.site-footer a:hover { color: #fff; }
.footer-menu li { display: inline-block; margin-left: 1rem; }

/* ─── Utility ───────────────────────────────────────────────────────── */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}
img { max-width: 100%; height: auto; }

/* =============================================================
 * ▌ MR. APPLIANCE INSPIRED ADDITIONS v1.2.0
 * ============================================================= */

/* ─── Hero review panel (right column) ─────────────────────── */
.hero-review-panel { max-width: 380px; }

.hero-rating-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    color: #fff;
}
.hero-rating-score {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.hero-stars {
    font-size: 1.2rem;
    color: var(--warning-color);
    letter-spacing: .1em;
}
.hero-rating-label { font-size: .78rem; opacity: .75; }
.hero-review-count { font-size: .8rem; opacity: .65; border-top: 1px solid rgba(255,255,255,.2); padding-top: .6rem; margin-top: .6rem; }

.hero-pull-quote {
    background: rgba(255,255,255,.10);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.2rem;
    color: rgba(255,255,255,.92);
    font-size: .92rem;
    font-style: italic;
}
.hero-quote-icon { color: var(--secondary-color); font-size: 1.4rem; margin-bottom: .5rem; display: block; }
.hero-quote-author { font-size: .8rem; font-style: normal; opacity: .65; }

.hero-warranty-badge {
    display: inline-flex;
    align-items: center;
    background: var(--success-color);
    color: #fff;
    border-radius: 50px;
    padding: .45rem 1.1rem;
    font-size: .85rem;
    font-weight: 600;
}

/* ─── Done Right Promise section ────────────────────────────── */
.promise-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(30,58,138,.10);
    color: var(--primary-color);
    border-radius: 50px;
    padding: .35rem 1rem;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .75rem;
}

.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .75rem;
    font-size: 1rem;
    color: var(--text-color);
}
.promise-list li i {
    color: var(--success-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: .15rem;
}

/* ─── Why Choose Us grid ────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.why-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.why-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}
.why-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: .75rem;
}
.why-card h3 {
    font-size: .92rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: .4rem;
}
.why-card p {
    font-size: .83rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}
@media (max-width: 575px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* ─── Areas We Serve ────────────────────────────────────────── */
.areas-section { background: #fff; }
.areas-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
}
.areas-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-tag {
    display: inline-block;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--text-color);
    border-radius: 50px;
    padding: .3rem .9rem;
    font-size: .82rem;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.area-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ─── Aggregate rating row (above testimonials) ─────────────── */
.aggregate-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
    font-size: .95rem;
}
.agg-stars { color: var(--warning-color); font-size: 1.3rem; letter-spacing: .05em; }

/* ─── CTA improvements ──────────────────────────────────────── */
.cta-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.6);
}
.cta-btn-phone { color: var(--primary-color) !important; font-weight: 700; }
.cta-btn-phone:hover { background: var(--secondary-color) !important; color: #fff !important; border-color: var(--secondary-color) !important; }

/* ─── Service card "Call" button (like Mr. Appliance) ───────── */
.service-card .card-footer { padding: 1rem 1.5rem; }
.service-card .btn-call {
    background: var(--secondary-color);
    border: none;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 50px;
    padding: .35rem 1rem;
    transition: background var(--transition);
}
.service-card .btn-call:hover { background: var(--secondary-dark); color: #fff; }
