/* ============================================
   SJ Electrical Contractors - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0066CC;
    --primary-dark: #004d99;
    --secondary: #FFD700;
    --secondary-dark: #e6c200;
    --dark: #2D2D2D;
    --dark-light: #4a4a4a;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --accent: #28A745;
    --danger: #DC3545;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

.btn-white:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.header-cta {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    display: block;
    color: var(--dark);
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 15px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z' fill='%23FFD700' opacity='0.1'/%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-badge svg {
    color: var(--secondary);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.hero-feature svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    color: var(--dark);
    max-width: 400px;
}

.hero-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-card-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.hero-card-feature svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 80px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    color: var(--dark);
}

.section-header p {
    color: var(--dark-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--dark-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us {
    padding: 80px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    margin-bottom: 20px;
}

.why-us-content > p {
    color: var(--dark-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.why-us-features {
    display: grid;
    gap: 20px;
}

.why-feature {
    display: flex;
    gap: 15px;
}

.why-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.why-feature h4 {
    margin-bottom: 5px;
}

.why-feature p {
    color: var(--dark-light);
    font-size: 0.95rem;
    margin: 0;
}

.why-us-image {
    position: relative;
}

.credentials-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.niceic-badge {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #006633 0%, #004d26 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border: 4px solid #FFD700;
}

.niceic-badge span:first-child {
    font-size: 1.4rem;
}

.niceic-badge span:last-child {
    font-size: 0.7rem;
    opacity: 0.9;
}

.credentials-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.credentials-card p {
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* ============================================
   Photo Quote CTA Section
   ============================================ */
.photo-quote-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--dark-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    flex-shrink: 0;
}

.cta-step p {
    margin: 0;
    font-weight: 500;
    color: var(--dark);
}

.cta-image {
    display: flex;
    justify-content: center;
}

.upload-preview {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 350px;
}

.upload-preview svg {
    color: var(--primary);
    margin-bottom: 20px;
}

.upload-preview h4 {
    color: var(--dark);
    margin-bottom: 10px;
}

.upload-preview p {
    color: var(--dark-light);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--dark-light);
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-contact svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--secondary);
}

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

/* ============================================
   Services Page
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.service-detail {
    padding: 60px 0;
    border-bottom: 1px solid var(--light);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: ltr;
}

.service-detail:nth-child(even) .service-detail-image {
    direction: ltr;
}

.service-detail-content h2 {
    color: var(--dark);
    margin-bottom: 15px;
}

.service-detail-content > p {
    color: var(--dark-light);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    margin-bottom: 25px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-list svg {
    color: var(--accent);
    flex-shrink: 0;
}

.service-detail-image {
    display: flex;
    justify-content: center;
}

.service-image-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-card svg {
    color: var(--primary);
}

/* ============================================
   Quote Form Page
   ============================================ */
