/* ============================================
   FC Electric Co — Global Stylesheet
   ============================================ */

:root {
  --navy: #1B2A4A;
  --navy-dark: #14203a;
  --gold: #C9A84C;
  --gold-light: #d8bd6c;
  --bg-light: #F4F6F9;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-muted: #5a6172;
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 42, 74, 0.12);
  --shadow-lg: 0 16px 40px rgba(27, 42, 74, 0.18);
  --transition: 0.3s ease;
  --radius: 10px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

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

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

ul {
  list-style: none;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-navy {
  background: var(--navy);
}

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

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-title.center,
.section-subtitle.center {
  text-align: center;
}

.gold-line {
  width: 70px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin: 0 0 24px;
}

.gold-line.center {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 46px;
  width: auto;
}

.nav-brand .brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 120px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 58, 0.78) 0%, rgba(27, 42, 74, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 140px 24px 70px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 58, 0.75) 0%, rgba(27, 42, 74, 0.65) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* ---------- Who We Are / two-col intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.intro-text p + p {
  margin-top: 18px;
}

.intro-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 460px;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}

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

.card .icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--navy);
}

.card .icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--navy);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.97rem;
}

/* ---------- Feature blocks (Why FC) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.95rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  background-image: linear-gradient(120deg, rgba(27,42,74,0.96), rgba(20,32,58,0.96));
  text-align: center;
  padding: 72px 24px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 24px;
}

.cta-banner h2 .accent {
  color: var(--gold);
}

/* ---------- Values / numbered steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ---------- What sets us apart (numbered list) ---------- */
.apart-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.apart-item {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 26px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.apart-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.apart-item .marker {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Who We Serve ---------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.serve-item {
  background: var(--white);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
}

.serve-item:hover {
  border-left: 4px solid var(--gold);
  transform: translateX(4px);
}

.serve-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.serve-closing {
  text-align: center;
  font-size: 1.15rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Team ---------- */
.team-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
  border-top: 4px solid var(--gold);
}

.team-card .photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 25%;
}

.team-card .info {
  padding: 40px 40px 40px 0;
}

.team-card .info h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.team-card .info .role {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}

/* ---------- Careers ---------- */
.careers-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.careers-box h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}

.careers-box .lead {
  font-size: 1.15rem;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
}

.openings-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 40px;
  border: 1px solid rgba(27, 42, 74, 0.08);
}

.openings-box h3 {
  margin-bottom: 14px;
}

.resume-note {
  margin-top: 30px;
  font-size: 1.02rem;
}

.resume-note a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.contact-info .email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
  margin: 22px 0 14px;
}

.contact-info .email-link svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}

.contact-info .email-link:hover {
  color: var(--gold);
}

.contact-note {
  font-style: italic;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}

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

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

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group label .req {
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dbe4;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

.form-success {
  display: none;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 5px;
}

.footer-brand .brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-tagline {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  transition: var(--transition);
}

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

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .intro-image {
    order: -1;
  }
  .apart-list {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-card .photo {
    min-height: 320px;
  }
  .team-card .info {
    padding: 0 34px 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 76px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    width: 100%;
    padding: 12px 8px;
    font-size: 1rem;
  }
  .nav-links a::after {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 480px) {
  .nav-brand .brand-text {
    font-size: 0.95rem;
  }
  .hero-btns .btn,
  .contact-form,
  .openings-box {
    width: 100%;
  }
  .hero-btns {
    flex-direction: column;
  }
  .contact-form,
  .openings-box {
    padding: 28px 22px;
  }
}
