@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --color-yellow: #FEEA00;
  --color-blue: #003366;
  --color-white: #FFFFFF;
  --color-light-grey: #E0E0E0;
  --color-dark-grey: #333333;
  --color-text: #333333;
  --color-text-light: #666666;
  
  --font-primary: 'Montserrat', 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 300ms ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-white);
  z-index: 1000;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

header.scrolled {
  height: 64px;
}

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

.logo {
  display: flex;
  align-items: center;
  height: 64px;
  transition: height var(--transition-slow);
}

header.scrolled .logo {
  height: 48px;
}

.logo img {
  height: 100%;
  width: auto;
}

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

.nav-desktop a {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-dark-grey);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

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

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-blue);
}

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

.header-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-link {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-blue);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.phone-link:hover {
  color: var(--color-yellow);
}

/* Primary CTA Button */
.cta-button {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 5px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
}

.primary-cta {
  background: var(--color-yellow);
  color: var(--color-blue);
}

.primary-cta:hover {
  background: #e6d700;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.secondary-cta {
  background: var(--color-blue);
  color: var(--color-yellow);
  border: 1px solid var(--color-yellow);
}

.secondary-cta:hover {
  background: #004488;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-blue);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-phone {
  display: none;
}

/* Mobile Overlay Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-blue);
  z-index: 999;
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--color-yellow);
}

.mobile-nav .cta-button {
  margin-top: 24px;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-close span {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--color-white);
}

.mobile-nav-close span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-close span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('../images/hero-background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: 40px 20px;
}

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

.hero .subheadline {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero .trust-phrase {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-yellow);
  margin-bottom: 32px;
  text-shadow: 0 0 5px var(--color-yellow), 0 0 10px var(--color-yellow);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 5px var(--color-yellow), 0 0 10px var(--color-yellow);
  }
  50% {
    text-shadow: 0 0 10px var(--color-yellow), 0 0 20px var(--color-yellow), 0 0 30px var(--color-yellow);
  }
}

.hero .cta-button {
  font-size: 18px;
  padding: 16px 32px;
}

/* ============================================
   SERVICES OVERVIEW SECTION
   ============================================ */
.services-overview {
  padding: 80px 0;
  background: linear-gradient(to bottom right, #E0E0E0, #F0F0F0);
}

.services-overview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.services-overview h2 {
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 24px;
}

.services-overview p {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.8;
}

.services-overview img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose {
  padding: 80px 0;
  background: var(--color-white);
}

.why-choose h2 {
  text-align: center;
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 48px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.why-choose-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.why-choose-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
}

.why-choose-card h3 {
  font-size: 24px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.why-choose-card p {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(to bottom right, #E0E0E0, #F0F0F0);
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 48px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-block {
  background: var(--color-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-blue);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-yellow);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-blue);
}

.testimonial-nav button:hover {
  background: var(--color-yellow);
  transform: scale(1.1);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--color-blue);
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-section .cta-button {
  font-size: 18px;
  padding: 16px 40px;
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('../images/electrician-residential.png');
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.page-hero.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('../images/contact-hero.png');
}

.page-hero.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('../images/about-van.png');
}

.page-hero.services-hero {
  background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)),
              var(--color-blue);
}

.page-hero-content {
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: 40px 20px;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 20px;
  opacity: 0.95;
}

.services-detail {
  padding: 80px 0;
}

.services-detail h2 {
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 24px;
}

.services-detail > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.services-text {
  padding: 20px 0;
}

.services-text p {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.8;
}

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

.services-list li {
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-light-grey);
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-list li::before {
  content: '✓';
  color: var(--color-yellow);
  font-weight: bold;
  font-size: 18px;
}

