/* Voltzen Power — targeted overrides on top of the Evolta template.
   Kept minimal: only what's needed to fit the real Voltzen logo/brand,
   not a redesign of the template. */

/* Word-by-word heading reveal (js/text-reveal.js). Words start slid down +
   transparent; .in-view (added on first scroll-into-view) triggers each
   word's staggered transition-delay, set inline per word by the script. */
.reveal-text .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: transform, opacity;
}

.reveal-text.in-view .reveal-word {
  opacity: 1;
  transform: translateY(0);
}

/* The Voltzen wordmark logo is wider than the template's default square
   placeholder — cap height so it doesn't overrun the header row. */
.main-header .logo img {
  max-height: 60px;
  width: auto;
}

.sticky-header .logo img {
  max-height: 50px;
  width: auto;
}

.mobile-menu .nav-logo img {
  max-height: 40px;
  width: auto;
}

.contact-details__info .fas {
  color: white;

}

/* Footer background is dark; the logo's dark navy wordmark needs a light
   chip behind it to stay legible. */
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  padding: 10px 18px;
  border-radius: 8px;
}

.footer-logo-chip img {
  max-height: 120px;
  width: auto;
  display: block;
}

/* Services page cards (.service-block-style2): the template overlays the
   caption directly on the photo for a short one-line teaser. The Services
   page needs a title + description + a key-benefits list per card, which
   doesn't fit legibly over a busy photo — move the content panel below the
   image into normal flow instead of overlaying it. */
.service-block-style2 .inner-block .image {
  max-height: 220px;
}

.service-block-style2 .inner-block .content {
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  margin-top: -20px;
  background: #ebeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-block-style2 .inner-block .content:before {
  display: none;
}

.service-block-style2 .inner-block .content .title-box .title,
.service-block-style2 .inner-block .content .title-box .title a {
  color: #1c2029;
}

/* The floating header (position:absolute, z-index:9999) sits transparently
   over the hero photo. The template's own gradient darkens the BOTTOM of
   the hero for the H1/CTA text; the top strip behind the nav has no scrim,
   so dark nav text can vanish against light patches of whichever photo is
   used. Add a matching dark-to-transparent scrim at the top, sized to the
   header zone, so nav text stays legible regardless of the hero image. */
/* Even with the scrim, dark nav text (#1A1A1A, the template's default) can
   still lose contrast against bright patches of whatever hero/banner photo
   is used. The template already ships a white-nav variant for exactly this
   scenario (.header-2) — apply the same convention to our header-1 usage,
   since it only ever floats over photography, never a plain background. */
.header-1 .header-lower .main-menu .navigation>li>a {
  color: #050505;
}

.header-1 .header-lower .main-menu .navigation>li>a:hover,
.header-1 .header-lower .main-menu .navigation>li.current>a {
  color: #227f0b;
}

.header-1 .header-lower .mobile-nav-toggler {
  color: #227f0b;
  ;
}

.hero-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, rgba(15, 20, 25, 0.65) 0%, rgba(15, 20, 25, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Services page: the card grid's default 120px top padding leaves a large
   gap after the short intro paragraph above it. */
.service-section-two.pt-tight {
  padding-top: 40px;
}

/* Inline SVG section icons (app/Helpers/helpers.php icon()) — colored to the
   brand green via currentColor so they match the template's existing icon
   tone without needing per-instance color attributes. */
.icon svg,
.content-block .icon svg {
  color: var(--theme-color1, #52c834);
  display: block;
}

/* The template's bordered CTA bar (.faq-bottom-area-one) only gets its
   box/border/padding when nested inside .faq-section-one — we reuse that
   same bar markup as a standalone final-CTA on About/Services/service-detail
   pages, so replicate the box styling without requiring that ancestor. */
.cta-bar {
  border: 1px solid rgba(28, 32, 41, 0.1);
  border-radius: 20px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.cta-bar .content {
  max-width: 450px;
}

.cta-bar .content .title {
  margin-bottom: 8px;
}

.cta-bar .content .text {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .main-header .logo img {
    max-height: 46px;
  }

  .cta-bar {
    padding: 30px;
    justify-content: center;
    text-align: center;
  }

  .cta-bar .content {
    margin: 0 auto;
  }
}

/* The template's tag pill (.tag-box) only gets its pill/background styling
   when nested inside .service-block-style1's accordion content — used bare
   elsewhere (service-detail "Suitable For") it rendered as plain text with
   a tiny checkmark. Standalone pill badge, same look, no ancestor required. */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1c2029;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  height: 38px;
  padding: 0 16px;
  margin: 0 8px 10px 0;
  transition: background-color 0.2s ease;
}

.tag-pill:hover {
  background-color: var(--theme-color1, #52c834);
}

.tag-pill i {
  color: var(--theme-color1, #52c834);
}

.tag-pill:hover i {
  color: #fff;
}

/* Service-detail page: three distinct card treatments so sections don't
   read as the same template repeated — "How to Choose" uses numbered icon
   cards, "Why Voltzen" uses real photography on dark cards, "Related
   Solutions" (.solution-card, below) reuses each service's own photo. */
.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5ece3;
  border-radius: 16px;
  padding: 32px 24px 24px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(28, 32, 41, 0.1);
  border-color: var(--theme-color1, #52c834);
}

.plan-card .plan-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #cfe8c8;
}

.plan-card .plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef8ea;
  color: var(--theme-color1, #52c834);
  font-size: 20px;
  margin-bottom: 18px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.plan-card:hover .plan-icon {
  background: var(--theme-color1, #52c834);
  color: #fff;
  transform: scale(1.08);
}

.plan-card .plan-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1c2029;
}

.plan-card .plan-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

/* "Related Solutions" preview cards — real photo per service. */
.solution-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5ece3;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(28, 32, 41, 0.14);
  border-color: var(--theme-color1, #52c834);
}

.solution-card .solution-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.solution-card .solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-media img {
  transform: scale(1.1);
}

.solution-card .solution-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 20, 15, 0.55);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.solution-card .solution-body {
  padding: 20px 22px 24px;
}

.solution-card .solution-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1c2029;
}

.solution-card .solution-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

.value-card {
  position: relative;
  background: #16351a;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 32px rgba(15, 25, 15, 0.35);
  background: #1d4423;
}

.value-card .value-media {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.value-card .value-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.value-card:hover .value-media img {
  transform: scale(1.1);
}

.value-card .value-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 32, 17, 0) 40%, #16351a 100%);
}

.value-card .value-body {
  padding: 16px 22px 26px;
}

.value-card .value-title {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}

.value-card .value-text {
  font-size: 14px;
  color: #b7c9b8;
  margin: 0;
  line-height: 1.7;
}

/* "Coming Soon" badge used on the EV Charging App / Digital Vision section. */
.voltzen-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}