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

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #1a1a1a;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #2563eb;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

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

.phone-btn {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(37, 99, 235, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background: #2563eb;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo-text .tagline {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    line-height: 1;
}

/* Rebrand Notice */
.rebrand-notice {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid #bfdbfe;
    padding: 0.75rem 0;
    margin-top: 70px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.rebrand-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.rebrand-notice i {
    color: #2563eb;
    font-size: 1.1rem;
}

.rebrand-notice p {
    margin: 0;
    color: #1e40af;
    font-size: 0.95rem;
    font-weight: 500;
}

.rebrand-notice strong {
    font-weight: 600;
    color: #1e3a8a;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    color: #2563eb;
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-description strong {
    color: #2563eb;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    width: 100%;
}

.stat {
    text-align: center;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-large i {
    margin-right: 0.5rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature.premium {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.feature.premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.feature-title {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    text-align: center;
}

.electrician-photo {
    width: 100%;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.credentials h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.credentials p {
    color: #666;
    margin-bottom: 1rem;
}

.certifications {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.cert-badge {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section Styling */
section {
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Service Categories Tabs */
.service-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transition: left 0.3s ease;
    z-index: 0;
}

.category-tab i,
.category-tab span {
    position: relative;
    z-index: 2;
}

.category-tab:hover,
.category-tab.active {
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.category-tab:hover::before,
.category-tab.active::before {
    left: 0;
}

/* Services Content */
.services-content {
    display: none;
}

.services-content.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card.premium {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #e2e8f0, #cbd5e1) border-box;
}

.service-card.premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #2563eb, #1d4ed8) border-box;
}

.service-card.emergency {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border-color: #fecaca;
}

.service-card.emergency:hover {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.service-card.emergency .service-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
}

.emergency-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: #2563eb;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gallery-overlay p {
    color: #e5e7eb;
    margin: 0;
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

    .reviews-summary {
        text-align: center;
        margin-bottom: 3rem;
        padding: 2rem;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border-radius: 15px;
        border: 1px solid #e2e8f0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-display .stars {
    display: flex;
    gap: 0.25rem;
}

.rating-display .stars i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
}

.review-count {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

/* Reviews Showcase */
.reviews-showcase {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

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

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviewer-details h4 {
    color: #1a1a1a;
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.review-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.google-badge {
    background: #4285f4;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.1rem;
}

.review-text {
    color: #374151;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

.reviews-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.google-reviews-btn, .leave-review-btn, .instagram-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    background: white;
    color: #374151;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.google-reviews-btn:hover {
    background: #4285f4;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
    border-color: #4285f4;
}

.leave-review-btn:hover {
    background: #fbbf24;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.3);
    border-color: transparent;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.trust-item i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.trust-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.info-card:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    margin: 0;
}

.info-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.footer-info h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #2563eb;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.license-info {
    margin-top: 0.75rem !important;
    font-size: 0.85rem !important;
    color: #6b7280 !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.esa-logo {
    height: 24px;
    max-height: 24px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(47%) sepia(0%) saturate(0%) hue-rotate(181deg) brightness(94%) contrast(89%);
    transition: all 0.3s ease;
}

.license-info:hover .esa-logo {
    filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(2458%) hue-rotate(212deg) brightness(98%) contrast(92%);
    transform: scale(1.05);
}

.license-info span {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    * {
        max-width: 100vw;
    }

    body, html {
        overflow-x: hidden !important;
        width: 100vw;
        position: relative;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
        overflow-x: hidden;
    }

    .hero-container,
    .nav-container {
        max-width: 100%;
        padding: 0 15px;
        overflow-x: hidden;
    }

    .rebrand-notice {
        padding: 0.5rem 0;
        width: 100%;
    }

    .rebrand-container {
        flex-direction: row;
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
        overflow-x: hidden;
    }

    .rebrand-notice p {
        font-size: 0.85rem;
        word-wrap: break-word;
    }

    .rebrand-notice i {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .logo-img {
        height: 45px;
        max-height: 45px;
    }

    .logo-text h2 {
        font-size: 1.1rem;
    }

    .logo-text .tagline {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .nav-contact {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        padding-bottom: 1rem;
        display: flex !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #2563eb;
    }
    
    .hamburger {
        display: flex;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    
    .hamburger.active {
        background: rgba(37, 99, 235, 0.15);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
        background: #2563eb;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
        background: #2563eb;
    }

    .hero {
        width: 100%;
        overflow-x: hidden;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        text-align: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .electrician-photo {
        max-width: 90%;
        width: 100%;
        height: 400px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }

    section {
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .gallery-item {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
    }

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

    .footer-logo-img {
        height: 50px;
    }

    .license-info {
        flex-direction: row;
        gap: 0.4rem;
    }

    .esa-logo {
        height: 20px !important;
        max-height: 20px !important;
        max-width: 35px !important;
    }

    .license-info span {
        font-size: 0.8rem;
    }
    
    .service-categories {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .reviews-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .trust-indicators {
        gap: 1.5rem;
        width: 100%;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .review-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .reviewer-details h4 {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.95rem;
        word-wrap: break-word;
    }

    .reviews-page {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .reviews-page[style*="display: grid"],
    .reviews-page[data-page="1"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .reviews-page[style*="display: none"] {
        display: none !important;
    }

    /* Force reviews to show on mobile */
    .reviews-container .reviews-page:first-child {
        display: grid !important;
    }

    .pagination-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-width: 120px;
    }

    .pagination-btn i {
        font-size: 0.9rem;
    }

    .reviews-pagination {
        gap: 1rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .google-reviews-btn, .leave-review-btn, .instagram-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
        box-sizing: border-box;
    }

    .review-actions-center {
        width: 100%;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        box-sizing: border-box;
    }

    .stat {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .reviews-showcase {
        width: 100%;
        overflow-x: hidden;
    }

    .reviews-container {
        width: 100%;
        overflow-x: hidden;
    }

    .review-card {
        margin-bottom: 0;
    }

    .pagination-dots {
        justify-content: center;
        flex-wrap: wrap;
    }

    .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .dot.active {
        width: 24px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    * {
        max-width: 100vw;
    }

    body, html {
        overflow-x: hidden !important;
        width: 100vw;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .nav-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 120px 0 60px;
        width: 100%;
    }

    .hero-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        word-wrap: break-word;
    }
    
    section {
        padding: 60px 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .section-header p {
        font-size: 1rem;
        word-wrap: break-word;
    }

    .google-reviews-btn, .leave-review-btn, .instagram-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
        width: calc(100% - 30px);
        max-width: 280px;
        box-sizing: border-box;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        width: calc(100% - 30px);
        max-width: 280px;
        box-sizing: border-box;
    }

    .phone-btn {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .stat {
        width: calc(100% - 30px);
        max-width: 280px;
        box-sizing: border-box;
    }

    .electrician-photo {
        max-width: 100%;
        width: calc(100% - 30px);
        height: 350px;
    }

    .logo-img {
        height: 35px;
        max-height: 35px;
    }

    .logo-text h2 {
        font-size: 0.95rem;
    }

    .logo-text .tagline {
        font-size: 0.6rem;
    }

    .nav-logo {
        gap: 0.6rem;
    }

    .rebrand-notice p {
        font-size: 0.8rem;
        padding: 0 5px;
        line-height: 1.4;
    }

    .reviews-summary {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

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

    .rating-number {
        font-size: 2.5rem;
    }

    .review-count {
        font-size: 1rem;
    }

    .hero-stats,
    .hero-buttons,
    .reviews-actions {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .services-grid,
    .gallery-grid,
    .reviews-grid {
        width: 100%;
        padding: 0;
    }

    .footer {
        width: 100%;
        overflow-x: hidden;
    }

    .footer-content {
        width: 100%;
        padding: 0;
    }

    /* Enhanced mobile touch targets */
    .hamburger {
        padding: 10px;
        margin-right: -10px;
    }

    .nav-menu.active {
        padding: 1rem 0;
    }

    /* Reviews mobile optimization */
    .reviews-summary {
        padding: 1.25rem 0.75rem;
    }

    .rating-display .stars {
        gap: 0.15rem;
    }

    .rating-display .stars i {
        font-size: 1.3rem;
    }

    .pagination-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .reviews-pagination {
        padding: 0 10px;
    }

    /* Ensure proper touch spacing */
    .btn, .btn-large {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .review-card {
        padding: 1.25rem;
    }

    .reviewer-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .license-info {
        gap: 0.35rem;
    }

    .esa-logo {
        height: 18px !important;
        max-height: 18px !important;
        max-width: 30px !important;
    }

    .license-info span {
        font-size: 0.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.review-card,
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Reviews Pagination */
.reviews-pagination-container {
    position: relative;
}

.reviews-container {
    width: 100%;
    max-width: 100%;
}

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

.reviews-page.active {
    display: grid;
}

.reviews-page[style*="display: grid"] {
    display: grid !important;
}

@media (max-width: 1024px) {
    .reviews-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pagination-btn:hover:not(:disabled) {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
    color: #9ca3af;
}

.pagination-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

.dot:hover {
    background: #6b7280;
}