/* Custom CSS overrides for Alpha Power Solutions */

:root {
  /* Override default Solak green colors with Alpha branding */
  --theme-color: #D62828 !important;
  /* Secondary Crimson Red (critical power highlight) */
  --theme-color2: #D62828 !important;
  /* Success/Solar Accent Green */
  --title-color: #0B1F3A !important;
  /* Primary Dark Blue (Corporate/Headings) */
  --body-color: #1A1A1A !important;
  /* Dark Text */
  --smoke-color2: #F8FAFC !important;
  /* Slate White Background */
  --smoke-color3: #C5DACC !important;
  /* Custom border/muted green */
  --smoke-color4: #E9F5ED !important;
  /* Light success bg */
  --black-color: #081420 !important;
  /* Dark Section Background */
  --black-color2: #081420 !important;
  /* Dark Section Background */
  --light-color: #667085 !important;
  /* Muted Text */
  --yellow-color: #F4B400 !important;
  /* Accent Gold */
  --success-color: #2BB673 !important;
  /* Solar Success Accent */

  --title-font: 'Montserrat', sans-serif !important;
  --body-font: 'Inter', sans-serif !important;
}

/* Base elements & Typography updates */
h1,
h2,
h3,
.h1,
.h2,
.h3,
.mega-menu-title,
.widget_title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}

body,
p,
li,
span,
a,
button,
input,
textarea,
select {
  font-family: 'Inter', sans-serif !important;
}

/* Statistics and numerical counters */
.counter-number,
.box-number,
.counter-grid-title,
.box-counter .counter-number {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
}

/* Logo Dimensions constraint to ensure professional alignment */
.header-logo img {
  max-height: 76px !important;
  width: auto !important;
  object-fit: contain;
  transform: scale(1.4) !important;
  transform-origin: left center !important;
  transition: all 0.3s ease;
}

.mobile-logo img {
  max-height: 52px !important;
  width: auto !important;
  object-fit: contain;
  transform: scale(1.25) !important;
  transform-origin: left center !important;
}

.about-logo {
  margin-bottom: 25px !important;
}

.about-logo img {
  max-height: 110px !important;
  width: auto !important;
  object-fit: contain;
}

/* Premium Top-Class Preloader overrides */
.preloader {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 999999 !important;
  background-color: #081420 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Preloader Container */
.preloader-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 400px !important;
}

/* Proportional Logo inside Preloader */
.preloader-logo {
  max-height: 85px !important;
  width: auto !important;
  object-fit: contain;
  margin-bottom: 25px !important;
  z-index: 5 !important;
  animation: logoFadeIn 1.2s ease-out forwards, logoGlow 2.5s infinite ease-in-out 1.2s;
  filter: drop-shadow(0 0 15px rgba(214, 40, 40, 0.3)) !important;
}

/* Concentric Glow/Pulse Rings */
.preloader-pulse {
  position: absolute !important;
  top: 42px !important;
  /* Centers behind the logo (logo max-height is 85px) */
  left: 50% !important;
  width: 140px !important;
  height: 140px !important;
  margin-top: -70px !important;
  margin-left: -70px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.25) 0%, rgba(214, 40, 40, 0) 70%) !important;
  z-index: 1 !important;
  animation: energyPulse 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite !important;
  opacity: 0;
}

.preloader-pulse.pulse-2 {
  animation-delay: 1s !important;
}

/* Progress Bar Container */
.preloader-progress-container {
  width: 200px !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  margin-bottom: 15px !important;
  position: relative !important;
  z-index: 5 !important;
}

/* Linear Progress Bar Animation */
.preloader-progress-bar {
  height: 100% !important;
  width: 0% !important;
  background: linear-gradient(90deg, #B7BEC8 0%, #D62828 70%, #2BB673 100%) !important;
  border-radius: 4px !important;
  animation: progressFill 2.5s cubic-bezier(0.1, 0.8, 0.1, 1) forwards !important;
}

/* Tagline below Logo */
.preloader-tagline {
  font-family: var(--title-font) !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #B7BEC8 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  animation: taglineFadeIn 1.2s ease-out 1s forwards !important;
  z-index: 5 !important;
  font-weight: 600 !important;
}

/* Animations */
@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 15px rgba(214, 40, 40, 0.3)) !important;
  }

  50% {
    filter: drop-shadow(0 0 25px rgba(214, 40, 40, 0.55)) !important;
  }

  100% {
    filter: drop-shadow(0 0 15px rgba(214, 40, 40, 0.3)) !important;
  }
}

@keyframes energyPulse {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes taglineFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adjust header logo padding to allow larger display */
.header-layout1 .header-logo,
.header-logo {
  padding: 2px 0 !important;
  height: 80px !important;
}

/* Custom styles for the energy calculator widget */
.calc-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.calc-tabs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.calc-tab-btn {
  flex: 1;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.calc-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--yellow-color);
}

.calc-tab-btn.active {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #fff !important;
}

.calc-content {
  display: none;
}

.calc-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.calc-form-group {
  margin-bottom: 20px;
}

.calc-form-group label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.calc-input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.calc-input:focus {
  border-color: var(--yellow-color) !important;
}

.calc-input option {
  background: #081420;
  color: #fff;
}

.calc-result-box {
  background: rgba(214, 40, 40, 0.1);
  border: 1px solid rgba(214, 40, 40, 0.3);
  border-radius: 15px;
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.calc-result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow-color);
  margin-bottom: 10px;
  font-family: 'Manrope', sans-serif;
}

