/* ============================================
   BRIGHT SPARK ELECTRIC - Bold Safety Aesthetic
   High-Voltage Industrial Design
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Karla:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* Safety-Industrial Palette */
  --electric-yellow: #FFD700;
  --electric-yellow-light: #FFE44D;
  --electric-yellow-dark: #D4B000;
  --spark-amber: #FFAA00;

  --deep-blue: #1A365D;
  --deep-blue-light: #2C5282;
  --deep-blue-dark: #0F2442;

  --safety-orange: #FF6B35;
  --safety-orange-light: #FF8C5A;
  --safety-orange-dark: #E05020;

  --carbon-black: #1C1C1C;
  --carbon-dark: #0F0F0F;
  --carbon-light: #2D2D2D;

  --soft-white: #F8F9FA;
  --pure-white: #FFFFFF;
  --gray-light: #E9ECEF;
  --gray: #ADB5BD;
  --gray-dark: #6C757D;

  /* Semantic Colors */
  --emergency: #DC2626;
  --success: #16A34A;
  --warning: var(--electric-yellow);

  /* Typography */
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Karla', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-electric: 0 0 30px rgba(255, 215, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.4);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* Gradients */
  --gradient-electric: linear-gradient(135deg, var(--electric-yellow) 0%, var(--spark-amber) 100%);
  --gradient-power: linear-gradient(135deg, var(--deep-blue) 0%, var(--deep-blue-light) 100%);
  --gradient-danger: linear-gradient(135deg, var(--carbon-black) 0%, var(--carbon-light) 100%);
  --gradient-caution: repeating-linear-gradient(
    45deg,
    var(--electric-yellow),
    var(--electric-yellow) 10px,
    var(--carbon-black) 10px,
    var(--carbon-black) 20px
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--carbon-black);
  background: var(--soft-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--carbon-black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--carbon-black);
  padding: 0 2rem;
  border-bottom: 4px solid var(--electric-yellow);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-electric);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
  box-shadow: var(--shadow-electric);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pure-white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--electric-yellow);
  letter-spacing: 0.2em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.25rem;
  position: relative;
  border-radius: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--electric-yellow);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--electric-yellow);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.phone-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--electric-yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--electric-yellow);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(255, 215, 0, 0);
  }
}

.phone-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pure-white);
  letter-spacing: 0.02em;
}

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

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  min-height: 100vh;
  background: var(--carbon-black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

/* Electric grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Lightning bolt accent */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gradient-caution);
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--electric-yellow);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--electric-yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '⚡';
  font-size: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--pure-white);
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.hero h1 .highlight {
  color: var(--electric-yellow);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

/* Trust Badges Row */
.hero-trust {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Hero Visual - Power Display */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.power-display {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.power-card {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.05) 0%, rgba(26, 54, 93, 0.1) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.power-card-header {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--electric-yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.power-icon-main {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  animation: flicker 3s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.6; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}

.power-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.power-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--electric-yellow);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating service badges */
.service-float {
  position: absolute;
  background: var(--pure-white);
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--carbon-black);
  border-left: 4px solid var(--electric-yellow);
}

.service-float.residential {
  top: 5%;
  right: -5%;
  animation: float 4s ease-in-out infinite;
}

.service-float.commercial {
  bottom: 10%;
  left: -10%;
  animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Page Hero (smaller) */
.page-hero {
  min-height: 50vh;
  padding-top: 140px;
}

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

.page-hero .hero-text {
  max-width: 750px;
  margin: 0 auto;
}

.page-hero .hero-description {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-electric);
  color: var(--carbon-black);
  box-shadow: var(--shadow-md), var(--shadow-electric);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--deep-blue);
  color: var(--pure-white);
}

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

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

.btn-outline:hover {
  background: var(--electric-yellow);
  color: var(--carbon-black);
}

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

.btn-emergency:hover {
  background: #B91C1C;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--carbon-black);
  color: var(--pure-white);
  border: 2px solid var(--carbon-black);
}

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

.btn-white {
  background: var(--pure-white);
  color: var(--carbon-black);
}

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

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 100px 2rem;
}

