/* RootZe New Energy Theme Styles */
:root {
  --rootze-primary: #00b4d8;
  --rootze-primary-hover: #0096c7;
  --rootze-accent: #00e5ff;
  --rootze-green: #10b981;
  --rootze-dark: #0b1325;
  --rootze-card-dark: #121d33;
}

/* Brand overrides */
.navbar-brand {
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.navbar-brand span {
  color: var(--rootze-accent) !important;
}

/* Navbar responsive typography & no-wrap fix */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  white-space: nowrap !important;
}
.ftco-navbar-light .navbar-nav > .nav-item.cta a,
.ftco-navbar-light .navbar-nav > .nav-item.cta .btn {
  white-space: nowrap !important;
}

@media (min-width: 992px) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
  }
  .lang-switch {
    margin-left: 10px;
  }
}

@media (min-width: 1200px) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 15px !important;
  }
  .lang-switch {
    margin-left: 16px;
  }
}

/* Language switch capsule */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2px;
  margin-left: 15px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none !important;
}
.lang-btn:hover {
  color: #ffffff;
}
.lang-btn.active {
  background: var(--rootze-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 180, 216, 0.4);
}

/* Hero Badge */
.hero-tag {
  display: inline-block;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--rootze-accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Spec Badges */
.spec-badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--rootze-primary);
  border: 1px solid rgba(0, 180, 216, 0.25);
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 6px;
}

/* Product Card Improvements */
.car-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}
.car-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.car-wrap .img {
  height: 220px;
  background-size: cover;
  background-position: center center;
}

/* Advantage Icons */
.services .icon {
  background: rgba(0, 180, 216, 0.1) !important;
  color: var(--rootze-primary) !important;
  transition: all 0.3s ease;
}
.services:hover .icon {
  background: var(--rootze-primary) !important;
  color: #ffffff !important;
}

/* Spec modal styling */
.tech-table {
  width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  font-size: 14px;
}
.tech-table th {
  padding: 8px 12px;
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  border-bottom: 2px solid #e2e8f0;
  width: 40%;
}
.tech-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 54px;
  height: 54px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Animation visibility guarantee: ensure content is always visible */
.ftco-animate {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Glow button */
.btn-glow {
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}
.btn-glow:hover {
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
}

/* Track counter dark section & high-contrast text */
#track.ftco-counter {
  background-color: var(--rootze-dark) !important;
  color: #ffffff !important;
  position: relative;
}
#track.ftco-counter .heading-section h2 {
  color: #ffffff !important;
  font-weight: 700;
}
#track.ftco-counter .heading-section p {
  color: #e2e8f0 !important;
  font-size: 1.1rem;
}
#track.ftco-counter .block-18 {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
#track.ftco-counter .block-18:hover {
  transform: translateY(-4px);
  border-color: var(--rootze-primary) !important;
}
#track.ftco-counter .number {
  color: #ffffff !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
#track.ftco-counter strong.text-white {
  color: var(--rootze-accent) !important;
}
#track.ftco-counter .text span {
  display: block;
  font-size: 15px !important;
  color: #cbd5e1 !important;
  margin-top: 6px;
  padding-left: 0 !important;
  font-weight: 500;
  letter-spacing: 0.3px;
}