.calc-result-label {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

.calc-result-desc {
  font-size: 0.9rem;
  color: #A0AEC0;
  margin-top: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clientele logo list style */
.logo-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.logo-wall-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo-wall-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: var(--theme-color);
}

.logo-wall-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--title-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Solar Solutions indicators */
.solar-card {
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  transition: all 0.3s ease;
}

.solar-card:hover {
  border-color: var(--theme-color2);
  transform: translateY(-5px);
}

/* Header, Topbar, & Logo Curved BG Overrides */
.header-top {
  padding: 5px 0 !important;
  height: 35px !important;
  line-height: 25px !important;
  display: flex !important;
  align-items: center !important;
}

.header-top .header-links li,
.header-top .social-links,
.header-top .social-title {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.header-layout1 .logo-bg,
.logo-bg {
  background-color: #081420 !important;
  z-index: 1 !important;
  /* Position shape above menu-area white background */
}

.header-layout1 .header-logo,
.header-logo {
  position: relative !important;
  z-index: 3 !important;
  /* Bring logo image above logo-bg */
  margin: 0 !important;
  /* Vertically center logo */
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 80px !important;
}

.menu-area {
  background-color: #ffffff !important;
  position: relative !important;
  z-index: 2 !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
}

.sticky-wrapper.sticky .menu-area {
  height: 80px !important;
}

/* Red CTA Header button custom class if needed */
.header-button .th-btn {
  padding: 12px 25px !important;
  font-size: 15px !important;
  border-radius: 8px !important;
}

/* Hero Section Viewport Fit (Desktop) */
@media (min-width: 992px) {
  .th-header {
    height: 115px !important;
  }

  .th-hero-wrapper.hero-1 {
    height: calc(100vh - 115px) !important;
    min-height: 480px !important;
    max-height: 550px !important;
  }

  .hero-inner {
    height: 100% !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .hero-style1 {
    margin-top: 0 !important;
    max-width: 650px !important;
  }

  .hero-style1 .hero-title {
    font-size: 48px !important;
    /* Scaled down headline */
    margin-bottom: 15px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
  }

  .hero-style1 .sub-title {
    margin-bottom: 8px !important;
    font-size: 14px !important;
  }

  .hero-style1 .hero-text {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 25px !important;
  }

  /* Trust Indicators section overrides */
  .space-top.trust-indicators-sec {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    margin-top: -15px !important;
    background: #fff;
    position: relative;
    z-index: 10;
  }

  .counter-card {
    padding: 12px 10px !important;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    border-radius: 10px !important;
    border: 1px solid #f0f0f0 !important;
  }

  .counter-card .counter-number {
    font-size: 1.6rem !important;
  }

  .counter-card .counter-text {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================
   Phase 2 Redesign Alignments
   ========================================== */

/* Logo Background Backdrop Curve override */
.logo-bg,
.header-layout1 .logo-bg {
  background: #081420 !important;
  border-radius: 0 0 90px 0 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.08) !important;
}

@media (min-width: 992px) {

  .logo-bg,
  .header-layout1 .logo-bg {
    width: 240px !important;
  }

  .header-logo {
    width: 240px !important;
    padding-left: 20px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Industries We Power Grid */
.industries-sec {
  background: #F8FAFC !important;
  position: relative !important;
  z-index: 2 !important;
}

.industry-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px !important;
  margin-top: 40px !important;
}

@media (max-width: 991px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 575px) {
  .industry-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

.industry-card {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 30px 25px !important;
  text-align: center !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  overflow: hidden !important;
}

.industry-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 4px !important;
  background: var(--theme-color) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.4s ease !important;
}

.industry-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border-color: var(--theme-color) !important;
}

.industry-card:hover::before {
  transform: scaleX(1) !important;
}

.industry-icon-wrap {
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  background: rgba(214, 40, 40, 0.06) !important;
  color: var(--theme-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px auto !important;
  font-size: 1.8rem !important;
  transition: all 0.4s ease !important;
}

.industry-card:hover .industry-icon-wrap {
  background: var(--theme-color) !important;
  color: #ffffff !important;
  transform: rotateY(360deg) !important;
}

.industry-title {
  font-family: var(--title-font) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--title-color) !important;
  margin-bottom: 10px !important;
}

.industry-desc {
  font-family: var(--body-font) !important;
  font-size: 0.9rem !important;
  color: var(--light-color) !important;
  line-height: 1.5 !important;
}

/* Premium Feature Cards Refinement */
.feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(87, 179, 62, 0.08);
  border-radius: 24px !important;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(8, 20, 32, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(87, 179, 62, 0.03) 0%, rgba(8, 20, 32, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(87, 179, 62, 0.3) !important;
  box-shadow: 0 20px 40px rgba(8, 20, 32, 0.08), 0 0 0 4px rgba(87, 179, 62, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

/* Watermark Number in Corner */
.feature-card::after {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.8rem;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  color: rgba(87, 179, 62, 0.05);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease;
}

.col-md-6:nth-child(1) .feature-card::after {
  content: "01";
}

.col-md-6:nth-child(2) .feature-card::after {
  content: "02";
}

.col-md-6:nth-child(3) .feature-card::after {
  content: "03";
}

.col-md-6:nth-child(4) .feature-card::after {
  content: "04";
}

.feature-card:hover::after {
  color: rgba(87, 179, 62, 0.12);
}

/* Icon Wrap with premium background */
.feature-card .box-icon {
  width: 70px;
  height: 70px;
  background: rgba(87, 179, 62, 0.06);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.feature-card .box-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.feature-card:hover .box-icon {
  background: var(--theme-color, #57B33E) !important;
  transform: rotate(5deg);
  box-shadow: 0 10px 20px rgba(87, 179, 62, 0.2);
}

.feature-card:hover .box-icon img {
  transform: scale(1.1);
  filter: brightness(0) invert(1);
}

/* Typography styles */
.feature-card .box-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  font-family: 'Montserrat', sans-serif !important;
}

.feature-card .box-title a {
  color: var(--title-color, #0E121D) !important;
  transition: color 0.3s ease;
}

.feature-card:hover .box-title a {
  color: var(--theme-color, #57B33E) !important;
}

.feature-card .box-text {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: var(--body-color, #4D5765) !important;
  margin-bottom: 0 !important;
}

/* About Page Features Refinement */
.features-box-3 {
  position: relative;
  background: #ffffff !important;
  border: 1px solid rgba(87, 179, 62, 0.08) !important;
  border-radius: 20px !important;
  padding: 35px 30px !important;
  box-shadow: 0 10px 30px rgba(8, 20, 32, 0.03) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.features-box-3:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(87, 179, 62, 0.3) !important;
  box-shadow: 0 20px 40px rgba(8, 20, 32, 0.08), 0 0 0 4px rgba(87, 179, 62, 0.05) !important;
}

.features-box-3 .box-icon {
  width: 60px !important;
  height: 60px !important;
  background: rgba(87, 179, 62, 0.06) !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
  transition: all 0.4s ease !important;
}

.features-box-3:hover .box-icon {
  background: var(--theme-color, #57B33E) !important;
  transform: rotate(5deg) !important;
}

.features-box-3:hover .box-icon img {
  filter: brightness(0) invert(1) !important;
}

.features-box-3 .box-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  line-height: 1.4 !important;
  margin-top: 0 !important;
}

.features-box-3 .box-title a {
  color: var(--title-color, #0E121D) !important;
}

.features-box-3:hover .box-title a {
  color: var(--theme-color, #57B33E) !important;
}

.features-box-3 .icon-link {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 50% !important;
  background: rgba(8, 20, 32, 0.03) !important;
  border: none !important;
  transition: all 0.4s ease !important;
}

.features-box-3:hover .icon-link {
  background: var(--theme-color, #57B33E) !important;
}

.features-box-3:hover .icon-link i {
  color: #ffffff !important;
}

/* Mobile View Enhancements */
@media (max-width: 767px) {

  /* Hero section title size on mobile to prevent awkward line breaks and overflow */
  .hero-style1 .hero-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
  }

  .hero-style1 .sub-title {
    font-size: 11px !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
  }

  /* Make sure footer elements are aligned properly on mobile screens */
  .footer-widget {
    text-align: left !important;
    margin-bottom: 35px !important;
  }

  .about-logo {
    text-align: left !important;
    margin-bottom: 20px !important;
  }

  .about-logo a {
    display: inline-block !important;
  }

  .footer-widget .th-social {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  /* Ensure footer contact details stack and align properly */
  .footer-widget .footer-info {
    text-align: left !important;
    margin-left: 0 !important;
  }
}

/* Hide header topbar on mobile viewports */
@media (max-width: 991px) {
  .header-top {
    display: none !important;
  }
}

/* Map Solak default green highlights to Alpha Crimson Red */
.main-menu ul.sub-menu, 
.main-menu ul.mega-menu {
  border-top: 3px solid var(--theme-color) !important;
}

.main-menu ul.sub-menu li a:before {
  color: var(--theme-color) !important;
}

.main-menu ul.mega-menu>li>a {
  border-color: var(--theme-color) !important;
}

.main-menu ul.mega-menu>li>a::after, 
.main-menu ul.mega-menu>li>a::before {
  background-color: var(--theme-color) !important;
}

.th-mobile-menu ul li.th-active>a {
  color: var(--theme-color) !important;
}

.th-menu-wrapper .th-menu-area {
  border-right: 3px solid var(--theme-color) !important;
}

.th-menu-toggle,
.th-menu-wrapper .th-menu-toggle {
  background-color: var(--theme-color) !important;
}

/* Interactive Solution Finder Styles */
.solution-finder-container {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  backdrop-filter: blur(10px) !important;
}

.sf-step {
  margin-bottom: 25px !important;
}

.sf-options-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.sf-opt-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
}

.sf-opt-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--theme-color) !important;
}

.sf-opt-btn.active {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.35) !important;
}

/* Global section padding overrides to set padding-top to 40px and reduce padding-bottom */
.space {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.space-top {
  padding-top: 40px !important;
}

.space-bottom {
  padding-bottom: 40px !important;
}

/* About Us section stat cards */
.info-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.info-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.info-stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(214, 40, 40, 0.06);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-stat-card:hover .stat-icon {
  background: var(--theme-color) !important;
  color: #ffffff !important;
}

.info-stat-card .stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--title-color) !important;
  margin-bottom: 2px;
  font-family: 'Manrope', sans-serif;
  line-height: 1.2;
}

.info-stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--light-color) !important;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Mobile styling adjustments for sub-titles (hide red dots on mobile) */
@media (max-width: 991px) {
  .sub-title::before {
    display: none !important;
  }
  .sub-title {
    padding-left: 0 !important;
  }
}

/* About Us image section styling overrides */
.about-image-wrapper {
  position: relative;
  height: 520px;
  width: 100%;
}

.about-img-main {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-img-main img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.floating-stats-card {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  min-width: 180px;
  background: #ffffff;
  border: 2px solid rgba(214, 40, 40, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
  .about-image-wrapper {
    height: 380px;
    margin-bottom: 20px;
  }
}

/* Infinite scrolling logo marquee styles */
.logo-marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.logo-marquee-row {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 10px 0;
}

.marquee-track-ltr {
  display: flex;
  gap: 20px;
  animation: scroll-ltr 45s linear infinite;
}

.marquee-track-rtl {
  display: flex;
  gap: 20px;
  animation: scroll-rtl 45s linear infinite;
}

.logo-marquee-row:hover .marquee-track-ltr,
.logo-marquee-row:hover .marquee-track-rtl {
  animation-play-state: paused;
}

.logo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 180px;
  flex-shrink: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.logo-card img {
  max-height: 50px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: all 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: var(--theme-color);
}

.logo-card:hover img {
  transform: scale(1.05);
}

@keyframes scroll-ltr {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-rtl {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Award card custom styles */
.award-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.award-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.award-card .award-logo {
  height: 80px;
  width: 100%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card .award-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.award-card:hover .award-logo img {
  filter: grayscale(0%);
  opacity: 1;
}

.award-card .award-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 4px;
  line-height: 1.3;
}

.award-card .award-desc {
  font-size: 0.75rem;
  color: var(--light-color);
  margin-bottom: 0;
}

/* Dark version of award card for black sections */
.award-card.dark-version {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.award-card.dark-version:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--theme-color) !important;
  box-shadow: 0 10px 25px rgba(214, 40, 40, 0.15) !important;
}

.award-card.dark-version .award-title {
  color: #ffffff !important;
}

.award-card.dark-version .award-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Testimonial user icon fallback styling */
.testi-card .box-author {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.testi-card .box-author i {
  font-size: 20px;
  color: var(--theme-color);
}

/* Ensure service cards are equal height and buttons are aligned at the bottom */
.swiper-wrapper {
  display: flex !important;
}

.swiper-slide {
  height: auto !important;
}

.service-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.service-card .box-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.service-card .box-text {
  flex-grow: 1 !important;
  margin-bottom: 25px !important;
}

.service-card .th-btn {
  margin-top: auto !important;
  align-self: flex-start !important;
}

/* Alpha Prolite Battery Showcase Section */
.prolite-image-wrapper {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.prolite-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(214, 40, 40, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.prolite-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(214, 40, 40, 0.08);
  border-color: rgba(214, 40, 40, 0.2);
}

.prolite-img {
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s ease;
}

.prolite-image-wrapper:hover .prolite-img {
  transform: scale(1.04);
}

.prolite-badge {
  position: absolute;
  background: #0B1F3A;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.prolite-badge-1 {
  top: 25px;
  left: 25px;
  background: var(--theme-color);
}

.prolite-badge-2 {
  bottom: 25px;
  right: 25px;
}

.prolite-badge-3 {
  bottom: 25px;
  left: 25px;
  background: #2BB673;
}

.prolite-badge:hover {
  transform: scale(1.05);
}

.prolite-app-card {
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  align-items: flex-start;
}

.prolite-app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(214, 40, 40, 0.2);
}

.prolite-app-icon-wrap {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.prolite-app-card:hover .prolite-app-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.icon-solar {
  background: rgba(79, 70, 229, 0.07);
  color: #4F46E5;
  border: 2px solid rgba(79, 70, 229, 0.15);
}
.prolite-app-card:hover .icon-solar {
  background: #4F46E5;
  color: #ffffff;
  border-color: #4F46E5;
}

.icon-ups {
  background: rgba(214, 40, 40, 0.07);
  color: #D62828;
  border: 2px solid rgba(214, 40, 40, 0.15);
}
.prolite-app-card:hover .icon-ups {
  background: #D62828;
  color: #ffffff;
  border-color: #D62828;
}

.icon-wind {
  background: rgba(13, 148, 136, 0.07);
  color: #0D9488;
  border: 2px solid rgba(13, 148, 136, 0.15);
}
.prolite-app-card:hover .icon-wind {
  background: #0D9488;
  color: #ffffff;
  border-color: #0D9488;
}

.icon-machine {
  background: rgba(234, 88, 12, 0.07);
  color: #EA580C;
  border: 2px solid rgba(234, 88, 12, 0.15);
}
.prolite-app-card:hover .icon-machine {
  background: #EA580C;
  color: #ffffff;
  border-color: #EA580C;
}

.prolite-app-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--title-color);
  font-family: var(--title-font);
}

.prolite-app-text {
  font-size: 0.875rem;
  color: var(--body-color);
  margin-bottom: 0;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .prolite-image-wrapper {
    min-height: auto;
    padding: 30px;
    margin-bottom: 40px;
  }
}

/* Make breadcrumb header text highly readable with a modern dark overlay gradient */
.breadcumb-wrapper {
  position: relative !important;
}

.breadcumb-wrapper::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.8) 0%, rgba(8, 20, 32, 0.4) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.breadcumb-wrapper .container {
  position: relative !important;
  z-index: 2 !important;
}

.breadcumb-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

.breadcumb-menu a,
.breadcumb-menu li {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25) !important;
}

/* Fix number overflow and text overlap in Why Choose Us section */
.choose-item2 .box-number {
  font-size: clamp(38px, 4.2vw, 64px) !important;
  line-height: 1.1 !important;
  word-break: keep-all !important;
}

@media (max-width: 1799px) {
  .choose-item2 .choose-content {
    padding: 30px !important;
  }
}

/* Service.html Redesign styles - Sticky Navigation & Premium Cards */
.service-redesign-wrapper {
  margin-top: 20px;
}

/* Scroll Offset behavior for smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Offset for sticky header */
}

/* Sticky Navigator */
.service-sticky-nav {
  position: sticky !important;
  top: 120px !important;
  z-index: 10 !important;
  background: #ffffff;
  padding: 30px 24px !important;
  border-radius: 20px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.02) !important;
}

.service-sticky-nav-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--title-color) !important;
  margin-bottom: 20px !important;
  border-bottom: 2px solid rgba(214, 40, 40, 0.1) !important;
  padding-bottom: 10px !important;
}

.service-sticky-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.service-sticky-nav-item {
  margin-bottom: 12px !important;
}

.service-sticky-nav-link {
  display: flex !important;
  align-items: center !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  color: var(--light-color) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
}

.service-sticky-nav-link i {
  font-size: 1.1rem !important;
  margin-right: 12px !important;
  transition: transform 0.3s ease !important;
  width: 20px !important;
  text-align: center !important;
}

.service-sticky-nav-link:hover {
  color: var(--theme-color) !important;
  background: rgba(214, 40, 40, 0.04) !important;
  padding-left: 20px !important;
}

.service-sticky-nav-link:hover i {
  transform: scale(1.15) !important;
}

/* Active Link State */
.service-sticky-nav-link.active {
  color: #ffffff !important;
  background: var(--theme-color) !important;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.25) !important;
}

.service-sticky-nav-link.active i {
  color: #ffffff !important;
}

/* Responsive Sticky Menu - Mobile Horizontal Scroll */
@media (max-width: 991px) {
  .service-sticky-nav {
    position: sticky !important;
    top: 90px !important;
    margin-bottom: 30px !important;
    padding: 12px 16px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
  }
  
  .service-sticky-nav-title {
    display: none !important;
  }
  
  .service-sticky-nav-list {
    display: flex !important;
    gap: 10px !important;
  }
  
  .service-sticky-nav-item {
    margin-bottom: 0 !important;
  }
  
  .service-sticky-nav-link {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
  
  .service-sticky-nav-link:hover {
    padding-left: 16px !important;
  }
}

/* Showcase Cards for service list */
.showcase-card {
  display: flex !important;
  gap: 40px !important;
  background: #ffffff !important;
  padding: 40px !important;
  border-radius: 24px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.015) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-wrap: wrap !important;
  margin-bottom: 40px !important;
}

.showcase-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 25px 50px rgba(11, 31, 58, 0.05) !important;
  border-color: rgba(214, 40, 40, 0.15) !important;
}

/* Image frame zoom effect */
.showcase-img-frame {
  flex: 1 !important;
  min-width: 320px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  max-height: 400px !important;
  position: relative !important;
}

.showcase-img-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.showcase-card:hover .showcase-img-frame img {
  transform: scale(1.05) !important;
}

.showcase-content {
  flex: 1.4 !important;
  min-width: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Monospace Badge Label */
.showcase-badge-tag {
  font-family: 'Space Mono', 'Courier New', monospace !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--theme-color) !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

.showcase-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  color: var(--title-color) !important;
  font-size: 1.8rem !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
}

.showcase-desc {
  font-family: var(--body-font) !important;
  color: var(--light-color) !important;
  line-height: 1.6 !important;
  font-size: 0.95rem !important;
  margin-bottom: 24px !important;
}

/* Capabilities Micro-Cards Grid */
.capability-header {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--title-color) !important;
  margin-bottom: 14px !important;
}

.capability-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 30px !important;
}

.capability-micro-card {
  display: flex !important;
  align-items: flex-start !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.capability-micro-card:hover {
  background: rgba(214, 40, 40, 0.01) !important;
  border-color: rgba(214, 40, 40, 0.2) !important;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.03) !important;
  transform: translateY(-2px) !important;
}

.capability-icon-wrap {
  color: var(--theme-color) !important;
  font-size: 0.95rem !important;
  margin-right: 12px !important;
  margin-top: 2px !important;
}

.capability-text-wrap {
  display: flex !important;
  flex-direction: column !important;
}

.capability-name {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--title-color) !important;
  margin-bottom: 3px !important;
}