.section-white {
  background: var(--pure-white);
}

.section-light {
  background: var(--soft-white);
}

.section-dark {
  background: var(--carbon-black);
  color: var(--pure-white);
}

.section-blue {
  background: var(--deep-blue);
  color: var(--pure-white);
}

.section-caution {
  background: var(--electric-yellow);
  color: var(--carbon-black);
  position: relative;
}

.section-caution::before,
.section-caution::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--gradient-caution);
}

.section-caution::before { top: 0; }
.section-caution::after { bottom: 0; }

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--electric-yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '⚡';
  font-size: 0.9rem;
}

.section-dark .section-tag,
.section-blue .section-tag {
  color: var(--electric-yellow);
}

.section-caution .section-tag {
  color: var(--carbon-black);
}

.section-caution .section-tag::before {
  content: '⚠';
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-dark .section-title,
.section-blue .section-title {
  color: var(--pure-white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-dark);
  max-width: 650px;
}

.section-dark .section-subtitle,
.section-blue .section-subtitle {
  color: var(--gray);
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

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

@media (max-width: 900px) {
  .services-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--pure-white);
  padding: 2.25rem;
  border-radius: 8px;
  border: 2px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--electric-yellow);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 0, 0.1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 170, 0, 0.1) 100%);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.service-icon.blue {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.15) 0%, rgba(44, 82, 130, 0.1) 100%);
  border-color: rgba(26, 54, 93, 0.2);
}

.service-icon.orange {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 140, 90, 0.1) 100%);
  border-color: rgba(255, 107, 53, 0.2);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--carbon-black);
}

.service-description {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  color: var(--electric-yellow-dark);
  gap: 0.75rem;
}

/* ============================================
   FEATURES / WHY US
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 215, 0, 0.2);
  transition: var(--transition);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:hover {
  background: rgba(255, 215, 0, 0.05);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--electric-yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--pure-white);
}

.feature-text {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ============================================
   ABOUT / TEAM
   ============================================ */

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

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--deep-blue-dark) 0%, var(--deep-blue) 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--electric-yellow);
}

.about-image-main::after {
  content: '⚡';
  position: absolute;
  bottom: 20%;
  right: 20%;
  font-size: 6rem;
  opacity: 0.15;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-electric);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  color: var(--carbon-black);
  box-shadow: var(--shadow-lg);
}

.accent-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.accent-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.about-text {
  color: var(--gray-dark);
  margin-bottom: 1.25rem;
}

.about-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--carbon-black);
}

.about-list li::before {
  content: '⚡';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--gradient-electric);
  font-size: 0.8rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--pure-white);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--gray-light);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--electric-yellow);
  box-shadow: var(--shadow-lg);
}

.team-image {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--deep-blue-dark) 0%, var(--deep-blue) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.team-info {
  padding: 1.75rem;
  text-align: center;
  border-top: 4px solid var(--electric-yellow);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--electric-yellow-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.team-certs {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.credentials-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .credentials-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .credentials-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

.credentials-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 600px) {
  .credentials-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.credential-item {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.credential-item:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--electric-yellow);
}

.credential-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.credential-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pure-white);
  text-transform: uppercase;
}

/* ============================================
   SERVICE CATEGORIES (Services Page)
   ============================================ */

.service-category {
  padding: 4rem 0;
  border-bottom: 2px solid var(--gray-light);
}

.service-category:last-child {
  border-bottom: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  background: var(--gradient-electric);
  border: 3px solid var(--carbon-black);
}

.category-icon.blue {
  background: var(--gradient-power);
  border-color: var(--electric-yellow);
}

.category-icon.orange {
  background: linear-gradient(135deg, var(--safety-orange-dark) 0%, var(--safety-orange) 100%);
  border-color: var(--carbon-black);
}

.category-title {
  font-size: 1.85rem;
}

.category-subtitle {
  color: var(--gray-dark);
  font-size: 1rem;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-items.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .service-items.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-items.cols-3 {
    grid-template-columns: 1fr;
  }
}

