:root {
  --ink: #0f172a;
  --muted: #5f6f86;
  --line: #dce6ef;
  --soft: #f5f8fb;
  --teal: #00b894;
  --blue: #1371ff;
  --sun: #f9c74f;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#apply { scroll-margin-top: 110px; }
body {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}
html,
body {
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.top-strip {
  background: var(--ink);
  color: #dfefff;
  font-size: .9rem;
  padding: .45rem 0;
}
.top-strip i { color: var(--teal); margin-right: .35rem; }

.navbar-brand { font-weight: 800; color: var(--ink); }
.navbar .nav-link {
  color: #2f3d52;
  font-weight: 650;
  padding-inline: .8rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--blue); }

.btn {
  border-radius: 8px;
  font-weight: 750;
  padding: .72rem 1rem;
}
.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: #0f5ed8;
  --bs-btn-hover-border-color: #0f5ed8;
}
.btn-accent {
  color: var(--ink);
  background: var(--sun);
  border-color: var(--sun);
}
.btn-accent:hover { background: #eab638; border-color: #eab638; }
.btn-outline-light:hover { color: var(--ink); }

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(5, 12, 24, .9), rgba(5, 12, 24, .35)), url("../images/hero-ev-charging.svg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 5rem 0;
}
.eyebrow {
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}
.hero h1 {
  font-size: clamp(2.45rem, 5vw, 5.45rem);
  line-height: 1.02;
  font-weight: 900;
  margin: 1rem 0;
  letter-spacing: 0;
}
.hero p {
  color: #e8f3ff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 650px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.floating-charge {
  position: absolute;
  right: 7vw;
  bottom: 13vh;
  z-index: 1;
  width: min(270px, 32vw);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.charge-bar {
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}
.charge-bar span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.section {
  padding: 86px 0;
}
.section-soft { background: var(--soft); }
.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-title {
  max-width: 780px;
  margin-bottom: 2.4rem;
}
.section-title h2,
.page-hero h1 {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}
.section-title p,
.page-hero p,
.muted { color: var(--muted); }
.section-dark .section-title p,
.section-dark .muted { color: #b8c7d8; }

.page-hero {
  padding: 88px 0;
  background: linear-gradient(135deg, #f4fbf8, #eef4ff);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { margin-bottom: .8rem; }
.breadcrumb-item a { color: var(--blue); }

.stat-card,
.feature-card,
.solution-card,
.blog-card,
.gallery-card,
.testimonial-card,
.admin-card,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.stat-card {
  padding: 1.4rem;
  height: 100%;
}
.stat-value {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}
.feature-card,
.testimonial-card {
  padding: 1.5rem;
  height: 100%;
}
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(0,184,148,.12);
  color: var(--teal);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.solution-card {
  height: 100%;
  overflow: hidden;
}
.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf5fb;
}
.solution-card .body { padding: 1.35rem; }
.solution-card h3 { font-size: 1.2rem; font-weight: 850; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .32rem .7rem;
  background: rgba(19,113,255,.1);
  color: #0f5ed8;
  font-weight: 750;
  font-size: .83rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  gap: .65rem;
  margin-bottom: .7rem;
}
.check-list i { color: var(--teal); margin-top: .25rem; }

.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .8rem;
  position: relative;
}
.timeline-step {
  position: relative;
  padding: 1rem;
  min-height: 112px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.timeline-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  margin-bottom: .75rem;
}

.calculator {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.range-value { font-weight: 850; color: var(--blue); }
.roi-box {
  background: linear-gradient(135deg, var(--ink), #173459);
  color: #fff;
  border-radius: 8px;
  padding: 1.4rem;
  height: 100%;
}
.roi-box strong { font-size: 1.85rem; }
.chart-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  align-items: end;
  height: 220px;
}
.chart-bars span {
  background: linear-gradient(180deg, var(--teal), var(--blue));
  border-radius: 8px 8px 0 0;
  min-height: 28px;
}

.gallery-card { overflow: hidden; }
.gallery-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-card .body,
.blog-card .body { padding: 1.25rem; }
.filter-btn.active { background: var(--ink); color: #fff; }

.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  padding: 56px;
  border-radius: 8px;
}

.form-panel { padding: 1.5rem; }
.form-label { font-weight: 700; }
.form-control,
.form-select {
  border-radius: 8px;
  border-color: #cad7e4;
  padding: .8rem .9rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(19,113,255,.12);
}

.footer {
  padding: 58px 0 24px;
  color: #dbe7f5;
  background: #0b1220;
}
.footer h6 { color: #fff; font-weight: 850; }
.footer a {
  display: block;
  color: #dbe7f5;
  margin-bottom: .55rem;
}
.footer a:hover { color: var(--teal); }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
}
.socials {
  display: flex;
  gap: .7rem;
  margin-top: 1rem;
}
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}

.admin-layout {
  min-height: 100vh;
  background: var(--soft);
}
.admin-sidebar {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  padding: 1.2rem;
}
.admin-sidebar a {
  display: block;
  color: #dbe7f5;
  padding: .7rem .85rem;
  border-radius: 8px;
  margin-bottom: .25rem;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.admin-card { padding: 1.2rem; }
.table-responsive { border-radius: 8px; }

@media (max-width: 991px) {
  .hero { min-height: auto; }
  .floating-charge { position: static; width: 100%; margin-bottom: 2rem; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .section { padding: 62px 0; }
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: none !important;
  }
  .hero h1 { font-size: 2.45rem; }
  .hero-actions .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
  .top-strip { font-size: .8rem; }
}