.capability-detail {
  font-size: 0.78rem !important;
  color: var(--light-color) !important;
  line-height: 1.4 !important;
}

/* Product.html Redesign styles - Filtering & Premium Cards */
.product-filter-container {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 45px !important;
  width: 100% !important;
}

.product-filter-list {
  display: flex !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-filter-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: var(--light-color) !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  font-family: var(--body-font) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
}

.product-filter-btn:hover {
  color: var(--theme-color) !important;
  border-color: rgba(214, 40, 40, 0.2) !important;
  background: rgba(214, 40, 40, 0.02) !important;
}

.product-filter-btn.active {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.25) !important;
}

/* Responsive Tabs for Mobile */
@media (max-width: 991px) {
  .product-filter-container {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 5px 15px 12px 15px !important;
    margin-bottom: 30px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Hide scrollbar for clean view */
  }
  
  .product-filter-container::-webkit-scrollbar {
    display: none !important;
  }
  
  .product-filter-list {
    display: flex !important;
    gap: 8px !important;
  }
  
  .product-filter-btn {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
  }
}

/* Product Card Grid */
.product-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
  gap: 30px !important;
  width: 100% !important;
}

@media (max-width: 420px) {
  .product-card-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Premium Product Card */
.product-premium-card {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.01) !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.product-premium-card.hidden {
  display: none !important;
  opacity: 0 !important;
  transform: scale(0.95) !important;
}

.product-premium-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.04) !important;
  border-color: rgba(214, 40, 40, 0.15) !important;
}

