:root {
  --c1: #7cc91f;
  --c2: #39b74b;
  --c3: #1dad65;
  --c4: #0870e8;
  --white: #ffffff;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--white);
  color: var(--c4);
}

/* ----------------- NAVBAR ----------------- */
/* ----------------- PILL NAVBAR ----------------- */
.navbar-container {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 20px;
}

.navbar {
  width: auto; /* Shrink to fit content */
  min-width: 650px; /* Ensures enough space for links */
  height: 50px;
  display: flex; /* Changed from grid to flex for better pill alignment */
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  background: rgba(255, 255, 255, 0.95); /* Slight transparency */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  backdrop-filter: blur(10px); /* Glass effect */
  border-radius: 50px; /* The Pill Shape */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 45px; /* Scaled down for the smaller pill bar */
  width: auto;
  scale: calc(150%);
}

/* KEEPING YOUR EXACT LINK HOVER LOGIC */
.nav-center {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 20px;
}

.nav-center a {
  text-decoration: none;
  color: var(--c4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: var(--c2); /* Your original hover color */
}

/* Adjust Dropdown position for the Pill Bar */
.dropdown {
  position: absolute;
  top: 50px; /* Adjusted slightly higher for the pill bar */
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 500px;
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* MOBILE FIX FOR PILL */
@media (max-width: 992px) {
  .navbar {
    width: 100%;
    min-width: unset;
    border-radius: 15px; /* Square off slightly on mobile */
  }

  .navbar-container {
    top: 10px;
  }
}

/* NAV LINKS CENTER */
.nav-center {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.nav-center li {
  position: relative;
}

.nav-center a {
  text-decoration: none;
  color: var(--c4);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: var(--c2);
}

/* DESKTOP DROPDOWN */
.dropdown {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 550px;
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 25px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown ul {
  list-style-type: none;
}
.dropdown ul li {
  padding-top: 15px;
}

.dropdown img.desktop-img {
  width: 180px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
}

/* NAV ITEM FLEX */
.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-arrow {
  display: none;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--c4);
}

/* ----------------- MOBILE ----------------- */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-center {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
    display: none;
    z-index: 99;
  }

  .nav-center.active {
    display: flex;
  }

  .mobile-arrow {
    display: block;
  }

  /* MOBILE DROPDOWN: text-only */
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown {
    position: relative;
    width: 100%;
    padding: 0;
    box-shadow: none;
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .dropdown.active {
    display: flex;
  }

  .dropdown img.desktop-img {
    display: none; /* hide images on mobile */
  }

  .dropdown ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
  }

  .dropdown ul li a {
    color: var(--c4);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
  }

  .dropdown ul li a:hover {
    color: var(--c2);
  }

  .menu-toggle {
    display: block;
  }
}

/* ===============================
   AUTO CHARGE SECTION
================================ */

.autocharger-section {
  height: 100vh; /* Full screen height */
  min-height: 100vh;
  display: flex; /* Vertical center */
  align-items: center; /* Vertical center */
  padding: 0 8%; /* Remove top/bottom padding */
  background: linear-gradient(135deg, var(--c4), var(--c3), var(--c2));
  position: relative;
  overflow: hidden;
}

/* Decorative Wave Effect Using Your Colors */
.autocharger-section::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 300px;
  background: radial-gradient(circle at center, var(--c1) 0%, transparent 70%);
  top: -120px;
  left: -20%;
  opacity: 0.15;
  transform: rotate(-5deg);
}

.auto-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* LEFT TEXT */

.auto-left h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.auto-left p {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 500px;
  line-height: 1.7;
}

/* RIGHT BADGE */

.auto-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-badge {
  background: var(--c1);
  color: var(--white);
  font-weight: 800;
  font-size: 1.8rem;
  padding: 20px 40px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(29, 173, 101, 0.25);
  letter-spacing: 2px;
  transition: 0.3s ease;
}

.auto-badge:hover {
  transform: scale(1.05);
  background: var(--c2);
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 992px) {
  .auto-container {
    flex-direction: column;
    text-align: center;
  }

  .auto-left h2 {
    font-size: 2.7rem;
  }

  .auto-left p {
    margin: auto;
  }

  .auto-badge {
    font-size: 1.5rem;
    padding: 18px 35px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .autocharger-section {
    height: 100vh;
    padding: 0 6%;
  }

  .auto-left h2 {
    font-size: 2rem;
  }

  .auto-left p {
    font-size: 1rem;
  }

  .auto-badge {
    font-size: 1.2rem;
    padding: 14px 25px;
  }
}

.auto-charge-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c1);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.neon-pulse {
  animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  from {
    text-shadow:
      0 0 5px var(--white),
      0 0 10px var(--white),
      0 0 15px var(--c1),
      0 0 20px var(--c1);
  }
  to {
    text-shadow:
      0 0 10px var(--white),
      0 0 20px var(--c2),
      0 0 30px var(--c2),
      0 0 40px var(--c2),
      0 0 50px var(--c2);
  }
}

/* ===== Section ===== */
.autocharger-section {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--c4),
    var(--c3),
    var(--c2),
    var(--c1)
  );
  padding: 0 8%;
  overflow: hidden;
}

