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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: #1a3a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  letter-spacing: 0.3px;
}

.announcement-left i {
  margin-right: 8px;
  color: #7ed957;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-right span {
  margin-right: 4px;
}

.announcement-right a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.announcement-right a:hover { color: #7ed957; }

/* ── HEADER ── */
.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-size: 22px;
  font-weight: 900;
  color: #2d3e50;
  letter-spacing: 1.5px;
  line-height: 1.1;
  font-family: 'Arial', sans-serif;
}

.logo-tagline {
  font-size: 9.5px;
  font-weight: 600;
  color: #7a8a9a;
  letter-spacing: 2.5px;
  margin-top: 2px;
}

/* BACK TO HOME BUTTON */
.back-home-bar {
  background: #f4f7fb;
  border-bottom: 1px solid #e3eaf5;
  padding: 10px 40px;
}
.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  font-weight: 700;
  color: #1565c0;
  text-decoration: none;
  letter-spacing: .3px;
  transition: gap .2s, color .2s;
}
.back-home-btn:hover {
  color: #0d47a1;
  gap: 10px;
}
.back-home-btn i {
  font-size: .8rem;
}
@media (max-width: 768px) {
  .back-home-bar { padding: 10px 16px; }
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  color: #222;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  letter-spacing: 0.4px;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active { color: #2e7d32; }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #2e7d32;
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 200;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: #2e7d32;
}

/* HEADER RIGHT */
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone .fa-phone {
  font-size: 22px;
  color: #2e7d32;
}

.phone div {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 11px;
  color: #666;
}

.phone-number {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
}

.cart {
  position: relative;
  cursor: pointer;
}

.cart .fa-shopping-cart {
  font-size: 24px;
  color: #222;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #2e7d32;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HERO ── */
.hero {
  width: 100%;
  line-height: 0;
}

.hero-img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

/* ── FEATURES STRIP ── */
.features-strip {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  padding: 28px 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}

.feature-icon {
  font-size: 32px;
  color: #2e7d32;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a3a1a;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.feature p {
  font-size: 12px;
  color: #555;
  margin-top: 3px;
  line-height: 1.4;
}

/* ── SHOP BY VOLTAGE ── */
.shop-voltage {
  padding: 50px 40px;
  background: #fff;
  max-width: 1400px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #111;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.line {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: #2e7d32;
  border-radius: 2px;
}

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

.voltage-card-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: #1a1a1a;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 22px 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.trust-item .fas {
  font-size: 28px;
  color: #7ed957;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.trust-item span {
  font-size: 11.5px;
  color: #aaa;
}

/* ── SHOP EV SOLUTIONS ── */
.shop-ev {
  padding: 10px 40px 50px;
  background: #f4f7f4;
}

.ev-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ── MOBILE QUICK SHOP ── */
.mobile-quick-shop { display: none; }

/* ── Hide mobile-only injected nav elements on desktop ── */
.hamburger-btn       { display: none; }
.mobile-nav-header   { display: none; }
.mobile-nav-footer   { display: none; }

