/* ===================================
   DB ELECTRIC - Main Stylesheet
   Retro-inspired design matching Sparky D ads
   =================================== */

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

:root {
    /* Color Palette - Retro-inspired from Sparky D ads */
    --primary-color: #1e3a5f;      /* Dark teal/blue from avatar */
    --primary-dark: #152843;
    --secondary-color: #c94a1f;    /* Burnt orange/brown */
    --accent-color: #d4a574;       /* Golden/yellow accent */
    --highlight-color: #fdd835;    /* Yellow from warning badges */
    --text-dark: #3d2914;          /* Dark brown */
    --text-light: #6b4e3d;         /* Medium brown */
    --bg-cream: #f5ebdc;           /* Cream/beige background */
    --bg-light: #faf5ed;
    --bg-white: #ffffff;
    --border-color: #d4a574;
    --shadow-sm: 0 2px 4px rgba(45, 28, 14, 0.1);
    --shadow-md: 0 4px 8px rgba(45, 28, 14, 0.15);
    --shadow-lg: 0 8px 16px rgba(45, 28, 14, 0.2);
    --shadow-xl: 0 12px 24px rgba(45, 28, 14, 0.25);
    
    /* Typography - Retro/Industrial feel */
    --font-primary: 'Bebas Neue', 'Arial Black', 'Impact', 'Helvetica', sans-serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(45, 28, 14, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 74, 31, 0.03) 0%, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-extrabold);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: #b83917;
    border-color: #b83917;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.btn-outline-light {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

.btn-block {
    display: block;
    width: 100%;
}

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

/* Top Header */
/* Top Contact Bar (Mobile Only) */
.top-contact-bar {
    display: none; /* Hidden on desktop */
}