.quote-page {
    padding: 140px 0 80px;
    background: var(--light);
    min-height: 100vh;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.quote-header {
    text-align: center;
    margin-bottom: 40px;
}

.quote-header h1 {
    color: var(--dark);
    margin-bottom: 15px;
}

.quote-header p {
    color: var(--dark-light);
    font-size: 1.1rem;
}

.quote-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group label span {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control::placeholder {
    color: #999;
}

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

select.form-control {
    cursor: pointer;
}

/* Photo Upload Zone */
.upload-zone {
    border: 3px dashed var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0, 102, 204, 0.02);
}

.upload-zone:hover,
.upload-zone.dragover {
    background: rgba(0, 102, 204, 0.05);
    border-color: var(--primary-dark);
}

.upload-zone svg {
    color: var(--primary);
    margin-bottom: 15px;
}

.upload-zone h4 {
    color: var(--dark);
    margin-bottom: 10px;
}

.upload-zone p {
    color: var(--dark-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.upload-zone .browse-btn {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.upload-input {
    display: none;
}

/* Image Preview */
.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.preview-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Contact Preferences */
.checkbox-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

/* Form Submit */
.form-submit {
    text-align: center;
    padding-top: 20px;
}

.form-submit .btn {
    min-width: 250px;
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--dark-light);
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    color: var(--accent);
    margin-bottom: 20px;
}

.form-success h2 {
    color: var(--dark);
    margin-bottom: 15px;
}

.form-success p {
    color: var(--dark-light);
    font-size: 1.1rem;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--dark-light);
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
}

.stat-item h3 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--dark-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-image-section {
    display: flex;
    justify-content: center;
}

.about-badge-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.certifications {
    padding: 60px 0;
    background: var(--light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cert-card p {
    color: var(--dark-light);
    font-size: 0.9rem;
    margin: 0;
}

.service-areas {
    padding: 60px 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.areas-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.areas-list svg {
    color: var(--primary);
}

.areas-map {
    background: var(--light);
    border-radius: var(--radius-lg);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-light);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method h4 {
    margin-bottom: 5px;
}

.contact-method p {
    color: var(--dark-light);
    margin: 0;
}

.contact-method a {
    color: var(--primary);
    font-weight: 600;
}

.opening-hours {
    margin-top: 40px;
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
}

.opening-hours h4 {
    margin-bottom: 15px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-list p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: 0.95rem;
}

.hours-list span:last-child {
    font-weight: 600;
}

.contact-form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-section h3 {
    margin-bottom: 25px;
}

.map-section {
    padding: 0 0 60px;
}

.map-container {
    height: 400px;
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (min-width: 992px) {
    .header-cta {
        display: block;
    }
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid,
    .cta-container,
    .about-grid,
    .areas-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail-grid {
        direction: ltr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form-card {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .areas-list {
        grid-template-columns: 1fr;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }

/* ============================================
   Dark Mode
   ============================================ */
[data-theme="dark"] {
    --primary: #4d9fff;
    --primary-dark: #3385ff;
    --dark: #E8E8E8;
    --dark-light: #B0B0B0;
    --light: #1a1a2e;
    --white: #0f0f1a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] body {
    background-color: #0f0f1a;
}

[data-theme="dark"] .header {
    background: #0f0f1a;
    border-bottom: 1px solid #2a2a3e;
}

[data-theme="dark"] .mobile-nav {
    background: #0f0f1a;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .quote-form-card,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .credentials-card,
[data-theme="dark"] .hero-card,
[data-theme="dark"] .upload-preview,
[data-theme="dark"] .about-badge-card,
[data-theme="dark"] .cert-card {
    background: #1a1a2e;
}

[data-theme="dark"] .form-control {
    background: #1a1a2e;
    border-color: #2a2a3e;
    color: #E8E8E8;
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--primary);
}

[data-theme="dark"] .upload-zone {
    background: rgba(77, 159, 255, 0.05);
    border-color: var(--primary);
}

[data-theme="dark"] .footer {
    background: #0a0a12;
}

[data-theme="dark"] .mobile-menu-btn span {
    background: #E8E8E8;
}

/* Dark mode transition for flicker effect */
body.theme-transitioning {
    animation: flicker 0.5s ease;
}

@keyframes flicker {
    0% { opacity: 1; }
    10% { opacity: 0.4; }
    20% { opacity: 0.8; }
    30% { opacity: 0.2; }
    40% { opacity: 0.9; }
    50% { opacity: 0.3; }
    60% { opacity: 0.8; }
    70% { opacity: 0.5; }
    80% { opacity: 0.9; }
    90% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ============================================
   Light Switch Toggle
   ============================================ */
.light-switch {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
}

.switch-plate {
    width: 50px;
    height: 80px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border-radius: 8px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 3px rgba(255, 255, 255, 0.8),
        inset 0 -2px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #d0d0d0;
}

[data-theme="dark"] .switch-plate {
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-color: #3a3a4e;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.1),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.switch-toggle {
    width: 24px;
    height: 40px;
    background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 50%, #f5f5f5 100%);
    border-radius: 4px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.15s ease;
    transform: rotateX(0deg);
    transform-origin: center bottom;
}

.switch-toggle.off {
    transform: rotateX(-25deg);
    box-shadow:
        0 -2px 8px rgba(0, 0, 0, 0.3),
        inset 0 -1px 2px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .switch-toggle {
    background: linear-gradient(180deg, #4a4a5e 0%, #3a3a4e 50%, #4a4a5e 100%);
}

.light-switch:hover .switch-plate {
    transform: scale(1.05);
}

.light-switch:active .switch-toggle {
    transform: rotateX(-15deg);
}

.switch-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.light-switch:hover .switch-label {
    opacity: 1;
}

/* ============================================
   Spark Cursor Effect
   ============================================ */
.spark {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    animation: sparkFade 0.6s ease-out forwards;
}

.spark-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--secondary), 0 0 12px var(--secondary);
}

@keyframes sparkFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes sparkMove1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(15px, -20px); }
}

@keyframes sparkMove2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-15px, -18px); }
}

@keyframes sparkMove3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 5px); }
}

@keyframes sparkMove4 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-18px, 8px); }
}

