
        :root {
            --primary: #1a73e8;
            --secondary: #34a853;
            --dark: #202124;
            --gray: #5f6368;
            --light-gray: #f8f9fa;
            --accent: #ea4335;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: #333;
            background-color: #fff;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background: #1557b0;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }
        
        /* Header Styles */
        header {
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-icon {
            font-size: 2rem;
            margin-right: 10px;
        }
        
        .logo h1 {
            color: var(--primary);
            font-size: 1.5rem;
        }

        /* Navigation Menu */
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--primary);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

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

        .nav-menu a.active {
            color: var(--primary);
            font-weight: 600;
        }

        .nav-menu a.active::after {
            width: 100%;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark);
        }

        /* Services Page Specific Styles */
        .page-hero {
            background: linear-gradient(135deg, rgba(26, 115, 232, 0.85) 0%, rgba(21, 87, 176, 0.85) 100%), 
                        url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

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

        .page-hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .page-hero p {
            font-size: 1.3rem;
            max-width: 600px;
            margin: 0 auto;
            opacity: 0.9;
            font-weight: 300;
        }

        .page-content {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        /* Search Bar */
        .search-container {
            max-width: 600px;
            margin: 0 auto 40px;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 15px 20px;
            border-radius: 50px;
            border: 2px solid #e0e0e0;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
        }

        .search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }

        /* Enhanced Services Grid for Services Page */
        .services-page .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .service-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

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

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

        .service-icon {
            background: linear-gradient(135deg, var(--primary), #1557b0);
            color: white;
            font-size: 3rem;
            padding: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .service-icon::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s ease;
        }

        .service-card:hover .service-icon::after {
            transform: rotate(45deg) translate(50%, 50%);
        }

        .service-content {
            padding: 35px 30px;
            text-align: center;
            position: relative;
        }

        .service-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
            font-weight: 700;
        }

        .service-content p {
            color: var(--gray);
            line-height: 1.7;
            margin-bottom: 20px;
            font-size: 1rem;
        }

        .service-features {
            list-style: none;
            text-align: left;
            margin: 25px 0;
            padding: 0;
        }

        .service-features li {
            padding: 8px 0;
            color: var(--gray);
            position: relative;
            padding-left: 25px;
        }

        .service-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--secondary);
            font-weight: bold;
        }

        .service-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 25px;
        }

        .service-actions .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
            border-radius: 25px;
            flex: 1;
            max-width: 150px;
        }

        .service-actions .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .service-actions .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* Service Categories */
        .service-categories {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 50px;
            flex-wrap: wrap;
        }

        .category-btn {
            padding: 12px 25px;
            background: white;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .category-btn:hover,
        .category-btn.active {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
        }

        /* Emergency Services Banner */
        .emergency-services {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9)), 
                        url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 60px 0;
            margin-top: 80px;
            text-align: center;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
        }

        .emergency-services .container {
            position: relative;
            z-index: 2;
        }

        .emergency-services h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .emergency-services p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
        }

        .emergency-services .btn {
            background: white;
            color: #e74c3c;
            border: 2px solid white;
            font-size: 1.1rem;
            padding: 15px 30px;
        }

        .emergency-services .btn:hover {
            background: transparent;
            color: white;
            transform: translateY(-2px);
        }

        /* Service Stats */
        .service-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin: 60px 0;
        }

        .stat-card {
            background: white;
            padding: 40px 20px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-card .stat-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .stat-card .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .stat-card .stat-label {
            color: var(--gray);
            font-size: 1rem;
            font-weight: 500;
        }

        /* No Results Message */
        .no-results {
            text-align: center;
            padding: 60px 20px;
            color: var(--gray);
            display: none;
        }

        .no-results h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        /* Loading Animation */
        .loading {
            display: none;
            text-align: center;
            padding: 20px;
        }

        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(26, 115, 232, 0.2);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s ease-in-out infinite;
        }

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

        /* Updated Footer Styles */
        footer {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
            padding: 60px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: white;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

        .footer-column p {
            line-height: 1.6;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-links a::before {
            content: '▸';
            margin-right: 8px;
            color: var(--primary);
            transition: all 0.3s ease;
        }

        .footer-links a:hover::before {
            transform: translateX(3px);
        }

        .footer-links li:not(:has(a)) {
            color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        /* Contact Link Styles */
        .contact-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
            padding: 2px 0;
            border-bottom: 1px solid transparent;
        }

        .contact-link:hover {
            color: #1557b0;
            border-bottom-color: var(--primary);
            transform: translateY(-1px);
        }

        .emergency-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            display: inline-block;
            padding: 2px 0;
            border-bottom: 2px solid transparent;
        }

        .emergency-link:hover {
            color: #c62828;
            border-bottom-color: var(--accent);
            transform: translateY(-2px);
        }

        /* Responsive Design for Services Page */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                gap: 15px;
            }

            .nav-menu.active {
                display: flex;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .page-hero {
                padding: 80px 0;
            }
            
            .page-hero h1 {
                font-size: 2.2rem;
            }
            
            .page-hero p {
                font-size: 1.1rem;
            }
            
            .services-page .services-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .service-content {
                padding: 25px 20px;
            }
            
            .service-actions {
                flex-direction: column;
            }
            
            .service-actions .btn {
                max-width: 100%;
            }
            
            .service-categories {
                gap: 10px;
            }
            
            .category-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .emergency-services {
                margin-top: 60px;
                padding: 40px 20px;
            }
            
            .emergency-services h2 {
                font-size: 2rem;
            }
            
            .service-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .page-hero h1 {
                font-size: 1.8rem;
            }
            
            .service-stats {
                grid-template-columns: 1fr;
            }
            
            .stat-card {
                padding: 30px 15px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        /* Animation for service cards */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .service-card {
            animation: slideInUp 0.6s ease-out;
        }

        .service-card:nth-child(2) {
            animation-delay: 0.1s;
        }

        .service-card:nth-child(3) {
            animation-delay: 0.2s;
        }

        .service-card:nth-child(4) {
            animation-delay: 0.3s;
        }

        .service-card:nth-child(5) {
            animation-delay: 0.4s;
        }

        .service-card:nth-child(6) {
            animation-delay: 0.5s;
        }

        /* Print Styles for Services Page */
        @media print {
            .service-actions,
            .emergency-services,
            .service-categories,
            .search-container {
                display: none;
            }
            
            .service-card {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }

        /* Back Button Styles */
.back-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto; /* This pushes the button to the far right */
}

/* Remove hover color change - keep it blue always */
.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.3);
    background: var(--primary); /* Keep the same blue color */
}

.back-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
    background: var(--primary); /* Keep the same blue color */
}

/* Header container adjustment for back button */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

/* Responsive design for back button */
@media (max-width: 768px) {
    .back-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .header-container {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .back-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}
   /* Additional styles for collapsible functionality */
        .services-grid.collapsed {
            display: none;
        }
        
        .category-btn {
            position: relative;
            transition: all 0.3s ease;
        }
        
        .category-btn.active::after {
            content: '−';
            position: absolute;
            right: 15px;
            font-weight: bold;
        }
        
        .category-btn:not(.active)::after {
            content: '+';
            position: absolute;
            right: 15px;
            font-weight: bold;
        }
        
        .category-btn[data-category="all"].active {
            background-color: var(--primary);
            color: white;
        }