/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #f4f4f4;
    line-height: 1.6;
   
 /****Very dark background**
 body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #f4f4f4;
    line-height: 1.6;
 */  
}

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

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0.82);
    border-bottom: 1px solid #1f1f1f;
}

.nav-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #ffffff;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    color: #b8b8b8;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

nav a:hover,
nav a.active {
    color: #00ffd5;
}

/* =========================
   LOGO
========================= */

.logo {
    height: 42px;
    width: auto;
    transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 8px rgba(0, 255, 213, 0.65));
    transform: scale(1.03);
}

.logo-lift:hover {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 6px 10px rgba(0, 255, 213, 0.18));
}

.logo-fade {
    animation: logoFadeIn 1.1s ease forwards;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero {
    min-height: auto;
    padding: 25px 20px 60px;
    background:
        radial-gradient(circle at top, rgba(0,255,213,0.12), transparent 30%),
        linear-gradient(180deg, #111111 0%, #090909 100%);
}

.hero-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    color: #00ffd5;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 8px;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin: 0 0 14px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.hero p {
    font-size: 1.08rem;
    color: #bcbcbc;
    max-width: 650px;
    margin-bottom: 20px;
}

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

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

.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    color: #111;
    background: linear-gradient(135deg, #f4c542, #d4a017);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffd65a, #f4c542);
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.55);
}

.btn-secondary {
    color: #f4c542;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(244,197,66,0.35);
    box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}

.btn-secondary:hover {
    color: #111;
    background: #f4c542;
    transform: translateY(-2px);
}

.btn-outline {
    color: #f4c542;
    background: transparent;
    border: 1px solid rgba(244,197,66,0.65);
}

.btn-outline:hover {
    color: #111;
    background: #f4c542;
    transform: translateY(-2px);
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-outline:active,
button:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

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

.page-hero {
    padding: 35px 20px 50px;
    background:
        radial-gradient(circle at top, rgba(0,255,213,0.10), transparent 30%),
        linear-gradient(180deg, #111111 0%, #090909 100%);
}

.page-hero-inner,
.section-inner {
    max-width: 1150px;
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

section {
    padding: 65px 20px;
}

.section-title {
    margin-bottom: 12px;
}

.section-text,
.lead {
    max-width: 760px;
    color: #bcbcbc;
    font-size: 1.05rem;
}

/* =========================
   CARDS / GRIDS
========================= */

.hero-card,
.card,
.project-card,
.contact-card,
.gallery-item {
    background: linear-gradient(180deg, #131313, #0f0f0f);
    border: 1px solid #222;
    border-radius: 18px;
}

.hero-card {
    padding: 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.hero-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
    margin-bottom: 16px;
}

.hero-card h2,
.card h2,
.project-card h2 {
    margin-bottom: 12px;
}

.hero-card p,
.card p,
.project-card p,
.gallery-caption {
    color: #b0b0b0;
}

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

.two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.card,
.project-card,
.contact-card {
    padding: 28px;
}

.card,
.project-card,
.gallery-item {
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover,
.project-card:hover,
.gallery-item:hover {
    transform: translateY(-6px);
    border-color: #00ffd5;
    box-shadow: 0 16px 38px rgba(0,255,213,0.08);
}

.highlight {
    border-left: 4px solid #00ffd5;
}

/* =========================
   GALLERY
========================= */

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

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 16px;
    font-size: 0.95rem;
}

/* =========================
   PROJECTS
========================= */

.project-list {
    display: grid;
    gap: 24px;
}

/* =========================
   FORMS
========================= */

form input,
form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    font: inherit;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #00ffd5;
    box-shadow: 0 0 0 2px rgba(0,255,213,0.15);
}

button {
    min-width: 170px;
    background: #00ffd5;
    border: none;
    color: #000;
}

button:hover {
    transform: translateY(-2px);
    background: #00dbc0;
}

button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.25);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    display: none;
}

.form-status.success {
    background: #102617;
    color: #7ff0a5;
    border-color: #1f6b38;
}

.form-status.error {
    background: #2a1010;
    color: #ff9b9b;
    border-color: #7a2222;
}

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

.quote {
    padding: 34px;
    border-left: 4px solid #00ffd5;
    background: #101010;
    border-radius: 16px;
    color: #d6d6d6;
    font-size: 1.05rem;
}

footer {
    padding: 36px 20px;
    border-top: 1px solid #1f1f1f;
    text-align: center;
    color: #8f8f8f;
    background: #070707;
}

/* =========================
   ANIMATION
========================= */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 900px) {
    .hero-inner,
    .grid,
    .two-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    section {
        padding: 50px 20px;
    }

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

    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    button {
        width: 100%;
    }
}