/* ===== Container ===== */
.auto-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}

/* ===== Left Content ===== */
.auto-left {
  flex: 1;
  color: var(--c5);
}

.auto-left h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
  opacity: 0.8;
}

.auto-left h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.auto-left p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.85;
}

/* ===== Right Image ===== */
.auto-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.auto-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .auto-left h2 {
    font-size: 2.4rem;
  }

  .auto-container {
    gap: 40px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .autocharger-section {
    height: auto;
    padding: 80px 6%;
  }

  .auto-container {
    flex-direction: column;
    text-align: center;
  }

  .auto-left h2 {
    font-size: 2rem;
  }

  .auto-left p {
    font-size: 1rem;
  }

  .auto-right img {
    max-width: 100%;
  }
}

/* ===== Section ===== */
.auto-works {
  padding: 100px 8%;
  background: white;
  text-align: center;
  color: var(--c2);
}

/* ===== Title ===== */
.works-title {
  font-size: 3rem;
  margin-bottom: 70px;
  font-weight: 700;
}

/* ===== Container ===== */
.works-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* ===== Each Step ===== */
.work-step {
  max-width: 220px;
  text-align: center;
}

/* ===== Icon Box ===== */
.icon-box {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--c4);
  color: var(--c1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: 0.3s ease;
}

.work-step:hover .icon-box {
  background: var(--c4);
  color: var(--white);
  transform: scale(1.1);
}

/* ===== Headings ===== */
.work-step h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.work-step h3 span {
  font-size: 1.5rem;
  font-weight: 700;
}

.work-step p {
  font-size: 0.9rem;
  margin-top: 8px;
  opacity: 0.9;
}

/* ===== Arrows ===== */
.arrow {
  font-size: 1.5rem;
  color: var(--white);
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .works-title {
    font-size: 2.4rem;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .works-container {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .works-title {
    font-size: 2rem;
  }

  .work-step {
    max-width: 100%;
  }
}
/* ===== Section ===== */
.why-zeon {
  padding: 120px 8%;
  background: white;
  color: var(--c1);
}

/* ===== Layout ===== */
.why-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

/* ===== LEFT SIDE ===== */
.why-left {
  flex: 1;
  min-width: 300px;
}

.why-left h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.why-left h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.why-left p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
}

/* ===== RIGHT GRID ===== */
.why-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  min-width: 300px;
}

/* ===== CARD ===== */
.why-card {
  background: var(--c4);
  padding: 50px 30px;
  border-radius: 25px;
  text-align: center;
  transition: 0.3s ease;
}

.why-card:nth-child(2) {
  background: var(--c4);
}
.why-card:nth-child(3) {
  background: var(--c4);
}
.why-card:nth-child(4) {
  background: var(--c4);
}

.why-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.why-card h3 span {
  font-size: 1.5rem;
  font-weight: 700;
}

