/* ============================================================
   Polymer Products - Live Theme Color Switcher & Customizer
   ============================================================ */

:root {
  --theme-primary: #3691bf;
  --theme-hover: #297ca6;
  --theme-light: #5ba7cd;
  --theme-lighter: #8bc3dc;
  --theme-subtle: rgba(54, 145, 191, 0.12);
  --theme-glow: rgba(54, 145, 191, 0.35);

  --bs-primary: #3691bf !important;
  --bs-primary-rgb: 54, 145, 191 !important;
  --ht-theme-color-2: #3691bf !important;
}

/* ============================================================
   1. Universal Header & Navigation Overrides
   ============================================================ */
.ht-top-header {
  background: var(--theme-primary) !important;
}

.logo-box {
  background: var(--theme-primary) !important;
  box-shadow: 0 4px 15px var(--theme-glow) !important;
}

.header-contact-btn {
  background: var(--theme-primary) !important;
  box-shadow: 0 4px 14px var(--theme-glow) !important;
}

.header-contact-btn::before {
  background: var(--theme-hover) !important;
}

.header-contact-btn:hover {
  box-shadow: 0 6px 20px var(--theme-glow) !important;
}

.ht-header-area .ht-main-header .ht-menu-main ul li:hover>a.nav-link-item,
.ht-header-area .ht-main-header .ht-menu-main ul li:hover>a {
  color: var(--theme-primary) !important;
}

.ht-header-area .ht-main-header .ht-menu-main ul li.has-dropdown:hover>a .dropdown-icon {
  color: var(--theme-primary) !important;
}

.ht-header-area .ht-main-header .ht-menu-main ul li>.sub-menu {
  border-top: 3px solid var(--theme-primary) !important;
}

.ht-header-area .ht-main-header .ht-menu-main ul li>.sub-menu li a:hover {
  background: var(--theme-subtle) !important;
  color: var(--theme-primary) !important;
  border-left: 3px solid var(--theme-primary) !important;
}

.ht-menu-btn {
  background: var(--theme-subtle) !important;
  color: var(--theme-primary) !important;
}

.ht-offcanvas-menu li.pt-3 a,
.ht-offcanvas-menu a[style*="border-radius:50px"] {
  background: var(--theme-primary) !important;
  color: #ffffff !important;
}

/* ============================================================
   2. Hero Section Overrides
   ============================================================ */
.ht-hero-content .badge,
.ht-hero-area .badge {
  background: var(--theme-subtle) !important;
  border: 1px solid var(--theme-primary) !important;
  color: var(--theme-lighter) !important;
}

.ht-hero-content h1 span,
.ht-hero-area h1 span {
  color: var(--theme-light) !important;
}

/* ============================================================
   3. Stats Section Overrides
   ============================================================ */
.stat-number,
.ht-stats-area .stat-number,
.prozen-stat-card .stat-number {
  color: var(--theme-primary) !important;
}

.prozen-stat-card .stat-icon-wrap {
  background: var(--theme-subtle) !important;
  color: var(--theme-primary) !important;
}

.prozen-stat-card:hover {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 12px 30px var(--theme-subtle) !important;
}

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

/* ============================================================
   4. About Company & Floating Card Overrides
   ============================================================ */
.ht-about-content span.text-uppercase,
.ht-about-area span[style*="letter-spacing"] {
  color: var(--theme-primary) !important;
}

.prozen-accent-frame {
  background: #e0f2fe !important;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.18) !important;
}

.prozen-floating-card h2 {
  color: var(--theme-primary) !important;
}

.prozen-floating-card svg path {
  stroke: var(--theme-primary) !important;
}

.prozen-floating-card svg circle {
  fill: var(--theme-primary) !important;
}

.prozen-dark-btn {
  background: var(--theme-primary) !important;
  color: #ffffff !important;
}

.prozen-dark-btn:hover {
  background: var(--theme-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px var(--theme-glow) !important;
}

/* ============================================================
   5. Buttons & Badges Everywhere
   ============================================================ */
.bg-primary {
  background-color: var(--theme-primary) !important;
}

.text-primary {
  color: var(--theme-primary) !important;
}

.border-primary {
  border-color: var(--theme-primary) !important;
}

.bg-primary-subtle {
  background-color: var(--theme-subtle) !important;
  color: var(--theme-primary) !important;
}

.btn-primary {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--theme-hover) !important;
  border-color: var(--theme-hover) !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #ffffff !important;
}

.ht-btn {
  background: var(--theme-primary) !important;
}