@keyframes sparkMove5 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5px, 22px); }
}

.spark-particle:nth-child(1) { animation: sparkMove1 0.5s ease-out forwards; }
.spark-particle:nth-child(2) { animation: sparkMove2 0.5s ease-out forwards; }
.spark-particle:nth-child(3) { animation: sparkMove3 0.5s ease-out forwards; }
.spark-particle:nth-child(4) { animation: sparkMove4 0.5s ease-out forwards; }
.spark-particle:nth-child(5) { animation: sparkMove5 0.5s ease-out forwards; }

/* Electric arc on click */
.electric-arc {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
}

.arc-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 30px;
    background: linear-gradient(to top, transparent, var(--secondary), transparent);
    transform-origin: bottom center;
    animation: arcBurst 0.3s ease-out forwards;
}

@keyframes arcBurst {
    0% {
        opacity: 1;
        transform: scaleY(0);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
    100% {
        opacity: 0;
        transform: scaleY(1);
    }
}

/* ============================================
   Lightbulb Loading Animation
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.lightbulb-container {
    position: relative;
    width: 120px;
    height: 180px;
}

.lightbulb {
    position: relative;
    width: 100%;
    height: 100%;
}

.bulb-glass {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50% 50% 45% 45%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.bulb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.1s ease;
}

.bulb-filament {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
}

.filament-wire {
    position: absolute;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    left: 50%;
    transform: translateX(-50%);
}

.filament-wire::before,
.filament-wire::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    bottom: 0;
}

.filament-wire::before {
    left: -8px;
    transform: rotate(-15deg);
    transform-origin: bottom center;
}

.filament-wire::after {
    left: 8px;
    transform: rotate(15deg);
    transform-origin: bottom center;
}

.bulb-base {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 35px;
    background: linear-gradient(180deg, #666 0%, #444 50%, #666 100%);
    border-radius: 0 0 5px 5px;
}

.bulb-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    right: -5px;
    height: 8px;
    background: linear-gradient(180deg, #888 0%, #555 100%);
    border-radius: 3px;
}

.bulb-screw {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: repeating-linear-gradient(
        0deg,
        #555 0px,
        #555 4px,
        #777 4px,
        #777 8px
    );
    border-radius: 0 0 50% 50%;
}

/* Lightbulb states */
.lightbulb.flickering .bulb-glow {
    animation: bulbFlicker 1.5s ease-in-out;
}

.lightbulb.flickering .filament-wire,
.lightbulb.flickering .filament-wire::before,
.lightbulb.flickering .filament-wire::after {
    animation: filamentFlicker 1.5s ease-in-out;
}

.lightbulb.on .bulb-glow {
    opacity: 1;
    width: 100px;
    height: 100px;
    filter: blur(30px);
}

.lightbulb.on .bulb-glass {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

.lightbulb.on .filament-wire,
.lightbulb.on .filament-wire::before,
.lightbulb.on .filament-wire::after {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

@keyframes bulbFlicker {
    0% { opacity: 0; }
    10% { opacity: 0.3; }
    15% { opacity: 0; }
    25% { opacity: 0.5; }
    30% { opacity: 0.1; }
    40% { opacity: 0.7; }
    45% { opacity: 0.2; }
    55% { opacity: 0.8; }
    60% { opacity: 0.4; }
    70% { opacity: 0.9; }
    75% { opacity: 0.5; }
    85% { opacity: 1; }
    90% { opacity: 0.7; }
    100% { opacity: 1; width: 100px; height: 100px; filter: blur(30px); }
}

@keyframes filamentFlicker {
    0% { background: rgba(255, 255, 255, 0.3); box-shadow: none; }
    10% { background: rgba(255, 200, 100, 0.5); box-shadow: 0 0 3px rgba(255, 200, 100, 0.5); }
    15% { background: rgba(255, 255, 255, 0.3); box-shadow: none; }
    25% { background: rgba(255, 200, 100, 0.6); box-shadow: 0 0 5px rgba(255, 200, 100, 0.5); }
    30% { background: rgba(255, 255, 255, 0.3); box-shadow: none; }
    40% { background: rgba(255, 200, 100, 0.7); box-shadow: 0 0 7px rgba(255, 200, 100, 0.5); }
    45% { background: rgba(255, 200, 100, 0.4); box-shadow: 0 0 3px rgba(255, 200, 100, 0.5); }
    55% { background: rgba(255, 200, 100, 0.8); box-shadow: 0 0 8px rgba(255, 200, 100, 0.5); }
    60% { background: rgba(255, 200, 100, 0.5); box-shadow: 0 0 4px rgba(255, 200, 100, 0.5); }
    70% { background: rgba(255, 200, 100, 0.9); box-shadow: 0 0 9px rgba(255, 200, 100, 0.5); }
    85% { background: var(--secondary); box-shadow: 0 0 10px var(--secondary); }
    100% { background: var(--secondary); box-shadow: 0 0 10px var(--secondary); }
}

.loader-text {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-text span {
    animation: textPulse 1.5s ease-in-out infinite;
}

.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }
.loader-text span:nth-child(6) { animation-delay: 0.5s; }
.loader-text span:nth-child(7) { animation-delay: 0.6s; }
.loader-text span:nth-child(8) { animation-delay: 0.7s; }
.loader-text span:nth-child(9) { animation-delay: 0.8s; }
.loader-text span:nth-child(10) { animation-delay: 0.9s; }

@keyframes textPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   Voltage Meter for Quote Form
   ============================================ */
.voltage-meter {
    position: sticky;
    top: 90px;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 100;
}

.meter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.meter-title {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meter-title svg {
    color: var(--secondary);
}

.meter-percentage {
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.meter-gauge {
    position: relative;
    height: 30px;
    background: #0a0a12;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
        #ff4444 0%,
        #ff8800 25%,
        #ffcc00 50%,
        #88ff00 75%,
        #00ff88 100%
    );
    border-radius: 15px;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 15px 15px 0 0;
}

.meter-sparks {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.meter-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 5px;
}

.meter-marker {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
}

.meter-status {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.status-text.charged {
    color: #00ff88;
    font-weight: 600;
}

/* Meter animations */
.meter-fill.charging {
    animation: meterPulse 1s ease-in-out infinite;
}

@keyframes meterPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.3); }
}

.meter-fill.full {
    animation: meterComplete 0.5s ease;
}

@keyframes meterComplete {
    0% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 136, 1), 0 0 100px rgba(0, 255, 136, 0.5); }
    100% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.7); }
}

/* Mini sparks on the meter */
.mini-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--secondary);
    animation: miniSparkFloat 0.8s ease-out forwards;
}

@keyframes miniSparkFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx, 10px), var(--ty, -20px)) scale(0);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .voltage-meter {
        position: relative;
        top: 0;
    }
}