/* Card Image Section */
.product-img-wrap {
  width: 100% !important;
  height: 240px !important;
  overflow: hidden !important;
  position: relative !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.product-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-premium-card:hover .product-img-wrap img {
  transform: scale(1.06) !important;
}

/* Card Body Section */
.product-info {
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.product-tag {
  font-family: 'Space Mono', 'Courier New', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--theme-color) !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
  display: inline-block !important;
}

.product-card-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  color: var(--title-color) !important;
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  margin-bottom: 12px !important;
  min-height: 2.7rem !important; /* Ensure alignment if titles wrap differently */
}

.product-card-desc {
  font-family: var(--body-font) !important;
  font-size: 0.85rem !important;
  color: var(--light-color) !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
  flex-grow: 1 !important; /* Push spec lists to same alignment */
}

/* Custom Specs list */
.product-spec-header {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--title-color) !important;
  margin-bottom: 12px !important;
}

.product-spec-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 26px 0 !important;
}

.product-spec-item {
  display: flex !important;
  align-items: flex-start !important;
  font-size: 0.8rem !important;
  color: var(--title-color) !important;
  line-height: 1.5 !important;
  margin-bottom: 8px !important;
}

.product-spec-item:last-child {
  margin-bottom: 0 !important;
}

.product-spec-item i {
  color: var(--theme-color) !important;
  font-size: 0.85rem !important;
  margin-right: 10px !important;
  margin-top: 2px !important;
}

.product-action-wrap {
  margin-top: auto !important;
}

/* B2B Product Matcher Section */
.product-matcher-sec {
  background: linear-gradient(135deg, #0b1f3a 0%, #182c47 100%) !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  padding: 60px 40px !important;
  margin-top: 60px !important;
  margin-bottom: 80px !important;
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.15) !important;
}

.matcher-steps-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 30px !important;
}

.matcher-step-title {
  font-family: var(--title-font) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 14px !important;
}

.matcher-pill-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.matcher-pill-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
}

.matcher-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

.matcher-pill-btn.active {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.3) !important;
}

/* Matcher Result Frosted Glass Box */
.matcher-result-box {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 35px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  transition: all 0.4s ease !important;
}

.matcher-result-pre {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--theme-color) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.matcher-result-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  color: #ffffff !important;
  margin-bottom: 15px !important;
  line-height: 1.3 !important;
}

.matcher-result-text {
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
}

.matcher-result-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 20px !important;
  margin-bottom: 25px !important;
}

.matcher-spec-line {
  display: flex !important;
  align-items: center !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 8px !important;
}

.matcher-spec-line i {
  color: var(--theme-color) !important;
  margin-right: 8px !important;
  font-size: 0.9rem !important;
}

.matcher-result-btn {
  margin-top: auto !important;
}

.cert-badge-img-wrap {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease !important;
  opacity: 0.45 !important;
  filter: grayscale(100%) !important;
}

.cert-badge-img-wrap:hover,
.cert-badge-img-wrap.highlight-seal {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  transform: translateY(-2px) !important;
  border-color: var(--active-accent-color, #d62828) !important;
  box-shadow: 0 10px 20px rgba(var(--active-accent-rgb, 214, 40, 40), 0.12) !important;
}

.cert-badge-img-wrap img {
  height: 30px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Certification Grid Cards */
.cert-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.01) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.cert-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.03) !important;
  border-color: rgba(214, 40, 40, 0.15) !important;
}

.cert-icon-wrap {
  width: 50px !important;
  height: 50px !important;
  border-radius: 12px !important;
  background: rgba(214, 40, 40, 0.08) !important;
  color: var(--theme-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  margin-bottom: 20px !important;
  transition: all 0.3s ease !important;
}

.cert-card:hover .cert-icon-wrap {
  background: var(--theme-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.25) !important;
}

.cert-card-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  color: var(--title-color) !important;
  margin-bottom: 10px !important;
}

.cert-card-desc {
  font-family: var(--body-font) !important;
  font-size: 0.82rem !important;
  color: var(--light-color) !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .product-cert-sec {
    padding: 60px 0 !important;
  }
}

/* ==========================================================================
   Global B2B Product Image Scaling Overrides (Full Images, No Cropping)
   ========================================================================== */

/* Specific product shots (battery and bypass switch) that should be contained */
.product-img-wrap img[src*="prolite_battery.png"],
.product-img-wrap img[src*="static_bypass_switch.png"] {
  object-fit: contain !important;
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  margin: auto !important;
  display: block !important;
  padding: 15px !important;
  background-color: #f8fafc !important;
}

.showcase-img-frame img[src*="prolite_battery.png"],
.showcase-img-frame img[src*="static_bypass_switch.png"] {
  object-fit: contain !important;
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  margin: auto !important;
  display: block !important;
  padding: 15px !important;
}

.showcase-img-frame {
  background-color: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Homepage Masked Product Icons Fix (Prevent Stretching) */
.service-card .box-img img {
  object-fit: contain !important;
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  margin: auto !important;
  display: block !important;
}

.service-card .box-img {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ==========================================================================
   Visual Power Topology Blueprint Builder Section Styles
   ========================================================================== */

.product-blueprint-sec {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 30px !important;
  padding: 60px 40px !important;
  margin-top: 60px !important;
  margin-bottom: 60px !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.02) !important;
}

.blueprint-control-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 30px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.blueprint-step-group {
  margin-bottom: 25px !important;
}

.blueprint-step-group:last-child {
  margin-bottom: 0 !important;
}

.blueprint-step-title {
  font-family: var(--title-font) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: var(--title-color) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 12px !important;
}

.blueprint-pill-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.blueprint-pill-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: var(--title-color) !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  outline: none !important;
}

.blueprint-pill-btn:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.blueprint-pill-btn.active {
  background: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.2) !important;
}

.blueprint-pill-btn .badge-icon {
  font-size: 1rem !important;
  opacity: 0.7 !important;
}