.ht-btn.style-2 {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

.ht-btn.style-2:hover {
  background: var(--theme-hover) !important;
  border-color: var(--theme-hover) !important;
}

/* ============================================================
   6. Working Process & Experience Sections
   ============================================================ */
.process-timeline-wrapper .step-pill,
.step-badge-wrapper .step-pill {
  background: #ffffff !important;
  color: var(--theme-primary) !important;
  box-shadow: 0 4px 14px var(--theme-glow) !important;
}

.sector-card:hover {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 16px 35px var(--theme-subtle) !important;
}

.sector-card .badge.bg-primary {
  background: var(--theme-primary) !important;
}

/* ============================================================
   7. Testimonials Section
   ============================================================ */
.testimonial-card-prozen span.text-uppercase {
  color: var(--theme-primary) !important;
}

.testimonial-card-prozen {
  box-shadow: 0 15px 45px var(--theme-subtle) !important;
}

.testimonial-nav-next {
  background: var(--theme-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px var(--theme-glow) !important;
}

.testimonial-nav-next:hover {
  background: var(--theme-hover) !important;
  color: #ffffff !important;
}

.testimonial-nav-prev {
  color: var(--theme-primary) !important;
}

.testimonial-nav-prev:hover {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #ffffff !important;
}

.swiper-slide blockquote+div img,
.swiper-slide .rounded-circle[style*="border:2px solid"] {
  border-color: var(--theme-primary) !important;
}

/* ============================================================
   8. Call to Action (CTA) & Footer Overrides
   ============================================================ */
section.cta-section-dynamic,
section[style*="color:#fff"][style*="py-5"] {
  background: var(--theme-primary) !important;
}

.cta-section-dynamic .btn-light,
section[style*="color:#fff"][style*="py-5"] .btn-light {
  color: var(--theme-primary) !important;
}

.footer-shape svg circle {
  fill: var(--theme-primary) !important;
}

.footer-brand-strip .logo-box {
  background: var(--theme-primary) !important;
  box-shadow: 0 4px 15px var(--theme-glow) !important;
}

.footer-brand-strip span.badge {
  background: var(--theme-subtle) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-lighter) !important;
}

.footer-brand-strip .btn-primary {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

.footer-brand-strip .btn-primary:hover {
  background: var(--theme-hover) !important;
  border-color: var(--theme-hover) !important;
}

.footer-title::after {
  background: var(--theme-primary) !important;
}

.footer-contact-item .contact-icon {
  background: var(--theme-subtle) !important;
  color: var(--theme-light) !important;
}

.footer-web-link {
  color: var(--theme-light) !important;
}

.hover-blue:hover,
.hover-orange:hover,
.footer-link:hover {
  color: var(--theme-light) !important;
}

/* ============================================================
   9. Floating Theme Switcher UI Widget (Hidden as per requirement)
   ============================================================ */
.pp-theme-switcher {
  display: none !important;
  position: fixed;
  top: 220px;
  right: 0;
  z-index: -1;
  pointer-events: none;
  visibility: hidden;
}

.pp-switcher-toggle {
  width: 48px;
  height: 48px;
  background: var(--theme-primary);
  color: #ffffff;
  border: none;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  outline: none;
}

.pp-switcher-toggle:hover {
  background: var(--theme-hover);
  transform: scale(1.05);
}

.pp-switcher-toggle i {
  animation: spinGear 8s linear infinite;
}

@keyframes spinGear {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pp-switcher-panel {
  width: 280px;
  background: #ffffff;
  border-radius: 0 0 0 18px;
  box-shadow: -8px 12px 35px rgba(0, 0, 0, 0.18);
  padding: 22px 20px;
  border-left: 3px solid var(--theme-primary);
}

.pp-switcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.pp-switcher-header h6 {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-switcher-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.pp-switcher-close:hover {
  color: #0f172a;
}

.pp-color-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.pp-color-swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
}

.pp-color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.pp-color-swatch.active {
  transform: scale(1.15);
  border-color: #0f172a;
}

.pp-color-swatch.active::after {
  content: "✓";
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.pp-custom-picker-wrap {
  background: #f0f7ff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pp-custom-picker-wrap label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 0;
  cursor: pointer;
}

.pp-custom-color-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
}

.pp-custom-color-input::-webkit-color-swatch {
  border-radius: 8px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pp-switcher-reset {
  width: 100%;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pp-switcher-reset:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ============================================================
   Universal High-Contrast Accordion & FAQ Support
   ============================================================ */
.accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #091a33 0%, #152e52 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion .accordion-button:not(.collapsed)::after {
  color: var(--theme-light) !important;
  filter: brightness(0) invert(1) !important;
}

.accordion .accordion-button.collapsed {
  background: #f0f7ff !important;
  color: #0f172a !important;
}

.accordion .accordion-button.collapsed:hover {
  background: #f1f5f9 !important;
  color: var(--theme-primary) !important;
}