.service-item {
  background: var(--pure-white);
  padding: 1.75rem;
  border-radius: 8px;
  border: 2px solid var(--gray-light);
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--electric-yellow);
  box-shadow: var(--shadow-md);
}

.service-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* ============================================
   SAFETY TIPS
   ============================================ */

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.safety-card {
  background: var(--pure-white);
  border-radius: 8px;
  padding: 2rem;
  border: 2px solid var(--gray-light);
  border-top: 6px solid var(--electric-yellow);
  transition: var(--transition);
}

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

.safety-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--electric-yellow);
  line-height: 1;
  margin-bottom: 1rem;
}

.safety-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.safety-card p {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--pure-white);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--gray-light);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 50px;
  height: 4px;
  background: var(--gradient-electric);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: var(--electric-yellow);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.author-avatar {
  width: 54px;
  height: 54px;
  background: var(--gradient-power);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--electric-yellow);
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--carbon-black);
  font-size: 1.05rem;
}

.author-location {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  background: var(--carbon-black);
  padding: 2.5rem;
  border-radius: 8px;
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
}

.contact-info::after {
  content: '⚡';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 8rem;
  opacity: 0.05;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--pure-white);
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  position: relative;
  z-index: 1;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.emergency-box {
  background: rgba(220, 38, 38, 0.15);
  border: 2px solid var(--emergency);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.emergency-box h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #FCA5A5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.emergency-box .phone {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pure-white);
}

.contact-form-wrapper {
  background: var(--pure-white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 2px solid var(--gray-light);
}

.contact-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--carbon-black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  background: var(--soft-white);
  transition: var(--transition);
  color: var(--carbon-black);
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231C1C1C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--electric-yellow);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
}

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

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: var(--gradient-electric);
  padding: 80px 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-caution);
  opacity: 0.1;
}

.cta-banner::after {
  content: '⚡';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15rem;
  opacity: 0.1;
}

.cta-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--carbon-black);
  margin-bottom: 0.5rem;
}

.cta-text p {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.7);
}

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

/* ============================================
   FAQ
   ============================================ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.25rem;
}

.faq-item {
  background: var(--pure-white);
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  padding: 1.75rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--electric-yellow);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--carbon-black);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-question::before {
  content: '⚡';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--gradient-electric);
  border-radius: 4px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-answer {
  color: var(--gray-dark);
  font-size: 0.95rem;
  padding-left: 2.75rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--carbon-black);
  color: var(--pure-white);
  padding: 80px 2rem 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gradient-caution);
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  max-width: 280px;
  font-size: 0.95rem;
}

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

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--electric-yellow);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--electric-yellow);
  border-color: var(--electric-yellow);
  color: var(--carbon-black);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--electric-yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--electric-yellow);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-bottom a {
  color: var(--electric-yellow);
}

.footer-bottom a:hover {
  color: var(--pure-white);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--electric-yellow);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

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

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-visual {
    display: none;
  }

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

  .feature-item {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }

  .feature-item:nth-child(2) {
    border-right: none;
  }

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

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

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

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

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--carbon-black);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    gap: 0;
    z-index: 99;
    border-top: 2px solid var(--electric-yellow);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 2rem;
    width: 100%;
    text-align: center;
  }

  .nav-link::after {
    display: none;
  }

  .header-phone {
    display: none;
  }

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

  .feature-item {
    border-right: none;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

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

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

@media (max-width: 480px) {
  .section {
    padding: 60px 1.25rem;
  }

  .hero {
    padding: 100px 1.25rem 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 1rem;
  }

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

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes spark {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
  }
}

.hero-badge,
.hero h1,
.hero-description,
.hero-buttons,
.hero-trust {
  animation: fadeInUp 0.8s ease-out backwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-description { animation-delay: 0.3s; }
.hero-buttons { animation-delay: 0.4s; }
.hero-trust { animation-delay: 0.5s; }

.hero h1 .highlight {
  animation: spark 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