.services-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Service Process Section */
.service-process {
  padding: 80px 0;
  background: linear-gradient(to bottom right, #E0E0E0, #F0F0F0);
}

.service-process h2 {
  text-align: center;
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 48px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-yellow);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.process-icon img {
  width: 40px;
  height: 40px;
}

.process-step h3 {
  font-size: 18px;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-story {
  padding: 80px 0;
  background: var(--color-white);
}

.about-story > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-story h2 {
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 24px;
}

.about-story p {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-values {
  list-style: none;
  margin-top: 24px;
}

.about-values li {
  font-size: 15px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-values li::before {
  content: '★';
  color: var(--color-yellow);
  font-size: 20px;
}

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

/* Team Section */
.team-section {
  padding: 80px 0;
  background: linear-gradient(to bottom right, #E0E0E0, #F0F0F0);
}

.team-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 48px;
}

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

.team-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-size: 20px;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.team-info p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Certifications Section */
.certifications {
  padding: 80px 0;
  background: var(--color-white);
}

.certifications h2 {
  text-align: center;
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 24px;
}

.certifications > .container > p {
  text-align: center;
  font-size: 16px;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

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

.cert-item {
  text-align: center;
  padding: 24px;
  background: linear-gradient(to bottom right, #E0E0E0, #F0F0F0);
  border-radius: 8px;
}

.cert-item h3 {
  font-size: 16px;
  color: var(--color-blue);
  margin-top: 12px;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-form-section {
  padding: 80px 0;
  background: var(--color-white);
}

.contact-form-section h2 {
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 32px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-light-grey);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--transition-fast);
}

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

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

.contact-form .cta-button {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Contact Details Section */
.contact-details {
  padding: 80px 0;
  background: linear-gradient(to bottom right, #E0E0E0, #F0F0F0);
}

.contact-details h2 {
  font-size: 36px;
  color: var(--color-blue);
  margin-bottom: 32px;
  text-align: center;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-detail-item {
  text-align: center;
  padding: 32px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.contact-detail-item h3 {
  font-size: 18px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.contact-detail-item p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

.contact-detail-item a {
  color: var(--color-blue);
  font-weight: 600;
}

.contact-map {
  margin-top: 48px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 18px;
  color: var(--color-yellow);
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: var(--color-white);
  line-height: 1.8;
  display: block;
}

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

.footer-logo {
  display: block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

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

.social-links a:hover {
  background: var(--color-yellow);
  transform: translateY(-2px) scale(1.05);
}

.social-links a svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.social-links a:hover svg {
  fill: var(--color-blue);
}

.subscribe-form {
  display: flex;
  gap: 12px;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}

.subscribe-form input:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

.subscribe-form button {
  padding: 12px 20px;
  font-size: 14px;
}

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

.footer-bottom p {
  font-size: 14px;
  opacity: 0.8;
}

/* Footer Accordion (Mobile) */
.footer-accordion {
  display: none;
}

/* ============================================
   SCROLL INDICATOR BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-yellow);
  width: 0;
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* ============================================
   CURSOR TRAIL (Desktop only)
   ============================================ */
.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-yellow);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px var(--color-yellow);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animations for service items */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet and smaller */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps::before {
    display: none;
  }
  
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
  header {
    height: 64px;
  }
  
  .nav-desktop,
  .header-contact .phone-link {
    display: none;
  }
  
  .menu-toggle,
  .mobile-phone {
    display: flex;
  }
  
  .mobile-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-blue);
  }
  
  .hero {
    min-height: 60vh;
    background-attachment: scroll;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero .subheadline {
    font-size: 18px;
  }
  
  .hero .trust-phrase {
    font-size: 16px;
  }
  
  .services-overview .container,
  .services-detail > .container,
  .about-story > .container {
    grid-template-columns: 1fr;
  }
  
  .services-overview {
    text-align: center;
  }
  
  .services-overview h2 {
    font-size: 28px;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose h2,
  .testimonials h2,
  .cta-section h2,
  .service-process h2,
  .services-detail h2,
  .about-story h2,
  .team-section h2,
  .certifications h2,
  .contact-form-section h2,
  .contact-details h2 {
    font-size: 28px;
  }
  
  .page-hero {
    min-height: 40vh;
  }
  
  .page-hero h1 {
    font-size: 32px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cert-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    display: none;
  }
  
  .footer-accordion {
    display: block;
  }
  
  .footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-white);
    width: 100%;
    text-align: left;
  }
  
  .footer-accordion-header h4 {
    font-size: 16px;
    color: var(--color-yellow);
    margin: 0;
  }
  
  .footer-accordion-icon {
    font-size: 20px;
    transition: transform var(--transition-fast);
  }
  
  .footer-accordion-item.active .footer-accordion-icon {
    transform: rotate(45deg);
  }
  
  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }
  
  .footer-accordion-item.active .footer-accordion-content {
    max-height: 300px;
  }
  
  .footer-accordion-content a,
  .footer-accordion-content p {
    padding: 8px 0;
    font-size: 14px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
  
  .scroll-progress,
  .cursor-trail {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero {
    background-attachment: scroll;
  }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

/* ============================================
   PAGE HERO SERVICES OVERRIDE
   ============================================ */
.services-hero-bg {
  background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)),
              url('../images/electrician-residential.png');
  background-size: cover;
  background-position: center;
}