.blueprint-pill-btn.active .badge-icon {
  opacity: 1 !important;
}

/* Spec Summary Box */
.blueprint-spec-card {
  margin-top: 25px !important;
  background: #0b1f3a !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 20px !important;
}

.blueprint-spec-title {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 12px !important;
  font-weight: 700 !important;
}

.blueprint-spec-item {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.8rem !important;
  margin-bottom: 8px !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 6px !important;
}

.blueprint-spec-item:last-child {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.blueprint-spec-value {
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* Visual Canvas Layout */
.schematic-canvas {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01) !important;
}

.schematic-flow-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.schematic-node {
  background: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 18px 12px !important;
  width: 130px !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease !important;
}

.schematic-node:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(11, 31, 58, 0.05) !important;
}

.schematic-node.active-node {
  border-color: var(--theme-color) !important;
  box-shadow: 0 4px 20px rgba(214, 40, 40, 0.08) !important;
}

.schematic-node-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(214, 40, 40, 0.05) !important;
  color: var(--theme-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  margin: 0 auto 12px auto !important;
  transition: all 0.3s ease !important;
}

.schematic-node.active-node .schematic-node-icon {
  background: var(--theme-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.25) !important;
}

.schematic-node-title {
  font-family: var(--title-font) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  color: var(--title-color) !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
}

.schematic-node-subtitle {
  font-size: 0.65rem !important;
  color: var(--light-color) !important;
  font-weight: 500 !important;
}

/* Connecting Dotted Line SVGs */
.schematic-arrow-wrap {
  flex-grow: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 60px !important;
}

.schematic-arrow-svg {
  width: 100% !important;
  height: 20px !important;
  overflow: visible !important;
}

.animated-flow-path {
  stroke: var(--theme-color) !important;
  stroke-width: 2px !important;
  stroke-dasharray: 6, 4 !important;
  animation: flow-dash 1.2s linear infinite !important;
}

.schematic-arrow-head {
  fill: var(--theme-color) !important;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -20 !important;
  }
}

/* Bottom summary info in blueprint canvas */
.schematic-details-wrap {
  width: 100% !important;
  margin-top: 35px !important;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 25px !important;
}

.schematic-details-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  color: var(--title-color) !important;
  margin-bottom: 8px !important;
}

.schematic-details-text {
  font-size: 0.82rem !important;
  color: var(--light-color) !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

/* ==========================================================================
   Responsive Rules for Visual Power Topology Builder
   ========================================================================== */

@media (max-width: 991px) {
  .product-blueprint-sec {
    padding: 40px 20px !important;
    border-radius: 20px !important;
  }
  
  .schematic-canvas {
    padding: 30px 15px !important;
    margin-top: 30px !important;
  }
  
  .schematic-flow-wrap {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .schematic-node {
    width: 100% !important;
    max-width: 250px !important;
    padding: 15px !important;
  }
  
  .schematic-arrow-wrap {
    transform: rotate(90deg) !important;
    height: 30px !important;
    margin: 5px 0 !important;
    max-width: 100% !important;
    width: 20px !important;
  }
}

/* ==========================================================================
   Battery Advantages Section Styles (Why Alpha is the Best Battery)
   ========================================================================== */

.battery-advantages-sec {
  background: #ffffff !important;
  padding: 80px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  position: relative !important;
}

.advantage-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.01) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  margin-bottom: 0 !important;
}

.advantage-card:hover, .advantage-card.active-card {
  transform: translateY(-4px) !important;
  border-color: rgba(214, 40, 40, 0.2) !important;
  box-shadow: 0 15px 35px rgba(214, 40, 40, 0.04) !important;
}

.advantage-icon-wrap {
  width: 50px !important;
  height: 50px !important;
  border-radius: 12px !important;
  background: rgba(214, 40, 40, 0.06) !important;
  color: var(--theme-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  margin-bottom: 20px !important;
  transition: all 0.3s ease !important;
}

.advantage-card:hover .advantage-icon-wrap, .advantage-card.active-card .advantage-icon-wrap {
  background: var(--theme-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.2) !important;
}

.advantage-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  color: var(--title-color) !important;
  margin-bottom: 12px !important;
}

.advantage-desc {
  font-family: var(--body-font) !important;
  font-size: 0.82rem !important;
  color: var(--light-color) !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* Center Battery Graphic */
.battery-graphic-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 280px !important;
  height: 320px !important;
  margin: 0 auto !important;
}

.battery-central-img {
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  position: relative !important;
  z-index: 2 !important;
  filter: drop-shadow(0 15px 30px rgba(11, 31, 58, 0.08)) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.battery-graphic-wrap:hover .battery-central-img {
  transform: translateY(-5px) !important;
}

.battery-glow-ring {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 220px !important;
  height: 220px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.06) 0%, rgba(214, 40, 40, 0) 70%) !important;
  z-index: 1 !important;
  transition: background 0.4s ease !important;
  animation: pulse-ring 3s ease-in-out infinite !important;
}

@keyframes pulse-ring {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 0.8 !important;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1) !important;
    opacity: 1 !important;
  }
}

/* Connecting Lines SVGs */
.schematic-lines-svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 400px !important;
  height: 320px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: visible !important;
}

.schematic-lines-svg path {
  stroke: #cbd5e1 !important;
  stroke-width: 2px !important;
  stroke-dasharray: 4, 4 !important;
  transition: all 0.3s ease !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .battery-advantages-sec {
    padding: 60px 0 !important;
  }
  
  .battery-graphic-wrap {
    height: 240px !important;
    max-width: 200px !important;
    margin: 30px auto !important;
  }
  
  .schematic-lines-svg {
    display: none !important;
  }
}

/* ==========================================================================
   Futuristic B2B Compliance Hub Redesign
   ========================================================================== */

:root {
  --active-accent-color: #d62828;
  --active-accent-rgb: 214, 40, 40;
}

/* Compliance Section Wrapper */
.product-cert-sec {
  padding: 100px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 0.7) 0%, rgba(255, 255, 255, 1) 90%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Outer grid system */
.compliance-hub-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 1.9fr !important;
  gap: 40px !important;
  align-items: stretch !important;
  margin-top: 40px !important;
}

/* Left Column - Diagnostic Controls */
.diagnostic-controls {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.diagnostic-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  text-align: left !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.01) !important;
  overflow: hidden !important;
  outline: none !important;
}

/* Base border left highlight indicator */
.diagnostic-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 5px !important;
  background: transparent !important;
  transition: background 0.3s ease !important;
}