.helper-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

/*  =================
Electrician Helper V3.  
 =================
*/

.helper-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 15px;
}

.helper-hero p {
  max-width: 850px;
  margin: 0 auto;
  opacity: 0.85;
  font-size: 1.1rem;
}

.helper-section {
  padding: 40px 20px 80px;
}

.helper-card {
  padding: 28px;
  margin-bottom: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.helper-search {
  width: 100%;
  padding: 16px;
  margin: 12px 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1rem;
}

.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.quick-buttons button,
.helper-main-button {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
}

.quick-buttons button {
  background: rgba(255,255,255,0.12);
  color: inherit;
}

.helper-main-button {
  background: linear-gradient(135deg, #00ffd5, #4f8cff);
  color: #07111f;
}

.helper-results {
  margin-top: 26px;
}

.helper-result-card {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.14);
}

.helper-category {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,255,213,0.12);
  border: 1px solid rgba(0,255,213,0.35);
  font-size: 0.85rem;
  font-weight: 700;
}

.helper-result-card h3 {
  margin-bottom: 12px;
}

.helper-result-card h4 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.helper-result-card ul {
  padding-left: 22px;
}

.labor-meter {
  margin: 18px 0;
}

.labor-meter span {
  margin-left: 8px;
  font-weight: 700;
}

.meter-bg {
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #00ffd5, #ffc107);
}

.helper-warning {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.35);
}

.field-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,255,213,0.10);
  border: 1px solid rgba(0,255,213,0.28);
}

.helper-muted {
  margin-top: 20px;
  opacity: 0.75;
}

.calculator-card label {
  display: block;
  font-weight: 700;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .helper-card,
  .helper-result-card {
    padding: 18px;
  }

  .quick-buttons {
    flex-direction: column;
  }

  .quick-buttons button,
  .helper-main-button {
    width: 100%;
  }
}




.nec-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.nec-nav-buttons button {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  background: rgba(0,255,213,0.12);
  color: inherit;
  border: 1px solid rgba(0,255,213,0.35);
}

.nec-nav-buttons button:hover {
  background: rgba(0,255,213,0.22);
}

@media (max-width: 700px) {
  .nec-nav-buttons {
    flex-direction: column;
  }

  .nec-nav-buttons button {
    width: 100%;
  }
}




.helper-hero {
  padding: 80px 20px 50px;
  text-align: center;
}

.helper-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 15px;
}

.helper-hero p {
  max-width: 850px;
  margin: 0 auto;
  opacity: 0.85;
  font-size: 1.1rem;
}

.helper-section {
  padding: 40px 20px 80px;
}

.helper-card {
  padding: 28px;
  margin-bottom: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.helper-search {
  width: 100%;
  padding: 16px;
  margin: 12px 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1rem;
}

.quick-buttons,
.nec-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.quick-buttons button,
.nec-nav-buttons button,
.helper-main-button {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
}

.quick-buttons button {
  background: rgba(255,255,255,0.12);
  color: inherit;
}

.nec-nav-buttons button {
  background: rgba(0,255,213,0.12);
  color: inherit;
  border: 1px solid rgba(0,255,213,0.35);
}

.nec-nav-buttons button:hover {
  background: rgba(0,255,213,0.22);
}

.helper-main-button {
  background: linear-gradient(135deg, #00ffd5, #4f8cff);
  color: #07111f;
}

.helper-results {
  margin-top: 26px;
}

.helper-result-card {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.14);
}

.helper-category {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,255,213,0.12);
  border: 1px solid rgba(0,255,213,0.35);
  font-size: 0.85rem;
  font-weight: 700;
}

.helper-result-card h3 {
  margin-bottom: 12px;
}

.helper-result-card h4 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.helper-result-card ul {
  padding-left: 22px;
}

.labor-meter {
  margin: 18px 0;
}

.labor-meter span {
  margin-left: 8px;
  font-weight: 700;
}

.meter-bg {
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #00ffd5, #ffc107);
}

.helper-warning {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.35);
}

.field-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,255,213,0.10);
  border: 1px solid rgba(0,255,213,0.28);
}

.helper-muted {
  margin-top: 20px;
  opacity: 0.75;
}

.calculator-card label {
  display: block;
  font-weight: 700;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .helper-card,
  .helper-result-card {
    padding: 18px;
  }

  .quick-buttons,
  .nec-nav-buttons {
    flex-direction: column;
  }

  .quick-buttons button,
  .nec-nav-buttons button,
  .helper-main-button {
    width: 100%;
  }
}