/* ── Voltage Card Link (replaces .voltage-card-img) ── */
.voltage-card-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s;
}
.voltage-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* ═══════════════════════════════════════
   MOBILE STYLES  (max-width: 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Announcement bar ── */
  .announcement-bar {
    flex-direction: column;
    gap: 5px;
    padding: 7px 16px;
    font-size: 11px;
    text-align: center;
  }

  /* ── Header ── */
  .header-inner {
    padding: 12px 16px;
    gap: 10px;
  }

  /* ── Mobile Nav Overlay ── */
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, #071a07 0%, #030d03 100%);
    z-index: 400;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow-y: auto;
  }

  .nav.mobile-open {
    display: flex;
    animation: nav-fade-in 0.25s ease;
  }

  @keyframes nav-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @keyframes item-slide-in {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* Nav header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(126,217,87,0.12);
    flex-shrink: 0;
  }

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

  .mobile-nav-brand > i {
    font-size: 28px;
    color: #7ed957;
  }

  .mobile-nav-brand-name {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
    line-height: 1;
  }

  .mobile-nav-brand-sub {
    font-size: 9px;
    color: #7ed957;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-top: 4px;
  }

  .mobile-nav-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
  }

  .mobile-nav-close:active {
    background: rgba(126,217,87,0.15);
    border-color: #7ed957;
    color: #7ed957;
  }

  /* Nav links */
  .nav.mobile-open .nav-link {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 700;
    padding: 17px 24px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: color 0.15s, background 0.15s, padding-left 0.2s;
    animation: item-slide-in 0.32s ease both;
  }

  .nav.mobile-open .nav-link::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: #7ed957;
    transform: scaleY(0);
    transition: transform 0.2s;
    border-radius: 0 2px 2px 0;
  }

  .nav.mobile-open .nav-link.active,
  .nav.mobile-open .nav-link:active { color: #7ed957; }

  .nav.mobile-open .nav-link.active::before { transform: scaleY(1); }

  /* Stagger animation delays */
  .nav.mobile-open > *:nth-child(2) { animation-delay: 0.04s; }
  .nav.mobile-open > *:nth-child(3) { animation-delay: 0.08s; }
  .nav.mobile-open > *:nth-child(4) { animation-delay: 0.12s; }
  .nav.mobile-open > *:nth-child(5) { animation-delay: 0.16s; }
  .nav.mobile-open > *:nth-child(6) { animation-delay: 0.20s; }
  .nav.mobile-open > *:nth-child(7) { animation-delay: 0.24s; }

  /* Dropdown */
  .nav-dropdown { width: 100%; animation: item-slide-in 0.32s ease both; }

  .nav.mobile-open .nav-dropdown .nav-link {
    border-bottom: none;
    justify-content: space-between;
  }

  .nav.mobile-open .nav-dropdown .nav-link .fa-chevron-down {
    font-size: 11px;
    color: #7ed957;
    transition: transform 0.25s;
  }

  .nav.mobile-open .nav-dropdown.mobile-expanded .nav-link .fa-chevron-down {
    transform: rotate(180deg);
  }

  .nav.mobile-open .nav-dropdown.mobile-expanded .nav-link { color: #7ed957; }

  .nav.mobile-open .nav-dropdown {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* Override desktop hover rule — only show via mobile-expanded class */
  .nav-dropdown:hover .dropdown-menu { display: none; }

  .nav-dropdown .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.25);
    border-left: 2.5px solid #2e7d32;
    margin: 0 18px 12px 28px;
    border-radius: 0 8px 8px 0;
    padding: 4px 0;
  }

  .nav-dropdown.mobile-expanded .dropdown-menu {
    display: block;
    animation: dropdown-in 0.2s ease;
  }

  @keyframes dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-dropdown .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.15s;
  }

  .nav-dropdown .dropdown-menu a:last-child { border-bottom: none; }
  .nav-dropdown .dropdown-menu a:active { color: #7ed957; }

  /* Nav footer */
  .mobile-nav-footer {
    display: block;
    margin-top: auto;
    padding: 22px 22px 30px;
    border-top: 1px solid rgba(126,217,87,0.12);
    animation: item-slide-in 0.35s 0.28s ease both;
  }

  .mobile-nav-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 14px 18px;
    background: rgba(126,217,87,0.06);
    border: 1px solid rgba(126,217,87,0.2);
    border-radius: 12px;
    margin-bottom: 18px;
    transition: background 0.2s;
  }

  .mobile-nav-phone:active { background: rgba(126,217,87,0.14); }

  .mobile-nav-phone i {
    font-size: 22px;
    color: #7ed957;
    flex-shrink: 0;
  }

  .mobile-nav-phone-label {
    font-size: 10px;
    color: #7ed957;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
  }

  .mobile-nav-phone-number {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
  }

  .mobile-nav-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
  }

  .mobile-nav-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }

  .mobile-nav-socials a:active {
    color: #7ed957;
    border-color: #7ed957;
    background: rgba(126,217,87,0.08);
  }

  /* Hide hamburger when nav is open (nav header has its own close button) */
  body.nav-open .hamburger-btn { visibility: hidden; }

  /* Hamburger button */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    margin-left: 8px;
    z-index: 500;
    position: relative;
  }

  .hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s;
  }

  .hamburger-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hamburger-btn.active span { background: #fff; }

  .phone { display: none; }

  /* ── Section reorder on mobile ── */
  .page-main {
    display: flex;
    flex-direction: column;
  }

  .hero              { order: 1; }
  .mobile-quick-shop { order: 2; }
  .shop-ev           { order: 3; }
  .features-strip    { order: 4; }
  .shop-voltage      { order: 5; } /* already hidden */
  .trust-bar         { order: 6; }

  /* ── Hero ── */
  .hero-img {
    max-height: 210px;
    object-position: center top;
  }

  /* ── Mobile Quick Shop ── */
  .mobile-quick-shop {
    display: block;
    background: #111;
    padding: 16px 12px 20px;
  }

  .mqs-label {
    color: #7ed957;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 14px;
    text-transform: uppercase;
  }

  .mqs-label i {
    margin-right: 6px;
  }

  .mqs-image-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mqs-image-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.15s, box-shadow 0.15s;
  }

  .mqs-image-link:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

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

  /* ── Features strip ── */
  .features-strip {
    padding: 20px 16px;
    gap: 14px;
  }

  .feature {
    min-width: unset;
    width: 100%;
  }

  /* ── Shop by Voltage — hidden on mobile (shown in quick-shop above) ── */
  .shop-voltage {
    display: none;
  }

  /* ── EV Solutions ── */
  .shop-ev {
    padding: 10px 16px 30px;
  }

  .ev-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ── Trust bar ── */
  .trust-bar {
    padding: 20px 16px;
    gap: 20px;
    justify-content: flex-start;
  }

  .trust-item {
    min-width: 45%;
    flex: 1 1 45%;
  }
}