/* Specific Card Accent Hover/Active Colors */
.diagnostic-card.cert-cpri:hover, .diagnostic-card.cert-cpri.active {
  border-color: #d62828 !important;
  box-shadow: 0 10px 25px rgba(214, 40, 40, 0.08) !important;
}
.diagnostic-card.cert-cpri::before { background: #d62828 !important; opacity: 0; }
.diagnostic-card.cert-cpri.active::before { opacity: 1 !important; }

.diagnostic-card.cert-iso:hover, .diagnostic-card.cert-iso.active {
  border-color: #2563eb !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08) !important;
}
.diagnostic-card.cert-iso::before { background: #2563eb !important; opacity: 0; }
.diagnostic-card.cert-iso.active::before { opacity: 1 !important; }

.diagnostic-card.cert-stqc:hover, .diagnostic-card.cert-stqc.active {
  border-color: #10b981 !important;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08) !important;
}
.diagnostic-card.cert-stqc::before { background: #10b981 !important; opacity: 0; }
.diagnostic-card.cert-stqc.active::before { opacity: 1 !important; }

.diagnostic-card.cert-nsic:hover, .diagnostic-card.cert-nsic.active {
  border-color: #f59e0b !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.08) !important;
}
.diagnostic-card.cert-nsic::before { background: #f59e0b !important; opacity: 0; }
.diagnostic-card.cert-nsic.active::before { opacity: 1 !important; }

/* Micro Card Content */
.diag-icon-box {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: var(--light-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.diagnostic-card:hover .diag-icon-box {
  transform: scale(1.05) !important;
}

/* Card active icon shift styling */
.diagnostic-card.cert-cpri.active .diag-icon-box { background: rgba(214, 40, 40, 0.08) !important; color: #d62828 !important; }
.diagnostic-card.cert-iso.active .diag-icon-box { background: rgba(37, 99, 235, 0.08) !important; color: #2563eb !important; }
.diagnostic-card.cert-stqc.active .diag-icon-box { background: rgba(16, 185, 129, 0.08) !important; color: #10b981 !important; }
.diagnostic-card.cert-nsic.active .diag-icon-box { background: rgba(245, 158, 11, 0.08) !important; color: #f59e0b !important; }

.diag-meta {
  flex-grow: 1 !important;
}

.diag-status-dot {
  font-size: 0.65rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: 700 !important;
  color: var(--light-color) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 4px !important;
}

.diag-status-dot::before {
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  display: inline-block !important;
}

.diagnostic-card.active .diag-status-dot {
  color: #2bb673 !important;
}

.diagnostic-card.active .diag-status-dot::before {
  animation: blink-dot 1.5s ease-in-out infinite !important;
}

.diag-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: var(--title-color) !important;
  margin-bottom: 2px !important;
}

.diag-subtitle {
  font-size: 0.78rem !important;
  color: var(--light-color) !important;
  margin-bottom: 0 !important;
}

.diag-arrow {
  font-size: 0.95rem !important;
  color: #cbd5e1 !important;
  transition: all 0.3s ease !important;
}

.diagnostic-card.active .diag-arrow {
  transform: translateX(5px) !important;
}
.diagnostic-card.cert-cpri.active .diag-arrow { color: #d62828 !important; }
.diagnostic-card.cert-iso.active .diag-arrow { color: #2563eb !important; }
.diagnostic-card.cert-stqc.active .diag-arrow { color: #10b981 !important; }
.diagnostic-card.cert-nsic.active .diag-arrow { color: #f59e0b !important; }

/* Right Column - Laboratory Monitor Console */
.diagnostic-monitor {
  background: #0b1329 !important; /* Cyber space dark background */
  border: 1px solid rgba(var(--active-accent-rgb), 0.18) !important;
  border-radius: 30px !important;
  padding: 40px !important;
  color: #ffffff !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 30px 60px rgba(11, 19, 41, 0.4) !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease !important;
  overflow: hidden !important;
}

/* Background grid network overlay */
.diagnostic-monitor::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.monitor-content-wrap {
  position: relative !important;
  z-index: 2 !important;
}

/* Ticket/ID Stamp header layout */
.monitor-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 25px !important;
  margin-bottom: 25px !important;
}

.monitor-reg-badge {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.68rem !important;
  letter-spacing: 1.5px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  color: var(--active-accent-color) !important;
  display: inline-block !important;
  margin-bottom: 12px !important;
  transition: color 0.3s ease !important;
}

.monitor-title {
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.7rem !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.3px !important;
}

.monitor-subtitle {
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 0 !important;
}

/* Laboratory Seal Scanner Box */
.monitor-scanner-wrap {
  width: 90px !important;
  height: 90px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.monitor-scanner-wrap img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: opacity 0.3s ease !important;
}

/* Dynamic scanning laser beam */
.scanner-laser {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--active-accent-color) !important;
  box-shadow: 0 0 10px var(--active-accent-color), 0 0 4px var(--active-accent-color) !important;
  z-index: 10 !important;
  pointer-events: none !important;
  animation: laser-sweep 2.5s ease-in-out infinite !important;
  opacity: 0.8 !important;
}

@keyframes laser-sweep {
  0%, 100% {
    top: 5%;
    opacity: 0.2;
  }
  50% {
    top: 90%;
    opacity: 0.9;
  }
}

/* Oscilloscope graphic telemetry */
.monitor-telemetry-row {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr !important;
  gap: 30px !important;
  align-items: center !important;
  margin-bottom: 30px !important;
}

.oscilloscope-box {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  height: 76px !important;
  position: relative !important;
  overflow: hidden !important;
}

.oscilloscope-grid {
  position: absolute !important;
  top: 0 !important;
  left: 0; right: 0; bottom: 0 !important;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) !important;
  background-size: 15px 15px !important;
  z-index: 1 !important;
}

.oscilloscope-svg {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 200% !important; /* Extra width for loop horizontal shift */
  height: 100% !important;
  z-index: 2 !important;
}

.oscilloscope-path {
  animation: wave-run 3s linear infinite !important;
  transform-origin: left center !important;
  transition: stroke 0.3s ease !important;
}

@keyframes wave-run {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.scope-meta {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem !important;
}

.scope-text-desc {
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
}

/* Parameters Progress Indicator Grid */
.monitor-params-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 30px !important;
}

.param-meter-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  transition: transform 0.3s ease !important;
}

.param-meter-card:hover {
  transform: translateY(-2px) !important;
}

.param-meter-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}

.param-meter-label {
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.param-meter-value {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--active-accent-color) !important;
  transition: color 0.3s ease !important;
}

.param-bar-track {
  height: 6px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.param-bar-fill {
  height: 100% !important;
  background: var(--active-accent-color) !important;
  border-radius: 4px !important;
  width: 0% !important; /* Updated dynamically via JS */
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
}

/* Interactive CTA Download Hub */
.monitor-footer-cta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 25px !important;
  margin-top: auto !important;
}

.monitor-trust-note {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.monitor-trust-note i {
  color: var(--active-accent-color) !important;
  transition: color 0.3s ease !important;
}

.monitor-btn-glow {
  box-shadow: 0 4px 20px rgba(var(--active-accent-rgb), 0.25) !important;
  transition: all 0.3s ease !important;
}

.monitor-btn-glow:hover {
  box-shadow: 0 6px 25px rgba(var(--active-accent-rgb), 0.45) !important;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 1199px) {
  .compliance-hub-grid {
    grid-template-columns: 1.2fr 1.8fr !important;
    gap: 30px !important;
  }
  
  .monitor-title {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 991px) {
  .compliance-hub-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .diagnostic-controls {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .product-cert-sec {
    padding: 70px 0 !important;
  }
  
  .diagnostic-controls {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .diagnostic-card {
    padding: 20px !important;
  }
  
  .monitor-telemetry-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .monitor-params-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .diagnostic-monitor {
    padding: 30px !important;
  }
  
  .monitor-scanner-wrap {
    width: 80px !important;
    height: 80px !important;
  }
  
  .monitor-title {
    font-size: 1.35rem !important;
  }
}

@media (max-width: 480px) {
  .monitor-header-row {
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
  }
  
  .monitor-scanner-wrap {
    align-self: flex-start !important;
  }
  
  .monitor-footer-cta a {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   Premium Mobile Sidemenu Visual Overrides
   ========================================================================== */

.sidemenu-wrapper {
  background-color: rgba(11, 19, 41, 0.6) !important;
  backdrop-filter: blur(8px) !important;
}

.sidemenu-wrapper .sidemenu-content {
  background: #0b1329 !important; /* Premium dark navy */
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  padding: 80px 40px 40px 40px !important;
  transition: right cubic-bezier(0.16, 1, 0.3, 1) 0.8s !important;
  display: block !important;
  overflow-y: auto !important;
}

/* Custom scrollbar for dark side drawer */
.sidemenu-wrapper .sidemenu-content::-webkit-scrollbar {
  width: 4px !important;
  background-color: #0b1329 !important;
}

.sidemenu-wrapper .sidemenu-content::-webkit-scrollbar-track {
  background-color: #0b1329 !important;
  box-shadow: none !important;
}

.sidemenu-wrapper .sidemenu-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 2px !important;
}

/* Close Button Styling */
.sidemenu-wrapper .closeButton {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  top: 25px !important;
  right: 25px !important;
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
  font-size: 20px !important;
  border-radius: 50% !important;
}

.sidemenu-wrapper .closeButton:hover {
  background-color: #d62828 !important;
  color: #ffffff !important;
  border-color: #d62828 !important;
  transform: rotate(90deg) scale(1.05) !important;
  box-shadow: 0 0 15px rgba(214, 40, 40, 0.6) !important;
}

/* About Section */
.sidemenu-wrapper .th-widget-about .about-logo {
  margin-bottom: 25px !important;
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.sidemenu-wrapper .th-widget-about .about-logo img {
  filter: brightness(1) contrast(1.05) !important;
  max-width: 130px !important;
}

.sidemenu-wrapper .about-text {
  color: #cbd5e1 !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  margin-bottom: 30px !important;
}

/* Custom separator line */
.sidemenu-wrapper .widget::after {
  content: "" !important;
  display: block !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%) !important;
  margin: 30px 0 !important;
  border: none !important;
}

.sidemenu-wrapper .widget:last-of-type::after {
  display: none !important;
}

/* Widget Header Title */
.sidemenu-wrapper .widget .widget_title {
  color: #ffffff !important;
  font-family: var(--title-font) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.3px !important;
  position: relative !important;
}

/* Contacts Redesign - Glassmorphic Cards */
.sidemenu-wrapper .footer-info {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  padding: 14px 20px !important;
  max-width: 100% !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: #cbd5e1 !important;
  text-align: left !important;
}

.sidemenu-wrapper .footer-info:hover {
  border-color: rgba(214, 40, 40, 0.35) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.sidemenu-wrapper .footer-info strong {
  display: block !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 2px !important;
  font-weight: 600 !important;
}

.sidemenu-wrapper .footer-info a {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: color 0.3s ease !important;
}

.sidemenu-wrapper .footer-info a:hover {
  color: #d62828 !important;
}

/* Contacts icon container */
.sidemenu-wrapper .footer-info i {
  position: static !important; /* override absolute */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background-color: rgba(214, 40, 40, 0.12) !important;
  color: #d62828 !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  margin-right: 15px !important;
  flex-shrink: 0 !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  transition: all 0.3s ease !important;
}

.sidemenu-wrapper .footer-info:hover i {
  background-color: #d62828 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.4) !important;
  transform: scale(1.05) !important;
}

/* Custom CSS fontawesome fallbacks for v6 class matches */
.sidemenu-wrapper .footer-info i.fa-phone::before,
.sidemenu-wrapper .footer-info i[class*="fa-phone"]::before {
  content: "\f095" !important;
}

.sidemenu-wrapper .footer-info i.fa-envelope::before,
.sidemenu-wrapper .footer-info i[class*="fa-envelope"]::before {
  content: "\f0e0" !important;
}

.sidemenu-wrapper .footer-info i.fa-map-marker-alt::before,
.sidemenu-wrapper .footer-info i[class*="fa-map-marker"]::before,
.sidemenu-wrapper .footer-info i[class*="location"]::before {
  content: "\f3c5" !important;
}

/* Social icons layout */
.sidemenu-wrapper .th-social {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.sidemenu-wrapper .th-social a {
  width: 38px !important;
  height: 38px !important;
  line-height: 36px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
}

/* Social media brand colors on hover */
.sidemenu-wrapper .th-social a:hover {
  transform: translateY(-3px) scale(1.05) !important;
  color: #ffffff !important;
}

.sidemenu-wrapper .th-social a[href*="facebook.com"]:hover {
  background-color: #1877f2 !important;
  border-color: #1877f2 !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35) !important;
}

.sidemenu-wrapper .th-social a[href*="twitter.com"]:hover,
.sidemenu-wrapper .th-social a[href*="x.com"]:hover {
  background-color: #111111 !important;
  border-color: #111111 !important;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.35) !important;
}

.sidemenu-wrapper .th-social a[href*="linkedin.com"]:hover {
  background-color: #0a66c2 !important;
  border-color: #0a66c2 !important;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35) !important;
}

.sidemenu-wrapper .th-social a[href*="instagram.com"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aec 90%) !important;
  border-color: #d6249f !important;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35) !important;
}

.sidemenu-wrapper .th-social a[href*="youtube.com"]:hover {
  background-color: #ff0000 !important;
  border-color: #ff0000 !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35) !important;
}

/* Mobile responsive fixes */
@media (max-width: 575px) {
  .sidemenu-wrapper .sidemenu-content {
    width: 100% !important;
    max-width: 320px !important;
    padding: 70px 25px 30px 25px !important;
  }
  
  .sidemenu-wrapper .footer-info {
    padding: 12px 15px !important;
  }
  
  .sidemenu-wrapper .footer-info i {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
    margin-right: 12px !important;
  }
}

/* ==========================================
   Phase 3 Mobile Menu Redesign (Dark Glassmorphic)
   ========================================== */

/* Outer wrapper overlay */
.th-menu-wrapper {
  background-color: rgba(4, 10, 18, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* Menu area drawer */
.th-menu-wrapper .th-menu-area {
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.95) 0%, rgba(5, 12, 20, 0.98) 100%) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 15px 0 40px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  text-align: left !important;
  max-width: 320px !important;
  padding: 0 !important;
  height: 100% !important;
}

/* Close button custom design */
.th-menu-wrapper .th-menu-toggle {
  background-color: rgba(214, 40, 40, 0.15) !important;
  border: 1px solid rgba(214, 40, 40, 0.3) !important;
  color: #d62828 !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  top: 25px !important;
  right: -18px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.th-menu-wrapper .th-menu-toggle:hover {
  background-color: #d62828 !important;
  color: #ffffff !important;
  border-color: #d62828 !important;
  box-shadow: 0 0 15px rgba(214, 40, 40, 0.6) !important;
  transform: scale(1.05) !important;
}

/* Mobile logo container */
.th-menu-wrapper .mobile-logo {
  padding: 35px 20px 25px 20px !important;
  background: rgba(8, 20, 32, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  text-align: center !important;
}

.th-menu-wrapper .mobile-logo img {
  max-height: 72px !important;
  width: auto !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

/* Navigation scroll area */
.th-mobile-menu {
  flex-grow: 1 !important;
  overflow-y: auto !important;
  max-height: none !important;
  padding: 20px 25px !important;
  margin: 0 !important;
}

/* Scrollbar styles for modern look */
.th-mobile-menu::-webkit-scrollbar {
  width: 4px !important;
}

.th-mobile-menu::-webkit-scrollbar-track {
  background: transparent !important;
}

.th-mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 2px !important;
}

/* Navigation items reset */
.th-mobile-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.th-mobile-menu ul li:last-child {
  border-bottom: none !important;
}

/* Navigation Links */
.th-mobile-menu ul li a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: var(--title-font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 16px 0 16px 20px !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: block !important;
  border-radius: 8px !important;
}

/* Remove default template bullet icon */
.th-mobile-menu ul li a:before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) scaleX(0) !important;
  width: 3px !important;
  height: 16px !important;
  background-color: #d62828 !important;
  border-radius: 0 4px 4px 0 !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
  transform-origin: left !important;
}

/* Link active/hover styles */
.th-mobile-menu ul li a:hover,
.th-mobile-menu ul li.th-active > a {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(214, 40, 40, 0.12) 0%, rgba(214, 40, 40, 0) 100%) !important;
  padding-left: 28px !important;
}

.th-mobile-menu ul li a:hover:before,
.th-mobile-menu ul li.th-active > a:before {
  transform: translateY(-50%) scaleY(1) !important;
  background-color: #d62828 !important;
  box-shadow: 0 0 8px rgba(214, 40, 40, 0.6) !important;
}

/* Telemetry Footer Section */
.th-mobile-menu-footer {
  padding: 25px !important;
  background: rgba(4, 10, 18, 0.6) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Status Indicator style */
.th-mobile-menu-footer .telemetry-status {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 18px !important;
}

.th-mobile-menu-footer .telemetry-status .pulse-dot {
  width: 8px !important;
  height: 8px !important;
  background-color: #2bb673 !important;
  border-radius: 50% !important;
  margin-right: 10px !important;
  display: inline-block !important;
  box-shadow: 0 0 0 rgba(43, 182, 115, 0.4) !important;
  animation: telemetryPulse 2s infinite !important;
}

.th-mobile-menu-footer .telemetry-status .status-text {
  font-family: var(--title-font) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}

/* Footer contact card block */
.th-mobile-menu-footer .footer-contact-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.th-mobile-menu-footer .contact-item {
  display: flex !important;
  align-items: center !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 10px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.th-mobile-menu-footer .contact-item:hover {
  background: rgba(214, 40, 40, 0.08) !important;
  border-color: rgba(214, 40, 40, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.th-mobile-menu-footer .contact-item i {
  color: #d62828 !important;
  margin-right: 12px !important;
  font-size: 13px !important;
  width: 16px !important;
  text-align: center !important;
}

/* Status Dot Pulsing animation */
@keyframes telemetryPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 182, 115, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(43, 182, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(43, 182, 115, 0);
  }
}

/* Hide red cursor follower dot in mobile view to prevent trailing touch markers */
@media (max-width: 991px) {
  .cursor-follower {
    display: none !important;
  }
}

/* About Section Badge Layout Fix & Text Justification */
.about-area .badge {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  margin-bottom: 5px !important;
}

.about-area .about-overview,
.about-area .about-intro {
  text-align: justify !important;
  text-justify: inter-word !important;
}

@media (max-width: 991px) {
  .about-area .sec-desc {
    text-align: justify !important;
    text-justify: inter-word !important;
  }
}

/* Footer layout adjustment for mobile: Useful Links & Our Solutions side-by-side */
@media (max-width: 767px) {
  .footer-wrapper .widget-area .row > div:nth-child(2),
  .footer-wrapper .widget-area .row > div:nth-child(3) {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* Desktop Navigation Hover & Active States Override */
.main-menu.style2>ul>li>a:hover,
.main-menu.style2>ul>li>a.active {
  color: var(--theme-color) !important;
}

.main-menu.style2>ul>li>a:hover:before,
.main-menu.style2>ul>li>a.active:before {
  background-color: rgba(214, 40, 40, 0.08) !important;
  -webkit-transform: scaleX(1) !important;
  transform: scaleX(1) !important;
}

/* Mobile Navigation Active State Highlight */
.th-mobile-menu a.active {
  color: var(--theme-color) !important;
  font-weight: 700 !important;
}

/* ==========================================
   Specials Page Premium Redesign Overrides
   ========================================== */

.specials-selector-hub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.specials-selector-card {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03) !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.specials-selector-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px -5px rgba(214, 40, 40, 0.08), 0 4px 6px -2px rgba(214, 40, 40, 0.04) !important;
  border-color: rgba(214, 40, 40, 0.25) !important;
}

.specials-selector-card.active {
  border-color: var(--theme-color) !important;
  box-shadow: 0 12px 24px -5px rgba(214, 40, 40, 0.15), 0 4px 6px -2px rgba(214, 40, 40, 0.08) !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(214, 40, 40, 0.02) 100%) !important;
}

.specials-led {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #CBD5E1 !important;
  transition: all 0.3s ease !important;
}

.specials-selector-card.active .specials-led {
  background-color: var(--theme-color) !important;
  box-shadow: 0 0 0 rgba(214, 40, 40, 0.4) !important;
  animation: specialsRedPulse 2s infinite !important;
}

@keyframes specialsRedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(214, 40, 40, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 40, 40, 0);
  }
}

.specials-selector-card .card-icon-box {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: #F1F5F9 !important;
  color: #64748B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  margin-bottom: 15px !important;
  transition: all 0.3s ease !important;
}

.specials-selector-card:hover .card-icon-box {
  color: var(--theme-color) !important;
}

.specials-selector-card.active .card-icon-box {
  background: rgba(214, 40, 40, 0.1) !important;
  color: var(--theme-color) !important;
}

.specials-selector-card .card-title {
  font-family: var(--title-font) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--title-color) !important;
  margin-bottom: 4px !important;
}

.specials-selector-card .card-highlight {
  font-family: var(--body-font) !important;
  font-size: 0.8rem !important;
  color: var(--light-color) !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.specials-selector-card.active .card-highlight {
  color: var(--theme-color) !important;
  font-weight: 600 !important;
}

/* Showcase Dashboard Panel */
.specials-showcase-panel {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 24px !important;
  padding: 45px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.03), 0 10px 10px -5px rgba(0, 0, 0, 0.01) !important;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  opacity: 1;
  transform: translateY(0);
}

.specials-showcase-panel.fade-transition {
  opacity: 0;
  transform: translateY(12px);
}

.specials-image-container {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  height: 100% !important;
  min-height: 380px !important;
  background: #F8FAFC !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02) !important;
  border: 1px solid #F1F5F9 !important;
}

/* Add a technical wireframe decorative pattern under image */
.specials-image-container::before {
  content: "" !important;
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
  right: 15px !important;
  bottom: 15px !important;
  border: 1px dashed rgba(0, 0, 0, 0.05) !important;
  border-radius: 10px !important;
  pointer-events: none !important;
}

/* Technical Corner brackets */
.specials-image-container::after {
  content: "" !important;
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  width: 15px !important;
  height: 15px !important;
  border-top: 2px solid rgba(214, 40, 40, 0.25) !important;
  border-left: 2px solid rgba(214, 40, 40, 0.25) !important;
  pointer-events: none !important;
}

.specials-image-corner-br {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 15px !important;
  height: 15px !important;
  border-bottom: 2px solid rgba(214, 40, 40, 0.25) !important;
  border-right: 2px solid rgba(214, 40, 40, 0.25) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.specials-image-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.specials-image-container:hover img {
  transform: scale(1.03) !important;
}

.image-tech-overlay {
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  right: 20px !important;
  background: rgba(8, 20, 32, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 3 !important;
}

.image-tech-overlay .tech-col {
  display: flex !important;
  flex-direction: column !important;
}

.image-tech-overlay .tech-label {
  font-family: var(--title-font) !important;
  font-size: 9px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 700 !important;
  margin-bottom: 2px !important;
}

.image-tech-overlay .tech-value {
  font-family: var(--body-font) !important;
  font-size: 12px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Specs Panel Description Side */
.specials-showcase-panel .panel-subtitle {
  font-family: var(--title-font) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--theme-color) !important;
  font-weight: 700 !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.specials-showcase-panel .panel-title {
  font-family: var(--title-font) !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: var(--title-color) !important;
  margin-bottom: 15px !important;
  line-height: 1.25 !important;
}

.specials-showcase-panel .panel-desc {
  font-family: var(--body-font) !important;
  font-size: 0.95rem !important;
  color: var(--body-color) !important;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
}

/* Telemetry Grid & Progress Meters */
.telemetry-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 28px !important;
}

.telemetry-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.telemetry-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.telemetry-name {
  font-family: var(--title-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--title-color) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.telemetry-readout {
  font-family: var(--title-font) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--theme-color) !important;
}

.telemetry-track {
  height: 6px !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  position: relative !important;
}

.telemetry-fill {
  height: 100% !important;
  width: 0% !important;
  background: linear-gradient(90deg, var(--theme-color) 0%, #ff6b6b 100%) !important;
  border-radius: 4px !important;
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.1, 1) !important;
  box-shadow: 0 0 6px rgba(214, 40, 40, 0.2) !important;
}

/* Features checklist */
.specials-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 35px 0 !important;
}

.specials-checklist li {
  font-family: var(--body-font) !important;
  font-size: 0.95rem !important;
  color: #334155 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: flex-start !important;
  line-height: 1.45 !important;
}

.specials-checklist li i {
  color: var(--theme-color) !important;
  margin-right: 12px !important;
  font-size: 0.95rem !important;
  margin-top: 3px !important;
  flex-shrink: 0 !important;
}

/* Button animation tweaks */
.specials-showcase-panel .th-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.specials-showcase-panel .th-btn i {
  transition: transform 0.3s ease !important;
}

.specials-showcase-panel .th-btn:hover i {
  transform: translateX(4px) !important;
}

/* Mobile responsive layout for Specials page */
@media (max-width: 991px) {
  .specials-selector-hub {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 15px !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .specials-selector-hub::-webkit-scrollbar {
    height: 4px !important;
  }
  
  .specials-selector-hub::-webkit-scrollbar-track {
    background: #F1F5F9 !important;
    border-radius: 4px !important;
  }
  
  .specials-selector-hub::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
    border-radius: 4px !important;
  }

  .specials-selector-card {
    flex: 0 0 250px !important;
    scroll-snap-align: start !important;
    padding: 16px !important;
  }
  
  .specials-showcase-panel {
    padding: 30px 20px !important;
    border-radius: 16px !important;
  }
  
  .specials-image-container {
    min-height: 250px !important;
    margin-bottom: 30px !important;
  }
  
  .telemetry-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

/* ==========================================
   Solutions Page Premium Styles
   ========================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-img-wrap {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.solution-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: var(--theme-color) !important;
  box-shadow: 0 20px 30px rgba(8, 20, 32, 0.08);
}

.solution-card:hover .solution-img-wrap img {
  transform: scale(1.06);
}

.solution-info {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.solution-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theme-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.solution-card-title {
  font-family: var(--title-font);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--title-color);
  margin-bottom: 12px;
  line-height: 1.3;
}

.solution-card-desc {
  font-family: var(--body-font);
  font-size: 0.92rem;
  color: var(--light-color);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.solution-action-wrap {
  margin-top: auto;
}

@media (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .solution-img-wrap {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}