/* ═══════════════════════════════════════════
   VoltEdge Electrical — Main Stylesheet
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --yellow: #f5c518;
  --yellow-dark: #d4a800;
  --navy: #0a1628;
  --navy-mid: #0f2044;
  --navy-light: #1a3060;
  --blue-accent: #1e4db7;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f1f3f9;
  --gray-200: #e2e6f0;
  --gray-400: #8892a4;
  --gray-700: #3d4a5c;
  --text: #1a2233;
  --text-muted: #5a6578;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.18);
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Padding ── */
.section-pad { padding: 96px 0; }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-light { background: var(--gray-100); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,197,24,0.35); }
.btn-outline { border: 2px solid rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-nav { padding: 9px 20px; background: var(--yellow); color: var(--navy); font-size: 0.875rem; }
.btn-nav:hover { background: var(--yellow-dark); }
.full-width { width: 100%; justify-content: center; }

/* ── Section Header ── */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-header p { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }
.section-header.light p { color: rgba(255,255,255,0.7); }
.section-header.light h2 { color: var(--white); }
.section-tag {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  color: var(--yellow-dark);
  border: 1px solid rgba(245,197,24,0.3);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bg-dark .section-tag { background: rgba(245,197,24,0.15); color: var(--yellow); border-color: rgba(245,197,24,0.3); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-bolt { font-size: 1.4rem; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.logo-text em { font-style: normal; color: var(--yellow); }
#main-nav { flex: 1; }
#main-nav ul { display: flex; gap: 4px; justify-content: center; }
#main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}
#main-nav a:hover { color: var(--yellow); background: rgba(255,255,255,0.07); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--navy);
  z-index: 1001;
  padding: 64px 32px 40px;
  transition: right 0.35s cubic-bezier(.25,.46,.45,.94);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: auto; }
.mobile-nav a { color: rgba(255,255,255,0.85); font-size: 1.05rem; font-weight: 500; padding: 10px 12px; border-radius: 8px; display: block; transition: all var(--transition); }
.mobile-nav a:hover { color: var(--yellow); background: rgba(255,255,255,0.07); }
.mobile-nav .btn { margin-top: 24px; }
.close-btn { position: absolute; top: 16px; right: 16px; font-size: 1.5rem; color: var(--white); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { background: rgba(255,255,255,0.1); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.overlay.show { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(30,77,183,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(245,197,24,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #050d1a 0%, #0a1628 45%, #0d1f44 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,197,24,0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--yellow);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
#hero h1 { margin-bottom: 20px; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.02em; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 580px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.stat { text-align: center; padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  z-index: 1;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-arrow { font-size: 1.2rem; animation: bounce 2s infinite; margin-top: 4px; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { border-color: rgba(245,197,24,0.4); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.service-card:hover::after { transform: scaleX(1); }

/* Image banner */
.service-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }

/* Special handling for icon-style images (diagrams / warning symbols) */
.service-img--emergency img {
  object-fit: contain;
  padding: 24px;
  background: #fff8e1;
}

/* Card body */
.service-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.card-link { color: var(--blue-accent); font-size: 0.88rem; font-weight: 600; transition: color var(--transition); align-self: flex-start; }
.card-link:hover { color: var(--yellow-dark); }

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(245,197,24,0.25); transform: translateY(-3px); }
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { color: var(--yellow); margin-bottom: 10px; font-size: 1.05rem; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.65; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-lg);
}
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--yellow);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge-float strong { display: block; font-size: 1.1rem; }
.about-badge-float span { font-size: 0.78rem; font-weight: 500; }
.about-text .section-tag { margin-bottom: 12px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.97rem; }
.about-highlights { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.highlight-item { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; color: var(--text); }
.h-icon { font-size: 1rem; }

/* ══════════════════════════════════════
   PROJECTS
══════════════════════════════════════ */
.projects-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--yellow); color: var(--yellow-dark); }
.filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

/* ── Project card ── */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card.hidden { display: none; }

/* ── Per-card image slider ── */
.project-slider {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy);
  /* Pause card lift when interacting with slider */
  isolation: isolate;
}

/* The scrolling strip of images */
.ps-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.ps-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Prev / Next arrow buttons */
.ps-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
  z-index: 2;
  cursor: pointer;
}
.ps-prev { left: 10px; }
.ps-next { right: 10px; }
.project-slider:hover .ps-btn { opacity: 1; }
.ps-btn:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.ps-prev:hover { transform: translateY(-50%) scale(1.1); }
.ps-next:hover { transform: translateY(-50%) scale(1.1); }

/* Hide buttons when at first/last slide */
.ps-btn:disabled { opacity: 0 !important; pointer-events: none; }

/* Dot indicators */
.ps-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.ps-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.ps-dot.active {
  background: var(--yellow);
  width: 18px;
  border-radius: 3px;
}

/* Slide counter badge (top-right) */
.ps-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  z-index: 2;
}

/* Project info (below the slider) */
.project-info { padding: 20px 24px; }
.project-tag {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  color: var(--yellow-dark);
  border: 1px solid rgba(245,197,24,0.25);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.project-info h4 { font-size: 1rem; margin-bottom: 8px; }
.project-info p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-carousel { overflow: hidden; border-radius: var(--radius); margin-bottom: 24px; }
.testimonials-track { display: flex; gap: 24px; transition: transform 0.4s cubic-bezier(.25,.46,.45,.94); }
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.92rem; }
.reviewer span { font-size: 0.8rem; color: var(--text-muted); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  font-size: 1.4rem;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.carousel-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.carousel-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); transition: all var(--transition); cursor: pointer; }
.dot.active { background: var(--yellow); width: 24px; border-radius: 4px; }
.review-cta { text-align: center; }
.review-cta p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.95rem; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info .section-tag.light { background: rgba(245,197,24,0.15); color: var(--yellow); border-color: rgba(245,197,24,0.3); }
.light-h { color: var(--white); margin: 12px 0 16px; }
.contact-sub { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 0.97rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.c-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--yellow); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.contact-item a, .contact-item span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.contact-item a:hover { color: var(--yellow); }
.emergency-callout {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.emergency-callout strong { display: block; color: var(--yellow); font-size: 1.05rem; margin-bottom: 6px; }
.emergency-callout p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 16px; }

/* Contact Form */
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 28px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group select { appearance: none; cursor: pointer; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }
.form-success {
  margin-top: 16px;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.hidden { display: none !important; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: #050d1a; color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; max-width: 280px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.social-links a svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.social-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,197,24,0.3);
}
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-contact p { font-size: 0.875rem; margin-bottom: 8px; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 0.8rem; color: rgba(255,255,255,0.35); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-legal-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-legal-links a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--yellow); }
.footer-legal-links span { color: rgba(255,255,255,0.2); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--yellow); color: var(--navy);
  border-radius: 50%;
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(245,197,24,0.4);
  z-index: 500;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.5); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 500px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  #main-nav, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { gap: 4px; }
  .stat { padding: 0 14px; }
  .testimonial-card { flex: 0 0 calc(100% - 24px); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stat { padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat:last-child { border: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
}