.why-card:hover {
  transform: translateY(-10px);
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .why-container {
    flex-direction: column;
    text-align: center;
  }

  .why-left h2 {
    font-size: 2.5rem;
  }

  .why-left p {
    margin: auto;
  }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  .why-zeon {
    padding: 80px 6%;
  }

  .why-right {
    grid-template-columns: 1fr;
  }

  .why-left h2 {
    font-size: 2rem;
  }

  .why-card {
    padding: 40px 20px;
  }
}

/* ===== Section ===== */
.use-autocharger {
  padding: 120px 8%;
  background: white;
  color: var(--c2);
}

.use-container {
  max-width: 1300px;
  margin: auto;
}

/* ===== Rows ===== */
.use-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 120px;
  flex-wrap: wrap;
}

.use-row.reverse {
  flex-direction: row-reverse;
}

/* ===== Text ===== */
.use-text {
  flex: 1;
  min-width: 300px;
}

.use-text h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.use-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.use-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
}

/* ===== Image ===== */
.use-image {
  flex: 1;
  min-width: 300px;
}

.use-image img {
  width: 100%;
  border-radius: 25px;
  display: block;
  transition: 0.4s ease;
}

.use-image img:hover {
  transform: scale(1.05);
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .use-row,
  .use-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .use-text h2 {
    font-size: 2.5rem;
  }

  .use-text p {
    margin: auto;
  }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  .use-autocharger {
    padding: 80px 6%;
  }

  .use-row {
    gap: 40px;
    margin-bottom: 80px;
  }

  .use-text h2 {
    font-size: 2rem;
  }

  .use-text p {
    font-size: 1rem;
  }
}
/* ---------------- FOOTER ---------------- */

.footer {
  background: var(--white);
  color: var(--c4);
  padding-top: 60px;
}
#footer-img {
  height: 100px;
  scale: calc(250%);
}

/* TOP CONTAINER */
.footer-top {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 30px;
  margin: 0 8%;
  padding: 60px 5%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LOGO */
.footer-logo h2 {
  font-size: 2rem;
  font-weight: 700;
}

.footer-logo p {
  font-size: 1rem;
  opacity: 0.9;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--c4);
  transform: translateX(5px);
}

/* ---------------- BOTTOM AREA ---------------- */

.footer-bottom {
  padding: 40px 8% 20px 8%;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--c2);
  padding-top: 25px;
  gap: 20px;
}

/* SOCIAL ICONS */
.social-icons a {
  color: var(--c3);
  margin-right: 18px;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: var(--c4);
}

/* LEGAL LINKS */
.legal-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--c3);
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.legal-links a:hover {
  color: var(--c4);
}

/* COPYRIGHT */
.copyright {
  margin-top: 20px;
  font-size: 0.85rem;
}

/* ---------------- TABLET ---------------- */

@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    align-items: center; /* CENTER EVERYTHING */
    text-align: center; /* CENTER TEXT */
  }

  /* FIX LOGO ALIGNMENT */
  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #footer-img {
    height: 85px;
    width: auto;
    transform: scale(1); /* REMOVE LARGE SCALE */
  }

  .footer-links {
    gap: 40px;
    justify-content: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-links a {
    margin-left: 0;
    margin-right: 20px;
  }
}

/* ---------------- MOBILE FIX ---------------- */

@media (max-width: 600px) {
  .footer-top {
    margin: 0 4%;
    padding: 35px 6%;
    border-radius: 18px;
  }

  #footer-img {
    height: 70px !important;
    width: auto !important;
    transform: scale(1) !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .footer-tagline {
    font-size: 0.9rem;
    padding: 20px 6%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-links ul {
    text-align: center;
  }

  .footer-bottom {
    padding: 30px 6%;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .legal-links a {
    margin: 0;
    font-size: 0.8rem;
  }

  .copyright {
    text-align: center;
    font-size: 0.8rem;
  }
}
/* FOOTER TAGLINE */

.footer-tagline {
  text-align: center;
  padding: 25px 10%;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c3);
}