.top-header {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    border-bottom: 2px solid var(--border-color);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: auto;
    min-height: 80px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left .logo-box {
    padding: 0.6rem 0.9rem;
    border-width: 3px;
}

.header-left .logo-letters {
    font-size: 3.5rem;
}

.header-left .logo-word {
    font-size: 1rem;
}

.header-branding {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.license-number {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: var(--font-weight-medium);
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin: 0;
}

.brand-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header-hours,
.header-contact,
.header-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-hours i,
.header-contact i,
.header-email i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.hours-content,
.contact-content,
.email-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.hours-title,
.contact-title,
.email-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
}

.hours-days,
.contact-phone,
.email-address {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin: 0;
}

.contact-phone a,
.email-address a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-phone a:hover,
.email-address a:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 85px;  /* Adjust based on top-header height - accounts for header content */
    left: 0;
    right: 0;
    background-color: #2c3e50;  /* Dark navy blue to match logo */
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

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

.logo-box {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 4px solid #2c3e50;  /* Dark blue/navy border */
    background-color: var(--bg-cream);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.logo:hover .logo-box {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.logo-letters {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    color: #2c3e50;  /* Dark blue/navy matching border */
    line-height: 0.85;
    letter-spacing: -0.02em;  /* Letters close together, almost touching */
    text-align: center;
}

.logo-word {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: #2c3e50;  /* Dark blue/navy matching border */
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 0.125rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: block;
    flex: 1;
    text-align: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.375rem;
    color: var(--bg-white);
    position: relative;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    text-decoration: none;
    line-height: 1.5;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    background-color: #4a7fa5;  /* Lighter blue background on hover/active */
    color: var(--bg-white);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #2c3e50;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--secondary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    flex: none;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--bg-white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    text-transform: none;
    letter-spacing: normal;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(74, 127, 165, 0.3);
    color: var(--bg-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Hide header menu toggle on desktop */
.header-menu-toggle {
    display: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    border-bottom: 4px solid var(--secondary-color);
    overflow: hidden;
    margin-top: 180px;  /* Adjust for top-header + navbar - will be updated dynamically by JS */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--secondary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, #b83917 0%, transparent 50%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--secondary-color);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    font-size: 0.9em;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-weight-medium);
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-image-link {
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hero-image-link:hover {
    transform: scale(1.02);
}

.hero-image-link:active {
    transform: scale(0.98);
}

.sparky-avatar {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.about-image img,
.hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Section Styling */
section {
    padding: var(--section-padding);
}

section:nth-child(even) {
    background-color: var(--bg-white);
}

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

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

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.certification {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    flex: 1;
    min-width: 200px;
}

.certification i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.certification strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.certification span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #b83917);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-color);
}

.service-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-list i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Why Choose Us */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #b83917);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--bg-white);
}

.why-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-details p {
    color: var(--text-light);
    margin: 0;
}

.why-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Warning Callout */
.warning-callout {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    color: var(--bg-white);
    padding: 4rem 0;
}

.warning-callout .section-header h2,
.warning-callout p,
.warning-callout li {
    color: var(--bg-white);
}

.callout-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.callout-image {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.callout-text h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.callout-text h3 i {
    font-size: 2rem;
    color: var(--accent-color);
}

.callout-subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.callout-list {
    list-style: none;
    margin: 1.5rem 0;
}

.callout-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.callout-list i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Service Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.area-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.area-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.area-item span {
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
}

.areas-note {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.areas-note i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.reviews-header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--bg-white);
    padding: 1.5rem 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.google-badge i {
    font-size: 3rem;
    color: #4285F4;
}

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

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

.rating-stars {
    font-size: 1.5rem;
    color: #fbbf24;
    letter-spacing: 0.1rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    font-family: var(--font-primary);
}

.reviews-count {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

.reviews-count strong {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-avatar.avatar-red {
    background: #dc2626;
}

.reviewer-avatar.avatar-blue {
    background: #4285F4;
}

.reviewer-avatar.avatar-green {
    background: #0F9D58;
}

.reviewer-avatar span {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--bg-white);
    font-family: var(--font-primary);
}

.reviewer-avatar i {
    font-size: 1.5rem;
    color: var(--bg-white);
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.reviewer-details h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.reviewer-meta {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.review-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

.reviews-footer {
    text-align: center;
    margin-top: 3rem;
}

.reviews-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-footer .btn i {
    font-size: 1.25rem;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card.emergency {
    background: linear-gradient(135deg, var(--secondary-color), #ef4444);
    color: var(--bg-white);
}

.contact-card.emergency h4,
.contact-card.emergency a {
    color: var(--bg-white);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #b83917);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.emergency .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--bg-white);
}

.contact-card h4 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-card a {
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
}

.contact-card.emergency a {
    color: var(--bg-white);
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.emergency .contact-label {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
}

.required {
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

.error-message {
    display: block;
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    text-align: center;
    padding: 1rem;
    background-color: #10b981;
    color: var(--bg-white);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.form-success i {
    margin-right: 0.5rem;
}

.form-error {
    text-align: center;
    padding: 1rem;
    background-color: #ef4444;
    color: var(--bg-white);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.form-error i {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;  /* Dark navy blue to match navbar */
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

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

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-col p {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: var(--bg-white);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--bg-white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-list i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-license {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: #b83917;
    transform: translateY(-3px);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .sparky-avatar {
        max-width: 400px;
    }
    
    .callout-content {
        grid-template-columns: 1fr;
    }
    
    .callout-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        font-size: 15px; /* Slightly smaller base font for tablets */
    }
    
    /* Prevent text size adjustment on iOS */
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Top Contact Bar - Mobile */
    .top-contact-bar {
        display: block;
        background-color: var(--secondary-color);  /* Orange/brown color */
        padding: 0.5rem 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1002;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .contact-bar-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
    
    .contact-bar-phone,
    .contact-bar-email {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--bg-white);
        font-size: 0.75rem;
        flex: 0 0 auto;
    }
    
    .contact-bar-phone i,
    .contact-bar-email i {
        font-size: 0.875rem;
        color: var(--bg-white);
        flex-shrink: 0;
    }
    
    .contact-bar-phone a,
    .contact-bar-email a {
        color: var(--bg-white);
        text-decoration: none;
        font-weight: var(--font-weight-medium);
        white-space: nowrap;
    }
    
    .contact-bar-phone a:hover,
    .contact-bar-email a:hover {
        opacity: 0.9;
    }
    
    /* Adjust top-header position to account for contact bar */
    .top-header {
        padding: 0.5rem 0;
        top: 32px; /* Height of contact bar */
        position: fixed;
    }
    
    .header-wrapper {
        flex-wrap: nowrap;
        align-items: center;
        gap: 1rem;
        justify-content: space-between;
        position: relative;
        padding-right: 3.5rem; /* Space for menu button */
    }
    
    .header-left {
        width: auto;
        flex-shrink: 0;
        justify-content: flex-start;
        align-items: center;
    }
    
    .header-left .logo-box {
        padding: 0.6rem 0.9rem;
    }
    
    .header-left .logo-letters {
        font-size: 2.75rem;
    }
    
    .header-left .logo-word {
        font-size: 0.9375rem;
    }
    
    .header-branding {
        display: none; /* Hide on mobile */
    }
    
    /* Hide all contact info from main header on mobile */
    .header-right {
        display: none; /* Hide entire header-right on mobile */
    }
    
    /* Menu toggle in header upper right on mobile */
    .header-menu-toggle {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 1001;
        display: flex !important;
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    
    /* Hide navbar menu toggle on mobile (we're using header one instead) */
    .navbar .mobile-menu-toggle {
        display: none;
    }
    
    /* Hide navbar on mobile - menu accessible only via menu button */
    .navbar {
        visibility: hidden;
        height: 0;
        padding: 0;
        overflow: visible;
    }
    
    /* Ensure nav-menu is still visible on mobile even when navbar is hidden */
    .navbar .nav-menu {
        visibility: visible;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: #2c3e50;
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        display: flex !important;
    }
    
    /* Mobile menu overlay - separate element */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Improve touch targets for tablets */
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.75rem;
        touch-action: manipulation;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem;
        touch-action: manipulation;
    }
    
    /* Image responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-image img,
    .about-image img,
    .sparky-avatar {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Hide reviews section on mobile */
    .reviews {
        display: none;
    }
    
    /* Hide contact cards on mobile - emphasis on form */
    .contact-info {
        display: none;
    }
    
    /* Emphasize contact form on mobile */
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form {
        padding: 2rem;
        box-shadow: var(--shadow-xl);
    }
    
    /* Better section spacing */
    section {
        padding: 2rem 0;
    }
    
    /* Proper spacing after fixed header on mobile */
    .hero {
        margin-top: 0 !important; /* Override JS calculated margin */
        padding: 1.5rem 0;
        padding-top: calc(32px + 60px + 2rem); /* Contact bar + header + more spacing */
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .logo-box {
        padding: 0.4rem 0.6rem;
        border-width: 3px;
    }
    
    .logo-letters {
        font-size: 2.5rem;
        letter-spacing: -0.02em;
    }
    
    .logo-word {
        font-size: 0.75rem;
    }
    
    .nav-wrapper {
        justify-content: space-between;
    }
    
    /* Menu toggle shown on mobile via header-menu-toggle */
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        background-color: #2c3e50;  /* Dark navy blue */
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        align-items: stretch;
    }
    
    .nav-menu.active,
    .navbar .nav-menu.active {
        right: 0;
    }
    
    /* Override desktop nav-menu li styles for mobile */
    .nav-menu li {
        flex: none;
        text-align: left;
        width: 100%;
        display: block;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        color: var(--bg-white);
        border-radius: 0.5rem;
        margin-bottom: 0.25rem;
        transition: background-color 0.2s ease;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .nav-link:active {
        background-color: rgba(74, 127, 165, 0.5);
    }
    
    .dropdown {
        display: block;
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .dropdown-toggle i {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .dropdown-menu {
        position: static !important;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        box-shadow: none;
        border-top: none;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        overflow: hidden;
        background-color: transparent !important;
        min-width: auto !important;
        width: 100% !important;
        list-style: none;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .dropdown.open .dropdown-menu {
        max-height: 2000px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0.5rem 0 !important;
        padding: 0.5rem 1rem !important;
        overflow: visible !important;
    }
    
    .dropdown.open .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li {
        list-style: none !important;
        margin: 0.5rem 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: block !important;
        flex: none !important;
        text-align: center !important;
        position: relative !important;
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu li:first-child {
        margin-top: 0 !important;
    }
    
    .dropdown-menu a {
        display: block !important;
        width: 90% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 1rem !important;
        font-size: 0.9375rem !important;
        line-height: 1.5 !important;
        color: var(--bg-white) !important;
        text-decoration: none !important;
        font-family: var(--font-body) !important;
        font-weight: 400 !important;
        transition: all 0.2s ease !important;
        text-align: center !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        min-height: 44px !important;
        border-radius: 0.5rem !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background-color: rgba(74, 127, 165, 0.5) !important;
        border-color: var(--accent-color) !important;
    }
    
    .hero {
        margin-top: 200px;
        padding: 6rem 0 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-item {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .google-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .rating-display {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem 0;
        font-size: 14px; /* Base font size for better readability on small screens */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Top Contact Bar - Phones */
    .top-contact-bar {
        display: block;
        padding: 0.4rem 0;
    }
    
    .contact-bar-phone,
    .contact-bar-email {
        font-size: 0.65rem;
        gap: 0.4rem;
    }
    
    .contact-bar-phone i,
    .contact-bar-email i {
        font-size: 0.75rem;
    }
    
    /* Header improvements for phones */
    .top-header {
        padding: 0.4rem 0;
        top: 28px; /* Smaller height on phones */
        min-height: auto;
    }
    
    .header-left .logo-box {
        padding: 0.5rem 0.75rem;
    }
    
    .header-left .logo-letters {
        font-size: 2.5rem;
    }
    
    .header-left .logo-word {
        font-size: 0.875rem;
    }
    
    .header-wrapper {
        padding-right: 3rem;
    }
    
    /* Hide all header-right content on phones */
    .header-right {
        display: none;
    }
    
    /* Menu toggle in header upper right on phones */
    .header-menu-toggle {
        position: absolute;
        top: 0.25rem;
        right: 0.5rem;
        z-index: 1001;
        display: flex !important;
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    /* Hide navbar menu toggle on phones */
    .navbar .mobile-menu-toggle {
        display: none;
    }
    
    /* Prevent text size adjustment on iOS */
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
    }
    
    /* Typography improvements for phones */
    h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.35;
        margin-bottom: 0.75rem;
    }
    
    h4 {
        font-size: 1.125rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    p {
        font-size: 0.9375rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }
    
    /* Proper spacing after fixed header on phones */
    .hero {
        margin-top: 0 !important; /* Override JS calculated margin */
        padding: 1rem 0;
        padding-top: calc(28px + 55px + 2rem); /* Contact bar + header + more spacing */
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .feature {
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 44px; /* Better touch target */
    }
    
    .sparky-avatar {
        max-width: 100%;
        height: auto;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-header p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Hide navbar on phones - menu accessible only via menu button */
    .navbar {
        visibility: hidden;
        height: 0;
        padding: 0;
        overflow: visible;
    }
    
    /* Ensure nav-menu is still visible on phones even when navbar is hidden */
    .navbar .nav-menu {
        visibility: visible;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: #2c3e50;
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        display: flex !important;
    }
    
    /* Override desktop nav-menu li styles for phones */
    .nav-menu li {
        flex: none;
        text-align: left;
        width: 100%;
        display: block;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 1.125rem;
        min-height: 44px; /* Better touch target */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
    }
    
    .dropdown-toggle i {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .dropdown-menu li {
        margin: 0.4rem 0 !important;
        text-align: center !important;
        position: relative !important;
    }
    
    .dropdown-menu a {
        width: 90% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0.875rem !important;
        font-size: 0.9375rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0.5rem !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background-color: rgba(74, 127, 165, 0.5) !important;
        border-color: var(--accent-color) !important;
    }
    
    .header-menu-toggle {
        width: 48px;
        height: 48px;
        padding: 12px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: rgba(44, 62, 80, 0.8);
        border-radius: 0.5rem;
        transition: background-color 0.2s ease;
    }
    
    .header-menu-toggle:active {
        background-color: rgba(44, 62, 80, 1);
    }
    
    .header-menu-toggle span {
        width: 28px;
        height: 3px;
    }
    
    /* Button improvements for touch */
    .btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-height: 48px;
        touch-action: manipulation;
        border-radius: 0.5rem;
        font-weight: var(--font-weight-semibold);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-block {
        width: 100%;
        display: flex;
    }
    
    .btn i {
        font-size: 1.125rem;
    }
    
    /* Service cards */
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Contact section */
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-card h4 {
        font-size: 1.125rem;
    }
    
    .contact-card p {
        font-size: 1rem;
    }
    
    /* Hide reviews section on phones */
    .reviews {
        display: none;
    }
    
    /* Hide contact cards on phones - emphasis on form */
    .contact-info {
        display: none;
    }
    
    /* Emphasize contact form on phones */
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        box-shadow: var(--shadow-xl);
        border: 2px solid var(--secondary-color);
    }
    
    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevent iOS zoom on focus */
        min-height: 48px; /* Better touch target */
        border-radius: 0.5rem;
        border: 2px solid var(--border-color);
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }
    
    /* Reviews section */
    .reviews-grid {
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .reviewer-avatar {
        width: 45px;
        height: 45px;
    }
    
    .reviewer-avatar span {
        font-size: 1.25rem;
    }
    
    .reviewer-details h4 {
        font-size: 1rem;
    }
    
    .reviewer-meta,
    .review-date {
        font-size: 0.8125rem;
    }
    
    .review-text {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .google-badge {
        padding: 1.25rem;
    }
    
    .rating-number {
        font-size: 1.75rem;
    }
    
    .rating-stars {
        font-size: 1.25rem;
    }
    
    .reviews-count {
        font-size: 0.875rem;
    }
    
    /* About section */
    .about-certifications {
        flex-direction: column;
        gap: 1rem;
    }
    
    .certification {
        width: 100%;
        padding: 1rem;
    }
    
    .certification i {
        font-size: 1.75rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .footer-col p,
    .footer-col a {
        font-size: 0.9375rem;
    }
    
    .footer-social a {
        width: 42px;
        height: 42px;
    }
    
    /* Back to top button */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    /* Areas grid */
    .areas-grid {
        gap: 1rem;
    }
    
    .area-card {
        padding: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .hero-buttons,
    .contact-form,
    .footer,
    .back-to-top {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        padding-top: 2rem;
    }
}

